Lines Matching refs:notifier_event
422 if (hpriv->notifier_event.eventfd) in hpriv_release()
423 eventfd_ctx_put(hpriv->notifier_event.eventfd); in hpriv_release()
425 mutex_destroy(&hpriv->notifier_event.lock); in hpriv_release()
498 if (hpriv->notifier_event.eventfd) in hl_device_release_ctrl()
499 eventfd_ctx_put(hpriv->notifier_event.eventfd); in hl_device_release_ctrl()
501 mutex_destroy(&hpriv->notifier_event.lock); in hl_device_release_ctrl()
1709 static void hl_notifier_event_send(struct hl_notifier_event *notifier_event, u64 event_mask) in hl_notifier_event_send() argument
1711 mutex_lock(¬ifier_event->lock); in hl_notifier_event_send()
1712 notifier_event->events_mask |= event_mask; in hl_notifier_event_send()
1714 if (notifier_event->eventfd) in hl_notifier_event_send()
1715 eventfd_signal(notifier_event->eventfd, 1); in hl_notifier_event_send()
1717 mutex_unlock(¬ifier_event->lock); in hl_notifier_event_send()
1734 hl_notifier_event_send(&hpriv->notifier_event, event_mask); in hl_notifier_event_send_all()
1742 hl_notifier_event_send(&hpriv->notifier_event, event_mask); in hl_notifier_event_send_all()