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.c165 struct ib_uverbs_async_event_file *async_file = uobj->event_file; in ib_uverbs_release_uevent() local
168 if (!async_file) in ib_uverbs_release_uevent()
171 spin_lock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
176 spin_unlock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
177 uverbs_uobject_put(&async_file->uobj); in ib_uverbs_release_uevent()
404 void ib_uverbs_async_handler(struct ib_uverbs_async_event_file *async_file, in ib_uverbs_async_handler() argument
411 if (!async_file) in ib_uverbs_async_handler()
414 spin_lock_irqsave(&async_file->ev_queue.lock, flags); in ib_uverbs_async_handler()
415 if (async_file->ev_queue.is_closed) { in ib_uverbs_async_handler()
416 spin_unlock_irqrestore(&async_file->ev_queue.lock, flags); in ib_uverbs_async_handler()
[all …]