Home
last modified time | relevance | path

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

/linux-6.15/include/rdma/
H A Duverbs_types.h61 void (*alloc_commit)(struct ib_uobject *uobj);
63 void (*alloc_abort)(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);
121 void rdma_assign_uobject(struct ib_uobject *to_uobj,
122 struct ib_uobject *new_uobj,
135 void uverbs_uobject_put(struct ib_uobject *uobject);
148 void (*destroy_object)(struct ib_uobject *uobj,
198 sizeof(struct ib_uobject)), \
[all …]
H A Duverbs_std_types.h34 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read()
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()
136 struct ib_uobject uobject;
[all …]
H A Duverbs_ioctl.h614 struct ib_uobject *uobject;
619 struct ib_uobject **uobjects;
637 struct ib_uobject *uobject;
704 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
761 struct ib_uobject ***arr) in uverbs_attr_get_uobjs_arr()
H A Dib_verbs.h1541 struct ib_uobject { struct
1569 struct ib_uobject *uobject; argument
1592 struct ib_uobject *uobject;
1740 struct ib_uobject *uobject;
1843 struct ib_uobject *uobject;
1858 struct ib_uobject *uobject; /* user */
1873 struct ib_uobject *uobject;
2113 struct ib_uobject *uobject;
2169 struct ib_uobject *uobject;
2283 struct ib_uobject *uobject;
/linux-6.15/drivers/infiniband/core/
H A Drdma_core.c226 struct ib_uobject *uobj; in __uobj_get_destroy()
250 struct ib_uobject *uobj; in __uobj_perform_destroy()
264 struct ib_uobject *uobj; in alloc_uobj()
309 static struct ib_uobject *
314 struct ib_uobject *uobj; in lookup_get_idr_uobject()
333 static struct ib_uobject *
378 struct ib_uobject *uobj; in rdma_lookup_get_uobject()
429 struct ib_uobject *uobj; in alloc_begin_idr_uobject()
503 struct ib_uobject *ret; in rdma_alloc_begin_uobject()
812 struct ib_uobject *uobj; in uverbs_uobject_fd_release()
[all …]
H A 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()
H A Duverbs.h126 struct ib_uobject uobj;
132 struct ib_uobject uobj;
153 struct ib_uobject uobject;
161 struct ib_uobject uobject;
212 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd,
275 struct ib_uobject *async_ev_file_uobj; in ib_uverbs_get_async_event()
H A 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()
H A 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,
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Duverbs_std_types_flow_action.c37 static int uverbs_free_flow_action(struct ib_uobject *uobject, in uverbs_free_flow_action()
H A 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()
H A 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()
H A Duverbs_cmd.c300 struct ib_uobject *uobj; in ib_uverbs_get_context()
787 struct ib_uobject *uobj; in ib_uverbs_rereg_mr()
788 struct ib_uobject *new_uobj; in ib_uverbs_rereg_mr()
999 struct ib_uobject *uobj; in ib_uverbs_create_comp_channel()
1273 struct ib_uobject *uobj; in ib_uverbs_destroy_cq()
1987 struct ib_uobject *uobj; in ib_uverbs_destroy_qp()
2420 struct ib_uobject *uobj; in ib_uverbs_create_ah()
2999 struct ib_uobject *uobj; in ib_uverbs_ex_destroy_wq()
3078 struct ib_uobject *uobj; in ib_uverbs_ex_create_rwq_ind_table()
3208 struct ib_uobject *uobj; in ib_uverbs_ex_create_flow()
[all …]
H A Duverbs_std_types_device.c71 struct ib_uobject *obj; in gather_objects_handle()
/linux-6.15/drivers/infiniband/hw/mlx5/
H A 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()
H A Ddevx.c37 struct ib_uobject *uobject;
95 struct ib_uobject uobj;
634 struct ib_uobject *uobj, const void *in) in devx_is_valid_obj_id()
1514 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1727 struct ib_uobject uobj;
1746 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1760 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1816 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
1822 struct ib_uobject *fd_uobj; in UVERBS_HANDLER()
2051 struct ib_uobject *fd_uobj; in UVERBS_HANDLER()
[all …]
H A Dfs.c2467 struct ib_uobject **arr_flow_actions; in UVERBS_HANDLER()
2473 struct ib_uobject *uobj; in UVERBS_HANDLER()
2579 static int flow_matcher_cleanup(struct ib_uobject *uobject, in flow_matcher_cleanup()
2823 static int steering_anchor_cleanup(struct ib_uobject *uobject, in steering_anchor_cleanup()
2919 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
2997 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
3120 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
3246 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
H A Ddm.c207 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
H A Dmain.c3727 static int mmap_obj_cleanup(struct ib_uobject *uobject, in mmap_obj_cleanup()
3796 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
3909 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
/linux-6.15/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c4531 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, BNXT_RE_ALLOC_PAGE_HANDLE); in UVERBS_HANDLER()
4610 static int alloc_page_obj_cleanup(struct ib_uobject *uobject, in alloc_page_obj_cleanup()
4674 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, BNXT_RE_TOGGLE_MEM_HANDLE); in UVERBS_HANDLER()
4748 static int get_toggle_mem_obj_cleanup(struct ib_uobject *uobject, in get_toggle_mem_obj_cleanup()