Searched refs:uobj (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/include/rdma/ |
D | uverbs_std_types.h | 69 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read() argument 71 if (IS_ERR(uobj)) in _uobj_get_obj_read() 73 return uobj->object; in _uobj_get_obj_read() 96 static inline void uobj_put_destroy(struct ib_uobject *uobj) in uobj_put_destroy() argument 98 rdma_lookup_put_uobject(uobj, UVERBS_LOOKUP_DESTROY); in uobj_put_destroy() 101 static inline void uobj_put_read(struct ib_uobject *uobj) in uobj_put_read() argument 103 rdma_lookup_put_uobject(uobj, UVERBS_LOOKUP_READ); in uobj_put_read() 109 static inline void uobj_put_write(struct ib_uobject *uobj) in uobj_put_write() argument 111 rdma_lookup_put_uobject(uobj, UVERBS_LOOKUP_WRITE); in uobj_put_write() 114 static inline int __must_check uobj_alloc_commit(struct ib_uobject *uobj, in uobj_alloc_commit() argument [all …]
|
D | uverbs_types.h | 88 int (*alloc_commit)(struct ib_uobject *uobj); 90 void (*alloc_abort)(struct ib_uobject *uobj); 95 void (*lookup_put)(struct ib_uobject *uobj, enum rdma_lookup_mode mode); 97 int __must_check (*destroy_hw)(struct ib_uobject *uobj, 99 void (*remove_handle)(struct ib_uobject *uobj); 128 int __must_check (*destroy_object)(struct ib_uobject *uobj, 135 void rdma_lookup_put_uobject(struct ib_uobject *uobj, 139 void rdma_alloc_abort_uobject(struct ib_uobject *uobj); 140 int __must_check rdma_alloc_commit_uobject(struct ib_uobject *uobj); 151 int (*context_closed)(struct ib_uobject *uobj,
|
D | ib_verbs.h | 2694 struct ib_uobject *uobj) in ib_is_destroy_retryable() argument 2697 uobj->context->cleanup_retryable); in ib_is_destroy_retryable() 2711 struct ib_uobject *uobj) in ib_destroy_usecnt() argument 2713 if (atomic_read(usecnt) && ib_is_destroy_retryable(-EBUSY, why, uobj)) in ib_destroy_usecnt() 4168 static inline void ib_set_flow(struct ib_uobject *uobj, struct ib_flow *ibflow, in ib_set_flow() argument 4171 uobj->object = ibflow; in ib_set_flow() 4172 ibflow->uobject = uobj; in ib_set_flow()
|