Lines Matching refs:name
143 const char *name = NULL; in check_secure_cpmu() local
144 ret = kpep_event_alias(event, &name); in check_secure_cpmu()
145 if (!name) { in check_secure_cpmu()
146 ret = kpep_event_name(event, &name); in check_secure_cpmu()
149 if (strncmp(name, "FIXED", strlen("FIXED")) == 0) { in check_secure_cpmu()
150 T_LOG("skipping non-configurable %s event", name); in check_secure_cpmu()
153 bool empty_event = strcmp(name, "NO_EVNT") == 0; in check_secure_cpmu()
159 ret = kpep_db_event(public_db, name, &public_event); in check_secure_cpmu()
162 _assert_kpep_ok(ret, "adding event %s to configuration", name); in check_secure_cpmu()
168 T_LOG("failed to configure public event %s", name); in check_secure_cpmu()
172 T_FAIL("configured internal-only event %s with secure CPC", name); in check_secure_cpmu()
177 _assert_kpep_ok(ret, "removing event %s from configuration", name); in check_secure_cpmu()
276 const char *name = NULL; in check_event_coverage() local
277 ret = kpep_event_name(event, &name); in check_event_coverage()
279 if (strncmp(name, "FIXED", strlen("FIXED")) == 0) { in check_event_coverage()
280 T_LOG("skipping non-configurable %s event", name); in check_event_coverage()
285 _assert_kpep_ok(ret, "adding event %s to configuration", name); in check_event_coverage()
289 T_FAIL("failed to configure %s event %s with secure CPC", kind, name); in check_event_coverage()
291 _assert_kpep_ok(ret, "applying configuration with event %s", name); in check_event_coverage()
294 _assert_kpep_ok(ret, "removing event %s from configuration", name); in check_event_coverage()
349 const char *name = NULL; variable
352 ret = kpep_event_name(event, &name);
354 if (strncmp(name, "FIXED", strlen("FIXED")) != 0) {
357 T_LOG("skipping non-configurable %s event", name);
361 _assert_kpep_ok(ret, "adding event %s to configuration", name);
364 _assert_kpep_ok(ret, "applying configuration with event %s", name);