Home
last modified time | relevance | path

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

/Linux-v4.19/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,
99 void (*remove_handle)(struct ib_uobject *uobj);
128 int __must_check (*destroy_object)(struct ib_uobject *uobj,
132 struct ib_uobject *rdma_lookup_get_uobject(const struct uverbs_api_object *obj,
135 void rdma_lookup_put_uobject(struct ib_uobject *uobj,
[all …]
Duverbs_std_types.h69 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read()
89 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj,
96 static inline void uobj_put_destroy(struct ib_uobject *uobj) in uobj_put_destroy()
101 static inline void uobj_put_read(struct ib_uobject *uobj) in uobj_put_read()
109 static inline void uobj_put_write(struct ib_uobject *uobj) in uobj_put_write()
114 static inline int __must_check uobj_alloc_commit(struct ib_uobject *uobj, in uobj_alloc_commit()
124 static inline void uobj_alloc_abort(struct ib_uobject *uobj) in uobj_alloc_abort()
129 static inline struct ib_uobject *
133 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, ufile); in __uobj_alloc()
Dib_verbs.h1513 struct ib_uobject { struct
1541 struct ib_uobject *uobject; argument
1565 struct ib_uobject *uobject;
1580 struct ib_uobject *uobject;
1601 struct ib_uobject *uobject;
1646 struct ib_uobject *uobject;
1689 struct ib_uobject *uobject;
1762 struct ib_uobject *uobject;
1786 struct ib_uobject *uobject;
1800 struct ib_uobject *uobject; /* user */
[all …]
Duverbs_ioctl.h430 struct ib_uobject *uobject;
488 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
/Linux-v4.19/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()
199 int uobj_destroy(struct ib_uobject *uobj) in uobj_destroy()
226 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj, in __uobj_get_destroy()
229 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()
48 static int uverbs_free_flow(struct ib_uobject *uobject, in uverbs_free_flow()
67 static int uverbs_free_mw(struct ib_uobject *uobject, in uverbs_free_mw()
73 static int uverbs_free_qp(struct ib_uobject *uobject, in uverbs_free_qp()
106 static int uverbs_free_rwq_ind_tbl(struct ib_uobject *uobject, in uverbs_free_rwq_ind_tbl()
121 static int uverbs_free_wq(struct ib_uobject *uobject, in uverbs_free_wq()
137 static int uverbs_free_srq(struct ib_uobject *uobject, in uverbs_free_srq()
161 static int uverbs_free_xrcd(struct ib_uobject *uobject, in uverbs_free_xrcd()
180 static int uverbs_free_pd(struct ib_uobject *uobject, in uverbs_free_pd()
194 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);
59 void uverbs_uobject_get(struct ib_uobject *uobject);
66 void uverbs_uobject_put(struct ib_uobject *uobject);
85 struct ib_uobject *
105 int uverbs_finalize_object(struct ib_uobject *uobj,
Duverbs.h133 struct ib_uobject uobj;
186 struct ib_uobject uobject;
192 struct ib_uobject uobject;
214 struct ib_uobject uobject;
223 struct ib_uobject uobject;
248 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd,
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()
178 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_dm.c36 static int uverbs_free_dm(struct ib_uobject *uobject, in uverbs_free_dm()
54 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_counters.c37 static int uverbs_free_counters(struct ib_uobject *uobject, in uverbs_free_counters()
53 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
Duverbs_std_types_mr.c36 static int uverbs_free_mr(struct ib_uobject *uobject, in uverbs_free_mr()
46 struct ib_uobject *uobj = in UVERBS_HANDLER()
Duverbs_std_types_flow_action.c36 static int uverbs_free_flow_action(struct ib_uobject *uobject, in uverbs_free_flow_action()
310 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
341 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
Duverbs_cmd.c53 struct ib_uobject *uobj = ufd_get_read(UVERBS_OBJECT_COMP_CHANNEL, in _ib_uverbs_lookup_comp_file()
354 struct ib_uobject *uobj; in ib_uverbs_alloc_pd()
638 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, in ib_uverbs_dealloc_xrcd()
670 struct ib_uobject *uobj; in ib_uverbs_reg_mr()
766 struct ib_uobject *uobj; in ib_uverbs_rereg_mr()
865 struct ib_uobject *uobj; in ib_uverbs_alloc_mw()
946 struct ib_uobject *uobj; in ib_uverbs_create_comp_channel()
1316 struct ib_uobject *uobj; in ib_uverbs_destroy_cq()
1353 struct ib_uobject *xrcd_uobj = ERR_PTR(-ENOENT); in create_qp()
1729 struct ib_uobject *uninitialized_var(xrcd_uobj); in ib_uverbs_open_qp()
[all …]
Dcore_priv.h306 struct ib_uobject *uobj) in _ib_create_qp()
Duverbs_main.c432 struct ib_uobject *uobj = filp->private_data; in ib_uverbs_comp_event_close()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dflow.c52 struct ib_uobject *uobj = in UVERBS_HANDLER()
116 static int flow_matcher_cleanup(struct ib_uobject *uobject, in flow_matcher_cleanup()
133 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
Ddevx.c700 static int devx_obj_cleanup(struct ib_uobject *uobject, in devx_obj_cleanup()
722 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
775 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
812 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
923 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
971 static int devx_umem_cleanup(struct ib_uobject *uobject, in devx_umem_cleanup()
Dqp.c1304 struct ib_uobject *uobj = pd->uobject; in create_raw_packet_qp()
1398 struct ib_uobject *uobj = pd->uobject; in create_rss_raw_qp_tir()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dqp.c2047 struct ib_uobject *ibuobject; in __mlx4_ib_modify_qp()