Searched refs:attrs_bundle (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/include/rdma/ |
D | uverbs_ioctl.h | 633 static inline bool uverbs_attr_is_valid(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_is_valid() argument 637 attrs_bundle->attr_present); in uverbs_attr_is_valid() 659 …tic inline const struct uverbs_attr *uverbs_attr_get(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get() argument 662 if (!uverbs_attr_is_valid(attrs_bundle, idx)) in uverbs_attr_get() 665 return &attrs_bundle->attrs[uapi_bkey_attr(uapi_key_attr(idx))]; 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() argument 671 const struct uverbs_attr *attr = uverbs_attr_get(attrs_bundle, idx); 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() argument 684 attr = uverbs_attr_get(attrs_bundle, idx); in uverbs_attr_get_obj() 691 …ic inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_uobject() argument [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_ioctl.c | 634 int uverbs_get_flags64(u64 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags64() argument 640 attr = uverbs_attr_get(attrs_bundle, idx); in uverbs_get_flags64() 667 int uverbs_get_flags32(u32 *to, const struct uverbs_attr_bundle *attrs_bundle, in uverbs_get_flags32() argument 673 ret = uverbs_get_flags64(&flags, attrs_bundle, idx, allowed_bits); in uverbs_get_flags32() 755 int _uverbs_get_const(s64 *to, const struct uverbs_attr_bundle *attrs_bundle, in _uverbs_get_const() argument 761 attr = uverbs_attr_get(attrs_bundle, idx); in _uverbs_get_const()
|