Lines Matching refs:ent
255 struct event_entry *ent; in perf_inject__sched_process_exit() local
257 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_process_exit()
258 if (sample->tid == ent->tid) { in perf_inject__sched_process_exit()
259 list_del_init(&ent->node); in perf_inject__sched_process_exit()
260 free(ent); in perf_inject__sched_process_exit()
275 struct event_entry *ent; in perf_inject__sched_switch() local
279 ent = malloc(event->header.size + sizeof(struct event_entry)); in perf_inject__sched_switch()
280 if (ent == NULL) { in perf_inject__sched_switch()
286 ent->tid = sample->tid; in perf_inject__sched_switch()
287 memcpy(&ent->event, event, event->header.size); in perf_inject__sched_switch()
288 list_add(&ent->node, &inject->samples); in perf_inject__sched_switch()
298 struct event_entry *ent; in perf_inject__sched_stat() local
304 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_stat()
305 if (pid == ent->tid) in perf_inject__sched_stat()
311 event_sw = &ent->event[0]; in perf_inject__sched_stat()