Home
last modified time | relevance | path

Searched refs:uobject (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c581 pd->uobject = uobj; in ib_uverbs_alloc_pd()
1027 mr->uobject = uobj; in ib_uverbs_reg_mr()
1424 cq->uobject = &obj->uobject; in create_cq()
1736 obj = container_of(cq->uobject, struct ib_ucq_object, uobject); in ib_uverbs_destroy_cq()
1953 qp->uobject = &obj->uevent.uobject; in create_qp()
1955 qp->uobject = &obj->uevent.uobject; in create_qp()
1980 uobject); in create_qp()
2189 qp->uobject = &obj->uevent.uobject; in ib_uverbs_open_qp()
3312 wq->uobject = &obj->uevent.uobject; in ib_uverbs_ex_create_wq()
3322 wq->uobject = &obj->uevent.uobject; in ib_uverbs_ex_create_wq()
[all …]
H A Dib_uverbs_main.c312 container_of(uobj, struct ib_ucq_object, uobject); in ib_uverbs_cleanup_ucontext()
332 container_of(uobj, struct ib_uxrcd_object, uobject); in ib_uverbs_cleanup_ucontext()
527 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject); in ib_uverbs_comp_handler()
529 entry->desc.comp.cq_handle = cq->uobject->user_handle; in ib_uverbs_comp_handler()
577 struct ib_ucq_object, uobject); in ib_uverbs_cq_event_handler()
589 if (!event->element.qp->uobject || !event->element.qp->uobject->live) in ib_uverbs_qp_event_handler()
592 uobj = container_of(event->element.qp->uobject, in ib_uverbs_qp_event_handler()
593 struct ib_uevent_object, uobject); in ib_uverbs_qp_event_handler()
603 struct ib_uevent_object, uobject); in ib_uverbs_wq_event_handler()
614 uobj = container_of(event->element.srq->uobject, in ib_uverbs_srq_event_handler()
[all …]
H A Duverbs.h152 struct ib_uobject uobject; member
158 struct ib_uobject uobject; member
180 struct ib_uobject uobject; member
H A Dib_verbs.c268 pd->uobject = NULL; in __ib_alloc_pd()
294 mr->uobject = NULL; in __ib_alloc_pd()
350 ah->uobject = NULL; in ib_create_ah()
633 srq->uobject = NULL; in ib_create_srq()
810 qp->uobject = NULL; in ib_create_qp()
1369 cq->uobject = NULL; in ib_create_cq()
1443 mr->uobject = NULL; in ib_alloc_mr()
1645 wq->uobject = NULL; in ib_create_wq()
1726 rwq_ind_table->uobject = NULL; in ib_create_rwq_ind_table()
H A Dib_cq.c116 cq->uobject = NULL; in ib_alloc_cq()
/freebsd-12.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_srq.c108 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 Dmlx4_ib_cq.c398 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 Dmlx4_ib_qp.c732 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 Dmlx4_ib_mr.c153 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-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_srq.c100 err = get_srq_user_index(to_mucontext(pd->uobject->context), in create_srq_user()
108 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, buf_size, in create_srq_user()
133 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()
285 if (pd->uobject) in mlx5_ib_create_srq()
292 pd->uobject ? "user" : "kernel", err); in mlx5_ib_create_srq()
322 if (pd->uobject) in mlx5_ib_create_srq()
337 if (pd->uobject) in mlx5_ib_create_srq()
405 if (srq->uobject) { in mlx5_ib_destroy_srq()
406 mlx5_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx5_ib_destroy_srq()
H A Dmlx5_ib_qp.c696 context = to_mucontext(pd->uobject->context); in destroy_user_rq()
716 context = to_mucontext(pd->uobject->context); in create_user_rq()
783 context = to_mucontext(pd->uobject->context); in create_user_qp()
887 context = to_mucontext(pd->uobject->context); in destroy_qp_user()
1240 struct ib_uobject *uobj = pd->uobject; in create_raw_packet_qp()
1328 struct ib_uobject *uobj = pd->uobject; in create_rss_raw_qp_tir()
1585 if (pd && pd->uobject) { in create_qp_common()
1604 qp, (pd && pd->uobject) ? &ucmd : NULL); in create_qp_common()
1611 if (pd->uobject) { in create_qp_common()
2017 if (!pd->uobject) { in mlx5_ib_create_qp()
[all …]
H A Dmlx5_ib_main.c2647 qp->uobject = NULL; in create_umr_res()
2726 devr->p0->uobject = NULL; in create_dev_resources()
2735 devr->c0->uobject = NULL; in create_dev_resources()
2777 devr->s0->uobject = NULL; in create_dev_resources()
2799 devr->s1->uobject = NULL; in create_dev_resources()
H A Dmlx5_ib_cq.c1016 if (cq->uobject) in mlx5_ib_destroy_cq()
1017 context = cq->uobject->context; in mlx5_ib_destroy_cq()
H A Dmlx5_ib_mr.c630 struct ib_umem *umem = ib_umem_get(pd->uobject->context, start, length, in mr_umem_get()
/freebsd-12.1/sys/dev/mthca/
H A Dmthca_provider.c455 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 Dmthca_srq.c106 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()
H A Dmthca_qp.c609 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()
/freebsd-12.1/sys/ofed/include/rdma/
H A Dib_verbs.h1407 struct ib_uobject *uobject; member
1430 struct ib_uobject *uobject; member
1443 struct ib_uobject *uobject; member
1456 struct ib_uobject *uobject; member
1483 struct ib_uobject *uobject; member
1515 struct ib_uobject *uobject; member
1546 struct ib_uobject *uobject; member
1566 struct ib_uobject *uobject; /* user */ member
1574 struct ib_uobject *uobject; member
1748 struct ib_uobject *uobject; member
/freebsd-12.1/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c1220 if (qhp->ibqp.uobject) { in flush_qp()
1385 if (!qhp->ibqp.uobject) in rdma_init()
1585 if (!internal && (qhp->ibqp.uobject || attrs->next_state != in c4iw_modify_qp()
1744 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp()
H A Dcq.c898 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq()
H A Dmem.c482 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); in c4iw_reg_user_mr()