Searched refs:event_waiters (Results 1 – 2 of 2) sorted by relevance
604 struct kfd_event_waiter *event_waiters; in alloc_event_waiters() local607 event_waiters = kmalloc_array(num_events, in alloc_event_waiters()611 for (i = 0; (event_waiters) && (i < num_events) ; i++) { in alloc_event_waiters()612 INIT_LIST_HEAD(&event_waiters[i].waiters); in alloc_event_waiters()613 event_waiters[i].sleeping_task = current; in alloc_event_waiters()614 event_waiters[i].activated = false; in alloc_event_waiters()617 return event_waiters; in alloc_event_waiters()641 struct kfd_event_waiter *event_waiters) in test_event_condition() argument647 if (event_waiters[i].activated) { in test_event_condition()663 struct kfd_event_waiter *event_waiters, in copy_signaled_event_data() argument[all …]
399 atomic_t event_waiters; member1005 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_create_user()1064 atomic_dec(&intf->event_waiters); in ipmi_destroy_user()1067 atomic_dec(&intf->event_waiters); in ipmi_destroy_user()1246 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_set_gets_events()1249 atomic_dec(&intf->event_waiters); in ipmi_set_gets_events()1345 if (atomic_inc_return(&intf->event_waiters) == 1) in ipmi_register_for_cmd()1389 atomic_dec(&intf->event_waiters); in ipmi_unregister_for_cmd()2830 atomic_set(&intf->event_waiters, 0); in ipmi_register_smi()4194 if (atomic_read(&intf->event_waiters)) { in ipmi_timeout()