Searched refs:new_uobj (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/infiniband/core/ |
A 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()
|
A D | uverbs_cmd.c | 770 struct ib_uobject *new_uobj; in ib_uverbs_rereg_mr() local 823 new_uobj = uobj_alloc(UVERBS_OBJECT_MR, attrs, &ib_dev); in ib_uverbs_rereg_mr() 824 if (IS_ERR(new_uobj)) { in ib_uverbs_rereg_mr() 825 ret = PTR_ERR(new_uobj); in ib_uverbs_rereg_mr() 842 new_uobj->object = new_mr; in ib_uverbs_rereg_mr() 852 rdma_assign_uobject(uobj, new_uobj, attrs); in ib_uverbs_rereg_mr() 853 rdma_alloc_commit_uobject(new_uobj, attrs); in ib_uverbs_rereg_mr() 855 new_uobj = NULL; in ib_uverbs_rereg_mr() 875 if (new_uobj) in ib_uverbs_rereg_mr() 876 uobj_alloc_abort(new_uobj, attrs); in ib_uverbs_rereg_mr()
|
/linux/include/rdma/ |
A D | uverbs_types.h | 122 struct ib_uobject *new_uobj,
|
Completed in 11 milliseconds