Lines Matching refs:size
10 size_t size) in copy_from_kernel_nofault_allowed() argument
25 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() argument
27 if (!copy_from_kernel_nofault_allowed(src, size)) in copy_from_kernel_nofault()
31 copy_from_kernel_nofault_loop(dst, src, size, u64, Efault); in copy_from_kernel_nofault()
32 copy_from_kernel_nofault_loop(dst, src, size, u32, Efault); in copy_from_kernel_nofault()
33 copy_from_kernel_nofault_loop(dst, src, size, u16, Efault); in copy_from_kernel_nofault()
34 copy_from_kernel_nofault_loop(dst, src, size, u8, Efault); in copy_from_kernel_nofault()
51 long copy_to_kernel_nofault(void *dst, const void *src, size_t size) in copy_to_kernel_nofault() argument
54 copy_to_kernel_nofault_loop(dst, src, size, u64, Efault); in copy_to_kernel_nofault()
55 copy_to_kernel_nofault_loop(dst, src, size, u32, Efault); in copy_to_kernel_nofault()
56 copy_to_kernel_nofault_loop(dst, src, size, u16, Efault); in copy_to_kernel_nofault()
57 copy_to_kernel_nofault_loop(dst, src, size, u8, Efault); in copy_to_kernel_nofault()
105 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() argument
110 if (!copy_from_kernel_nofault_allowed(src, size)) in copy_from_kernel_nofault()
116 size); in copy_from_kernel_nofault()
135 long copy_to_kernel_nofault(void *dst, const void *src, size_t size) in copy_to_kernel_nofault() argument
142 ret = __copy_to_user_inatomic((__force void __user *)dst, src, size); in copy_to_kernel_nofault()
205 long copy_from_user_nofault(void *dst, const void __user *src, size_t size) in copy_from_user_nofault() argument
210 if (access_ok(src, size)) { in copy_from_user_nofault()
212 ret = __copy_from_user_inatomic(dst, src, size); in copy_from_user_nofault()
232 long copy_to_user_nofault(void __user *dst, const void *src, size_t size) in copy_to_user_nofault() argument
237 if (access_ok(dst, size)) { in copy_to_user_nofault()
239 ret = __copy_to_user_inatomic(dst, src, size); in copy_to_user_nofault()