get_fs 38 arch/alpha/include/asm/uaccess.h (get_fs().seg & (__ao_a | __ao_b | __ao_end)) == 0; }) get_fs 378 arch/alpha/lib/csum_partial_copy.c mm_segment_t oldfs = get_fs(); get_fs 51 arch/arc/include/asm/uaccess.h ((addr) <= (get_fs() - (sz)))) get_fs 283 arch/arm/include/asm/uaccess.h (uaccess_kernel() ? ~0UL : get_fs()) get_fs 107 arch/arm/kernel/process.c fs = get_fs(); get_fs 114 arch/arm/kernel/process.c fs = get_fs(); get_fs 211 arch/arm/kernel/sys_oabi-compat.c fs = get_fs(); get_fs 265 arch/arm/kernel/sys_oabi-compat.c fs = get_fs(); get_fs 290 arch/arm/kernel/sys_oabi-compat.c fs = get_fs(); get_fs 348 arch/arm/kernel/sys_oabi-compat.c mm_segment_t fs = get_fs(); get_fs 128 arch/arm/kernel/traps.c fs = get_fs(); get_fs 192 arch/arm/kernel/traps.c fs = get_fs(); get_fs 96 arch/arm64/include/asm/uaccess.h #define user_addr_max get_fs get_fs 1560 arch/arm64/kernel/ptrace.c mm_segment_t old_fs = get_fs(); get_fs 37 arch/hexagon/include/asm/uaccess.h ((get_fs().seg == KERNEL_DS.seg) || \ get_fs 38 arch/hexagon/include/asm/uaccess.h (((unsigned long)addr < get_fs().seg) && \ get_fs 39 arch/hexagon/include/asm/uaccess.h (unsigned long)size < (get_fs().seg - (unsigned long)addr))) get_fs 65 arch/ia64/include/asm/uaccess.h unsigned long seg = get_fs().seg; get_fs 1298 arch/ia64/kernel/unaligned.c mm_segment_t old_fs = get_fs(); get_fs 16 arch/m68k/include/asm/tlbflush.h mm_segment_t old_fs = get_fs(); get_fs 88 arch/m68k/include/asm/tlbflush.h mm_segment_t old_fs = get_fs(); get_fs 139 arch/m68k/kernel/process.c p->thread.fs = get_fs().seg; get_fs 185 arch/m68k/kernel/traps.c mm_segment_t old_fs = get_fs(); get_fs 205 arch/m68k/kernel/traps.c mm_segment_t old_fs = get_fs(); get_fs 849 arch/m68k/kernel/traps.c mm_segment_t old_fs = get_fs(); get_fs 58 arch/m68k/mm/cache.c : "a" (vaddr), "d" (get_fs().seg)); get_fs 423 arch/m68k/sun3/mmu_emu.c pr_info("seg:%ld crp:%p ->", get_fs().seg, crp); get_fs 71 arch/microblaze/include/asm/uaccess.h if ((get_fs().seg < ((unsigned long)addr)) || get_fs 72 arch/microblaze/include/asm/uaccess.h (get_fs().seg < ((unsigned long)addr + size - 1))) { get_fs 75 arch/microblaze/include/asm/uaccess.h (u32)get_fs().seg); get_fs 81 arch/microblaze/include/asm/uaccess.h (u32)get_fs().seg); get_fs 130 arch/mips/include/asm/uaccess.h return (get_fs().seg & (addr | (addr + size) | __ua_size(size))) == 0; get_fs 88 arch/mips/kernel/ftrace.c old_fs = get_fs(); get_fs 113 arch/mips/kernel/ftrace.c old_fs = get_fs(); get_fs 137 arch/mips/kernel/ftrace.c old_fs = get_fs(); get_fs 215 arch/mips/kernel/kgdb.c old_fs = get_fs(); get_fs 321 arch/mips/kernel/kgdb.c old_fs = get_fs(); get_fs 201 arch/mips/kernel/traps.c mm_segment_t old_fs = get_fs(); get_fs 361 arch/mips/kernel/traps.c mm_segment_t old_fs = get_fs(); get_fs 985 arch/mips/kernel/traps.c seg = get_fs(); get_fs 1078 arch/mips/kernel/traps.c seg = get_fs(); get_fs 1536 arch/mips/kernel/traps.c mm_segment_t old_fs = get_fs(); get_fs 968 arch/mips/kernel/unaligned.c seg = get_fs(); get_fs 2329 arch/mips/kernel/unaligned.c seg = get_fs(); get_fs 2340 arch/mips/kernel/unaligned.c seg = get_fs(); get_fs 2357 arch/mips/kernel/unaligned.c seg = get_fs(); get_fs 754 arch/mips/kernel/vpe.c old_fs = get_fs(); get_fs 41 arch/nds32/include/asm/uaccess.h #define user_addr_max get_fs get_fs 50 arch/nds32/include/asm/uaccess.h #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs() -size)) get_fs 124 arch/nds32/kernel/process.c segment_eq(get_fs(), KERNEL_DS)? "kernel" : "user"); get_fs 36 arch/nds32/kernel/traps.c fs = get_fs(); get_fs 78 arch/nds32/kernel/traps.c fs = get_fs(); get_fs 515 arch/nds32/mm/alignment.c mm_segment_t seg = get_fs(); get_fs 36 arch/nios2/include/asm/uaccess.h (((signed long)(((long)get_fs().seg) & \ get_fs 51 arch/openrisc/include/asm/uaccess.h #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()-size)) get_fs 54 arch/openrisc/include/asm/uaccess.h #define __addr_ok(addr) ((unsigned long) addr < get_fs()) get_fs 81 arch/parisc/include/asm/uaccess.h : : "r"(get_fs()) : ) get_fs 43 arch/powerpc/include/asm/uaccess.h #define user_addr_max() (get_fs().seg) get_fs 67 arch/powerpc/include/asm/uaccess.h __access_ok((__force unsigned long)(addr), (size), get_fs())) get_fs 48 arch/riscv/include/asm/uaccess.h #define user_addr_max() (get_fs().seg) get_fs 78 arch/riscv/include/asm/uaccess.h const mm_segment_t fs = get_fs(); get_fs 495 arch/s390/kernel/dis.c old_fs = get_fs(); get_fs 96 arch/s390/kernel/process.c p->thread.mm_segment = get_fs(); get_fs 281 arch/sh/kernel/io_trapped.c oldfs = get_fs(); get_fs 485 arch/sh/kernel/traps_32.c oldfs = get_fs(); get_fs 40 arch/sparc/include/asm/uaccess_32.h #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size))) get_fs 117 arch/sparc/kernel/process_64.c old_fs = get_fs(); get_fs 152 arch/sparc/kernel/process_64.c old_fs = get_fs(); get_fs 741 arch/sparc/mm/init_64.c set_fs(get_fs()); get_fs 76 arch/unicore32/kernel/traps.c fs = get_fs(); get_fs 117 arch/unicore32/kernel/traps.c fs = get_fs(); get_fs 43 arch/xtensa/include/asm/asm-uaccess.h .macro get_fs ad, sp get_fs 92 arch/xtensa/include/asm/asm-uaccess.h get_fs \at, \sp get_fs 1143 drivers/firmware/arm_sdei.c orig_addr_limit = get_fs(); get_fs 329 drivers/misc/lkdtm/usercopy.c mm_segment_t old_fs = get_fs(); get_fs 260 drivers/s390/crypto/zcrypt_ccamisc.c mm_segment_t old_fs = get_fs(); get_fs 827 drivers/usb/gadget/function/f_fs.c mm_segment_t oldfs = get_fs(); get_fs 336 drivers/vhost/vhost.c mm_segment_t oldfs = get_fs(); get_fs 1361 fs/binfmt_elf.c mm_segment_t fs = get_fs(); get_fs 1562 fs/binfmt_elf.c mm_segment_t old_fs = get_fs(); get_fs 2244 fs/binfmt_elf.c fs = get_fs(); get_fs 1681 fs/binfmt_elf_fdpic.c fs = get_fs(); get_fs 2142 fs/block_dev.c mm_segment_t old_fs = get_fs(); get_fs 599 fs/exec.c mm_segment_t oldfs = get_fs(); get_fs 2229 fs/io_uring.c old_fs = get_fs(); get_fs 2755 fs/io_uring.c old_fs = get_fs(); get_fs 609 fs/proc/proc_sysctl.c old_fs = get_fs(); get_fs 437 fs/read_write.c old_fs = get_fs(); get_fs 510 fs/read_write.c old_fs = get_fs(); get_fs 532 fs/read_write.c old_fs = get_fs(); get_fs 356 fs/splice.c old_fs = get_fs(); get_fs 80 include/asm-generic/uaccess.h #ifndef get_fs get_fs 266 include/linux/syscalls.h if (CHECK_DATA_CORRUPTION(!segment_eq(get_fs(), USER_DS), get_fs 9 include/linux/uaccess.h #define uaccess_kernel() segment_eq(get_fs(), KERNEL_DS) get_fs 909 kernel/bpf/cgroup.c old_fs = get_fs(); get_fs 221 kernel/events/callchain.c fs = get_fs(); get_fs 6177 kernel/events/core.c fs = get_fs(); get_fs 3361 kernel/module.c old_fs = get_fs(); get_fs 418 kernel/power/user.c old_fs = get_fs(); get_fs 442 kernel/power/user.c old_fs = get_fs(); get_fs 236 kernel/stacktrace.c fs = get_fs(); get_fs 297 lib/test_bitmap.c mm_segment_t orig_fs = get_fs(); get_fs 54 mm/maccess.c mm_segment_t old_fs = get_fs(); get_fs 80 mm/maccess.c mm_segment_t old_fs = get_fs(); get_fs 107 mm/maccess.c mm_segment_t old_fs = get_fs(); get_fs 133 mm/maccess.c mm_segment_t old_fs = get_fs(); get_fs 163 mm/maccess.c mm_segment_t old_fs = get_fs(); get_fs 205 mm/maccess.c mm_segment_t old_fs = get_fs(); get_fs 245 mm/maccess.c mm_segment_t old_fs = get_fs(); get_fs 442 net/ipv4/ipmr.c mm_segment_t oldfs = get_fs(); get_fs 490 net/ipv4/ipmr.c mm_segment_t oldfs = get_fs(); get_fs 2853 net/ipv6/addrconf.c mm_segment_t oldfs = get_fs(); get_fs 912 net/socket.c mm_segment_t oldfs = get_fs(); get_fs 2048 net/socket.c mm_segment_t oldfs = get_fs(); get_fs 3375 net/socket.c mm_segment_t old_fs = get_fs(); get_fs 3698 net/socket.c mm_segment_t oldfs = get_fs(); get_fs 3731 net/socket.c mm_segment_t oldfs = get_fs(); get_fs 198 security/integrity/iint.c old_fs = get_fs(); get_fs 274 tools/testing/selftests/kvm/lib/x86_64/vmx.c vmwrite(HOST_FS_SELECTOR, get_fs());