Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/core/
Duverbs_std_types_cq.c72 struct ib_uverbs_completion_event_file *ev_file = NULL; in UVERBS_HANDLER() local
98 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()
Duverbs_main.c195 struct ib_uverbs_completion_event_file *ev_file, in ib_uverbs_release_ucq() argument
200 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() local
617 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 …]
Duverbs.h235 struct ib_uverbs_completion_event_file *ev_file,
Duverbs_cmd.c947 struct ib_uverbs_completion_event_file *ev_file; in ib_uverbs_create_comp_channel() local
962 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() local
1008 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()