Searched refs:wait_sem (Results 1 – 1 of 1) sorted by relevance
90 sem_t *wait_sem; member423 if (wakee_event->wait_sem) { in add_sched_event_wakeup()428 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup()429 sem_init(wakee_event->wait_sem, 0, 0); in add_sched_event_wakeup()431 event->wait_sem = wakee_event->wait_sem; in add_sched_event_wakeup()529 if (atom->wait_sem) in perf_sched__process_event()530 ret = sem_wait(atom->wait_sem); in perf_sched__process_event()534 if (atom->wait_sem) in perf_sched__process_event()535 ret = sem_post(atom->wait_sem); in perf_sched__process_event()