Searched refs:new_uobj (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/infiniband/core/ |
D | rdma_core.c | 675 void rdma_assign_uobject(struct ib_uobject *to_uobj, struct ib_uobject *new_uobj, in rdma_assign_uobject() argument 678 assert_uverbs_usecnt(new_uobj, UVERBS_LOOKUP_WRITE); in rdma_assign_uobject() 680 if (WARN_ON(to_uobj->uapi_object != new_uobj->uapi_object || in rdma_assign_uobject() 684 to_uobj->uapi_object->type_class->swap_uobjects(to_uobj, new_uobj); in rdma_assign_uobject()
|
D | uverbs_cmd.c | 771 struct ib_uobject *new_uobj; in ib_uverbs_rereg_mr() local 824 new_uobj = uobj_alloc(UVERBS_OBJECT_MR, attrs, &ib_dev); in ib_uverbs_rereg_mr() 825 if (IS_ERR(new_uobj)) { in ib_uverbs_rereg_mr() 826 ret = PTR_ERR(new_uobj); in ib_uverbs_rereg_mr() 843 new_uobj->object = new_mr; in ib_uverbs_rereg_mr() 853 rdma_assign_uobject(uobj, new_uobj, attrs); in ib_uverbs_rereg_mr() 854 rdma_alloc_commit_uobject(new_uobj, attrs); in ib_uverbs_rereg_mr() 856 new_uobj = NULL; in ib_uverbs_rereg_mr() 878 if (new_uobj) in ib_uverbs_rereg_mr() 879 uobj_alloc_abort(new_uobj, attrs); in ib_uverbs_rereg_mr()
|
/linux-6.1.9/include/rdma/ |
D | uverbs_types.h | 122 struct ib_uobject *new_uobj,
|