Lines Matching refs:name
128 const char *name = NULL; in check_secure_cpmu() local
129 ret = kpep_event_alias(event, &name); in check_secure_cpmu()
130 if (!name) { in check_secure_cpmu()
131 ret = kpep_event_name(event, &name); in check_secure_cpmu()
134 if (strncmp(name, "FIXED", strlen("FIXED")) == 0) { in check_secure_cpmu()
135 T_LOG("skipping non-configurable %s event", name); in check_secure_cpmu()
138 bool empty_event = strcmp(name, "NO_EVNT") == 0; in check_secure_cpmu()
144 ret = kpep_db_event(public_db, name, &public_event); in check_secure_cpmu()
147 _assert_kpep_ok(ret, "adding event %s to configuration", name); in check_secure_cpmu()
153 T_LOG("failed to configure public event %s", name); in check_secure_cpmu()
157 T_FAIL("configured internal-only event %s with secure CPC", name); in check_secure_cpmu()
162 _assert_kpep_ok(ret, "removing event %s from configuration", name); in check_secure_cpmu()
259 const char *name = NULL; in check_event_coverage() local
260 ret = kpep_event_name(event, &name); in check_event_coverage()
262 if (strncmp(name, "FIXED", strlen("FIXED")) == 0) { in check_event_coverage()
263 T_LOG("skipping non-configurable %s event", name); in check_event_coverage()
268 _assert_kpep_ok(ret, "adding event %s to configuration", name); in check_event_coverage()
272 T_FAIL("failed to configure %s event %s with secure CPC", kind, name); in check_event_coverage()
274 _assert_kpep_ok(ret, "applying configuration with event %s", name); in check_event_coverage()
277 _assert_kpep_ok(ret, "removing event %s from configuration", name); in check_event_coverage()