Home
last modified time | relevance | path

Searched refs:ib_uobject (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/include/rdma/
Duverbs_types.h58 struct ib_uobject *(*alloc_begin)(const struct uverbs_api_object *obj,
61 void (*alloc_commit)(struct ib_uobject *uobj);
63 void (*alloc_abort)(struct ib_uobject *uobj);
65 struct ib_uobject *(*lookup_get)(const struct uverbs_api_object *obj,
68 void (*lookup_put)(struct ib_uobject *uobj, enum rdma_lookup_mode mode);
70 int __must_check (*destroy_hw)(struct ib_uobject *uobj,
73 void (*remove_handle)(struct ib_uobject *uobj);
101 int __must_check (*destroy_object)(struct ib_uobject *uobj,
106 struct ib_uobject *rdma_lookup_get_uobject(const struct uverbs_api_object *obj,
110 void rdma_lookup_put_uobject(struct ib_uobject *uobj,
[all …]
Duverbs_std_types.h34 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read()
55 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj,
62 static inline void uobj_put_destroy(struct ib_uobject *uobj) in uobj_put_destroy()
67 static inline void uobj_put_read(struct ib_uobject *uobj) in uobj_put_read()
75 static inline void uobj_put_write(struct ib_uobject *uobj) in uobj_put_write()
80 static inline void uobj_alloc_abort(struct ib_uobject *uobj, in uobj_alloc_abort()
86 static inline void uobj_finalize_uobj_create(struct ib_uobject *uobj, in uobj_finalize_uobj_create()
100 static inline struct ib_uobject *
104 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, attrs); in __uobj_alloc()
115 struct ib_uobject *uobj, in uverbs_flow_action_fill_action()
[all …]
Duverbs_ioctl.h606 struct ib_uobject *uobject;
611 struct ib_uobject **uobjects;
628 struct ib_uobject *uobject;
691 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
748 struct ib_uobject ***arr) in uverbs_attr_get_uobjs_arr()
Dib_verbs.h1494 struct ib_uobject { struct
1522 struct ib_uobject *uobject; argument
1545 struct ib_uobject *uobject;
1684 struct ib_uobject *uobject;
1785 struct ib_uobject *uobject;
1800 struct ib_uobject *uobject; /* user */
1815 struct ib_uobject *uobject;
2072 struct ib_uobject *uobject;
2128 struct ib_uobject *uobject;
2235 struct ib_uobject *uobject;
[all …]
/Linux-v5.10/drivers/infiniband/core/
Drdma_core.c47 kfree_rcu(container_of(ref, struct ib_uobject, ref), rcu); in uverbs_uobject_free()
55 void uverbs_uobject_put(struct ib_uobject *uobject) in uverbs_uobject_put()
61 static int uverbs_try_lock_object(struct ib_uobject *uobj, in uverbs_try_lock_object()
88 static void assert_uverbs_usecnt(struct ib_uobject *uobj, in assert_uverbs_usecnt()
122 static int uverbs_destroy_uobject(struct ib_uobject *uobj, in uverbs_destroy_uobject()
194 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) in uobj_destroy()
228 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj, in __uobj_get_destroy()
231 struct ib_uobject *uobj; in __uobj_get_destroy()
255 struct ib_uobject *uobj; in __uobj_perform_destroy()
265 static struct ib_uobject *alloc_uobj(struct uverbs_attr_bundle *attrs, in alloc_uobj()
[all …]
Duverbs_std_types.c42 static int uverbs_free_ah(struct ib_uobject *uobject, in uverbs_free_ah()
51 static int uverbs_free_flow(struct ib_uobject *uobject, in uverbs_free_flow()
71 static int uverbs_free_mw(struct ib_uobject *uobject, in uverbs_free_mw()
78 static int uverbs_free_rwq_ind_tbl(struct ib_uobject *uobject, in uverbs_free_rwq_ind_tbl()
102 static int uverbs_free_xrcd(struct ib_uobject *uobject, in uverbs_free_xrcd()
122 static int uverbs_free_pd(struct ib_uobject *uobject, in uverbs_free_pd()
161 uverbs_completion_event_file_destroy_uobj(struct ib_uobject *uobj, in uverbs_completion_event_file_destroy_uobj()
Duverbs.h126 struct ib_uobject uobj;
132 struct ib_uobject uobj;
182 struct ib_uobject uobject;
190 struct ib_uobject uobject;
241 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd,
304 struct ib_uobject *async_ev_file_uobj; in ib_uverbs_get_async_event()
Duverbs_std_types_async_fd.c14 struct ib_uobject *uobj = in UVERBS_HANDLER()
22 static int uverbs_async_event_destroy_uobj(struct ib_uobject *uobj, in uverbs_async_event_destroy_uobj()
39 struct ib_uobject *uobj = filp->private_data; in uverbs_async_event_release()
Drdma_core.h51 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs);
62 struct ib_uobject *
66 void uverbs_finalize_object(struct ib_uobject *uobj,
Duverbs_std_types_dm.c37 static int uverbs_free_dm(struct ib_uobject *uobject, in uverbs_free_dm()
55 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_cq.c38 static int uverbs_free_cq(struct ib_uobject *uobject, in uverbs_free_cq()
73 struct ib_uobject *ev_file_uobj; in UVERBS_HANDLER()
188 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_srq.c10 static int uverbs_free_srq(struct ib_uobject *uobject, in uverbs_free_srq()
45 struct ib_uobject *xrcd_uobj; in UVERBS_HANDLER()
200 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_counters.c38 static int uverbs_free_counters(struct ib_uobject *uobject, in uverbs_free_counters()
59 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
Duverbs_std_types_flow_action.c37 static int uverbs_free_flow_action(struct ib_uobject *uobject, in uverbs_free_flow_action()
311 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
340 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
Duverbs_std_types_wq.c10 static int uverbs_free_wq(struct ib_uobject *uobject, in uverbs_free_wq()
162 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_qp.c11 static int uverbs_free_qp(struct ib_uobject *uobject, in uverbs_free_qp()
97 struct ib_uobject *xrcd_uobj = NULL; in UVERBS_HANDLER()
369 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_mr.c37 static int uverbs_free_mr(struct ib_uobject *uobject, in uverbs_free_mr()
85 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_cmd.c191 struct ib_uobject *uobj = ufd_get_read(UVERBS_OBJECT_COMP_CHANNEL, in _ib_uverbs_lookup_comp_file()
281 struct ib_uobject *uobj; in ib_uverbs_get_context()
423 struct ib_uobject *uobj; in ib_uverbs_alloc_pd()
671 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, in ib_uverbs_dealloc_xrcd()
700 struct ib_uobject *uobj; in ib_uverbs_reg_mr()
781 struct ib_uobject *uobj; in ib_uverbs_rereg_mr()
870 struct ib_uobject *uobj; in ib_uverbs_alloc_mw()
945 struct ib_uobject *uobj; in ib_uverbs_create_comp_channel()
1219 struct ib_uobject *uobj; in ib_uverbs_destroy_cq()
1248 struct ib_uobject *xrcd_uobj = ERR_PTR(-ENOENT); in create_qp()
[all …]
Duverbs_std_types_device.c71 struct ib_uobject *obj; in gather_objects_handle()
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dqos.c28 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
85 static int pp_obj_cleanup(struct ib_uobject *uobject, in pp_obj_cleanup()
Ddevx.c81 struct ib_uobject uobj;
521 struct ib_uobject *uobj, const void *in) in devx_is_valid_obj_id()
1284 static int devx_obj_cleanup(struct ib_uobject *uobject, in devx_obj_cleanup()
1360 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1467 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1512 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1558 struct ib_uobject uobj;
1577 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1591 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1647 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
[all …]
Dfs.c1931 struct ib_uobject **arr_flow_actions; in UVERBS_HANDLER()
1936 struct ib_uobject *uobj; in UVERBS_HANDLER()
2033 static int flow_matcher_cleanup(struct ib_uobject *uobject, in flow_matcher_cleanup()
2099 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
2193 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
2314 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
Dmain.c3611 static int mmap_obj_cleanup(struct ib_uobject *uobject, in mmap_obj_cleanup()
3680 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
3793 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()