Home
last modified time | relevance | path

Searched refs:user_entry_size (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/core/
H A Duverbs_std_types_device.c307 size_t num_entries, size_t user_entry_size) in copy_gid_entries_to_user() argument
315 if (user_entry_size == sizeof(*entries)) { in copy_gid_entries_to_user()
322 copy_len = min_t(size_t, user_entry_size, sizeof(*entries)); in copy_gid_entries_to_user()
332 if (user_entry_size > sizeof(*entries)) { in copy_gid_entries_to_user()
334 user_entry_size - sizeof(*entries))) in copy_gid_entries_to_user()
339 user_entries += user_entry_size; in copy_gid_entries_to_user()
352 size_t user_entry_size; in UVERBS_METHOD_QUERY_GID_TABLE() local
363 ret = uverbs_get_const(&user_entry_size, attrs, in UVERBS_METHOD_QUERY_GID_TABLE()
368 if (!user_entry_size) in UVERBS_METHOD_QUERY_GID_TABLE()
373 user_entry_size); in UVERBS_METHOD_QUERY_GID_TABLE()
[all …]