Lines Matching refs:waiter
264 struct kfd_event_waiter *waiter; in destroy_event() local
268 list_for_each_entry(waiter, &ev->wq.head, wait.entry) in destroy_event()
269 WRITE_ONCE(waiter->event, NULL); in destroy_event()
626 struct kfd_event_waiter *waiter; in set_event() local
640 list_for_each_entry(waiter, &ev->wq.head, wait.entry) in set_event()
641 WRITE_ONCE(waiter->activated, true); in set_event()
800 struct kfd_event_waiter *waiter, in init_event_waiter() argument
809 waiter->event = ev; in init_event_waiter()
810 waiter->activated = ev->signaled; in init_event_waiter()
814 if (waiter->event->type == KFD_EVENT_TYPE_SIGNAL && in init_event_waiter()
816 waiter->event_age_enabled = true; in init_event_waiter()
818 waiter->activated = true; in init_event_waiter()
821 if (!waiter->activated) in init_event_waiter()
822 add_wait_queue(&ev->wq, &waiter->wait); in init_event_waiter()
870 struct kfd_event_waiter *waiter; in copy_signaled_event_data() local
875 waiter = &event_waiters[i]; in copy_signaled_event_data()
876 event = waiter->event; in copy_signaled_event_data()
879 if (waiter->activated) { in copy_signaled_event_data()
889 waiter->event_age_enabled) { in copy_signaled_event_data()