Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c529 struct kfd_event_waiter *event_waiters; in alloc_event_waiters() local
532 event_waiters = kmalloc_array(num_events, in alloc_event_waiters()
536 for (i = 0; (event_waiters) && (i < num_events) ; i++) { in alloc_event_waiters()
537 init_wait(&event_waiters[i].wait); in alloc_event_waiters()
538 event_waiters[i].activated = false; in alloc_event_waiters()
541 return event_waiters; in alloc_event_waiters()
582 struct kfd_event_waiter *event_waiters) in test_event_condition() argument
588 if (!event_waiters[i].event) in test_event_condition()
591 if (event_waiters[i].activated) { in test_event_condition()
608 struct kfd_event_waiter *event_waiters, in copy_signaled_event_data() argument
[all …]
/drivers/char/ipmi/
Dipmi_msghandler.c539 atomic_t event_waiters; member
1320 atomic_dec(&intf->event_waiters); in _ipmi_destroy_user()
1570 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_set_gets_events()
1573 atomic_dec(&intf->event_waiters); in ipmi_set_gets_events()
3457 atomic_set(&intf->event_waiters, 0); in ipmi_add_smi()
4769 if (atomic_read(&intf->event_waiters)) { in ipmi_timeout()