/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_uverbs.c | 257 struct ib_uobject *uobject; in ehca_mmap() local 269 if (!cq->ib_cq.uobject || cq->ib_cq.uobject->context != context) in ehca_mmap() 290 uobject = IS_SRQ(qp) ? qp->ib_srq.uobject : qp->ib_qp.uobject; in ehca_mmap() 291 if (!uobject || uobject->context != context) in ehca_mmap()
|
D | ehca_qp.c | 619 if (pd->uobject && udata) { in internal_create_qp() 621 context = pd->uobject->context; in internal_create_qp() 962 struct ib_uobject *uobject); 1059 internal_destroy_qp(pd->device, my_qp, my_qp->ib_srq.uobject); in ehca_create_srq() 1274 if (ibqp->uobject) in internal_modify_qp() 1394 if (!ibqp->uobject) { in internal_modify_qp() 2132 struct ib_uobject *uobject) in internal_destroy_qp() argument 2146 if (uobject) { in internal_destroy_qp() 2232 qp->uobject); in ehca_destroy_qp() 2239 srq->uobject); in ehca_destroy_srq()
|
D | ehca_cq.c | 331 if (cq->uobject) { in ehca_destroy_cq()
|
D | ehca_mrmw.c | 361 e_mr->umem = ib_umem_get(pd->uobject->context, start, length, in ehca_reg_user_mr() 1670 e_mr->ib.ib_mr.uobject = NULL; in ehca_reg_internal_maxmr()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | uverbs_cmd.c | 218 put_uobj_read(pd->uobject); in put_pd_read() 228 put_uobj_read(cq->uobject); in put_cq_read() 238 put_uobj_read(ah->uobject); in put_ah_read() 256 put_uobj_read(qp->uobject); in put_qp_read() 261 put_uobj_write(qp->uobject); in put_qp_write() 271 put_uobj_read(srq->uobject); in put_srq_read() 560 pd->uobject = uobj; in ib_uverbs_alloc_pd() 785 init_uobj(&obj->uobject, 0, file->ucontext, &xrcd_lock_class); in ib_uverbs_open_xrcd() 787 down_write(&obj->uobject.mutex); in ib_uverbs_open_xrcd() 805 obj->uobject.object = xrcd; in ib_uverbs_open_xrcd() [all …]
|
D | uverbs_main.c | 244 container_of(uobj, struct ib_uqp_object, uevent.uobject); in ib_uverbs_cleanup_ucontext() 260 container_of(uobj, struct ib_uevent_object, uobject); in ib_uverbs_cleanup_ucontext() 272 container_of(uobj, struct ib_ucq_object, uobject); in ib_uverbs_cleanup_ucontext() 292 container_of(uobj, struct ib_uxrcd_object, uobject); in ib_uverbs_cleanup_ucontext() 487 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject); in ib_uverbs_comp_handler() 489 entry->desc.comp.cq_handle = cq->uobject->user_handle; in ib_uverbs_comp_handler() 536 struct ib_ucq_object *uobj = container_of(event->element.cq->uobject, in ib_uverbs_cq_event_handler() 537 struct ib_ucq_object, uobject); in ib_uverbs_cq_event_handler() 539 ib_uverbs_async_handler(uobj->uverbs_file, uobj->uobject.user_handle, in ib_uverbs_cq_event_handler() 549 if (!event->element.qp->uobject || !event->element.qp->uobject->live) in ib_uverbs_qp_event_handler() [all …]
|
D | uverbs.h | 144 struct ib_uobject uobject; member 150 struct ib_uobject uobject; member 166 struct ib_uobject uobject; member
|
D | verbs.c | 244 pd->uobject = NULL; in ib_alloc_pd() 306 ah->uobject = NULL; in ib_create_ah() 465 srq->uobject = NULL; in ib_create_srq() 613 qp->uobject = NULL; in ib_create_qp() 1166 cq->uobject = NULL; in ib_create_cq() 1216 mr->uobject = NULL; in ib_get_dma_mr() 1274 mr->uobject = NULL; in ib_alloc_mr() 1296 mw->uobject = NULL; in ib_alloc_mw()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | srq.c | 109 if (pd->uobject) { in mlx4_ib_create_srq() 117 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, in mlx4_ib_create_srq() 133 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in mlx4_ib_create_srq() 198 if (pd->uobject) in mlx4_ib_create_srq() 209 if (pd->uobject) in mlx4_ib_create_srq() 210 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in mlx4_ib_create_srq() 218 if (pd->uobject) in mlx4_ib_create_srq() 224 if (!pd->uobject) in mlx4_ib_create_srq() 285 if (srq->uobject) { in mlx4_ib_destroy_srq() 286 mlx4_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx4_ib_destroy_srq()
|
D | cq.c | 397 if (ibcq->uobject) { in mlx4_ib_resize_cq() 421 if (ibcq->uobject) { in mlx4_ib_resize_cq() 455 if (!ibcq->uobject) in mlx4_ib_resize_cq() 481 if (cq->uobject) { in mlx4_ib_destroy_cq() 482 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db); in mlx4_ib_destroy_cq()
|
D | qp.c | 719 err = set_rq_size(dev, &init_attr->cap, !!pd->uobject, qp_has_rq(init_attr), qp); in create_qp_common() 723 if (pd->uobject) { in create_qp_common() 737 qp->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, in create_qp_common() 754 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in create_qp_common() 892 if (pd->uobject) { in create_qp_common() 894 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db); in create_qp_common() 904 if (pd->uobject) in create_qp_common() 910 if (!pd->uobject && qp_has_rq(init_attr)) in create_qp_common() 1068 mlx4_ib_db_unmap_user(to_mucontext(qp->ibqp.uobject->context), in destroy_qp_common() 1218 destroy_qp_common(dev, mqp, !!pd->ibpd.uobject); in mlx4_ib_destroy_qp() [all …]
|
D | mr.c | 149 mr->umem = ib_umem_get(pd->uobject->context, start, length, in mlx4_ib_reg_user_mr() 230 mmr->umem = ib_umem_get(mr->uobject->context, start, length, in mlx4_ib_rereg_user_mr()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 454 if (pd->uobject) { in mthca_create_srq() 455 context = to_mucontext(pd->uobject->context); in mthca_create_srq() 476 if (err && pd->uobject) in mthca_create_srq() 501 if (srq->uobject) { in mthca_destroy_srq() 502 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq() 536 if (pd->uobject) { in mthca_create_qp() 537 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 575 if (err && pd->uobject) { in mthca_create_qp() 576 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 595 if (pd->uobject) in mthca_create_qp() [all …]
|
D | mthca_srq.c | 106 if (pd->ibpd.uobject) in mthca_tavor_init_srq_context() 108 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_tavor_init_srq_context() 132 if (pd->ibpd.uobject) in mthca_arbel_init_srq_context() 134 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_arbel_init_srq_context() 155 if (pd->ibpd.uobject) in mthca_alloc_srq_buf() 238 if (!pd->ibpd.uobject) { in mthca_alloc_srq() 300 if (!pd->ibpd.uobject) in mthca_alloc_srq() 307 if (!pd->ibpd.uobject && mthca_is_memfree(dev)) in mthca_alloc_srq() 353 if (!srq->ibsrq.uobject) { in mthca_free_srq()
|
D | mthca_qp.c | 609 if (qp->ibqp.uobject) in __mthca_modify_qp() 611 cpu_to_be32(to_mucontext(qp->ibqp.uobject->context)->uar.index); in __mthca_modify_qp() 653 u8 sched_queue = ibqp->uobject ? 0x2 : 0x1; in __mthca_modify_qp() 818 if (new_state == IB_QPS_RESET && !qp->ibqp.uobject) { in __mthca_modify_qp() 942 return pd->ibpd.uobject ? max_data_size - MTHCA_INLINE_HEADER_SIZE : 0; in mthca_max_inline_data() 1039 if (pd->ibpd.uobject) in mthca_alloc_wqe_buf() 1182 if (pd->ibpd.uobject) in mthca_alloc_qp_common() 1455 if (!qp->ibqp.uobject) { in mthca_free_qp()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | srq.c | 105 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, buf_size, in create_srq_user() 131 err = mlx5_ib_db_map_user(to_mucontext(pd->uobject->context), in create_srq_user() 222 mlx5_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in destroy_srq_user() 278 if (pd->uobject) in mlx5_ib_create_srq() 285 pd->uobject ? "user" : "kernel", err); in mlx5_ib_create_srq() 317 if (pd->uobject) in mlx5_ib_create_srq() 332 if (pd->uobject) in mlx5_ib_create_srq() 400 if (srq->uobject) { in mlx5_ib_destroy_srq() 401 mlx5_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx5_ib_destroy_srq()
|
D | main.c | 1124 qp->uobject = NULL; in create_umr_res() 1200 devr->p0->uobject = NULL; in create_dev_resources() 1209 devr->c0->uobject = NULL; in create_dev_resources() 1251 devr->s0->uobject = NULL; in create_dev_resources() 1273 devr->s1->uobject = NULL; in create_dev_resources()
|
D | qp.c | 614 context = to_mucontext(pd->uobject->context); in create_user_qp() 646 qp->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, in create_user_qp() 719 context = to_mucontext(pd->uobject->context); in destroy_qp_user() 886 if (pd && pd->uobject) { in create_qp_common() 900 qp, (pd && pd->uobject) ? &ucmd : NULL); in create_qp_common() 907 if (pd->uobject) { in create_qp_common() 1693 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp() 1739 if (new_state == IB_QPS_RESET && !ibqp->uobject) { in __mlx5_ib_modify_qp() 3094 if (!ibqp->uobject) { in mlx5_ib_query_qp()
|
D | cq.c | 849 if (cq->uobject) in mlx5_ib_destroy_cq() 850 context = cq->uobject->context; in mlx5_ib_destroy_cq()
|
D | mr.c | 1055 umem = ib_umem_get(pd->uobject->context, start, length, access_flags, in mlx5_ib_reg_user_mr()
|
/linux-4.4.14/include/rdma/ |
D | ib_verbs.h | 1288 struct ib_uobject *uobject; member 1305 struct ib_uobject *uobject; member 1312 struct ib_uobject *uobject; member 1323 struct ib_uobject *uobject; member 1350 struct ib_uobject *uobject; member 1360 struct ib_uobject *uobject; member 1372 struct ib_uobject *uobject; member 1502 struct ib_uobject *uobject; member
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_provider.c | 255 if (pd->uobject) { in c2_create_qp() 262 if (err && pd->uobject) { in c2_create_qp() 455 c2mr->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); in c2_reg_user_mr()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 824 if ((ibpd->uobject) && (ibpd->uobject->context)) { in nes_dealloc_pd() 825 nesucontext = to_nesucontext(ibpd->uobject->context); in nes_dealloc_pd() 1176 if ((ibpd->uobject) && (ibpd->uobject->context)) { in nes_create_qp() 1178 nes_ucontext = to_nesucontext(ibpd->uobject->context); in nes_create_qp() 1199 nes_ucontext = to_nesucontext(ibpd->uobject->context); in nes_create_qp() 1367 if (ibpd->uobject) { in nes_create_qp() 1482 if ((ibqp->uobject)&&(ibqp->uobject->context)) { in nes_destroy_qp() 1483 nes_ucontext = to_nesucontext(ibqp->uobject->context); in nes_destroy_qp() 2321 region = ib_umem_get(pd->uobject->context, start, length, acc, 0); in nes_reg_user_mr() 2571 nes_ucontext = to_nesucontext(pd->uobject->context); in nes_reg_user_mr()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 648 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); in iwch_reg_user_mr() 906 ucontext = ib_qp->uobject ? to_iwch_ucontext(ib_qp->uobject->context) in iwch_destroy_qp() 967 ucontext = pd->uobject ? to_iwch_ucontext(pd->uobject->context) : NULL; in iwch_create_qp()
|
D | iwch_qp.c | 861 if (qhp->ibqp.uobject) { in flush_qp() 918 if (!qhp->ibqp.uobject) in rdma_init() 1057 if (qhp->ibqp.uobject) in iwch_modify_qp()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1185 if (qhp->ibqp.uobject) { in flush_qp() 1312 if (!qhp->ibqp.uobject) in rdma_init() 1611 ucontext = ib_qp->uobject ? in c4iw_destroy_qp() 1612 to_c4iw_ucontext(ib_qp->uobject->context) : NULL; in c4iw_destroy_qp() 1662 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp()
|
D | cq.c | 859 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq()
|
D | mem.c | 732 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); in c4iw_reg_user_mr()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 485 ucontext = to_uucontext(pd->uobject->context); in usnic_ib_create_qp() 652 usnic_uiom_reg_release(mr->umem, ibmr->pd->uobject->context->closing); in usnic_ib_dereg_mr()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_mr.c | 200 umem = ib_umem_get(pd->uobject->context, start, length, in ipath_reg_user_mr()
|
D | ipath_srq.c | 155 ibpd->uobject->context, in ipath_create_srq()
|
D | ipath_qp.c | 900 ibpd->uobject->context, in ipath_create_qp()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | srq.c | 168 hfi1_create_mmap_info(dev, s, ibpd->uobject->context, in hfi1_create_srq()
|
D | mr.c | 261 umem = ib_umem_get(pd->uobject->context, start, length, in hfi1_reg_user_mr()
|
D | qp.c | 1166 ibpd->uobject->context, in hfi1_create_qp()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_srq.c | 151 qib_create_mmap_info(dev, s, ibpd->uobject->context, in qib_create_srq()
|
D | qib_mr.c | 244 umem = ib_umem_get(pd->uobject->context, start, length, in qib_reg_user_mr()
|
D | qib_qp.c | 1148 ibpd->uobject->context, in qib_create_qp()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 970 mr->umem = ib_umem_get(ibpd->uobject->context, start, len, acc, 0); in ocrdma_reg_user_mr() 1261 if (ibpd->uobject && attrs->qp_type == IB_QPT_GSI) { in ocrdma_check_qp_params()
|