| /trueos/sys/ofed/drivers/infiniband/core/ |
| HD | uverbs_cmd.c | 216 put_uobj_read(pd->uobject); in put_pd_read() 226 put_uobj_read(cq->uobject); in put_cq_read() 236 put_uobj_read(ah->uobject); in put_ah_read() 246 put_uobj_read(qp->uobject); in put_qp_read() 256 put_uobj_read(srq->uobject); in put_srq_read() 517 pd->uobject = uobj; in ib_uverbs_alloc_pd() 645 mr->uobject = uobj; in ib_uverbs_reg_mr() 787 init_uobj(&obj->uobject, cmd.user_handle, file->ucontext, &cq_lock_key); in ib_uverbs_create_cq() 788 down_write(&obj->uobject.mutex); in ib_uverbs_create_cq() 813 cq->uobject = &obj->uobject; in ib_uverbs_create_cq() [all …]
|
| HD | uverbs_main.c | 215 container_of(uobj, struct ib_uqp_object, uevent.uobject); in ib_uverbs_cleanup_ucontext() 228 container_of(uobj, struct ib_uevent_object, uobject); in ib_uverbs_cleanup_ucontext() 240 container_of(uobj, struct ib_ucq_object, uobject); in ib_uverbs_cleanup_ucontext() 263 container_of(uobj, struct ib_uxrcd_object, uobject); in ib_uverbs_cleanup_ucontext() 433 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject); in ib_uverbs_comp_handler() 435 entry->desc.comp.cq_handle = cq->uobject->user_handle; in ib_uverbs_comp_handler() 485 struct ib_ucq_object *uobj = container_of(event->element.cq->uobject, in ib_uverbs_cq_event_handler() 486 struct ib_ucq_object, uobject); in ib_uverbs_cq_event_handler() 488 ib_uverbs_async_handler(uobj->uverbs_file, uobj->uobject.user_handle, in ib_uverbs_cq_event_handler() 497 uobj = container_of(event->element.qp->uobject, in ib_uverbs_qp_event_handler() [all …]
|
| HD | verbs.c | 123 pd->uobject = NULL; in ib_alloc_pd() 151 ah->uobject = NULL; in ib_create_ah() 250 srq->uobject = NULL; in ib_create_srq() 278 srq->uobject = NULL; in ib_create_xrc_srq() 353 qp->uobject = NULL; in ib_create_qp() 734 cq->uobject = NULL; in ib_create_cq() 779 mr->uobject = NULL; in ib_get_dma_mr() 805 mr->uobject = NULL; in ib_reg_phys_mr() 882 mr->uobject = NULL; in ib_alloc_fast_reg_mr() 929 mw->uobject = NULL; in ib_alloc_mw() [all …]
|
| HD | uverbs.h | 118 struct ib_uobject uobject; member 129 struct ib_uobject uobject; member 138 struct ib_uobject uobject; member
|
| /trueos/sys/ofed/drivers/infiniband/hw/mlx4/ |
| HD | 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() 192 if (pd->uobject) in mlx4_ib_create_srq() 203 if (pd->uobject) in mlx4_ib_create_srq() 204 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in mlx4_ib_create_srq() 212 if (pd->uobject) in mlx4_ib_create_srq() 218 if (!pd->uobject) in mlx4_ib_create_srq() 279 if (srq->uobject) { in mlx4_ib_destroy_srq() 280 mlx4_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx4_ib_destroy_srq()
|
| HD | cq.c | 389 if (ibcq->uobject) { in mlx4_ib_resize_cq() 413 if (ibcq->uobject) { in mlx4_ib_resize_cq() 447 if (!ibcq->uobject) in mlx4_ib_resize_cq() 484 if (cq->uobject) { in mlx4_ib_destroy_cq() 485 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db); in mlx4_ib_destroy_cq()
|
| HD | qp.c | 955 err = set_rq_size(dev, &init_attr->cap, !!pd->uobject, qp_has_rq(init_attr), qp); in create_qp_common() 959 if (pd->uobject) { in create_qp_common() 975 qp->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, in create_qp_common() 994 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in create_qp_common() 1099 if (pd->uobject) { in create_qp_common() 1101 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db); in create_qp_common() 1111 if (pd->uobject) in create_qp_common() 1117 if (!pd->uobject && qp_has_rq(init_attr)) in create_qp_common() 1266 mlx4_ib_db_unmap_user(to_mucontext(qp->ibqp.uobject->context), in destroy_qp_common() 1482 destroy_qp_common(dev, mqp, !!pd->ibpd.uobject); in mlx4_ib_destroy_qp() [all …]
|
| HD | mr.c | 495 mr->umem = ib_umem_get(pd->uobject->context, start, length, in mlx4_ib_reg_user_mr()
|
| /trueos/sys/ofed/drivers/infiniband/hw/mthca/ |
| HD | mthca_provider.c | 481 if (pd->uobject) { in mthca_create_srq() 482 context = to_mucontext(pd->uobject->context); in mthca_create_srq() 503 if (err && pd->uobject) in mthca_create_srq() 528 if (srq->uobject) { in mthca_destroy_srq() 529 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq() 563 if (pd->uobject) { in mthca_create_qp() 564 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 602 if (err && pd->uobject) { in mthca_create_qp() 603 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 622 if (pd->uobject) in mthca_create_qp() [all …]
|
| HD | 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() 239 if (!pd->ibpd.uobject) { in mthca_alloc_srq() 309 if (!pd->ibpd.uobject) in mthca_alloc_srq() 316 if (!pd->ibpd.uobject && mthca_is_memfree(dev)) in mthca_alloc_srq() 365 if (!srq->ibsrq.uobject) { in mthca_free_srq()
|
| HD | mthca_qp.c | 616 if (qp->ibqp.uobject) in __mthca_modify_qp() 618 cpu_to_be32(to_mucontext(qp->ibqp.uobject->context)->uar.index); in __mthca_modify_qp() 660 u8 sched_queue = ibqp->uobject ? 0x2 : 0x1; in __mthca_modify_qp() 828 if (new_state == IB_QPS_RESET && !qp->ibqp.uobject) { in __mthca_modify_qp() 951 return pd->ibpd.uobject ? max_data_size - MTHCA_INLINE_HEADER_SIZE : 0; in mthca_max_inline_data() 1048 if (pd->ibpd.uobject) in mthca_alloc_wqe_buf() 1191 if (pd->ibpd.uobject) in mthca_alloc_qp_common() 1252 if (pd->ibpd.uobject && in mthca_set_qp_size() 1256 max_inline_data = pd->ibpd.uobject ? cap->max_inline_data : 0; in mthca_set_qp_size() 1467 if (!qp->ibqp.uobject) { in mthca_free_qp()
|
| /trueos/sys/ofed/include/rdma/ |
| HD | ib_verbs.h | 982 struct ib_uobject *uobject; member 988 struct ib_uobject *uobject; member 1000 struct ib_uobject *uobject; member 1007 struct ib_uobject *uobject; member 1018 struct ib_uobject *uobject; member 1044 struct ib_uobject *uobject; member 1055 struct ib_uobject *uobject; member 1064 struct ib_uobject *uobject; member
|
| /trueos/sys/dev/cxgbe/iw_cxgbe/ |
| HD | qp.c | 982 if (qhp->ibqp.uobject) { in flush_qp() 1133 if (!qhp->ibqp.uobject) in rdma_init() 1269 if (qhp->ibqp.uobject) in c4iw_modify_qp() 1279 if (qhp->ibqp.uobject) in c4iw_modify_qp() 1289 if (qhp->ibqp.uobject) in c4iw_modify_qp() 1431 ucontext = ib_qp->uobject ? in c4iw_destroy_qp() 1432 to_c4iw_ucontext(ib_qp->uobject->context) : NULL; in c4iw_destroy_qp() 1488 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp()
|
| HD | cq.c | 769 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq()
|
| HD | mem.c | 589 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); in c4iw_reg_user_mr()
|
| /trueos/sys/dev/cxgb/ulp/iw_cxgb/ |
| HD | iw_cxgb_provider.c | 569 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); in iwch_reg_user_mr() 749 ucontext = ib_qp->uobject ? to_iwch_ucontext(ib_qp->uobject->context) in iwch_destroy_qp() 813 ucontext = pd->uobject ? to_iwch_ucontext(pd->uobject->context) : NULL; in iwch_create_qp()
|
| HD | iw_cxgb_qp.c | 810 if (qhp->ibqp.uobject) { in flush_qp() 865 if (!qhp->ibqp.uobject) in rdma_init() 996 if (qhp->ibqp.uobject) in iwch_modify_qp()
|