/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_std_types_mr.c | 146 ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_LKEY, &mr->lkey, in UVERBS_HANDLER() 151 ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_RKEY, in UVERBS_HANDLER() 163 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_LKEY, &mr->lkey, in UVERBS_HANDLER() 168 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_RKEY, in UVERBS_HANDLER() 174 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_LENGTH, in UVERBS_HANDLER() 180 ret = uverbs_copy_to(attrs, UVERBS_ATTR_QUERY_MR_RESP_IOVA, in UVERBS_HANDLER() 259 ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DMABUF_MR_RESP_LKEY, in UVERBS_HANDLER() 264 ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DMABUF_MR_RESP_RKEY, in UVERBS_HANDLER()
|
H A D | uverbs_std_types_wq.c | 92 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()
|
H A D | uverbs_std_types_device.c | 128 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()
|
H A D | uverbs_std_types_srq.c | 116 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()
|
H A D | uverbs_std_types_cq.c | 140 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()
|
H A D | uverbs_std_types_counters.c | 122 return uverbs_copy_to(attrs, UVERBS_ATTR_READ_COUNTERS_BUFF, in UVERBS_HANDLER()
|
H A D | uverbs_std_types_qp.c | 275 ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_QP_RESP_QP_NUM, in UVERBS_HANDLER() 356 return uverbs_copy_to(attrs, UVERBS_ATTR_DESTROY_QP_RESP, &resp, in UVERBS_HANDLER()
|
H A D | uverbs_ioctl.c | 731 int uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, in uverbs_copy_to() function 746 EXPORT_SYMBOL(uverbs_copy_to); 823 return uverbs_copy_to(bundle, idx, from, size); in uverbs_copy_to_struct_or_zero()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | dm.c | 182 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DM_MAP_OP_ADDR_RESP_PAGE_INDEX, in copy_op_to_user() 187 return uverbs_copy_to(attrs, in copy_op_to_user() 318 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_ALLOC_DM_RESP_PAGE_INDEX, in handle_alloc_dm_memic() 324 err = uverbs_copy_to(attrs, in handle_alloc_dm_memic() 404 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_ALLOC_DM_RESP_START_OFFSET, in handle_alloc_dm_sw_icm() 516 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_QUERY_DM_RESP_PAGE_INDEX, in UVERBS_HANDLER() 522 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_QUERY_DM_RESP_START_OFFSET, in UVERBS_HANDLER() 527 return uverbs_copy_to(attrs, MLX5_IB_ATTR_QUERY_DM_RESP_LENGTH, in UVERBS_HANDLER()
|
H A D | qos.c | 76 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_PP_OBJ_ALLOC_INDEX, in UVERBS_HANDLER()
|
H A D | std_types.c | 24 return uverbs_copy_to(attrs, MLX5_IB_ATTR_QUERY_PD_RESP_PDN, in UVERBS_HANDLER()
|
H A D | devx.c | 1009 if (uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_QUERY_EQN_DEV_EQN, in UVERBS_HANDLER() 1057 if (uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_QUERY_UAR_DEV_IDX, in UVERBS_HANDLER() 1101 err2 = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OTHER_CMD_OUT, cmd_out, in UVERBS_HANDLER() 1527 err2 = uverbs_copy_to(attrs, in UVERBS_HANDLER() 1554 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_CREATE_CMD_OUT, cmd_out, cmd_out_len); in UVERBS_HANDLER() 1623 err2 = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_MODIFY_CMD_OUT, in UVERBS_HANDLER() 1668 err2 = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_QUERY_CMD_OUT, in UVERBS_HANDLER() 2361 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_UMEM_REG_OUT_ID, &obj_id, in UVERBS_HANDLER()
|
H A D | main.c | 3474 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_VAR_OBJ_ALLOC_MMAP_OFFSET, in UVERBS_HANDLER() 3479 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_VAR_OBJ_ALLOC_PAGE_ID, in UVERBS_HANDLER() 3484 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_VAR_OBJ_ALLOC_MMAP_LENGTH, in UVERBS_HANDLER() 3601 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_UAR_OBJ_ALLOC_MMAP_OFFSET, in UVERBS_HANDLER() 3606 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_UAR_OBJ_ALLOC_PAGE_ID, in UVERBS_HANDLER() 3611 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_UAR_OBJ_ALLOC_MMAP_LENGTH, in UVERBS_HANDLER()
|
H A D | fs.c | 2454 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_STEERING_ANCHOR_FT_ID, in UVERBS_HANDLER()
|
/openbmc/linux/include/rdma/ |
H A D | uverbs_ioctl.h | 860 int uverbs_copy_to(const struct uverbs_attr_bundle *attrs_bundle, size_t idx, 909 static inline int uverbs_copy_to(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_copy_to() function
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 4367 err = uverbs_copy_to(attrs, BNXT_RE_ALLOC_PAGE_MMAP_OFFSET, in UVERBS_HANDLER() 4372 err = uverbs_copy_to(attrs, BNXT_RE_ALLOC_PAGE_MMAP_LENGTH, in UVERBS_HANDLER() 4377 err = uverbs_copy_to(attrs, BNXT_RE_ALLOC_PAGE_DPI, in UVERBS_HANDLER()
|