Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Duaccess.h355 #ifndef user_access_begin
356 #define user_access_begin(ptr,len) access_ok(ptr, len) macro
/Linux-v5.4/lib/
Dstrnlen_user.c112 if (user_access_begin(str, max)) { in strnlen_user()
Dusercopy.c61 if (!user_access_begin(from, size)) in check_zeroed_user()
Dstrncpy_from_user.c119 if (user_access_begin(src, max)) { in strncpy_from_user()
/Linux-v5.4/arch/x86/include/asm/
Duaccess.h712 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/
Dcompat.c290 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()
Dexit.c1588 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/
Dreaddir.c243 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/
Di915_gem_execbuffer.c1630 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()