Lines Matching refs:name

132 		const char *name = NULL;  in check_secure_cpmu()  local
133 ret = kpep_event_alias(event, &name); in check_secure_cpmu()
134 if (!name) { in check_secure_cpmu()
135 ret = kpep_event_name(event, &name); in check_secure_cpmu()
138 if (strncmp(name, "FIXED", strlen("FIXED")) == 0) { in check_secure_cpmu()
139 T_LOG("skipping non-configurable %s event", name); in check_secure_cpmu()
142 bool empty_event = strcmp(name, "NO_EVNT") == 0; in check_secure_cpmu()
148 ret = kpep_db_event(public_db, name, &public_event); in check_secure_cpmu()
151 _assert_kpep_ok(ret, "adding event %s to configuration", name); in check_secure_cpmu()
157 T_LOG("skipping event %s with no configuration", name); in check_secure_cpmu()
159 _assert_kpep_ok(ret, "removing event %s from configuration", name); in check_secure_cpmu()
177 _assert_kpep_ok(ret, "getting KPC map for event %s", name); in check_secure_cpmu()
179 _assert_kpep_ok(ret, "getting KPC configs for event %s", name); in check_secure_cpmu()
186 T_LOG("failed to configure public event %s (0x%04llx)", name, kpc_config); in check_secure_cpmu()
190 T_FAIL("configured internal-only event %s (0x%04llx) with secure CPC", name, kpc_config); in check_secure_cpmu()
195 _assert_kpep_ok(ret, "removing event %s from configuration", name); in check_secure_cpmu()
302 const char *name = NULL; in check_event_coverage() local
303 ret = kpep_event_name(event, &name); in check_event_coverage()
305 if (strncmp(name, "FIXED", strlen("FIXED")) == 0) { in check_event_coverage()
306 T_LOG("skipping non-configurable %s event", name); in check_event_coverage()
311 _assert_kpep_ok(ret, "adding event %s to configuration", name); in check_event_coverage()
330 _assert_kpep_ok(ret, "getting KPC map for event %s", name); in check_event_coverage()
332 _assert_kpep_ok(ret, "getting KPC configs for event %s", name); in check_event_coverage()
337 T_FAIL("failed to configure %s event %s (0x%04llx) with secure CPC", kind, name, kpc_config); in check_event_coverage()
339 _assert_kpep_ok(ret, "applying configuration with event %s (0x%04llx)", name, kpc_config); in check_event_coverage()
342 _assert_kpep_ok(ret, "removing event %s from configuration", name); in check_event_coverage()
399 const char *name = NULL; variable
402 ret = kpep_event_name(event, &name);
404 if (strncmp(name, "FIXED", strlen("FIXED")) != 0) {
407 T_LOG("skipping non-configurable %s event", name);
411 _assert_kpep_ok(ret, "adding event %s to configuration", name);
414 _assert_kpep_ok(ret, "applying configuration with event %s", name);