Searched refs:ptr_attr (Results 1 – 4 of 4) sorted by relevance
286 e->ptr_attr.len = uattr->len; in uverbs_process_attr()295 e->ptr_attr.ptr = p; in uverbs_process_attr()301 e->ptr_attr.data = uattr->data; in uverbs_process_attr()652 if (attr->ptr_attr.len == 8) in uverbs_get_flags64()653 flags = attr->ptr_attr.data; in uverbs_get_flags64()654 else if (attr->ptr_attr.len == 4) in uverbs_get_flags64()702 udata->inlen = in->ptr_attr.len; in uverbs_fill_udata()716 udata->outlen = out->ptr_attr.len; in uverbs_fill_udata()769 *to = attr->ptr_attr.data; in _uverbs_get_const_signed()792 *to = attr->ptr_attr.data; in _uverbs_get_const_unsigned()[all …]
110 read_attr.ncounters = uattr->ptr_attr.len / sizeof(u64); in UVERBS_HANDLER()
293 user_entries = u64_to_user_ptr(attr->ptr_attr.data); in copy_gid_entries_to_user()
617 struct uverbs_ptr_attr ptr_attr; member679 return attr->ptr_attr.enum_id; in uverbs_attr_get_enum_id()713 return attr->ptr_attr.len; in uverbs_attr_get_len()768 return attr->ptr_attr.len <= sizeof(attr->ptr_attr.data); in uverbs_attr_ptr_is_inline()780 attr->ptr_attr.ptr; in uverbs_attr_get_alloced_ptr()798 if (unlikely(size < attr->ptr_attr.len)) in _uverbs_copy_from()802 memcpy(to, &attr->ptr_attr.data, attr->ptr_attr.len); in _uverbs_copy_from()803 else if (copy_from_user(to, u64_to_user_ptr(attr->ptr_attr.data), in _uverbs_copy_from()804 attr->ptr_attr.len)) in _uverbs_copy_from()821 min_size = min_t(size_t, size, attr->ptr_attr.len); in _uverbs_copy_from_or_zero()[all …]
Completed in 13 milliseconds