Searched refs:ev_file (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | devx.c | 49 struct devx_async_cmd_event_file *ev_file; member 90 struct devx_async_event_file *ev_file; member 1763 struct devx_async_cmd_event_file *ev_file; in UVERBS_HANDLER() local 1769 ev_file = container_of(uobj, struct devx_async_cmd_event_file, in UVERBS_HANDLER() 1771 devx_init_event_queue(&ev_file->ev_queue); in UVERBS_HANDLER() 1772 mlx5_cmd_init_async_ctx(mdev->mdev, &ev_file->async_ctx); in UVERBS_HANDLER() 1781 struct devx_async_event_file *ev_file; in UVERBS_HANDLER() local 1795 ev_file = container_of(uobj, struct devx_async_event_file, in UVERBS_HANDLER() 1797 spin_lock_init(&ev_file->lock); in UVERBS_HANDLER() 1798 INIT_LIST_HEAD(&ev_file->event_list); in UVERBS_HANDLER() [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | uverbs_std_types_cq.c | 67 struct ib_uverbs_completion_event_file *ev_file = NULL; in UVERBS_HANDLER() local 104 ev_file = container_of(ev_file_uobj, in UVERBS_HANDLER() 188 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER() 215 if (ev_file) in UVERBS_HANDLER()
|
| H A D | uverbs_main.c | 144 void ib_uverbs_release_ucq(struct ib_uverbs_completion_event_file *ev_file, in ib_uverbs_release_ucq() argument 149 if (ev_file) { in ib_uverbs_release_ucq() 150 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq() 155 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq() 157 uverbs_uobject_put(&ev_file->uobj); in ib_uverbs_release_ucq()
|
| H A D | uverbs_cmd.c | 1000 struct ib_uverbs_completion_event_file *ev_file; in ib_uverbs_create_comp_channel() local 1012 ev_file = container_of(uobj, struct ib_uverbs_completion_event_file, in ib_uverbs_create_comp_channel() 1014 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel() 1025 struct ib_uverbs_completion_event_file *ev_file = NULL; in create_cq() local 1041 ev_file = ib_uverbs_lookup_comp_file(cmd->comp_channel, attrs); in create_cq() 1042 if (IS_ERR(ev_file)) { in create_cq() 1043 ret = PTR_ERR(ev_file); in create_cq() 1065 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq() 1091 if (ev_file) in create_cq() 1092 ib_uverbs_release_ucq(ev_file, obj); in create_cq()
|