Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/core/
H A Duverbs_std_types_device.c277 void __user *user_entries; in copy_gid_entries_to_user() local
294 user_entries = u64_to_user_ptr(attr->ptr_attr.data); in copy_gid_entries_to_user()
296 if (copy_to_user(user_entries, entries, copy_len)) in copy_gid_entries_to_user()
300 if (clear_user(user_entries + sizeof(*entries), in copy_gid_entries_to_user()
306 user_entries += user_entry_size; in copy_gid_entries_to_user()