Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/rdma/
Duverbs_ioctl.h332 int (*handler)(struct uverbs_attr_bundle *attrs);
376 int (*func_write)(struct uverbs_attr_bundle *attrs);
651 struct uverbs_attr_bundle { struct
660 static inline bool uverbs_attr_is_valid(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_is_valid() argument
678 (udata ? container_of(container_of(udata, struct uverbs_attr_bundle, \
686 static inline const struct uverbs_attr *uverbs_attr_get(const struct uverbs_attr_bundle *attrs_bund… in uverbs_attr_get()
695 static inline int uverbs_attr_get_enum_id(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_enum_id()
706 static inline void *uverbs_attr_get_obj(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_obj()
718 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bun… in uverbs_attr_get_uobject()
730 uverbs_attr_get_len(const struct uverbs_attr_bundle *attrs_bundle, u16 idx) in uverbs_attr_get_len()
[all …]
Duverbs_types.h99 struct uverbs_attr_bundle *attrs);
131 struct uverbs_attr_bundle *attrs);
137 struct uverbs_attr_bundle *attrs);
142 struct uverbs_attr_bundle *attrs);
144 struct uverbs_attr_bundle *attrs);
146 struct uverbs_attr_bundle *attrs);
Duverbs_std_types.h77 struct uverbs_attr_bundle *attrs);
83 u32 id, struct uverbs_attr_bundle *attrs);
108 uobj_alloc_commit(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) in uobj_alloc_commit()
118 struct uverbs_attr_bundle *attrs) in uobj_alloc_abort()
125 struct uverbs_attr_bundle *attrs, struct ib_device **ib_dev) in __uobj_alloc()
Dib_verbs.h2234 struct uverbs_attr_bundle;
2411 struct uverbs_attr_bundle *attrs);
2439 struct uverbs_attr_bundle *attrs);
2444 struct uverbs_attr_bundle *attrs);
2467 struct uverbs_attr_bundle *attrs);
2468 int (*dealloc_dm)(struct ib_dm *dm, struct uverbs_attr_bundle *attrs);
2471 struct uverbs_attr_bundle *attrs);
2473 struct ib_device *device, struct uverbs_attr_bundle *attrs);
2477 struct uverbs_attr_bundle *attrs);
4596 int uverbs_destroy_def_handler(struct uverbs_attr_bundle *attrs);
/Linux-v5.4/drivers/infiniband/core/
Drdma_core.h51 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs);
87 s64 id, struct uverbs_attr_bundle *attrs);
106 struct uverbs_attr_bundle *attrs);
108 int uverbs_output_written(const struct uverbs_attr_bundle *bundle, size_t idx);
113 struct ib_udata *uverbs_get_cleared_udata(struct uverbs_attr_bundle *attrs);
126 int(__rcu *handler)(struct uverbs_attr_bundle *attrs);
138 int (*handler)(struct uverbs_attr_bundle *attrs);
221 void uverbs_fill_udata(struct uverbs_attr_bundle *bundle,
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_qp()
114 struct uverbs_attr_bundle *attrs) in uverbs_free_rwq_ind_tbl()
130 struct uverbs_attr_bundle *attrs) in uverbs_free_wq()
147 struct uverbs_attr_bundle *attrs) in uverbs_free_srq()
172 struct uverbs_attr_bundle *attrs) in uverbs_free_xrcd()
192 struct uverbs_attr_bundle *attrs) in uverbs_free_pd()
224 int uverbs_destroy_def_handler(struct uverbs_attr_bundle *attrs) in uverbs_destroy_def_handler()
Drdma_core.c129 struct uverbs_attr_bundle *attrs) in uverbs_destroy_uobject()
201 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()
377 struct uverbs_attr_bundle *attrs) in rdma_lookup_get_uobject()
479 struct uverbs_attr_bundle *attrs) in rdma_alloc_begin_uobject()
514 struct uverbs_attr_bundle *attrs) in destroy_hw_idr_uobject()
552 struct uverbs_attr_bundle *attrs) in destroy_hw_fd_uobject()
629 struct uverbs_attr_bundle *attrs) in rdma_alloc_commit_uobject()
662 struct uverbs_attr_bundle *attrs) in rdma_alloc_abort_uobject()
[all …]
Duverbs_std_types_flow_action.c39 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_HANDLER()
338 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_ioctl.c66 struct uverbs_attr_bundle bundle;
105 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc()
147 static int uverbs_set_output(const struct uverbs_attr_bundle *bundle, in uverbs_set_output()
225 bool commit, struct uverbs_attr_bundle *attrs) in uverbs_free_idrs_array()
421 int (*handler)(struct uverbs_attr_bundle *attrs); in ib_uverbs_run_method()
649 int uverbs_get_flags64(u64 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags64()
682 int uverbs_get_flags32(u32 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags32()
705 void uverbs_fill_udata(struct uverbs_attr_bundle *bundle, in uverbs_fill_udata()
738 int uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, in uverbs_copy_to()
760 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 static int ib_uverbs_get_context(struct uverbs_attr_bundle *attrs) in ib_uverbs_get_context()
356 static int ib_uverbs_query_device(struct uverbs_attr_bundle *attrs) in ib_uverbs_query_device()
377 static int ib_uverbs_query_port(struct uverbs_attr_bundle *attrs) in ib_uverbs_query_port()
405 static int ib_uverbs_alloc_pd(struct uverbs_attr_bundle *attrs) in ib_uverbs_alloc_pd()
[all …]
Duverbs_std_types_counters.c40 struct uverbs_attr_bundle *attrs) in uverbs_free_counters()
53 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
87 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_device.c19 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
59 struct uverbs_attr_bundle *attrs, in gather_objects_handle()
95 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
169 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_mr.c39 struct uverbs_attr_bundle *attrs) in uverbs_free_mr()
46 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
82 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_dm.c39 struct uverbs_attr_bundle *attrs) in uverbs_free_dm()
52 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs_std_types_cq.c39 struct uverbs_attr_bundle *attrs) in uverbs_free_cq()
62 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
180 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Duverbs.h243 struct uverbs_attr_bundle *attrs);
Dumem_odp.c297 container_of(udata, struct uverbs_attr_bundle, driver_udata) in ib_umem_odp_alloc_implicit()
396 context = container_of(udata, struct uverbs_attr_bundle, driver_udata) in ib_umem_odp_get()
Dumem.c209 context = container_of(udata, struct uverbs_attr_bundle, driver_udata) in ib_umem_get()
Duverbs_uapi.c11 static int ib_uverbs_notsupp(struct uverbs_attr_bundle *attrs) in ib_uverbs_notsupp()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dflow.c69 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
216 struct uverbs_attr_bundle *attrs) in flow_matcher_cleanup()
229 static int mlx5_ib_matcher_ns(struct uverbs_attr_bundle *attrs, in mlx5_ib_matcher_ns()
278 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
387 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
508 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
Ddevx.c124 devx_ufile2uctx(const struct uverbs_attr_bundle *attrs) in devx_ufile2uctx()
567 static bool devx_is_valid_obj_id(struct uverbs_attr_bundle *attrs, in devx_is_valid_obj_id()
949 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
999 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1027 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1332 struct uverbs_attr_bundle *attrs) in devx_obj_cleanup()
1398 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1502 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1547 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
1613 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
[all …]
Dmlx5_ib.h1155 struct uverbs_attr_bundle *attrs);
1242 struct uverbs_attr_bundle *attrs);
1243 int mlx5_ib_dealloc_dm(struct ib_dm *ibdm, struct uverbs_attr_bundle *attrs);
1246 struct uverbs_attr_bundle *attrs);
Dmain.c2291 struct uverbs_attr_bundle *attrs) in handle_alloc_dm_memic()
2336 struct uverbs_attr_bundle *attrs, in handle_alloc_dm_sw_icm()
2370 struct uverbs_attr_bundle *attrs) in mlx5_ib_alloc_dm()
2425 int mlx5_ib_dealloc_dm(struct ib_dm *ibdm, struct uverbs_attr_bundle *attrs) in mlx5_ib_dealloc_dm()
4192 struct uverbs_attr_bundle *attrs) in mlx5_ib_create_flow_action_esp()
4275 struct uverbs_attr_bundle *attrs) in mlx5_ib_modify_flow_action_esp()
6077 struct uverbs_attr_bundle *attrs) in mlx5_ib_read_counters()
6132 struct uverbs_attr_bundle *attrs) in mlx5_ib_create_counters()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_mmap.c171 container_of(udata, struct uverbs_attr_bundle, driver_udata) in rxe_create_mmap_info()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmmap.c183 container_of(udata, struct uverbs_attr_bundle, driver_udata) in rvt_create_mmap_info()

12