Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Duverbs_main.c135 struct ib_uverbs_event_file *ev_file, in ib_uverbs_release_ucq() argument
140 if (ev_file) { in ib_uverbs_release_ucq()
141 spin_lock_irq(&ev_file->lock); in ib_uverbs_release_ucq()
146 spin_unlock_irq(&ev_file->lock); in ib_uverbs_release_ucq()
148 kref_put(&ev_file->ref, ib_uverbs_release_event_file); in ib_uverbs_release_ucq()
216 struct ib_uverbs_event_file *ev_file = cq->cq_context; in ib_uverbs_cleanup_ucontext() local
222 ib_uverbs_release_ucq(file, ev_file, ucq); in ib_uverbs_cleanup_ucontext()
493 struct ib_uverbs_event_file *ev_file; in ib_uverbs_alloc_event_file() local
497 ev_file = kmalloc(sizeof *ev_file, GFP_KERNEL); in ib_uverbs_alloc_event_file()
498 if (!ev_file) in ib_uverbs_alloc_event_file()
[all …]
Duverbs_cmd.c748 struct ib_uverbs_event_file *ev_file = NULL; in ib_uverbs_create_cq() local
773 ev_file = ib_uverbs_lookup_comp_file(cmd.comp_channel); in ib_uverbs_create_cq()
774 if (!ev_file) { in ib_uverbs_create_cq()
798 cq->cq_context = ev_file; in ib_uverbs_create_cq()
833 if (ev_file) in ib_uverbs_create_cq()
834 ib_uverbs_release_ucq(file, ev_file, obj); in ib_uverbs_create_cq()
973 struct ib_uverbs_event_file *ev_file; in ib_uverbs_destroy_cq() local
983 ev_file = cq->cq_context; in ib_uverbs_destroy_cq()
1001 ib_uverbs_release_ucq(file, ev_file, obj); in ib_uverbs_destroy_cq()
Duverbs.h152 struct ib_uverbs_event_file *ev_file,