Searched refs:notifier_event (Results 1 – 4 of 4) sorted by relevance
144 mutex_lock(&hpriv->notifier_event.lock); in events_info()145 events_mask = hpriv->notifier_event.events_mask; in events_info()146 hpriv->notifier_event.events_mask = 0; in events_info()147 mutex_unlock(&hpriv->notifier_event.lock); in events_info()724 mutex_lock(&hpriv->notifier_event.lock); in eventfd_register()725 if (hpriv->notifier_event.eventfd) { in eventfd_register()726 mutex_unlock(&hpriv->notifier_event.lock); in eventfd_register()730 hpriv->notifier_event.eventfd = eventfd_ctx_fdget(args->eventfd); in eventfd_register()731 if (IS_ERR(hpriv->notifier_event.eventfd)) { in eventfd_register()732 rc = PTR_ERR(hpriv->notifier_event.eventfd); in eventfd_register()[all …]
470 if (hpriv->notifier_event.eventfd) in hpriv_release()471 eventfd_ctx_put(hpriv->notifier_event.eventfd); in hpriv_release()473 mutex_destroy(&hpriv->notifier_event.lock); in hpriv_release()575 if (hpriv->notifier_event.eventfd) in hl_device_release_ctrl()576 eventfd_ctx_put(hpriv->notifier_event.eventfd); in hl_device_release_ctrl()578 mutex_destroy(&hpriv->notifier_event.lock); in hl_device_release_ctrl()1919 if (!ctx || !ctx->hpriv->notifier_event.eventfd) in hl_device_cond_reset()1960 static void hl_notifier_event_send(struct hl_notifier_event *notifier_event, u64 event_mask) in hl_notifier_event_send() argument1962 mutex_lock(¬ifier_event->lock); in hl_notifier_event_send()1963 notifier_event->events_mask |= event_mask; in hl_notifier_event_send()[all …]
158 mutex_init(&hpriv->notifier_event.lock); in hl_device_open()238 mutex_destroy(&hpriv->notifier_event.lock); in hl_device_open()273 mutex_init(&hpriv->notifier_event.lock); in hl_device_open_ctrl()
2273 struct hl_notifier_event notifier_event; member