Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddevx.c35 struct devx_async_cmd_event_file *ev_file; member
76 struct devx_async_event_file *ev_file; member
1679 struct devx_async_cmd_event_file *ev_file; in UVERBS_HANDLER() local
1685 ev_file = container_of(uobj, struct devx_async_cmd_event_file, in UVERBS_HANDLER()
1687 devx_init_event_queue(&ev_file->ev_queue); in UVERBS_HANDLER()
1688 mlx5_cmd_init_async_ctx(mdev->mdev, &ev_file->async_ctx); in UVERBS_HANDLER()
1697 struct devx_async_event_file *ev_file; in UVERBS_HANDLER() local
1711 ev_file = container_of(uobj, struct devx_async_event_file, in UVERBS_HANDLER()
1713 spin_lock_init(&ev_file->lock); in UVERBS_HANDLER()
1714 INIT_LIST_HEAD(&ev_file->event_list); in UVERBS_HANDLER()
[all …]
/linux-6.1.9/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()
125 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
150 if (ev_file) in UVERBS_HANDLER()
Duverbs.h220 void ib_uverbs_init_async_event_file(struct ib_uverbs_async_event_file *ev_file);
228 void ib_uverbs_release_ucq(struct ib_uverbs_completion_event_file *ev_file,
Duverbs_main.c131 void ib_uverbs_release_ucq(struct ib_uverbs_completion_event_file *ev_file, in ib_uverbs_release_ucq() argument
136 if (ev_file) { in ib_uverbs_release_ucq()
137 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
142 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
144 uverbs_uobject_put(&ev_file->uobj); in ib_uverbs_release_ucq()
Duverbs_cmd.c983 struct ib_uverbs_completion_event_file *ev_file; in ib_uverbs_create_comp_channel() local
995 ev_file = container_of(uobj, struct ib_uverbs_completion_event_file, in ib_uverbs_create_comp_channel()
997 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()
1008 struct ib_uverbs_completion_event_file *ev_file = NULL; in create_cq() local
1024 ev_file = ib_uverbs_lookup_comp_file(cmd->comp_channel, attrs); in create_cq()
1025 if (IS_ERR(ev_file)) { in create_cq()
1026 ret = PTR_ERR(ev_file); in create_cq()
1048 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
1074 if (ev_file) in create_cq()
1075 ib_uverbs_release_ucq(ev_file, obj); in create_cq()