Home
last modified time | relevance | path

Searched refs:uaccess_kernel (Results 1 – 21 of 21) sorted by relevance

/arch/hexagon/include/asm/
Duaccess.h29 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
30 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
/arch/um/kernel/skas/
Duaccess.c149 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()
/arch/sparc/include/asm/
Duaccess.h14 (uaccess_kernel() ? ~0UL : TASK_SIZE)
Duaccess_32.h28 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
36 #define __kernel_ok (uaccess_kernel())
Duaccess_64.h34 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/arc/include/asm/
Dsegment.h17 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
Duaccess.h27 #define __kernel_ok (uaccess_kernel())
/arch/sh/include/asm/
Dsegment.h27 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/xtensa/include/asm/
Duaccess.h38 #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)
/arch/h8300/include/asm/
Dsegment.h36 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/nios2/include/asm/
Duaccess.h33 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
44 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
/arch/parisc/lib/
Dmemcpy.c16 #define get_user_space() (uaccess_kernel() ? 0 : mfsp(3))
/arch/um/include/asm/
Duaccess.h43 uaccess_kernel()); in __access_ok()
/arch/openrisc/include/asm/
Duaccess.h46 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
272 (uaccess_kernel() ? ~0UL : TASK_SIZE)
/arch/arm/lib/
Duaccess_with_memcpy.c95 if (uaccess_kernel()) { in __copy_to_user_memcpy()
168 if (uaccess_kernel()) { in __clear_user_memset()
/arch/parisc/include/asm/
Dfutex.h93 if (uaccess_kernel() && !uaddr) in futex_atomic_cmpxchg_inatomic()
/arch/alpha/include/asm/
Duaccess.h23 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
328 (uaccess_kernel() ? ~0UL : TASK_SIZE)
/arch/microblaze/include/asm/
Duaccess.h40 # define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/nds32/kernel/
Dprocess.c124 uaccess_kernel() ? "kernel" : "user"); in show_regs()
/arch/nds32/include/asm/
Duaccess.h47 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
/arch/ia64/include/asm/
Duaccess.h53 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro