Searched refs:ev_file (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/drivers/infiniband/hw/mlx5/ |
| D | devx.c | 35 struct devx_async_cmd_event_file *ev_file; member 76 struct devx_async_event_file *ev_file; member 1575 struct devx_async_cmd_event_file *ev_file; in UVERBS_HANDLER() local 1581 ev_file = container_of(uobj, struct devx_async_cmd_event_file, in UVERBS_HANDLER() 1583 devx_init_event_queue(&ev_file->ev_queue); in UVERBS_HANDLER() 1584 mlx5_cmd_init_async_ctx(mdev->mdev, &ev_file->async_ctx); in UVERBS_HANDLER() 1593 struct devx_async_event_file *ev_file; in UVERBS_HANDLER() local 1607 ev_file = container_of(uobj, struct devx_async_event_file, in UVERBS_HANDLER() 1609 spin_lock_init(&ev_file->lock); in UVERBS_HANDLER() 1610 INIT_LIST_HEAD(&ev_file->event_list); in UVERBS_HANDLER() [all …]
|
| /Linux-v5.10/drivers/infiniband/core/ |
| D | uverbs_std_types_cq.c | 72 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()
|
| D | uverbs.h | 220 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,
|
| D | uverbs_main.c | 131 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()
|
| D | uverbs_cmd.c | 946 struct ib_uverbs_completion_event_file *ev_file; in ib_uverbs_create_comp_channel() local 958 ev_file = container_of(uobj, struct ib_uverbs_completion_event_file, in ib_uverbs_create_comp_channel() 960 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel() 971 struct ib_uverbs_completion_event_file *ev_file = NULL; in create_cq() local 987 ev_file = ib_uverbs_lookup_comp_file(cmd->comp_channel, attrs); in create_cq() 988 if (IS_ERR(ev_file)) { in create_cq() 989 ret = PTR_ERR(ev_file); in create_cq() 1011 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq() 1037 if (ev_file) in create_cq() 1038 ib_uverbs_release_ucq(ev_file, obj); in create_cq()
|