• Home
  • Raw
  • Download

Lines Matching refs:udata

97 int siw_alloc_ucontext(struct ib_ucontext *base_ctx, struct ib_udata *udata)  in siw_alloc_ucontext()  argument
114 if (udata->outlen < sizeof(uresp)) { in siw_alloc_ucontext()
118 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_alloc_ucontext()
155 struct ib_udata *udata) in siw_query_device() argument
159 if (udata->inlen || udata->outlen) in siw_query_device()
265 int siw_alloc_pd(struct ib_pd *pd, struct ib_udata *udata) in siw_alloc_pd() argument
278 void siw_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in siw_dealloc_pd() argument
308 struct ib_udata *udata) in siw_create_qp() argument
315 rdma_udata_to_drv_context(udata, struct siw_ucontext, in siw_create_qp()
382 qp->kernel_verbs = !udata; in siw_create_qp()
453 if (udata) { in siw_create_qp()
478 if (udata->outlen < sizeof(uresp)) { in siw_create_qp()
482 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_create_qp()
559 int attr_mask, struct ib_udata *udata) in siw_verbs_modify_qp() argument
604 int siw_destroy_qp(struct ib_qp *base_qp, struct ib_udata *udata) in siw_destroy_qp() argument
608 rdma_udata_to_drv_context(udata, struct siw_ucontext, in siw_destroy_qp()
1081 void siw_destroy_cq(struct ib_cq *base_cq, struct ib_udata *udata) in siw_destroy_cq() argument
1086 rdma_udata_to_drv_context(udata, struct siw_ucontext, in siw_destroy_cq()
1112 struct ib_udata *udata) in siw_create_cq() argument
1133 if (!udata) { in siw_create_cq()
1152 if (udata) { in siw_create_cq()
1155 rdma_udata_to_drv_context(udata, struct siw_ucontext, in siw_create_cq()
1170 if (udata->outlen < sizeof(uresp)) { in siw_create_cq()
1174 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_create_cq()
1185 rdma_udata_to_drv_context(udata, struct siw_ucontext, in siw_create_cq()
1268 int siw_dereg_mr(struct ib_mr *base_mr, struct ib_udata *udata) in siw_dereg_mr() argument
1296 u64 rnic_va, int rights, struct ib_udata *udata) in siw_reg_user_mr() argument
1348 if (udata) { in siw_reg_user_mr()
1352 if (udata->inlen < sizeof(ureq)) { in siw_reg_user_mr()
1356 rv = ib_copy_from_udata(&ureq, udata, sizeof(ureq)); in siw_reg_user_mr()
1365 if (udata->outlen < sizeof(uresp)) { in siw_reg_user_mr()
1369 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_reg_user_mr()
1391 u32 max_sge, struct ib_udata *udata) in siw_alloc_mr() argument
1570 struct ib_srq_init_attr *init_attrs, struct ib_udata *udata) in siw_create_srq() argument
1576 rdma_udata_to_drv_context(udata, struct siw_ucontext, in siw_create_srq()
1597 srq->kernel_verbs = !udata; in siw_create_srq()
1599 if (udata) in siw_create_srq()
1609 if (udata) { in siw_create_srq()
1622 if (udata->outlen < sizeof(uresp)) { in siw_create_srq()
1626 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_create_srq()
1657 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in siw_modify_srq() argument
1717 void siw_destroy_srq(struct ib_srq *base_srq, struct ib_udata *udata) in siw_destroy_srq() argument
1722 rdma_udata_to_drv_context(udata, struct siw_ucontext, in siw_destroy_srq()