Searched refs:ev_file (Results 1 – 4 of 4) sorted by relevance
72 struct ib_uverbs_completion_event_file *ev_file = NULL; in UVERBS_HANDLER() local98 ev_file = container_of(ev_file_uobj, in UVERBS_HANDLER()127 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()144 if (ev_file) in UVERBS_HANDLER()
195 struct ib_uverbs_completion_event_file *ev_file, in ib_uverbs_release_ucq() argument200 if (ev_file) { in ib_uverbs_release_ucq()201 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()206 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()208 uverbs_uobject_put(&ev_file->uobj); in ib_uverbs_release_ucq()614 struct ib_uverbs_async_event_file *ev_file; in ib_uverbs_alloc_async_event_file() local617 ev_file = kzalloc(sizeof(*ev_file), GFP_KERNEL); in ib_uverbs_alloc_async_event_file()618 if (!ev_file) in ib_uverbs_alloc_async_event_file()621 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_alloc_async_event_file()622 ev_file->uverbs_file = uverbs_file; in ib_uverbs_alloc_async_event_file()[all …]
235 struct ib_uverbs_completion_event_file *ev_file,
947 struct ib_uverbs_completion_event_file *ev_file; in ib_uverbs_create_comp_channel() local962 ev_file = container_of(uobj, struct ib_uverbs_completion_event_file, in ib_uverbs_create_comp_channel()964 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()987 struct ib_uverbs_completion_event_file *ev_file = NULL; in create_cq() local1008 ev_file = ib_uverbs_lookup_comp_file(cmd->comp_channel, file); in create_cq()1009 if (IS_ERR(ev_file)) { in create_cq()1010 ret = PTR_ERR(ev_file); in create_cq()1037 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()1064 if (ev_file) in create_cq()1065 ib_uverbs_release_ucq(file, ev_file, obj); in create_cq()