Home
last modified time | relevance | path

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

12

/arch/um/kernel/skas/
Duaccess.c148 if (uaccess_kernel()) { in raw_copy_from_user()
168 if (uaccess_kernel()) { in raw_copy_to_user()
196 if (uaccess_kernel()) { in __strncpy_from_user()
217 if (uaccess_kernel()) { in __clear_user()
242 if (uaccess_kernel()) in __strnlen_user()
/arch/sparc/include/asm/
Duaccess.h11 (uaccess_kernel() ? ~0UL : TASK_SIZE)
Duaccess_32.h31 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
39 #define __kernel_ok (uaccess_kernel())
Duaccess_64.h35 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/arc/include/asm/
Dsegment.h17 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
/arch/csky/include/asm/
Dsegment.h16 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/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/m68k/include/asm/
Dsegment.h55 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/c6x/kernel/
Dsys_c6x.c23 if (uaccess_kernel()) in _access_ok()
/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/um/include/asm/
Duaccess.h46 uaccess_kernel()); in __access_ok()
/arch/parisc/lib/
Dmemcpy.c16 #define get_user_space() (uaccess_kernel() ? 0 : mfsp(3))
/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()
Duaccess.h17 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/alpha/include/asm/
Duaccess.h23 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
328 (uaccess_kernel() ? ~0UL : TASK_SIZE)
/arch/arm/include/asm/
Duaccess.h79 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
272 #define uaccess_kernel() (true) macro
289 (uaccess_kernel() ? ~0UL : get_fs())
/arch/mips/kernel/
Dunaligned.c274 if (uaccess_kernel()) in emulate_load_store_insn()
293 if (uaccess_kernel()) in emulate_load_store_insn()
312 if (uaccess_kernel()) in emulate_load_store_insn()
380 if (uaccess_kernel()) in emulate_load_store_insn()
400 if (uaccess_kernel()) in emulate_load_store_insn()
/arch/nds32/include/asm/
Duaccess.h47 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
/arch/microblaze/include/asm/
Duaccess.h44 # define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
/arch/nds32/kernel/
Dprocess.c124 uaccess_kernel() ? "kernel" : "user"); in show_regs()
/arch/mips/include/asm/
Duaccess.h75 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
90 return uaccess_kernel(); in eva_kernel_access()

12