Searched refs:event_waiters (Results 1 – 2 of 2) sorted by relevance
529 struct kfd_event_waiter *event_waiters; in alloc_event_waiters() local532 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() argument588 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 …]
529 atomic_t event_waiters; member1142 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_create_user()1214 atomic_dec(&intf->event_waiters); in _ipmi_destroy_user()1217 atomic_dec(&intf->event_waiters); in _ipmi_destroy_user()1458 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_set_gets_events()1461 atomic_dec(&intf->event_waiters); in ipmi_set_gets_events()1563 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_register_for_cmd()1614 atomic_dec(&intf->event_waiters); in ipmi_unregister_for_cmd()3354 atomic_set(&intf->event_waiters, 0); in ipmi_register_smi()4665 if (atomic_read(&intf->event_waiters)) { in ipmi_timeout()