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.c528 struct kfd_event_waiter *event_waiters; in alloc_event_waiters() local
531 event_waiters = kcalloc(num_events, sizeof(struct kfd_event_waiter), in alloc_event_waiters()
533 if (!event_waiters) in alloc_event_waiters()
537 init_wait(&event_waiters[i].wait); in alloc_event_waiters()
539 return event_waiters; in alloc_event_waiters()
580 struct kfd_event_waiter *event_waiters) in test_event_condition() argument
586 if (!event_waiters[i].event) in test_event_condition()
589 if (event_waiters[i].activated) { in test_event_condition()
606 struct kfd_event_waiter *event_waiters, in copy_signaled_event_data() argument
616 waiter = &event_waiters[i]; in copy_signaled_event_data()
[all …]
/drivers/char/ipmi/
Dipmi_msghandler.c514 atomic_t event_waiters; member
1299 atomic_dec(&intf->event_waiters); in _ipmi_destroy_user()
1551 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_set_gets_events()
1554 atomic_dec(&intf->event_waiters); in ipmi_set_gets_events()
3453 atomic_set(&intf->event_waiters, 0); in ipmi_add_smi()
4770 if (atomic_read(&intf->event_waiters)) { in ipmi_timeout()