Home
last modified time | relevance | path

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

12

/openbmc/linux/include/rdma/
H A Duverbs_ioctl.h306 int (*handler)(struct uverbs_attr_bundle *attrs);
350 int (*func_write)(struct uverbs_attr_bundle *attrs);
631 struct uverbs_attr_bundle { struct
641 static inline bool uverbs_attr_is_valid(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_is_valid() argument
658 static inline struct uverbs_attr_bundle *
661 return container_of(udata, struct uverbs_attr_bundle, driver_udata); in rdma_udata_to_uverbs_attr_bundle()
670 static inline const struct uverbs_attr *uverbs_attr_get(const struct uverbs_attr_bundle *attrs_bund… in uverbs_attr_get()
679 static inline int uverbs_attr_get_enum_id(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_enum_id()
690 static inline void *uverbs_attr_get_obj(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_obj()
702 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
[all …]
H A 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);
H A 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()
/openbmc/linux/drivers/infiniband/core/
H A 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,
H A 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 …]
H A 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()
H A 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()
424 int (*handler)(struct uverbs_attr_bundle *attrs); in ib_uverbs_run_method()
642 int uverbs_get_flags64(u64 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags64()
675 int uverbs_get_flags32(u32 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags32()
698 void uverbs_fill_udata(struct uverbs_attr_bundle *bundle, in uverbs_fill_udata()
731 int uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, in uverbs_copy_to()
753 int uverbs_output_written(const struct uverbs_attr_bundle *bundle, size_t idx) in uverbs_output_written()
[all …]
H A 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()
213 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
242 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
272 static int copy_gid_entries_to_user(struct uverbs_attr_bundle *attrs, in copy_gid_entries_to_user()
314 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
369 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
H A 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 …]
H A 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()
H A 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()
H A 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()
H A Duverbs_std_types_dm.c39 struct uverbs_attr_bundle *attrs) in uverbs_free_dm()
50 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
H A 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()
H A 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()
H A 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()
H A Duverbs_std_types_flow_action.c39 struct uverbs_attr_bundle *attrs) in uverbs_free_flow_action()
H A 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()
H A Duverbs_std_types_async_fd.c12 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
352 struct uverbs_attr_bundle *attrs, in handle_alloc_dm_sw_icm()
421 struct uverbs_attr_bundle *attrs) in mlx5_ib_alloc_dm()
481 struct uverbs_attr_bundle *attrs) in mlx5_ib_dealloc_dm()
501 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
H A Dqos.c25 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
87 struct uverbs_attr_bundle *attrs) in pp_obj_cleanup()
H A 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()
988 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1037 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1065 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1388 struct uverbs_attr_bundle *attrs) in devx_obj_cleanup()
1462 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1583 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1630 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1698 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
[all …]
H A Dstd_types.c18 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
156 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
H A Ddm.h60 struct uverbs_attr_bundle *attrs);
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_mmap.c142 container_of(udata, struct uverbs_attr_bundle, driver_udata) in rxe_create_mmap_info()

12