Searched refs:ksize (Results 1 – 2 of 2) sorted by relevance
335 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, in copy_struct_from_user() argument338 size_t size = min(ksize, usize); in copy_struct_from_user()339 size_t rest = max(ksize, usize) - size; in copy_struct_from_user()342 if (WARN_ON_ONCE(ksize > __builtin_object_size(dst, 1))) in copy_struct_from_user()346 if (usize < ksize) { in copy_struct_from_user()348 } else if (usize > ksize) { in copy_struct_from_user()
188 size_t ksize(const void *);