Home
last modified time | relevance | path

Searched refs:event_waiters (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.c784 struct kfd_event_waiter *event_waiters; in alloc_event_waiters() local
789 if (!event_waiters) in alloc_event_waiters()
793 init_wait(&event_waiters[i].wait); in alloc_event_waiters()
795 return event_waiters; in alloc_event_waiters()
844 if (!READ_ONCE(event_waiters[i].event)) in test_event_condition()
864 struct kfd_event_waiter *event_waiters, in copy_signaled_event_data() argument
874 waiter = &event_waiters[i]; in copy_signaled_event_data()
948 if (!event_waiters) { in kfd_wait_on_events()
976 event_waiters, events); in kfd_wait_on_events()
1014 event_waiters); in kfd_wait_on_events()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_msghandler.c532 atomic_t event_waiters; member
1356 atomic_dec(&intf->event_waiters); in _ipmi_destroy_user()
1609 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_set_gets_events()
1612 atomic_dec(&intf->event_waiters); in ipmi_set_gets_events()
3616 atomic_set(&intf->event_waiters, 0); in ipmi_add_smi()
5101 if (atomic_read(&intf->event_waiters)) { in ipmi_timeout()