Home
last modified time | relevance | path

Searched refs:ev_file (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Ddevx.c35 struct devx_async_cmd_event_file *ev_file; member
43 struct list_head list; /* headed in ev_file->event_list */
60 struct list_head file_list; /* headed in ev_file->
67 struct list_head event_list; /* headed in ev_file->event_list or in
76 struct devx_async_event_file *ev_file; member
1595 struct devx_async_cmd_event_file *ev_file; in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC() local
1601 ev_file = container_of(uobj, struct devx_async_cmd_event_file, in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC()
1603 devx_init_event_queue(&ev_file->ev_queue); in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC()
1604 mlx5_cmd_init_async_ctx(mdev->mdev, &ev_file->async_ctx); in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC()
1613 struct devx_async_event_file *ev_file; in MLX5_IB_METHOD_DEVX_ASYNC_EVENT_FD_ALLOC() local
1644 struct devx_async_cmd_event_file *ev_file = async_data->ev_file; devx_query_callback() local
1677 struct devx_async_cmd_event_file *ev_file; MLX5_IB_METHOD_DEVX_OBJ_ASYNC_QUERY() local
1904 struct devx_async_event_file *ev_file; MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() local
2284 struct devx_async_event_file *ev_file; deliver_event() local
2515 struct devx_async_event_file *ev_file = filp->private_data; devx_async_event_read() local
2593 struct devx_async_event_file *ev_file = filp->private_data; devx_async_event_poll() local
2656 struct devx_async_event_file *ev_file = devx_async_event_destroy_uobj() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Ddevx.c35 struct devx_async_cmd_event_file *ev_file; member
43 struct list_head list; /* headed in ev_file->event_list */
60 struct list_head file_list; /* headed in ev_file->
67 struct list_head event_list; /* headed in ev_file->event_list or in
76 struct devx_async_event_file *ev_file; member
1700 struct devx_async_cmd_event_file *ev_file; in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC() local
1706 ev_file = container_of(uobj, struct devx_async_cmd_event_file, in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC()
1708 devx_init_event_queue(&ev_file->ev_queue); in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC()
1709 mlx5_cmd_init_async_ctx(mdev->mdev, &ev_file->async_ctx); in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC()
1718 struct devx_async_event_file *ev_file; in MLX5_IB_METHOD_DEVX_ASYNC_EVENT_FD_ALLOC() local
1749 struct devx_async_cmd_event_file *ev_file = async_data->ev_file; devx_query_callback() local
1782 struct devx_async_cmd_event_file *ev_file; MLX5_IB_METHOD_DEVX_OBJ_ASYNC_QUERY() local
2009 struct devx_async_event_file *ev_file; MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() local
2451 struct devx_async_event_file *ev_file; deliver_event() local
2682 struct devx_async_event_file *ev_file = filp->private_data; devx_async_event_read() local
2760 struct devx_async_event_file *ev_file = filp->private_data; devx_async_event_poll() local
2822 struct devx_async_event_file *ev_file = devx_async_event_destroy_uobj() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_std_types_cq.c72 struct ib_uverbs_completion_event_file *ev_file = NULL; in UVERBS_METHOD_CQ_CREATE() local
98 ev_file = container_of(ev_file_uobj, in UVERBS_METHOD_CQ_CREATE()
125 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_METHOD_CQ_CREATE()
150 if (ev_file) in UVERBS_METHOD_CQ_CREATE()
H A 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,
H A Duverbs_main.c142 void ib_uverbs_release_ucq(struct ib_uverbs_completion_event_file *ev_file, in ib_uverbs_release_ucq() argument
147 if (ev_file) { in ib_uverbs_release_ucq()
148 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
153 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
155 uverbs_uobject_put(&ev_file->uobj); in ib_uverbs_release_ucq()
H A 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()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Duverbs_std_types_cq.c72 struct ib_uverbs_completion_event_file *ev_file = NULL; in UVERBS_METHOD_CQ_CREATE() local
98 ev_file = container_of(ev_file_uobj, in UVERBS_METHOD_CQ_CREATE()
125 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_METHOD_CQ_CREATE()
150 if (ev_file) in UVERBS_METHOD_CQ_CREATE()
H A 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,
H A 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()
H A Duverbs_cmd.c949 struct ib_uverbs_completion_event_file *ev_file; in ib_uverbs_create_comp_channel() local
961 ev_file = container_of(uobj, struct ib_uverbs_completion_event_file, in ib_uverbs_create_comp_channel()
963 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()
974 struct ib_uverbs_completion_event_file *ev_file = NULL; in create_cq() local
990 ev_file = ib_uverbs_lookup_comp_file(cmd->comp_channel, attrs); in create_cq()
991 if (IS_ERR(ev_file)) { in create_cq()
992 ret = PTR_ERR(ev_file); in create_cq()
1014 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
1040 if (ev_file) in create_cq()
[all...]

Completed in 17 milliseconds