Lines Matching refs:uverbs_attr_bundle
305 int (*handler)(struct uverbs_attr_bundle *attrs);
349 int (*func_write)(struct uverbs_attr_bundle *attrs);
623 struct uverbs_attr_bundle {
633 static inline bool uverbs_attr_is_valid(const struct uverbs_attr_bundle *attrs_bundle,
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,
668 static inline int uverbs_attr_get_enum_id(const struct uverbs_attr_bundle *attrs_bundle,
679 static inline void *uverbs_attr_get_obj(const struct uverbs_attr_bundle *attrs_bundle,
691 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bundle,
703 uverbs_attr_get_len(const struct uverbs_attr_bundle *attrs_bundle, u16 idx)
713 void uverbs_finalize_uobj_create(const struct uverbs_attr_bundle *attrs_bundle,
724 uverbs_attr_ptr_get_array_size(struct uverbs_attr_bundle *attrs, u16 idx,
747 const struct uverbs_attr_bundle *attrs_bundle, u16 attr_idx,
769 const struct uverbs_attr_bundle *attrs_bundle, u16 idx)
781 const struct uverbs_attr_bundle *attrs_bundle,
808 const struct uverbs_attr_bundle *attrs_bundle,
839 ib_uverbs_get_ucontext(const struct uverbs_attr_bundle *attrs)
845 int uverbs_get_flags64(u64 *to, const struct uverbs_attr_bundle *attrs_bundle,
847 int uverbs_get_flags32(u32 *to, const struct uverbs_attr_bundle *attrs_bundle,
849 int uverbs_copy_to(const struct uverbs_attr_bundle *attrs_bundle, size_t idx,
851 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size,
854 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle,
860 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle,
866 static inline __malloc void *uverbs_kcalloc(struct uverbs_attr_bundle *bundle,
875 int _uverbs_get_const(s64 *to, const struct uverbs_attr_bundle *attrs_bundle,
878 int uverbs_copy_to_struct_or_zero(const struct uverbs_attr_bundle *bundle,
882 uverbs_get_flags64(u64 *to, const struct uverbs_attr_bundle *attrs_bundle,
888 uverbs_get_flags32(u32 *to, const struct uverbs_attr_bundle *attrs_bundle,
893 static inline int uverbs_copy_to(const struct uverbs_attr_bundle *attrs_bundle,
898 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle,
903 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle,
909 _uverbs_get_const(s64 *to, const struct uverbs_attr_bundle *attrs_bundle,
916 uverbs_copy_to_struct_or_zero(const struct uverbs_attr_bundle *bundle,