Searched refs:wait_sem (Results 1 – 1 of 1) sorted by relevance
66 sem_t *wait_sem; member302 if (wakee_event->wait_sem) { in add_sched_event_wakeup()307 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup()308 sem_init(wakee_event->wait_sem, 0, 0); in add_sched_event_wakeup()310 event->wait_sem = wakee_event->wait_sem; in add_sched_event_wakeup()397 if (atom->wait_sem) in perf_sched__process_event()398 ret = sem_wait(atom->wait_sem); in perf_sched__process_event()402 if (atom->wait_sem) in perf_sched__process_event()403 ret = sem_post(atom->wait_sem); in perf_sched__process_event()