/linux/arch/um/kernel/skas/ |
A D | uaccess.c | 149 if (uaccess_kernel()) { in raw_copy_from_user() 169 if (uaccess_kernel()) { in raw_copy_to_user() 200 if (uaccess_kernel()) { in strncpy_from_user() 221 if (uaccess_kernel()) { in __clear_user() 249 if (uaccess_kernel()) in strnlen_user()
|
/linux/arch/xtensa/include/asm/ |
A D | uaccess.h | 38 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 40 #define __kernel_ok (uaccess_kernel()) 46 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/linux/include/asm-generic/ |
A D | uaccess.h | 119 #ifndef uaccess_kernel 120 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 124 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/linux/arch/nios2/include/asm/ |
A D | uaccess.h | 33 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 44 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/linux/arch/sparc/include/asm/ |
A D | uaccess_32.h | 28 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 36 #define __kernel_ok (uaccess_kernel())
|
A D | uaccess.h | 14 (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
A D | uaccess_64.h | 34 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/linux/arch/openrisc/include/asm/ |
A D | uaccess.h | 46 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro 272 (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/linux/arch/arc/include/asm/ |
A D | segment.h | 17 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
|
A D | uaccess.h | 27 #define __kernel_ok (uaccess_kernel())
|
/linux/arch/sh/include/asm/ |
A D | segment.h | 27 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/linux/arch/h8300/include/asm/ |
A D | segment.h | 36 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/linux/arch/arm/lib/ |
A D | uaccess_with_memcpy.c | 95 if (uaccess_kernel()) { in __copy_to_user_memcpy() 168 if (uaccess_kernel()) { in __clear_user_memset()
|
/linux/arch/alpha/include/asm/ |
A D | uaccess.h | 23 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 328 (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/linux/arch/um/include/asm/ |
A D | uaccess.h | 43 uaccess_kernel()); in __access_ok()
|
/linux/arch/parisc/lib/ |
A D | memcpy.c | 16 #define get_user_space() (uaccess_kernel() ? 0 : mfsp(3))
|
/linux/include/rdma/ |
A D | ib.h | 78 return filp->f_cred == current_cred() && !uaccess_kernel(); in ib_safe_file_access()
|
/linux/arch/parisc/include/asm/ |
A D | futex.h | 89 if (uaccess_kernel() && !uaddr) in futex_atomic_cmpxchg_inatomic()
|
/linux/net/bpfilter/ |
A D | bpfilter_kern.c | 73 if (uaccess_kernel() || sockptr_is_kernel(optval)) { in bpfilter_process_sockopt()
|
/linux/arch/csky/include/asm/ |
A D | uaccess.h | 7 (uaccess_kernel() ? KERNEL_DS.seg : get_fs().seg)
|
/linux/arch/nds32/include/asm/ |
A D | uaccess.h | 47 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
|
/linux/arch/microblaze/include/asm/ |
A D | uaccess.h | 40 # define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/linux/arch/nds32/kernel/ |
A D | process.c | 124 uaccess_kernel() ? "kernel" : "user"); in show_regs()
|
/linux/arch/ia64/include/asm/ |
A D | uaccess.h | 53 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/linux/include/linux/ |
A D | uaccess.h | 40 #define uaccess_kernel() (false) macro
|