Home
last modified time | relevance | path

Searched refs:uverbs_copy_to (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_mr.c145 ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_LKEY, &mr->lkey, in UVERBS_HANDLER()
150 ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_RKEY, in UVERBS_HANDLER()
162 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_LKEY, &mr->lkey, in UVERBS_HANDLER()
167 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_RKEY, in UVERBS_HANDLER()
173 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_LENGTH, in UVERBS_HANDLER()
179 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_IOVA, in UVERBS_HANDLER()
Duverbs_std_types_wq.c92 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_WQ_RESP_MAX_WR, in UVERBS_HANDLER()
98 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_WQ_RESP_MAX_SGE, in UVERBS_HANDLER()
104 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_WQ_RESP_WQ_NUM, in UVERBS_HANDLER()
167 return uverbs_copy_to(attrs, UVERBS_ATTR_DESTROY_WQ_RESP, in UVERBS_HANDLER()
Duverbs_std_types_device.c128 ret = uverbs_copy_to(attrs, UVERBS_ATTR_INFO_HANDLES_LIST, handles, in UVERBS_HANDLER()
133 ret = uverbs_copy_to(attrs, UVERBS_ATTR_INFO_TOTAL_HANDLES, &total, in UVERBS_HANDLER()
218 ret = uverbs_copy_to(attrs, UVERBS_ATTR_GET_CONTEXT_NUM_COMP_VECTORS, in UVERBS_HANDLER()
223 ret = uverbs_copy_to(attrs, UVERBS_ATTR_GET_CONTEXT_CORE_SUPPORT, in UVERBS_HANDLER()
258 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_CONTEXT_NUM_COMP_VECTORS, in UVERBS_HANDLER()
263 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_CONTEXT_CORE_SUPPORT, in UVERBS_HANDLER()
282 ret = uverbs_copy_to(attrs, in copy_gid_entries_to_user()
361 ret = uverbs_copy_to(attrs, in UVERBS_HANDLER()
Duverbs_std_types_srq.c116 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_SRQ_RESP_MAX_WR, in UVERBS_HANDLER()
122 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_SRQ_RESP_MAX_SGE, in UVERBS_HANDLER()
129 ret = uverbs_copy_to(attrs, in UVERBS_HANDLER()
208 return uverbs_copy_to(attrs, UVERBS_ATTR_DESTROY_SRQ_RESP, &resp, in UVERBS_HANDLER()
Duverbs_std_types_cq.c140 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_CQ_RESP_CQE, &cq->cqe, in UVERBS_HANDLER()
197 return uverbs_copy_to(attrs, UVERBS_ATTR_DESTROY_CQ_RESP, &resp, in UVERBS_HANDLER()
Duverbs_std_types_counters.c121 return uverbs_copy_to(attrs, UVERBS_ATTR_READ_COUNTERS_BUFF, in UVERBS_HANDLER()
Duverbs_std_types_qp.c296 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_QP_RESP_QP_NUM, in UVERBS_HANDLER()
377 return uverbs_copy_to(attrs, UVERBS_ATTR_DESTROY_QP_RESP, &resp, in UVERBS_HANDLER()
Duverbs_ioctl.c723 int uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, in uverbs_copy_to() function
738 EXPORT_SYMBOL(uverbs_copy_to);
791 return uverbs_copy_to(bundle, idx, from, size); in uverbs_copy_to_struct_or_zero()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dstd_types.c22 return uverbs_copy_to(attrs, MLX5_IB_ATTR_QUERY_PD_RESP_PDN, in UVERBS_HANDLER()
Dqos.c76 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_PP_OBJ_ALLOC_INDEX, in UVERBS_HANDLER()
Ddevx.c922 if (uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_QUERY_EQN_DEV_EQN, in UVERBS_HANDLER()
970 if (uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_QUERY_UAR_DEV_IDX, in UVERBS_HANDLER()
1014 return uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OTHER_CMD_OUT, cmd_out, in UVERBS_HANDLER()
1432 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_CREATE_CMD_OUT, cmd_out, cmd_out_len); in UVERBS_HANDLER()
1501 return uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_MODIFY_CMD_OUT, in UVERBS_HANDLER()
1544 return uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_QUERY_CMD_OUT, in UVERBS_HANDLER()
2173 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_UMEM_REG_OUT_ID, &obj_id, in UVERBS_HANDLER()
Dmain.c2382 err = uverbs_copy_to(attrs, in handle_alloc_dm_memic()
2390 err = uverbs_copy_to(attrs, in handle_alloc_dm_memic()
2429 err = uverbs_copy_to(attrs, in handle_alloc_dm_sw_icm()
3699 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_VAR_OBJ_ALLOC_MMAP_OFFSET, in UVERBS_HANDLER()
3704 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_VAR_OBJ_ALLOC_PAGE_ID, in UVERBS_HANDLER()
3709 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_VAR_OBJ_ALLOC_MMAP_LENGTH, in UVERBS_HANDLER()
3826 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_UAR_OBJ_ALLOC_MMAP_OFFSET, in UVERBS_HANDLER()
3831 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_UAR_OBJ_ALLOC_PAGE_ID, in UVERBS_HANDLER()
3836 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_UAR_OBJ_ALLOC_MMAP_LENGTH, in UVERBS_HANDLER()
/kernel/linux/linux-5.10/include/rdma/
Duverbs_ioctl.h849 int uverbs_copy_to(const struct uverbs_attr_bundle *attrs_bundle, size_t idx,
893 static inline int uverbs_copy_to(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_copy_to() function