Home
last modified time | relevance | path

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

/freebsd/sys/ofed/include/rdma/
H A Duverbs_types.h90 struct ib_uobject *(*alloc_begin)(const struct uverbs_api_object *obj,
93 void (*alloc_commit)(struct ib_uobject *uobj);
95 void (*alloc_abort)(struct ib_uobject *uobj);
97 struct ib_uobject *(*lookup_get)(const struct uverbs_api_object *obj,
100 void (*lookup_put)(struct ib_uobject *uobj, enum rdma_lookup_mode mode);
102 int __must_check (*destroy_hw)(struct ib_uobject *uobj,
105 void (*remove_handle)(struct ib_uobject *uobj);
133 int __must_check (*destroy_object)(struct ib_uobject *uobj,
138 struct ib_uobject *rdma_lookup_get_uobject(const struct uverbs_api_object *obj,
142 void rdma_lookup_put_uobject(struct ib_uobject *uobj,
[all …]
H A Duverbs_std_types.h63 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read()
84 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj,
91 static inline void uobj_put_destroy(struct ib_uobject *uobj) in uobj_put_destroy()
96 static inline void uobj_put_read(struct ib_uobject *uobj) in uobj_put_read()
104 static inline void uobj_put_write(struct ib_uobject *uobj) in uobj_put_write()
109 static inline void uobj_alloc_abort(struct ib_uobject *uobj, in uobj_alloc_abort()
115 static inline struct ib_uobject *
119 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, attrs); in __uobj_alloc()
130 struct ib_uobject *uobj, in uverbs_flow_action_fill_action()
151 struct ib_uobject uobject;
[all …]
H A 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()
H A Dib_verbs.h1404 struct ib_uobject { struct
1432 struct ib_uobject *uobject; argument
1455 struct ib_uobject *uobject;
1565 struct ib_uobject *uobject;
1611 struct ib_uobject *uobject;
1626 struct ib_uobject *uobject; /* user */
1637 struct ib_uobject *uobject;
1912 struct ib_uobject *uobject;
1968 struct ib_uobject *uobject;
2058 struct ib_uobject *uobject;
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_rdma_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()
221 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj, in __uobj_get_destroy()
224 struct ib_uobject *uobj; in __uobj_get_destroy()
248 struct ib_uobject *uobj; in __uobj_perform_destroy()
259 static struct ib_uobject *alloc_uob
[all...]
H A Dib_uverbs_std_types.c40 static int uverbs_free_ah(struct ib_uobject *uobject, in uverbs_free_ah()
49 static int uverbs_free_flow(struct ib_uobject *uobject, in uverbs_free_flow()
69 static int uverbs_free_mw(struct ib_uobject *uobject, in uverbs_free_mw()
76 static int uverbs_free_qp(struct ib_uobject *uobject, in uverbs_free_qp()
110 static int uverbs_free_rwq_ind_tbl(struct ib_uobject *uobject, in uverbs_free_rwq_ind_tbl()
126 static int uverbs_free_wq(struct ib_uobject *uobject, in uverbs_free_wq()
143 static int uverbs_free_srq(struct ib_uobject *uobject, in uverbs_free_srq()
168 static int uverbs_free_xrcd(struct ib_uobject *uobject, in uverbs_free_xrcd()
188 static int uverbs_free_pd(struct ib_uobject *uobject, in uverbs_free_pd()
228 uverbs_completion_event_file_destroy_uobj(struct ib_uobject *uobj, in uverbs_completion_event_file_destroy_uobj()
H A Duverbs.h130 struct ib_uobject uobj;
136 struct ib_uobject uobj;
185 struct ib_uobject uobject;
192 struct ib_uobject uobject;
239 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd,
H A Drdma_core.h52 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs);
63 struct ib_uobject *
67 void uverbs_finalize_object(struct ib_uobject *uobj,
H A Dib_uverbs_std_types_async_fd.c16 struct ib_uobject *uobj = in UVERBS_HANDLER()
24 static int uverbs_async_event_destroy_uobj(struct ib_uobject *uobj, in uverbs_async_event_destroy_uobj()
H A Dib_uverbs_std_types_cq.c37 static int uverbs_free_cq(struct ib_uobject *uobject, in uverbs_free_cq()
72 struct ib_uobject *ev_file_uobj; in UVERBS_HANDLER()
177 struct ib_uobject *uobj = in UVERBS_HANDLER()
H A Dib_uverbs_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()
H A Dib_uverbs_std_types_counters.c40 static int uverbs_free_counters(struct ib_uobject *uobject, in uverbs_free_counters()
57 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
H A Dib_uverbs_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()
H A Dib_uverbs_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()
H A Dib_uverbs_cmd.c198 struct ib_uobject *uobj = ufd_get_read(UVERBS_OBJECT_COMP_CHANNEL, in _ib_uverbs_lookup_comp_file()
278 struct ib_uobject *uobj; in ib_uverbs_get_context()
421 struct ib_uobject *uobj; in ib_uverbs_alloc_pd()
687 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, in ib_uverbs_dealloc_xrcd()
716 struct ib_uobject *uobj; in ib_uverbs_reg_mr()
803 struct ib_uobject *uobj; in ib_uverbs_rereg_mr()
889 struct ib_uobject *uobj; in ib_uverbs_alloc_mw()
964 struct ib_uobject *uobj; in ib_uverbs_create_comp_channel()
1248 struct ib_uobject *uobj; in ib_uverbs_destroy_cq()
1277 struct ib_uobject *xrcd_uobj = ERR_PTR(-ENOENT); in create_qp()
[all …]
H A Dib_uverbs_std_types_device.c63 struct ib_uobject *obj; in gather_objects_handle()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_devx.c109 struct ib_uobject uobj;
603 struct ib_uobject *uobj, const void *in) in devx_is_valid_obj_id()
1333 static int devx_obj_cleanup(struct ib_uobject *uobject, in devx_obj_cleanup()
1398 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1501 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1546 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
1592 struct ib_uobject uobj;
1611 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1625 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1681 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
[all …]
H A Dmlx5_ib_qp.c1278 struct ib_uobject *uobj = pd->uobject; in create_raw_packet_qp()
1367 struct ib_uobject *uobj = pd->uobject; in create_rss_raw_qp_tir()