mm_segment_t 22 arch/alpha/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space */ mm_segment_t 17 arch/alpha/include/asm/uaccess.h #define KERNEL_DS ((mm_segment_t) { 0UL }) mm_segment_t 18 arch/alpha/include/asm/uaccess.h #define USER_DS ((mm_segment_t) { -0x40000000000UL }) mm_segment_t 378 arch/alpha/lib/csum_partial_copy.c mm_segment_t oldfs = get_fs(); mm_segment_t 13 arch/arc/include/asm/segment.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 43 arch/arc/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space */ mm_segment_t 49 arch/arm/include/asm/thread_info.h mm_segment_t addr_limit; /* address limit */ mm_segment_t 65 arch/arm/include/asm/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 271 arch/arm/include/asm/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 199 arch/arm/kernel/sys_oabi-compat.c mm_segment_t fs; mm_segment_t 256 arch/arm/kernel/sys_oabi-compat.c mm_segment_t fs; mm_segment_t 278 arch/arm/kernel/sys_oabi-compat.c mm_segment_t fs; mm_segment_t 348 arch/arm/kernel/sys_oabi-compat.c mm_segment_t fs = get_fs(); mm_segment_t 120 arch/arm/kernel/traps.c mm_segment_t fs; mm_segment_t 189 arch/arm/kernel/traps.c mm_segment_t fs; mm_segment_t 28 arch/arm64/include/asm/thread_info.h mm_segment_t addr_limit; /* address limit */ mm_segment_t 28 arch/arm64/include/asm/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 1560 arch/arm64/kernel/ptrace.c mm_segment_t old_fs = get_fs(); mm_segment_t 43 arch/c6x/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space */ mm_segment_t 11 arch/csky/include/asm/segment.h #define KERNEL_DS ((mm_segment_t) { 0xFFFFFFFF }) mm_segment_t 13 arch/csky/include/asm/segment.h #define USER_DS ((mm_segment_t) { 0x80000000UL }) mm_segment_t 21 arch/csky/include/asm/thread_info.h mm_segment_t addr_limit; mm_segment_t 23 arch/h8300/include/asm/segment.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 31 arch/h8300/include/asm/segment.h static inline mm_segment_t get_fs(void) mm_segment_t 34 arch/h8300/include/asm/thread_info.h mm_segment_t addr_limit; mm_segment_t 40 arch/hexagon/include/asm/thread_info.h mm_segment_t addr_limit; /* segmentation sux */ mm_segment_t 30 arch/ia64/include/asm/thread_info.h mm_segment_t addr_limit; /* user-level address space limit */ mm_segment_t 48 arch/ia64/include/asm/uaccess.h #define KERNEL_DS ((mm_segment_t) { ~0UL }) /* cf. access_ok() */ mm_segment_t 49 arch/ia64/include/asm/uaccess.h #define USER_DS ((mm_segment_t) { TASK_SIZE-1 }) /* cf. access_ok() */ mm_segment_t 1298 arch/ia64/kernel/unaligned.c mm_segment_t old_fs = get_fs(); mm_segment_t 25 arch/m68k/include/asm/segment.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 34 arch/m68k/include/asm/segment.h static inline mm_segment_t get_fs(void) mm_segment_t 36 arch/m68k/include/asm/segment.h mm_segment_t _v; mm_segment_t 41 arch/m68k/include/asm/segment.h static inline void set_fs(mm_segment_t val) mm_segment_t 30 arch/m68k/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space */ mm_segment_t 16 arch/m68k/include/asm/tlbflush.h mm_segment_t old_fs = get_fs(); mm_segment_t 88 arch/m68k/include/asm/tlbflush.h mm_segment_t old_fs = get_fs(); mm_segment_t 185 arch/m68k/kernel/traps.c mm_segment_t old_fs = get_fs(); mm_segment_t 205 arch/m68k/kernel/traps.c mm_segment_t old_fs = get_fs(); mm_segment_t 849 arch/m68k/kernel/traps.c mm_segment_t old_fs = get_fs(); mm_segment_t 72 arch/microblaze/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space */ mm_segment_t 35 arch/microblaze/include/asm/uaccess.h # define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 31 arch/mips/include/asm/thread_info.h mm_segment_t addr_limit; /* mm_segment_t 65 arch/mips/include/asm/uaccess.h #define KERNEL_DS ((mm_segment_t) { 0x80000000UL }) mm_segment_t 66 arch/mips/include/asm/uaccess.h #define USER_DS ((mm_segment_t) { 0xC0000000UL }) mm_segment_t 68 arch/mips/include/asm/uaccess.h #define KERNEL_DS ((mm_segment_t) { 0UL }) mm_segment_t 69 arch/mips/include/asm/uaccess.h #define USER_DS ((mm_segment_t) { __UA_LIMIT }) mm_segment_t 80 arch/mips/kernel/ftrace.c mm_segment_t old_fs; mm_segment_t 101 arch/mips/kernel/ftrace.c mm_segment_t old_fs; mm_segment_t 125 arch/mips/kernel/ftrace.c mm_segment_t old_fs; mm_segment_t 213 arch/mips/kernel/kgdb.c mm_segment_t old_fs; mm_segment_t 305 arch/mips/kernel/kgdb.c mm_segment_t old_fs; mm_segment_t 201 arch/mips/kernel/traps.c mm_segment_t old_fs = get_fs(); mm_segment_t 361 arch/mips/kernel/traps.c mm_segment_t old_fs = get_fs(); mm_segment_t 983 arch/mips/kernel/traps.c mm_segment_t seg; mm_segment_t 1075 arch/mips/kernel/traps.c mm_segment_t seg; mm_segment_t 1536 arch/mips/kernel/traps.c mm_segment_t old_fs = get_fs(); mm_segment_t 890 arch/mips/kernel/unaligned.c mm_segment_t seg; mm_segment_t 2294 arch/mips/kernel/unaligned.c mm_segment_t seg; mm_segment_t 751 arch/mips/kernel/vpe.c mm_segment_t old_fs; mm_segment_t 28 arch/nds32/include/asm/thread_info.h mm_segment_t addr_limit; /* address limit */ mm_segment_t 37 arch/nds32/include/asm/uaccess.h #define KERNEL_DS ((mm_segment_t) { ~0UL }) mm_segment_t 38 arch/nds32/include/asm/uaccess.h #define USER_DS ((mm_segment_t) {TASK_SIZE - 1}) mm_segment_t 43 arch/nds32/include/asm/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 28 arch/nds32/kernel/traps.c mm_segment_t fs; mm_segment_t 68 arch/nds32/kernel/traps.c mm_segment_t fs; mm_segment_t 515 arch/nds32/mm/alignment.c mm_segment_t seg = get_fs(); mm_segment_t 45 arch/nios2/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space: mm_segment_t 25 arch/nios2/include/asm/uaccess.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 51 arch/openrisc/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space: mm_segment_t 14 arch/parisc/include/asm/thread_info.h mm_segment_t addr_limit; /* user-level address space limit */ mm_segment_t 14 arch/parisc/include/asm/uaccess.h #define KERNEL_DS ((mm_segment_t){0}) mm_segment_t 15 arch/parisc/include/asm/uaccess.h #define USER_DS ((mm_segment_t){1}) mm_segment_t 151 arch/powerpc/include/asm/processor.h mm_segment_t addr_limit; /* for get_fs() validation */ mm_segment_t 22 arch/powerpc/include/asm/uaccess.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 34 arch/powerpc/include/asm/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 56 arch/powerpc/include/asm/uaccess.h mm_segment_t seg) mm_segment_t 38 arch/riscv/include/asm/thread_info.h mm_segment_t addr_limit; mm_segment_t 34 arch/riscv/include/asm/uaccess.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 41 arch/riscv/include/asm/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 78 arch/riscv/include/asm/uaccess.h const mm_segment_t fs = get_fs(); mm_segment_t 29 arch/s390/include/asm/futex.h mm_segment_t old_fs; mm_segment_t 69 arch/s390/include/asm/futex.h mm_segment_t old_fs; mm_segment_t 85 arch/s390/include/asm/mmu_context.h mm_segment_t enable_sacf_uaccess(void); mm_segment_t 86 arch/s390/include/asm/mmu_context.h void disable_sacf_uaccess(mm_segment_t old_fs); mm_segment_t 122 arch/s390/include/asm/processor.h mm_segment_t mm_segment; mm_segment_t 37 arch/s390/include/asm/uaccess.h void set_fs(mm_segment_t fs); mm_segment_t 490 arch/s390/kernel/dis.c mm_segment_t old_fs; mm_segment_t 43 arch/s390/lib/uaccess.c void set_fs(mm_segment_t fs) mm_segment_t 63 arch/s390/lib/uaccess.c mm_segment_t enable_sacf_uaccess(void) mm_segment_t 65 arch/s390/lib/uaccess.c mm_segment_t old_fs; mm_segment_t 94 arch/s390/lib/uaccess.c void disable_sacf_uaccess(mm_segment_t old_fs) mm_segment_t 138 arch/s390/lib/uaccess.c mm_segment_t old_fs; mm_segment_t 213 arch/s390/lib/uaccess.c mm_segment_t old_fs; mm_segment_t 280 arch/s390/lib/uaccess.c mm_segment_t old_fs; mm_segment_t 349 arch/s390/lib/uaccess.c mm_segment_t old_fs; mm_segment_t 417 arch/s390/lib/uaccess.c mm_segment_t old_fs; mm_segment_t 96 arch/s390/pci/pci_mmio.c mm_segment_t old_fs; mm_segment_t 249 arch/s390/pci/pci_mmio.c mm_segment_t old_fs; mm_segment_t 11 arch/sh/include/asm/segment.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 35 arch/sh/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space */ mm_segment_t 270 arch/sh/kernel/io_trapped.c mm_segment_t oldfs; mm_segment_t 476 arch/sh/kernel/traps_32.c mm_segment_t oldfs; mm_segment_t 54 arch/sparc/include/asm/processor_32.h mm_segment_t current_ds; mm_segment_t 25 arch/sparc/include/asm/uaccess_32.h #define KERNEL_DS ((mm_segment_t) { 0 }) mm_segment_t 26 arch/sparc/include/asm/uaccess_32.h #define USER_DS ((mm_segment_t) { -1 }) mm_segment_t 30 arch/sparc/include/asm/uaccess_64.h #define KERNEL_DS ((mm_segment_t) { ASI_P }) mm_segment_t 31 arch/sparc/include/asm/uaccess_64.h #define USER_DS ((mm_segment_t) { ASI_AIUS }) /* har har har */ mm_segment_t 33 arch/sparc/include/asm/uaccess_64.h #define get_fs() ((mm_segment_t){(current_thread_info()->current_ds)}) mm_segment_t 113 arch/sparc/kernel/process_64.c mm_segment_t old_fs; mm_segment_t 143 arch/sparc/kernel/process_64.c mm_segment_t old_fs; mm_segment_t 25 arch/um/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space: mm_segment_t 68 arch/unicore32/include/asm/thread_info.h mm_segment_t addr_limit; /* address limit */ mm_segment_t 68 arch/unicore32/kernel/traps.c mm_segment_t fs; mm_segment_t 108 arch/unicore32/kernel/traps.c mm_segment_t fs; mm_segment_t 488 arch/x86/include/asm/processor.h mm_segment_t addr_limit; mm_segment_t 23 arch/x86/include/asm/uaccess.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 29 arch/x86/include/asm/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 15 arch/x86/um/asm/segment.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 145 arch/xtensa/include/asm/processor.h mm_segment_t current_ds; /* see uaccess.h for example uses */ mm_segment_t 55 arch/xtensa/include/asm/thread_info.h mm_segment_t addr_limit; /* thread address space */ mm_segment_t 32 arch/xtensa/include/asm/uaccess.h #define KERNEL_DS ((mm_segment_t) { 0 }) mm_segment_t 33 arch/xtensa/include/asm/uaccess.h #define USER_DS ((mm_segment_t) { 1 }) mm_segment_t 1140 drivers/firmware/arm_sdei.c mm_segment_t orig_addr_limit; mm_segment_t 329 drivers/misc/lkdtm/usercopy.c mm_segment_t old_fs = get_fs(); mm_segment_t 260 drivers/s390/crypto/zcrypt_ccamisc.c mm_segment_t old_fs = get_fs(); mm_segment_t 827 drivers/usb/gadget/function/f_fs.c mm_segment_t oldfs = get_fs(); mm_segment_t 336 drivers/vhost/vhost.c mm_segment_t oldfs = get_fs(); mm_segment_t 1361 fs/binfmt_elf.c mm_segment_t fs = get_fs(); mm_segment_t 1562 fs/binfmt_elf.c mm_segment_t old_fs = get_fs(); mm_segment_t 2187 fs/binfmt_elf.c mm_segment_t fs; mm_segment_t 1552 fs/binfmt_elf_fdpic.c mm_segment_t fs; mm_segment_t 2142 fs/block_dev.c mm_segment_t old_fs = get_fs(); mm_segment_t 599 fs/exec.c mm_segment_t oldfs = get_fs(); mm_segment_t 2199 fs/io_uring.c mm_segment_t old_fs; mm_segment_t 2748 fs/io_uring.c mm_segment_t old_fs; mm_segment_t 607 fs/proc/proc_sysctl.c mm_segment_t old_fs; mm_segment_t 434 fs/read_write.c mm_segment_t old_fs; mm_segment_t 503 fs/read_write.c mm_segment_t old_fs; mm_segment_t 529 fs/read_write.c mm_segment_t old_fs; mm_segment_t 352 fs/splice.c mm_segment_t old_fs; mm_segment_t 70 include/asm-generic/uaccess.h #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) mm_segment_t 83 include/asm-generic/uaccess.h static inline void set_fs(mm_segment_t fs) mm_segment_t 906 kernel/bpf/cgroup.c mm_segment_t old_fs; mm_segment_t 213 kernel/events/callchain.c mm_segment_t fs; mm_segment_t 6159 kernel/events/core.c mm_segment_t fs; mm_segment_t 3358 kernel/module.c mm_segment_t old_fs; mm_segment_t 415 kernel/power/user.c mm_segment_t old_fs; mm_segment_t 435 kernel/power/user.c mm_segment_t old_fs; mm_segment_t 230 kernel/stacktrace.c mm_segment_t fs; mm_segment_t 297 lib/test_bitmap.c mm_segment_t orig_fs = get_fs(); mm_segment_t 54 mm/maccess.c mm_segment_t old_fs = get_fs(); mm_segment_t 80 mm/maccess.c mm_segment_t old_fs = get_fs(); mm_segment_t 107 mm/maccess.c mm_segment_t old_fs = get_fs(); mm_segment_t 133 mm/maccess.c mm_segment_t old_fs = get_fs(); mm_segment_t 163 mm/maccess.c mm_segment_t old_fs = get_fs(); mm_segment_t 205 mm/maccess.c mm_segment_t old_fs = get_fs(); mm_segment_t 245 mm/maccess.c mm_segment_t old_fs = get_fs(); mm_segment_t 442 net/ipv4/ipmr.c mm_segment_t oldfs = get_fs(); mm_segment_t 490 net/ipv4/ipmr.c mm_segment_t oldfs = get_fs(); mm_segment_t 2853 net/ipv6/addrconf.c mm_segment_t oldfs = get_fs(); mm_segment_t 912 net/socket.c mm_segment_t oldfs = get_fs(); mm_segment_t 2048 net/socket.c mm_segment_t oldfs = get_fs(); mm_segment_t 3375 net/socket.c mm_segment_t old_fs = get_fs(); mm_segment_t 3698 net/socket.c mm_segment_t oldfs = get_fs(); mm_segment_t 3731 net/socket.c mm_segment_t oldfs = get_fs(); mm_segment_t 191 security/integrity/iint.c mm_segment_t old_fs;