Searched refs:user_access_begin (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/include/linux/ |
D | uaccess.h | 355 #ifndef user_access_begin 356 #define user_access_begin(ptr,len) access_ok(ptr, len) macro
|
/Linux-v5.4/lib/ |
D | strnlen_user.c | 112 if (user_access_begin(str, max)) { in strnlen_user()
|
D | usercopy.c | 61 if (!user_access_begin(from, size)) in check_zeroed_user()
|
D | strncpy_from_user.c | 119 if (user_access_begin(src, max)) { in strncpy_from_user()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | uaccess.h | 712 static __must_check __always_inline bool user_access_begin(const void __user *ptr, size_t len) in user_access_begin() function 719 #define user_access_begin(a,b) user_access_begin(a,b) macro
|
/Linux-v5.4/kernel/ |
D | compat.c | 290 if (!user_access_begin(umask, bitmap_size / 8)) in compat_get_bitmap() 319 if (!user_access_begin(umask, bitmap_size / 8)) in compat_put_bitmap()
|
D | exit.c | 1588 if (!user_access_begin(infop, sizeof(*infop))) in SYSCALL_DEFINE5() 1715 if (!user_access_begin(infop, sizeof(*infop))) in COMPAT_SYSCALL_DEFINE5()
|
/Linux-v5.4/fs/ |
D | readdir.c | 243 if (!user_access_begin(dirent, sizeof(*dirent))) in filldir() 330 if (!user_access_begin(dirent, sizeof(*dirent))) in filldir64()
|
/Linux-v5.4/drivers/gpu/drm/i915/gem/ |
D | i915_gem_execbuffer.c | 1630 if (!user_access_begin(urelocs, size)) in eb_copy_relocations() 2907 if (!user_access_begin(user_exec_list, count * sizeof(*user_exec_list))) in i915_gem_execbuffer2_ioctl()
|