Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c785 struct kfd_event_waiter *event_waiters; in alloc_event_waiters() local
788 event_waiters = kcalloc(num_events, sizeof(struct kfd_event_waiter), in alloc_event_waiters()
790 if (!event_waiters) in alloc_event_waiters()
794 init_wait(&event_waiters[i].wait); in alloc_event_waiters()
796 return event_waiters; in alloc_event_waiters()
839 struct kfd_event_waiter *event_waiters) in test_event_condition() argument
845 if (!READ_ONCE(event_waiters[i].event)) in test_event_condition()
848 if (READ_ONCE(event_waiters[i].activated)) { in test_event_condition()
865 struct kfd_event_waiter *event_waiters, in copy_signaled_event_data() argument
875 waiter = &event_waiters[i]; in copy_signaled_event_data()
[all …]
/linux-6.12.1/drivers/char/ipmi/
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()
3615 atomic_set(&intf->event_waiters, 0); in ipmi_add_smi()
5100 if (atomic_read(&intf->event_waiters)) { in ipmi_timeout()