Searched refs:notifier_event (Results 1 – 4 of 4) sorted by relevance
137 mutex_lock(&hpriv->notifier_event.lock); in events_info()138 events_mask = hpriv->notifier_event.events_mask; in events_info()139 hpriv->notifier_event.events_mask = 0; in events_info()140 mutex_unlock(&hpriv->notifier_event.lock); in events_info()719 mutex_lock(&hpriv->notifier_event.lock); in eventfd_register()720 if (hpriv->notifier_event.eventfd) { in eventfd_register()721 mutex_unlock(&hpriv->notifier_event.lock); in eventfd_register()725 hpriv->notifier_event.eventfd = eventfd_ctx_fdget(args->eventfd); in eventfd_register()726 if (IS_ERR(hpriv->notifier_event.eventfd)) { in eventfd_register()727 rc = PTR_ERR(hpriv->notifier_event.eventfd); in eventfd_register()[all …]
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() argument1711 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()[all …]
150 mutex_init(&hpriv->notifier_event.lock); in hl_device_open()231 mutex_destroy(&hpriv->notifier_event.lock); in hl_device_open()266 mutex_init(&hpriv->notifier_event.lock); in hl_device_open_ctrl()
2225 struct hl_notifier_event notifier_event; member