| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_uverbs_cmd.c | 582 pd->uobject = uobj; in ib_uverbs_alloc_pd() 1024 mr->uobject = uobj; in ib_uverbs_reg_mr() 1421 cq->uobject = &obj->uobject; in create_cq() 1734 obj = container_of(cq->uobject, struct ib_ucq_object, uobject); in ib_uverbs_destroy_cq() 1951 qp->uobject = &obj->uevent.uobject; in create_qp() 1953 qp->uobject = &obj->uevent.uobject; in create_qp() 1978 uobject); in create_qp() 2187 qp->uobject = &obj->uevent.uobject; in ib_uverbs_open_qp() 3313 wq->uobject = &obj->uevent.uobject; in ib_uverbs_ex_create_wq() 3323 wq->uobject = &obj->uevent.uobject; in ib_uverbs_ex_create_wq() [all …]
|
| H A D | ib_uverbs_main.c | 336 container_of(uobj, struct ib_ucq_object, uobject); in ib_uverbs_cleanup_ucontext() 356 container_of(uobj, struct ib_uxrcd_object, uobject); in ib_uverbs_cleanup_ucontext() 551 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject); in ib_uverbs_comp_handler() 553 entry->desc.comp.cq_handle = cq->uobject->user_handle; in ib_uverbs_comp_handler() 601 struct ib_ucq_object, uobject); in ib_uverbs_cq_event_handler() 613 if (!event->element.qp->uobject || !event->element.qp->uobject->live) in ib_uverbs_qp_event_handler() 616 uobj = container_of(event->element.qp->uobject, in ib_uverbs_qp_event_handler() 617 struct ib_uevent_object, uobject); in ib_uverbs_qp_event_handler() 627 struct ib_uevent_object, uobject); in ib_uverbs_wq_event_handler() 638 uobj = container_of(event->element.srq->uobject, in ib_uverbs_srq_event_handler() [all …]
|
| H A D | uverbs.h | 159 struct ib_uobject uobject; member 165 struct ib_uobject uobject; member 187 struct ib_uobject uobject; member
|
| H A D | ib_verbs.c | 276 pd->uobject = NULL; in __ib_alloc_pd() 302 mr->uobject = NULL; in __ib_alloc_pd() 358 ah->uobject = NULL; in ib_create_ah() 641 srq->uobject = NULL; in ib_create_srq() 818 qp->uobject = NULL; in ib_create_qp() 1374 cq->uobject = NULL; in ib_create_cq() 1448 mr->uobject = NULL; in ib_alloc_mr() 1650 wq->uobject = NULL; in ib_create_wq() 1731 rwq_ind_table->uobject = NULL; in ib_create_rwq_ind_table()
|
| H A D | ib_cq.c | 116 cq->uobject = NULL; in ib_alloc_cq()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_srq.c | 108 if (pd->uobject) { in mlx4_ib_create_srq() 116 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, in mlx4_ib_create_srq() 132 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()
|
| H A D | mlx4_ib_cq.c | 398 if (ibcq->uobject) { in mlx4_ib_resize_cq() 422 if (ibcq->uobject) { in mlx4_ib_resize_cq() 456 if (!ibcq->uobject) in mlx4_ib_resize_cq() 482 if (cq->uobject) { in mlx4_ib_destroy_cq() 483 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db); in mlx4_ib_destroy_cq()
|
| H A D | mlx4_ib_qp.c | 732 if (pd->uobject) { in create_qp_common() 746 qp->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, in create_qp_common() 916 if (pd->uobject) { in create_qp_common() 928 if (pd->uobject) in create_qp_common() 934 if (!pd->uobject && qp_has_rq(init_attr)) in create_qp_common() 1295 destroy_qp_common(dev, mqp, !!pd->ibpd.uobject); in _mlx4_ib_destroy_qp() 1702 if (qp->ibqp.uobject) in __mlx4_ib_modify_qp() 1705 to_mucontext(ibqp->uobject->context)->uar.index)); in __mlx4_ib_modify_qp() 1844 if (!qp->ibqp.uobject) in __mlx4_ib_modify_qp() 2046 if (!ibqp->uobject) { in __mlx4_ib_modify_qp() [all …]
|
| H A D | mlx4_ib_mr.c | 153 mr->umem = ib_umem_get(pd->uobject->context, start, length, in mlx4_ib_reg_user_mr() 234 mmr->umem = ib_umem_get(mr->uobject->context, start, length, in mlx4_ib_rereg_user_mr()
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_srq.c | 103 err = get_srq_user_index(to_mucontext(pd->uobject->context), in create_srq_user() 111 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, buf_size, in create_srq_user() 136 err = mlx5_ib_db_map_user(to_mucontext(pd->uobject->context), in create_srq_user() 225 mlx5_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in destroy_srq_user() 288 if (pd->uobject) in mlx5_ib_create_srq() 295 pd->uobject ? "user" : "kernel", err); in mlx5_ib_create_srq() 325 if (pd->uobject) in mlx5_ib_create_srq() 340 if (pd->uobject) in mlx5_ib_create_srq() 408 if (srq->uobject) { in mlx5_ib_destroy_srq() 409 mlx5_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx5_ib_destroy_srq()
|
| H A D | mlx5_ib_qp.c | 689 context = to_mucontext(pd->uobject->context); in destroy_user_rq() 709 context = to_mucontext(pd->uobject->context); in create_user_rq() 784 context = to_mucontext(pd->uobject->context); in create_user_qp() 895 context = to_mucontext(pd->uobject->context); in destroy_qp_user() 1259 struct ib_uobject *uobj = pd->uobject; in create_raw_packet_qp() 1347 struct ib_uobject *uobj = pd->uobject; in create_rss_raw_qp_tir() 1651 if (pd && pd->uobject) { in create_qp_common() 1670 qp, (pd && pd->uobject) ? &ucmd : NULL); in create_qp_common() 1677 if (pd->uobject) { in create_qp_common() 2086 if (!pd->uobject) { in mlx5_ib_create_qp() [all …]
|
| H A D | mlx5_ib_main.c | 2841 qp->uobject = NULL; in create_umr_res() 2920 devr->p0->uobject = NULL; in create_dev_resources() 2929 devr->c0->uobject = NULL; in create_dev_resources() 2971 devr->s0->uobject = NULL; in create_dev_resources() 2993 devr->s1->uobject = NULL; in create_dev_resources()
|
| H A D | mlx5_ib_cq.c | 1029 if (cq->uobject) in mlx5_ib_destroy_cq() 1030 context = cq->uobject->context; in mlx5_ib_destroy_cq()
|
| H A D | mlx5_ib_mr.c | 631 struct ib_umem *umem = ib_umem_get(pd->uobject->context, start, length, in mr_umem_get()
|
| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_provider.c | 455 if (pd->uobject) { in mthca_create_srq() 456 context = to_mucontext(pd->uobject->context); in mthca_create_srq() 477 if (err && pd->uobject) in mthca_create_srq() 502 if (srq->uobject) { in mthca_destroy_srq() 503 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq() 537 if (pd->uobject) { in mthca_create_qp() 538 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 576 if (err && pd->uobject) { in mthca_create_qp() 596 if (pd->uobject) in mthca_create_qp() 634 if (qp->uobject) { in mthca_destroy_qp() [all …]
|
| H A 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() 126 if (pd->ibpd.uobject) in mthca_arbel_init_srq_context() 128 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_arbel_init_srq_context() 149 if (pd->ibpd.uobject) in mthca_alloc_srq_buf() 232 if (!pd->ibpd.uobject) { in mthca_alloc_srq() 294 if (!pd->ibpd.uobject) in mthca_alloc_srq() 301 if (!pd->ibpd.uobject && mthca_is_memfree(dev)) in mthca_alloc_srq() 347 if (!srq->ibsrq.uobject) { in mthca_free_srq()
|
| H A 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() 941 return pd->ibpd.uobject ? max_data_size - MTHCA_INLINE_HEADER_SIZE : 0; in mthca_max_inline_data() 1038 if (pd->ibpd.uobject) in mthca_alloc_wqe_buf() 1180 if (pd->ibpd.uobject) in mthca_alloc_qp_common() 1452 if (!qp->ibqp.uobject) { in mthca_free_qp()
|
| /freebsd-13.1/sys/ofed/include/rdma/ |
| H A D | ib_verbs.h | 1441 struct ib_uobject *uobject; member 1464 struct ib_uobject *uobject; member 1477 struct ib_uobject *uobject; member 1490 struct ib_uobject *uobject; member 1517 struct ib_uobject *uobject; member 1549 struct ib_uobject *uobject; member 1580 struct ib_uobject *uobject; member 1600 struct ib_uobject *uobject; /* user */ member 1608 struct ib_uobject *uobject; member 1782 struct ib_uobject *uobject; member
|
| /freebsd-13.1/sys/dev/qlnx/qlnxr/ |
| H A D | qlnxr_verbs.c | 199 if (udata && ibpd->uobject && ibpd->uobject->context) { in qlnxr_create_srq() 200 ib_ctx = ibpd->uobject->context; in qlnxr_create_srq() 288 if (ibsrq->pd->uobject && ibsrq->pd->uobject->context) in qlnxr_destroy_srq() 1588 mr->umem = ib_umem_get(ibpd->uobject->context, start, len, acc, 0); 2065 if (ibcq->uobject && ibcq->uobject->context) { 2164 if (udata && !(ibpd->uobject && ibpd->uobject->context)) { 2214 if (ibpd->uobject && attrs->qp_type == IB_QPT_GSI) { 2745 ib_ctx = ibpd->uobject->context; 4010 if (qp->ibqp.uobject && qp->ibqp.uobject->context) 4016 if (qp->ibqp.uobject && qp->ibqp.uobject->context)
|
| /freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | qp.c | 1227 if (qhp->ibqp.uobject) { in flush_qp() 1392 if (!qhp->ibqp.uobject) in rdma_init() 1592 if (!internal && (qhp->ibqp.uobject || attrs->next_state != in c4iw_modify_qp() 1751 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp()
|
| H A D | cq.c | 898 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq()
|
| H A D | mem.c | 484 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); in c4iw_reg_user_mr()
|