KERNEL_DS 38 arch/alpha/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 379 arch/alpha/lib/csum_partial_copy.c set_fs(KERNEL_DS); KERNEL_DS 59 arch/arc/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 75 arch/arm/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 264 arch/arm/include/asm/uaccess.h #define USER_DS KERNEL_DS KERNEL_DS 269 arch/arm/include/asm/uaccess.h #define get_fs() (KERNEL_DS) KERNEL_DS 150 arch/arm/kernel/process.c else if (fs == KERNEL_DS) KERNEL_DS 212 arch/arm/kernel/sys_oabi-compat.c set_fs(KERNEL_DS); KERNEL_DS 266 arch/arm/kernel/sys_oabi-compat.c set_fs(KERNEL_DS); KERNEL_DS 291 arch/arm/kernel/sys_oabi-compat.c set_fs(KERNEL_DS); KERNEL_DS 349 arch/arm/kernel/sys_oabi-compat.c set_fs(KERNEL_DS); KERNEL_DS 129 arch/arm/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 193 arch/arm/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 109 arch/arm64/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 45 arch/arm64/include/asm/uaccess.h if (IS_ENABLED(CONFIG_ARM64_UAO) && fs == KERNEL_DS) KERNEL_DS 447 arch/arm64/kernel/process.c if (task_thread_info(next)->addr_limit == KERNEL_DS) KERNEL_DS 1568 arch/arm64/kernel/ptrace.c set_fs(KERNEL_DS); KERNEL_DS 483 arch/arm64/mm/fault.c if (regs->orig_addr_limit == KERNEL_DS) KERNEL_DS 57 arch/c6x/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 47 arch/c6x/mm/init.c set_fs(KERNEL_DS); KERNEL_DS 31 arch/csky/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 46 arch/h8300/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 69 arch/hexagon/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 37 arch/hexagon/include/asm/uaccess.h ((get_fs().seg == KERNEL_DS.seg) || \ KERNEL_DS 51 arch/ia64/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 67 arch/ia64/include/asm/uaccess.h (seg == KERNEL_DS.seg || likely(REGION_OFFSET(addr) < RGN_MAP_LIMIT)); KERNEL_DS 1370 arch/ia64/kernel/unaligned.c set_fs(KERNEL_DS); KERNEL_DS 40 arch/m68k/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 17 arch/m68k/include/asm/tlbflush.h set_fs(KERNEL_DS); KERNEL_DS 922 arch/m68k/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 294 arch/m68k/mm/motorola.c set_fs(KERNEL_DS); KERNEL_DS 93 arch/m68k/sun3/config.c set_fs(KERNEL_DS); KERNEL_DS 201 arch/m68k/sun3/mmu_emu.c set_fs(KERNEL_DS); KERNEL_DS 86 arch/microblaze/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 39 arch/microblaze/include/asm/uaccess.h # define USER_DS KERNEL_DS KERNEL_DS 49 arch/mips/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 89 arch/mips/kernel/ftrace.c set_fs(KERNEL_DS); KERNEL_DS 114 arch/mips/kernel/ftrace.c set_fs(KERNEL_DS); KERNEL_DS 138 arch/mips/kernel/ftrace.c set_fs(KERNEL_DS); KERNEL_DS 216 arch/mips/kernel/kgdb.c set_fs(KERNEL_DS); KERNEL_DS 322 arch/mips/kernel/kgdb.c set_fs(KERNEL_DS); KERNEL_DS 139 arch/mips/kernel/process.c ti->addr_limit = KERNEL_DS; KERNEL_DS 226 arch/mips/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 378 arch/mips/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 987 arch/mips/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 1080 arch/mips/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 1548 arch/mips/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 2331 arch/mips/kernel/unaligned.c set_fs(KERNEL_DS); KERNEL_DS 2342 arch/mips/kernel/unaligned.c set_fs(KERNEL_DS); KERNEL_DS 2359 arch/mips/kernel/unaligned.c set_fs(KERNEL_DS); KERNEL_DS 755 arch/mips/kernel/vpe.c set_fs(KERNEL_DS); KERNEL_DS 33 arch/nds32/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 124 arch/nds32/kernel/process.c segment_eq(get_fs(), KERNEL_DS)? "kernel" : "user"); KERNEL_DS 37 arch/nds32/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 79 arch/nds32/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 63 arch/nios2/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 74 arch/openrisc/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 24 arch/parisc/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 286 arch/powerpc/include/asm/processor.h .addr_limit = KERNEL_DS, \ KERNEL_DS 295 arch/powerpc/include/asm/processor.h .addr_limit = KERNEL_DS, \ KERNEL_DS 58 arch/riscv/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 496 arch/s390/kernel/dis.c set_fs(user_mode(regs) ? USER_DS : KERNEL_DS); KERNEL_DS 24 arch/sh/include/asm/segment.h #define USER_DS KERNEL_DS KERNEL_DS 63 arch/sh/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 282 arch/sh/kernel/io_trapped.c set_fs(KERNEL_DS); KERNEL_DS 149 arch/sh/kernel/process_32.c ti->addr_limit = KERNEL_DS; KERNEL_DS 543 arch/sh/kernel/traps_32.c set_fs(KERNEL_DS); KERNEL_DS 62 arch/sparc/include/asm/processor_32.h .current_ds = KERNEL_DS, \ KERNEL_DS 346 arch/sparc/kernel/process_32.c p->thread.current_ds = KERNEL_DS; KERNEL_DS 39 arch/um/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 84 arch/unicore32/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 77 arch/unicore32/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 118 arch/unicore32/kernel/traps.c set_fs(KERNEL_DS); KERNEL_DS 845 arch/x86/include/asm/processor.h .addr_limit = KERNEL_DS, \ KERNEL_DS 890 arch/x86/include/asm/processor.h .addr_limit = KERNEL_DS, \ KERNEL_DS 88 arch/xtensa/include/asm/asm-uaccess.h #if ((KERNEL_DS != 0) || (USER_DS == 0)) KERNEL_DS 80 arch/xtensa/include/asm/thread_info.h .addr_limit = KERNEL_DS, \ KERNEL_DS 241 drivers/misc/lkdtm/bugs.c set_fs(KERNEL_DS); KERNEL_DS 334 drivers/misc/lkdtm/usercopy.c set_fs(KERNEL_DS); KERNEL_DS 262 drivers/s390/crypto/zcrypt_ccamisc.c set_fs(KERNEL_DS); KERNEL_DS 1563 fs/binfmt_elf.c set_fs(KERNEL_DS); KERNEL_DS 2245 fs/binfmt_elf.c set_fs(KERNEL_DS); KERNEL_DS 1682 fs/binfmt_elf_fdpic.c set_fs(KERNEL_DS); KERNEL_DS 2143 fs/block_dev.c set_fs(KERNEL_DS); KERNEL_DS 604 fs/exec.c set_fs(KERNEL_DS); KERNEL_DS 610 fs/proc/proc_sysctl.c set_fs(KERNEL_DS); KERNEL_DS 438 fs/read_write.c set_fs(KERNEL_DS); KERNEL_DS 511 fs/read_write.c set_fs(KERNEL_DS); KERNEL_DS 533 fs/read_write.c set_fs(KERNEL_DS); KERNEL_DS 357 fs/splice.c set_fs(KERNEL_DS); KERNEL_DS 72 include/asm-generic/uaccess.h #ifndef KERNEL_DS KERNEL_DS 9 include/linux/uaccess.h #define uaccess_kernel() segment_eq(get_fs(), KERNEL_DS) KERNEL_DS 910 kernel/bpf/cgroup.c set_fs(KERNEL_DS); KERNEL_DS 3362 kernel/module.c set_fs(KERNEL_DS); KERNEL_DS 419 kernel/power/user.c set_fs(KERNEL_DS); KERNEL_DS 443 kernel/power/user.c set_fs(KERNEL_DS); KERNEL_DS 300 lib/test_bitmap.c set_fs(KERNEL_DS); KERNEL_DS 56 mm/maccess.c set_fs(KERNEL_DS); KERNEL_DS 109 mm/maccess.c set_fs(KERNEL_DS); KERNEL_DS 170 mm/maccess.c set_fs(KERNEL_DS); KERNEL_DS 444 net/ipv4/ipmr.c set_fs(KERNEL_DS); KERNEL_DS 492 net/ipv4/ipmr.c set_fs(KERNEL_DS); KERNEL_DS 2855 net/ipv6/addrconf.c set_fs(KERNEL_DS); KERNEL_DS 916 net/socket.c set_fs(KERNEL_DS); KERNEL_DS 2074 net/socket.c set_fs(KERNEL_DS); KERNEL_DS 3415 net/socket.c set_fs(KERNEL_DS); KERNEL_DS 3706 net/socket.c set_fs(KERNEL_DS); KERNEL_DS 3737 net/socket.c set_fs(KERNEL_DS); KERNEL_DS 199 security/integrity/iint.c set_fs(KERNEL_DS);