/kernel/linux/linux-6.6/include/rdma/ |
H A D | uverbs_ioctl.h | 306 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() 650 * ib_udata which is embedded in uverbs_attr_bundle. 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_bundle, 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_bundl [all...] |
H A D | uverbs_types.h | 59 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 D | uverbs_std_types.h | 50 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()
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | uverbs_ioctl.h | 305 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() 642 * ib_udata which is embedded in uverbs_attr_bundle. 651 (udata ? container_of(container_of(udata, struct uverbs_attr_bundle, \ 659 static inline const struct uverbs_attr *uverbs_attr_get(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get() 668 static inline int uverbs_attr_get_enum_id(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_enum_id() 679 static inline void *uverbs_attr_get_obj(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_obj() 691 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bundl [all...] |
H A D | uverbs_types.h | 59 struct uverbs_attr_bundle *attrs); 72 struct uverbs_attr_bundle *attrs); 103 struct uverbs_attr_bundle *attrs); 109 struct uverbs_attr_bundle *attrs); 113 struct uverbs_attr_bundle *attrs); 115 struct uverbs_attr_bundle *attrs, 118 struct uverbs_attr_bundle *attrs);
|
H A D | uverbs_std_types.h | 50 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | rdma_core.h | 51 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 D | rdma_core.c | 124 struct uverbs_attr_bundle *attrs) in uverbs_destroy_uobject() 194 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) in uobj_destroy() 229 u32 id, struct uverbs_attr_bundle *attrs) in __uobj_get_destroy() 253 struct uverbs_attr_bundle *attrs) in __uobj_perform_destroy() 265 static struct ib_uobject *alloc_uobj(struct uverbs_attr_bundle *attrs, in alloc_uobj() 381 struct uverbs_attr_bundle *attrs) in rdma_lookup_get_uobject() 431 struct uverbs_attr_bundle *attrs) in alloc_begin_idr_uobject() 460 struct uverbs_attr_bundle *attrs) in alloc_begin_fd_uobject() 505 struct uverbs_attr_bundle *attrs) in rdma_alloc_begin_uobject() 539 struct uverbs_attr_bundle *attr in destroy_hw_idr_uobject() [all...] |
H A D | uverbs_std_types.c | 44 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() 124 struct uverbs_attr_bundle *attrs) in uverbs_free_pd() 172 int uverbs_destroy_def_handler(struct uverbs_attr_bundle *attrs) in uverbs_destroy_def_handler()
|
H A D | uverbs_std_types_device.c | 21 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_INVOKE_WRITE() 66 struct uverbs_attr_bundle *attrs, in gather_objects_handle() 102 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_INFO_HANDLES() 177 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_PORT() 212 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_GET_CONTEXT() 241 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_CONTEXT() 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_METHOD_QUERY_GID_TABLE() 368 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_GID_ENTRY()
|
H A D | uverbs_std_types_flow_action.c | 39 struct uverbs_attr_bundle *attrs) in uverbs_free_flow_action() 51 static u64 esp_flags_uverbs_to_verbs(struct uverbs_attr_bundle *attrs, in esp_flags_uverbs_to_verbs() 194 struct uverbs_attr_bundle *attrs) in flow_action_esp_get_encap() 228 struct uverbs_attr_bundle *attrs, in parse_flow_action_esp() 309 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_FLOW_ACTION_ESP_CREATE() 338 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_FLOW_ACTION_ESP_MODIFY()
|
H A D | uverbs_ioctl.c | 67 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 *bundl [all...] |
H A D | uverbs_std_types_counters.c | 40 struct uverbs_attr_bundle *attrs) in uverbs_free_counters() 57 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_COUNTERS_CREATE() 90 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_COUNTERS_READ()
|
H A D | uverbs_cmd.c | 58 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 *attr [all...] |
H A D | uverbs.h | 225 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 D | uverbs_std_types_mr.c | 40 struct uverbs_attr_bundle *attrs) in uverbs_free_mr() 47 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_ADVISE_MR() 83 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_DM_MR_REG() 156 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_MR()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | rdma_core.h | 51 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 D | rdma_core.c | 124 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 *attr in destroy_hw_idr_uobject() [all...] |
H A D | uverbs_std_types.c | 44 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 D | uverbs_std_types_device.c | 21 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_INVOKE_WRITE() 66 struct uverbs_attr_bundle *attrs, in gather_objects_handle() 102 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_INFO_HANDLES() 177 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_PORT() 212 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_GET_CONTEXT() 241 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_CONTEXT() 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_METHOD_QUERY_GID_TABLE() 368 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_GID_ENTRY()
|
H A D | uverbs_ioctl.c | 67 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 *bundl [all...] |
H A D | uverbs_std_types_counters.c | 40 struct uverbs_attr_bundle *attrs) in uverbs_free_counters() 56 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_COUNTERS_CREATE() 89 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_COUNTERS_READ()
|
H A D | uverbs_cmd.c | 58 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 *attr [all...] |
H A D | uverbs.h | 225 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 D | uverbs_std_types_mr.c | 41 struct uverbs_attr_bundle *attrs) in uverbs_free_mr() 48 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_ADVISE_MR() 84 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_DM_MR_REG() 157 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_QUERY_MR() 187 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_REG_DMABUF_MR()
|