Home
last modified time | relevance | path

Searched refs:ib_copy_to_udata (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/infiniband/sw/rdmavt/
H A Dsrq.c77 ret = ib_copy_to_udata(udata, &srq->ip->offset, in rvt_create_srq()
161 ret = ib_copy_to_udata(udata, &offset, in rvt_modify_srq()
239 ret = ib_copy_to_udata(udata, &ip->offset, in rvt_modify_srq()
H A Dcq.c216 err = ib_copy_to_udata(udata, &cq->ip->offset, in rvt_create_cq()
375 ret = ib_copy_to_udata(udata, &offset, sizeof(offset)); in rvt_resize_cq()
444 ret = ib_copy_to_udata(udata, &ip->offset, in rvt_resize_cq()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_ah.c118 ret = ib_copy_to_udata(udata, &resp, in hns_roce_create_ah()
H A Dhns_roce_pd.c65 ret = ib_copy_to_udata(udata, &resp, in hns_roce_alloc_pd()
H A Dhns_roce_cq.c414 ret = ib_copy_to_udata(udata, &resp, in hns_roce_create_cq()
H A Dhns_roce_srq.c499 if (ib_copy_to_udata(udata, &resp, in hns_roce_create_srq()
H A Dhns_roce_qp.c1191 ret = ib_copy_to_udata(udata, &resp, in hns_roce_create_qp_common()
1441 ret = ib_copy_to_udata(udata, &resp, in hns_roce_modify_qp()
/linux/drivers/infiniband/hw/mlx5/
H A Dah.c118 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_ah()
H A Dsrq.c304 if (ib_copy_to_udata(udata, &resp, min(udata->outlen, in mlx5_ib_create_srq()
/linux/drivers/infiniband/hw/mana/
H A Dcq.c70 err = ib_copy_to_udata(udata, &resp, min(sizeof(resp), udata->outlen)); in mana_ib_create_cq()
H A Dqp.c234 ret = ib_copy_to_udata(udata, &resp, sizeof(resp)); in mana_ib_create_qp_rss()
376 err = ib_copy_to_udata(udata, &resp, sizeof(resp)); in mana_ib_create_qp_raw()
472 err = ib_copy_to_udata(udata, &resp, min(sizeof(resp), udata->outlen)); in mana_ib_create_rc_qp()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c314 if (ib_copy_to_udata(udata, &uresp, sizeof(uresp))) { in mthca_alloc_ucontext()
359 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) { in mthca_alloc_pd()
429 if (context && ib_copy_to_udata(udata, &srq->srqn, sizeof(__u32))) { in mthca_create_srq()
629 if (udata && ib_copy_to_udata(udata, &cq->cqn, sizeof(__u32))) { in mthca_create_cq()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c351 ret = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in pvrdma_alloc_ucontext()
461 if (ib_copy_to_udata(udata, &pd_resp, sizeof(pd_resp))) { in pvrdma_alloc_pd()
H A Dpvrdma_srq.c198 if (ib_copy_to_udata(udata, &srq_resp, sizeof(srq_resp))) { in pvrdma_create_srq()
H A Dpvrdma_cq.c207 if (ib_copy_to_udata(udata, &cq_resp, sizeof(cq_resp))) { in pvrdma_create_cq()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c105 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_alloc_ucontext()
467 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_create_qp()
1196 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_create_cq()
1376 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_reg_user_mr()
1636 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_create_srq()
/linux/drivers/infiniband/hw/cxgb4/
H A Dprovider.c108 ret = ib_copy_to_udata(udata, &uresp, in c4iw_alloc_ucontext()
226 if (ib_copy_to_udata(udata, &uresp, sizeof(uresp))) { in c4iw_allocate_pd()
/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c268 err = ib_copy_to_udata(udata, &resp, in efa_query_device()
405 err = ib_copy_to_udata(udata, &resp, in efa_alloc_pd()
763 err = ib_copy_to_udata(udata, &resp, in efa_create_qp()
1208 err = ib_copy_to_udata(udata, &resp, in efa_create_cq()
1908 err = ib_copy_to_udata(udata, &resp, in efa_alloc_ucontext()
2063 err = ib_copy_to_udata(udata, &resp, in efa_create_ah()
/linux/drivers/infiniband/hw/mlx4/
H A Dsrq.c194 if (ib_copy_to_udata(udata, &srq->msrq.srqn, sizeof (__u32))) { in mlx4_ib_create_srq()
H A Dmain.c635 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx4_ib_query_device()
1130 err = ib_copy_to_udata(udata, &resp_v3, sizeof(resp_v3)); in mlx4_ib_alloc_ucontext()
1132 err = ib_copy_to_udata(udata, &resp, sizeof(resp)); in mlx4_ib_alloc_ucontext()
1208 if (udata && ib_copy_to_udata(udata, &pd->pdn, sizeof(__u32))) { in mlx4_ib_alloc_pd()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c505 status = ib_copy_to_udata(udata, &resp, sizeof(resp)); in ocrdma_alloc_ucontext()
614 status = ib_copy_to_udata(udata, &rsp, sizeof(rsp)); in ocrdma_copy_pd_uresp()
946 status = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in ocrdma_copy_cq_uresp()
1208 status = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in ocrdma_copy_qp_uresp()
1755 status = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in ocrdma_copy_srq_uresp()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c308 if (ib_copy_to_udata(udata, &uresp, in irdma_alloc_ucontext()
335 if (ib_copy_to_udata(udata, &uresp, in irdma_alloc_ucontext()
399 if (ib_copy_to_udata(udata, &uresp, in irdma_alloc_pd()
1036 err_code = ib_copy_to_udata(udata, &uresp, in irdma_create_qp()
1515 ret = ib_copy_to_udata(udata, &uresp, min(sizeof(uresp), in irdma_modify_qp_roce()
1762 err = ib_copy_to_udata(udata, &uresp, min(sizeof(uresp), in irdma_modify_qp()
2220 if (ib_copy_to_udata(udata, &resp, in irdma_create_cq()
4626 err = ib_copy_to_udata(udata, &uresp, min(sizeof(uresp), udata->outlen)); in irdma_create_user_ah()
/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c989 ret = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in erdma_create_qp()
1482 ret = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in erdma_alloc_ucontext()
1694 ret = ib_copy_to_udata(udata, &uresp, in erdma_create_cq()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c160 err = ib_copy_to_udata(udata, &resp, sizeof(resp)); in usnic_ib_fill_create_qp_resp()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c681 rc = ib_copy_to_udata(udata, &resp, min(sizeof(resp), udata->outlen)); in bnxt_re_alloc_pd()
1596 rc = ib_copy_to_udata(udata, &resp, sizeof(resp)); in bnxt_re_create_qp()
1845 rc = ib_copy_to_udata(udata, &resp, sizeof(resp)); in bnxt_re_create_srq()
3105 rc = ib_copy_to_udata(udata, &resp, min(sizeof(resp), udata->outlen)); in bnxt_re_create_cq()
4283 rc = ib_copy_to_udata(udata, &resp, min(udata->outlen, sizeof(resp))); in bnxt_re_alloc_ucontext()

12