Home
last modified time | relevance | path

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

/Linux-v5.4/include/rdma/
Duverbs_types.h85 struct ib_uobject *(*alloc_begin)(const struct uverbs_api_object *obj,
88 int (*alloc_commit)(struct ib_uobject *uobj);
90 void (*alloc_abort)(struct ib_uobject *uobj);
92 struct ib_uobject *(*lookup_get)(const struct uverbs_api_object *obj,
95 void (*lookup_put)(struct ib_uobject *uobj, enum rdma_lookup_mode mode);
97 int __must_check (*destroy_hw)(struct ib_uobject *uobj,
100 void (*remove_handle)(struct ib_uobject *uobj);
129 int __must_check (*destroy_object)(struct ib_uobject *uobj,
134 struct ib_uobject *rdma_lookup_get_uobject(const struct uverbs_api_object *obj,
138 void rdma_lookup_put_uobject(struct ib_uobject *uobj,
[all …]
Duverbs_std_types.h61 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read()
82 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj,
89 static inline void uobj_put_destroy(struct ib_uobject *uobj) in uobj_put_destroy()
94 static inline void uobj_put_read(struct ib_uobject *uobj) in uobj_put_read()
102 static inline void uobj_put_write(struct ib_uobject *uobj) in uobj_put_write()
108 uobj_alloc_commit(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) in uobj_alloc_commit()
117 static inline void uobj_alloc_abort(struct ib_uobject *uobj, in uobj_alloc_abort()
123 static inline struct ib_uobject *
127 struct ib_uobject *uobj = in __uobj_alloc()
139 struct ib_uobject *uobj, in uverbs_flow_action_fill_action()
[all …]
Dib_verbs.h1476 struct ib_uobject { struct
1504 struct ib_uobject *uobject; argument
1528 struct ib_uobject *uobject;
1544 struct ib_uobject *uobject;
1567 struct ib_uobject *uobject;
1612 struct ib_uobject *uobject;
1655 struct ib_uobject *uobject;
1728 struct ib_uobject *uobject;
1756 struct ib_uobject *uobject;
1771 struct ib_uobject *uobject; /* user */
[all …]
Duverbs_ioctl.h634 struct ib_uobject *uobject;
639 struct ib_uobject **uobjects;
718 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
772 struct ib_uobject ***arr) in uverbs_attr_get_uobjs_arr()
/Linux-v5.4/drivers/infiniband/core/
Drdma_core.c45 void uverbs_uobject_get(struct ib_uobject *uobject) in uverbs_uobject_get()
52 struct ib_uobject *uobj = in uverbs_uobject_free()
53 container_of(ref, struct ib_uobject, ref); in uverbs_uobject_free()
61 void uverbs_uobject_put(struct ib_uobject *uobject) in uverbs_uobject_put()
66 static int uverbs_try_lock_object(struct ib_uobject *uobj, in uverbs_try_lock_object()
93 static void assert_uverbs_usecnt(struct ib_uobject *uobj, in assert_uverbs_usecnt()
127 static int uverbs_destroy_uobject(struct ib_uobject *uobj, in uverbs_destroy_uobject()
201 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()
[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_qp(struct ib_uobject *uobject, in uverbs_free_qp()
112 static int uverbs_free_rwq_ind_tbl(struct ib_uobject *uobject, in uverbs_free_rwq_ind_tbl()
128 static int uverbs_free_wq(struct ib_uobject *uobject, in uverbs_free_wq()
145 static int uverbs_free_srq(struct ib_uobject *uobject, in uverbs_free_srq()
170 static int uverbs_free_xrcd(struct ib_uobject *uobject, in uverbs_free_xrcd()
190 static int uverbs_free_pd(struct ib_uobject *uobject, in uverbs_free_pd()
205 static int uverbs_hot_unplug_completion_event_file(struct ib_uobject *uobj, in uverbs_hot_unplug_completion_event_file()
Drdma_core.h51 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs);
59 void uverbs_uobject_get(struct ib_uobject *uobject);
66 void uverbs_uobject_put(struct ib_uobject *uobject);
85 struct ib_uobject *
104 int uverbs_finalize_object(struct ib_uobject *uobj,
Duverbs.h134 struct ib_uobject uobj;
185 struct ib_uobject uobject;
191 struct ib_uobject uobject;
213 struct ib_uobject uobject;
241 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd,
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.c37 static int uverbs_free_cq(struct ib_uobject *uobject, in uverbs_free_cq()
73 struct ib_uobject *ev_file_uobj; in UVERBS_HANDLER()
182 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()
55 struct ib_uobject *uobj = uverbs_attr_get_uobject( 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_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_cmd.c191 struct ib_uobject *uobj = ufd_get_read(UVERBS_OBJECT_COMP_CHANNEL, in _ib_uverbs_lookup_comp_file()
409 struct ib_uobject *uobj; in ib_uverbs_alloc_pd()
679 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, in ib_uverbs_dealloc_xrcd()
708 struct ib_uobject *uobj; in ib_uverbs_reg_mr()
796 struct ib_uobject *uobj; in ib_uverbs_rereg_mr()
882 struct ib_uobject *uobj; in ib_uverbs_alloc_mw()
956 struct ib_uobject *uobj; in ib_uverbs_create_comp_channel()
1247 struct ib_uobject *uobj; in ib_uverbs_destroy_cq()
1276 struct ib_uobject *xrcd_uobj = ERR_PTR(-ENOENT); in create_qp()
1566 struct ib_uobject *uninitialized_var(xrcd_uobj); in ib_uverbs_open_qp()
[all …]
Duverbs_std_types_device.c64 struct ib_uobject *obj; in gather_objects_handle()
Dcore_priv.h323 struct ib_uobject *uobj) in _ib_create_qp()
Duverbs_main.c382 struct ib_uobject *uobj = filp->private_data; in ib_uverbs_comp_event_close()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dflow.c74 struct ib_uobject **arr_flow_actions; in UVERBS_HANDLER()
83 struct ib_uobject *uobj = in UVERBS_HANDLER()
214 static int flow_matcher_cleanup(struct ib_uobject *uobject, in flow_matcher_cleanup()
280 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
389 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
510 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
Ddevx.c33 struct ib_uobject *fd_uobj;
80 struct ib_uobject uobj;
568 struct ib_uobject *uobj, const void *in) in devx_is_valid_obj_id()
1330 static int devx_obj_cleanup(struct ib_uobject *uobject, in devx_obj_cleanup()
1406 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1507 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1552 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1598 struct ib_uobject uobj;
1617 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1631 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
[all …]