Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/core/
Duverbs_main.c155 struct ib_uverbs_event_file *ev_file, in ib_uverbs_release_ucq() argument
160 if (ev_file) { in ib_uverbs_release_ucq()
161 spin_lock_irq(&ev_file->lock); in ib_uverbs_release_ucq()
166 spin_unlock_irq(&ev_file->lock); in ib_uverbs_release_ucq()
168 kref_put(&ev_file->ref, ib_uverbs_release_event_file); in ib_uverbs_release_ucq()
268 struct ib_uverbs_event_file *ev_file = cq->cq_context; in ib_uverbs_cleanup_ucontext() local
274 ib_uverbs_release_ucq(file, ev_file, ucq); in ib_uverbs_cleanup_ucontext()
558 struct ib_uverbs_event_file *ev_file; in ib_uverbs_alloc_event_file() local
561 ev_file = kmalloc(sizeof *ev_file, GFP_KERNEL); in ib_uverbs_alloc_event_file()
562 if (!ev_file) in ib_uverbs_alloc_event_file()
[all …]
Duverbs.h185 struct ib_uverbs_event_file *ev_file,
Duverbs_cmd.c1341 struct ib_uverbs_event_file *ev_file = NULL; in ib_uverbs_create_cq() local
1366 ev_file = ib_uverbs_lookup_comp_file(cmd.comp_channel); in ib_uverbs_create_cq()
1367 if (!ev_file) { in ib_uverbs_create_cq()
1391 cq->cq_context = ev_file; in ib_uverbs_create_cq()
1426 if (ev_file) in ib_uverbs_create_cq()
1427 ib_uverbs_release_ucq(file, ev_file, obj); in ib_uverbs_create_cq()
1579 struct ib_uverbs_event_file *ev_file; in ib_uverbs_destroy_cq() local
1589 ev_file = cq->cq_context; in ib_uverbs_destroy_cq()
1607 ib_uverbs_release_ucq(file, ev_file, obj); in ib_uverbs_destroy_cq()