Lines Matching refs:uobject

381 	pd->uobject = uobj;  in ib_uverbs_alloc_pd()
562 xrcd = ib_dev->alloc_xrcd(ib_dev, obj->uobject.context, &udata); in ib_uverbs_open_xrcd()
577 obj->uobject.object = xrcd; in ib_uverbs_open_xrcd()
579 resp.xrcd_handle = obj->uobject.id; in ib_uverbs_open_xrcd()
601 return uobj_alloc_commit(&obj->uobject, in_len); in ib_uverbs_open_xrcd()
614 uobj_alloc_abort(&obj->uobject); in ib_uverbs_open_xrcd()
638 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, in ib_uverbs_dealloc_xrcd() argument
644 struct ib_uverbs_device *dev = uobject->context->ufile->device; in ib_uverbs_dealloc_xrcd()
652 if (ib_is_destroy_retryable(ret, why, uobject)) { in ib_uverbs_dealloc_xrcd()
723 mr->uobject = uobj; in ib_uverbs_reg_mr()
901 mw->uobject = uobj; in ib_uverbs_alloc_mw()
1015 obj->uobject.user_handle = cmd->user_handle; in create_cq()
1027 cq = ib_dev->create_cq(ib_dev, &attr, obj->uobject.context, uhw); in create_cq()
1034 cq->uobject = &obj->uobject; in create_cq()
1040 obj->uobject.object = cq; in create_cq()
1042 resp.base.cq_handle = obj->uobject.id; in create_cq()
1055 ret = uobj_alloc_commit(&obj->uobject, 0); in create_cq()
1068 uobj_alloc_abort(&obj->uobject); in create_cq()
1326 obj = container_of(uobj, struct ib_ucq_object, uobject); in ib_uverbs_destroy_cq()
1373 obj->uevent.uobject.user_handle = cmd->user_handle; in create_qp()
1520 &obj->uevent.uobject); in create_qp()
1554 qp->uobject = &obj->uevent.uobject; in create_qp()
1557 obj->uevent.uobject.object = qp; in create_qp()
1561 resp.base.qp_handle = obj->uevent.uobject.id; in create_qp()
1577 uobject); in create_qp()
1593 return uobj_alloc_commit(&obj->uevent.uobject, 0); in create_qp()
1611 uobj_alloc_abort(&obj->uevent.uobject); in create_qp()
1778 obj->uevent.uobject.object = qp; in ib_uverbs_open_qp()
1779 obj->uevent.uobject.user_handle = cmd.user_handle; in ib_uverbs_open_qp()
1783 resp.qp_handle = obj->uevent.uobject.id; in ib_uverbs_open_qp()
1790 obj->uxrcd = container_of(xrcd_uobj, struct ib_uxrcd_object, uobject); in ib_uverbs_open_qp()
1792 qp->uobject = &obj->uevent.uobject; in ib_uverbs_open_qp()
1795 return uobj_alloc_commit(&obj->uevent.uobject, in_len); in ib_uverbs_open_qp()
1802 uobj_alloc_abort(&obj->uevent.uobject); in ib_uverbs_open_qp()
2178 obj = container_of(uobj, struct ib_uqp_object, uevent.uobject); in ib_uverbs_destroy_qp()
2643 ah->uobject = uobj; in ib_uverbs_create_ah()
2697 obj = container_of(qp->uobject, struct ib_uqp_object, uevent.uobject); in ib_uverbs_attach_mcast()
2747 obj = container_of(qp->uobject, struct ib_uqp_object, uevent.uobject); in ib_uverbs_detach_mcast()
3173 wq->uobject = &obj->uevent.uobject; in ib_uverbs_ex_create_wq()
3174 obj->uevent.uobject.object = wq; in ib_uverbs_ex_create_wq()
3183 wq->uobject = &obj->uevent.uobject; in ib_uverbs_ex_create_wq()
3184 obj->uevent.uobject.object = wq; in ib_uverbs_ex_create_wq()
3187 resp.wq_handle = obj->uevent.uobject.id; in ib_uverbs_ex_create_wq()
3199 return uobj_alloc_commit(&obj->uevent.uobject, 0); in ib_uverbs_ex_create_wq()
3208 uobj_alloc_abort(&obj->uevent.uobject); in ib_uverbs_ex_create_wq()
3251 obj = container_of(uobj, struct ib_uwq_object, uevent.uobject); in ib_uverbs_ex_destroy_wq()
3414 rwq_ind_tbl->uobject = uobj; in ib_uverbs_ex_create_rwq_ind_table()
3629 flow_id->uobject = uobj; in ib_uverbs_ex_create_flow()
3631 uflow = container_of(uobj, typeof(*uflow), uobject); in ib_uverbs_ex_create_flow()
3720 obj->uxrcd = container_of(xrcd_uobj, struct ib_uxrcd_object, uobject); in __uverbs_create_xsrq()
3758 srq->uobject = &obj->uevent.uobject; in __uverbs_create_xsrq()
3775 obj->uevent.uobject.object = srq; in __uverbs_create_xsrq()
3776 obj->uevent.uobject.user_handle = cmd->user_handle; in __uverbs_create_xsrq()
3779 resp.srq_handle = obj->uevent.uobject.id; in __uverbs_create_xsrq()
3798 return uobj_alloc_commit(&obj->uevent.uobject, 0); in __uverbs_create_xsrq()
3817 uobj_alloc_abort(&obj->uevent.uobject); in __uverbs_create_xsrq()
3969 obj = container_of(uobj, struct ib_uevent_object, uobject); in ib_uverbs_destroy_srq()