Home
last modified time | relevance | path

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

12

/linux-5.19.10/include/rdma/
Duverbs_ioctl.h305 int (*handler)(struct uverbs_attr_bundle *attrs);
349 int (*func_write)(struct uverbs_attr_bundle *attrs);
623 struct uverbs_attr_bundle { struct
633 static inline bool uverbs_attr_is_valid(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_is_valid() argument
650 static inline struct uverbs_attr_bundle *
653 return container_of(udata, struct uverbs_attr_bundle, driver_udata); in rdma_udata_to_uverbs_attr_bundle()
662 static inline const struct uverbs_attr *uverbs_attr_get(const struct uverbs_attr_bundle *attrs_bund… in uverbs_attr_get()
671 static inline int uverbs_attr_get_enum_id(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_enum_id()
682 static inline void *uverbs_attr_get_obj(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_obj()
694 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
[all …]
Duverbs_types.h59 struct uverbs_attr_bundle *attrs);
72 struct uverbs_attr_bundle *attrs);
105 struct uverbs_attr_bundle *attrs);
111 struct uverbs_attr_bundle *attrs);
115 struct uverbs_attr_bundle *attrs);
117 struct uverbs_attr_bundle *attrs,
120 struct uverbs_attr_bundle *attrs);
123 struct uverbs_attr_bundle *attrs);
Duverbs_std_types.h50 struct uverbs_attr_bundle *attrs);
56 u32 id, struct uverbs_attr_bundle *attrs);
81 struct uverbs_attr_bundle *attrs) in uobj_alloc_abort()
87 struct uverbs_attr_bundle *attrs) in uobj_finalize_uobj_create()
102 struct uverbs_attr_bundle *attrs, struct ib_device **ib_dev) in __uobj_alloc()
/linux-5.19.10/drivers/infiniband/core/
Drdma_core.h51 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs);
64 s64 id, struct uverbs_attr_bundle *attrs);
68 bool commit, struct uverbs_attr_bundle *attrs);
70 int uverbs_output_written(const struct uverbs_attr_bundle *bundle, size_t idx);
75 struct ib_udata *uverbs_get_cleared_udata(struct uverbs_attr_bundle *attrs);
88 int(__rcu *handler)(struct uverbs_attr_bundle *attrs);
100 int (*handler)(struct uverbs_attr_bundle *attrs);
187 void uverbs_fill_udata(struct uverbs_attr_bundle *bundle,
Drdma_core.c124 struct uverbs_attr_bundle *attrs) in uverbs_destroy_uobject()
188 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) in uobj_destroy()
223 u32 id, struct uverbs_attr_bundle *attrs) in __uobj_get_destroy()
247 struct uverbs_attr_bundle *attrs) in __uobj_perform_destroy()
259 static struct ib_uobject *alloc_uobj(struct uverbs_attr_bundle *attrs, in alloc_uobj()
375 struct uverbs_attr_bundle *attrs) in rdma_lookup_get_uobject()
425 struct uverbs_attr_bundle *attrs) in alloc_begin_idr_uobject()
454 struct uverbs_attr_bundle *attrs) in alloc_begin_fd_uobject()
499 struct uverbs_attr_bundle *attrs) in rdma_alloc_begin_uobject()
533 struct uverbs_attr_bundle *attrs) in destroy_hw_idr_uobject()
[all …]
Duverbs_std_types.c44 struct uverbs_attr_bundle *attrs) in uverbs_free_ah()
53 struct uverbs_attr_bundle *attrs) in uverbs_free_flow()
73 struct uverbs_attr_bundle *attrs) in uverbs_free_mw()
80 struct uverbs_attr_bundle *attrs) in uverbs_free_rwq_ind_tbl()
104 struct uverbs_attr_bundle *attrs) in uverbs_free_xrcd()
123 struct uverbs_attr_bundle *attrs) in uverbs_free_pd()
168 int uverbs_destroy_def_handler(struct uverbs_attr_bundle *attrs) in uverbs_destroy_def_handler()
Duverbs_ioctl.c67 struct uverbs_attr_bundle bundle;
106 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()
148 static int uverbs_set_output(const struct uverbs_attr_bundle *bundle, in uverbs_set_output()
227 struct uverbs_attr_bundle *attrs) in uverbs_free_idrs_array()
416 int (*handler)(struct uverbs_attr_bundle *attrs); in ib_uverbs_run_method()
634 int uverbs_get_flags64(u64 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags64()
667 int uverbs_get_flags32(u32 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags32()
690 void uverbs_fill_udata(struct uverbs_attr_bundle *bundle, in uverbs_fill_udata()
723 int uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, in uverbs_copy_to()
745 int uverbs_output_written(const struct uverbs_attr_bundle *bundle, size_t idx) in uverbs_output_written()
[all …]
Duverbs_cmd.c58 static int uverbs_response(struct uverbs_attr_bundle *attrs, const void *resp, in uverbs_response()
91 static int uverbs_request(struct uverbs_attr_bundle *attrs, void *req, in uverbs_request()
115 static u32 uverbs_response_length(struct uverbs_attr_bundle *attrs, in uverbs_response_length()
130 static int uverbs_request_start(struct uverbs_attr_bundle *attrs, in uverbs_request_start()
182 struct ib_udata *uverbs_get_cleared_udata(struct uverbs_attr_bundle *attrs) in uverbs_get_cleared_udata()
189 _ib_uverbs_lookup_comp_file(s32 fd, struct uverbs_attr_bundle *attrs) in _ib_uverbs_lookup_comp_file()
206 int ib_alloc_ucontext(struct uverbs_attr_bundle *attrs) in ib_alloc_ucontext()
231 int ib_init_ucontext(struct uverbs_attr_bundle *attrs) in ib_init_ucontext()
276 static int ib_uverbs_get_context(struct uverbs_attr_bundle *attrs) in ib_uverbs_get_context()
370 static int ib_uverbs_query_device(struct uverbs_attr_bundle *attrs) in ib_uverbs_query_device()
[all …]
Duverbs_std_types_device.c21 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
66 struct uverbs_attr_bundle *attrs, in gather_objects_handle()
102 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
177 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
212 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
241 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
271 static int copy_gid_entries_to_user(struct uverbs_attr_bundle *attrs, in copy_gid_entries_to_user()
313 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
368 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_counters.c40 struct uverbs_attr_bundle *attrs) in uverbs_free_counters()
56 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
89 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs.h225 int ib_alloc_ucontext(struct uverbs_attr_bundle *attrs);
226 int ib_init_ucontext(struct uverbs_attr_bundle *attrs);
243 struct uverbs_attr_bundle *attrs);
301 ib_uverbs_get_async_event(struct uverbs_attr_bundle *attrs, in ib_uverbs_get_async_event()
Duverbs_std_types_mr.c41 struct uverbs_attr_bundle *attrs) in uverbs_free_mr()
48 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
84 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
157 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
187 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_dm.c39 struct uverbs_attr_bundle *attrs) in uverbs_free_dm()
50 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_cq.c40 struct uverbs_attr_bundle *attrs) in uverbs_free_cq()
62 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
186 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_wq.c12 struct uverbs_attr_bundle *attrs) in uverbs_free_wq()
28 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
160 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_srq.c12 struct uverbs_attr_bundle *attrs) in uverbs_free_srq()
37 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
198 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_flow_action.c39 struct uverbs_attr_bundle *attrs) in uverbs_free_flow_action()
Duverbs_std_types_qp.c13 struct uverbs_attr_bundle *attrs) in uverbs_free_qp()
83 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
346 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_async_fd.c12 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
/linux-5.19.10/drivers/infiniband/hw/mlx5/
Ddm.c174 struct uverbs_attr_bundle *attrs) in copy_op_to_user()
193 struct uverbs_attr_bundle *attrs) in map_existing_op()
205 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
276 struct uverbs_attr_bundle *attrs) in handle_alloc_dm_memic()
346 struct uverbs_attr_bundle *attrs, in handle_alloc_dm_sw_icm()
405 struct uverbs_attr_bundle *attrs) in mlx5_ib_alloc_dm()
465 struct uverbs_attr_bundle *attrs) in mlx5_ib_dealloc_dm()
484 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Dqos.c25 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
87 struct uverbs_attr_bundle *attrs) in pp_obj_cleanup()
Dstd_types.c18 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
156 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Ddevx.c107 devx_ufile2uctx(const struct uverbs_attr_bundle *attrs) in devx_ufile2uctx()
591 static bool devx_is_valid_obj_id(struct uverbs_attr_bundle *attrs, in devx_is_valid_obj_id()
972 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1021 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1049 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1372 struct uverbs_attr_bundle *attrs) in devx_obj_cleanup()
1446 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1560 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1607 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1675 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
[all …]
Ddm.h60 struct uverbs_attr_bundle *attrs);
/linux-5.19.10/drivers/infiniband/sw/rxe/
Drxe_mmap.c142 container_of(udata, struct uverbs_attr_bundle, driver_udata) in rxe_create_mmap_info()

12