Home
last modified time | relevance | path

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

/linux-6.6.21/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);
74 void (*swap_uobjects)(struct ib_uobject *obj_old,
75 struct ib_uobject *obj_new);
103 int __must_check (*destroy_object)(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.h614 struct ib_uobject *uobject;
619 struct ib_uobject **uobjects;
636 struct ib_uobject *uobject;
702 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
759 struct ib_uobject ***arr) in uverbs_attr_get_uobjs_arr()
Dib_verbs.h1524 struct ib_uobject { struct
1552 struct ib_uobject *uobject; argument
1575 struct ib_uobject *uobject;
1723 struct ib_uobject *uobject;
1824 struct ib_uobject *uobject;
1839 struct ib_uobject *uobject; /* user */
1854 struct ib_uobject *uobject;
2111 struct ib_uobject *uobject;
2167 struct ib_uobject *uobject;
2278 struct ib_uobject *uobject;
/linux-6.6.21/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()
188 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) in uobj_destroy()
222 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj, in __uobj_get_destroy()
225 struct ib_uobject *uobj; in __uobj_get_destroy()
249 struct ib_uobject *uobj; in __uobj_perform_destroy()
259 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()
121 static int uverbs_free_pd(struct ib_uobject *uobject, in uverbs_free_pd()
158 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 void uverbs_async_event_destroy_uobj(struct ib_uobject *uobj, in uverbs_async_event_destroy_uobj()
38 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()
53 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()
58 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
Duverbs_std_types_mr.c39 static int uverbs_free_mr(struct ib_uobject *uobject, in uverbs_free_mr()
87 struct ib_uobject *uobj = in UVERBS_HANDLER()
189 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_flow_action.c37 static int uverbs_free_flow_action(struct ib_uobject *uobject, in uverbs_free_flow_action()
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()
348 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()
699 struct ib_uobject *uobj; in ib_uverbs_reg_mr()
770 struct ib_uobject *uobj; in ib_uverbs_rereg_mr()
771 struct ib_uobject *new_uobj; in ib_uverbs_rereg_mr()
907 struct ib_uobject *uobj; in ib_uverbs_alloc_mw()
982 struct ib_uobject *uobj; in ib_uverbs_create_comp_channel()
1256 struct ib_uobject *uobj; in ib_uverbs_destroy_cq()
[all …]
Duverbs_std_types_device.c71 struct ib_uobject *obj; in gather_objects_handle()
/linux-6.6.21/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;
592 struct ib_uobject *uobj, const void *in) in devx_is_valid_obj_id()
1386 static int devx_obj_cleanup(struct ib_uobject *uobject, in devx_obj_cleanup()
1470 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1588 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1635 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1683 struct ib_uobject uobj;
1702 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1716 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1772 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
[all …]
Dfs.c1911 struct ib_uobject **arr_flow_actions; in UVERBS_HANDLER()
1916 struct ib_uobject *uobj; in UVERBS_HANDLER()
2013 static int flow_matcher_cleanup(struct ib_uobject *uobject, in flow_matcher_cleanup()
2257 static int steering_anchor_cleanup(struct ib_uobject *uobject, in steering_anchor_cleanup()
2344 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
2402 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
2525 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
2651 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
Ddm.c207 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
Dmain.c3384 static int mmap_obj_cleanup(struct ib_uobject *uobject, in mmap_obj_cleanup()
3453 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
3566 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c4273 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, BNXT_RE_ALLOC_PAGE_HANDLE); in UVERBS_HANDLER()
4352 static int alloc_page_obj_cleanup(struct ib_uobject *uobject, in alloc_page_obj_cleanup()