/kernel/linux/linux-5.10/arch/um/kernel/skas/ |
D | uaccess.c | 148 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()
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
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)
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | uaccess.h | 33 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 44 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | uaccess.h | 11 (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
D | uaccess_32.h | 31 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 39 #define __kernel_ok (uaccess_kernel())
|
D | uaccess_64.h | 35 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | segment.h | 17 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | segment.h | 16 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | segment.h | 27 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/kernel/linux/linux-5.10/arch/h8300/include/asm/ |
D | segment.h | 36 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | uaccess.h | 46 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro 272 (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
D | sys_c6x.c | 23 if (uaccess_kernel()) in _access_ok()
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | segment.h | 55 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | uaccess.h | 46 uaccess_kernel()); in __access_ok()
|
/kernel/linux/linux-5.10/arch/parisc/lib/ |
D | memcpy.c | 16 #define get_user_space() (uaccess_kernel() ? 0 : mfsp(3))
|
/kernel/linux/linux-5.10/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 95 if (uaccess_kernel()) { in __copy_to_user_memcpy() 168 if (uaccess_kernel()) { in __clear_user_memset()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | uaccess.h | 119 #ifndef uaccess_kernel 120 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | uaccess.h | 23 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro 328 (uaccess_kernel() ? ~0UL : TASK_SIZE)
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | uaccess.h | 79 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro 272 #define uaccess_kernel() (true) macro 289 (uaccess_kernel() ? ~0UL : get_fs())
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib.h | 78 return filp->f_cred == current_cred() && !uaccess_kernel(); in ib_safe_file_access()
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | futex.h | 93 if (uaccess_kernel() && !uaddr) in futex_atomic_cmpxchg_inatomic()
|
D | uaccess.h | 17 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) macro
|
/kernel/linux/linux-5.10/net/bpfilter/ |
D | bpfilter_kern.c | 73 if (uaccess_kernel() || sockptr_is_kernel(optval)) { in bpfilter_process_sockopt()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | unaligned.c | 274 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()
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | uaccess.h | 47 #define uaccess_kernel() (get_fs() == KERNEL_DS) macro
|