Home
last modified time | relevance | path

Searched refs:async_file (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/core/
H A Duverbs_main.c142 struct ib_uverbs_async_event_file *async_file = uobj->event_file; in ib_uverbs_release_uevent() local
145 if (!async_file) in ib_uverbs_release_uevent()
148 spin_lock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
153 spin_unlock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
154 uverbs_uobject_put(&async_file->uobj); in ib_uverbs_release_uevent()
345 void ib_uverbs_async_handler(struct ib_uverbs_async_event_file *async_file, in ib_uverbs_async_handler() argument
352 if (!async_file) in ib_uverbs_async_handler()
355 spin_lock_irqsave(&async_file->ev_queue.lock, flags); in ib_uverbs_async_handler()
356 if (async_file->ev_queue.is_closed) { in ib_uverbs_async_handler()
357 spin_unlock_irqrestore(&async_file->ev_queue.lock, flags); in ib_uverbs_async_handler()
[all …]