/Linux-v4.19/arch/s390/lib/ |
D | uaccess.c | 65 mm_segment_t old_fs; in enable_sacf_uaccess() local 68 old_fs = current->thread.mm_segment; in enable_sacf_uaccess() 69 if (old_fs & 1) in enable_sacf_uaccess() 70 return old_fs; in enable_sacf_uaccess() 73 if (likely(old_fs == USER_DS)) { in enable_sacf_uaccess() 86 return old_fs; in enable_sacf_uaccess() 90 void disable_sacf_uaccess(mm_segment_t old_fs) in disable_sacf_uaccess() argument 92 current->thread.mm_segment = old_fs; in disable_sacf_uaccess() 93 if (old_fs == USER_DS && test_facility(27)) { in disable_sacf_uaccess() 134 mm_segment_t old_fs; in copy_from_user_mvcp() local [all …]
|
/Linux-v4.19/mm/ |
D | maccess.c | 29 mm_segment_t old_fs = get_fs(); in __probe_kernel_read() local 36 set_fs(old_fs); in __probe_kernel_read() 57 mm_segment_t old_fs = get_fs(); in __probe_kernel_write() local 63 set_fs(old_fs); in __probe_kernel_write() 88 mm_segment_t old_fs = get_fs(); in strncpy_from_unsafe() local 104 set_fs(old_fs); in strncpy_from_unsafe()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | futex.h | 29 mm_segment_t old_fs; in arch_futex_atomic_op_inuser() local 31 old_fs = enable_sacf_uaccess(); in arch_futex_atomic_op_inuser() 58 disable_sacf_uaccess(old_fs); in arch_futex_atomic_op_inuser() 69 mm_segment_t old_fs; in futex_atomic_cmpxchg_inatomic() local 72 old_fs = enable_sacf_uaccess(); in futex_atomic_cmpxchg_inatomic() 82 disable_sacf_uaccess(old_fs); in futex_atomic_cmpxchg_inatomic()
|
D | mmu_context.h | 90 void disable_sacf_uaccess(mm_segment_t old_fs);
|
/Linux-v4.19/arch/mips/kernel/ |
D | ftrace.c | 80 mm_segment_t old_fs; in ftrace_modify_code() local 88 old_fs = get_fs(); in ftrace_modify_code() 91 set_fs(old_fs); in ftrace_modify_code() 101 mm_segment_t old_fs; in ftrace_modify_code_2() local 113 old_fs = get_fs(); in ftrace_modify_code_2() 116 set_fs(old_fs); in ftrace_modify_code_2() 125 mm_segment_t old_fs; in ftrace_modify_code_2r() local 137 old_fs = get_fs(); in ftrace_modify_code_2r() 140 set_fs(old_fs); in ftrace_modify_code_2r()
|
D | kgdb.c | 212 mm_segment_t old_fs; in kgdb_call_nmi_hook() local 214 old_fs = get_fs(); in kgdb_call_nmi_hook() 219 set_fs(old_fs); in kgdb_call_nmi_hook() 311 mm_segment_t old_fs; in kgdb_mips_notify() local 327 old_fs = get_fs(); in kgdb_mips_notify() 334 set_fs(old_fs); in kgdb_mips_notify() 346 set_fs(old_fs); in kgdb_mips_notify()
|
D | vpe.c | 751 mm_segment_t old_fs; in getcwd() local 754 old_fs = get_fs(); in getcwd() 759 set_fs(old_fs); in getcwd()
|
D | traps.c | 200 mm_segment_t old_fs = get_fs(); in show_stack() local 227 set_fs(old_fs); in show_stack() 358 mm_segment_t old_fs = get_fs(); in show_registers() local 379 set_fs(old_fs); in show_registers() 1506 mm_segment_t old_fs = get_fs(); in do_mcheck() local 1522 set_fs(old_fs); in do_mcheck()
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | tlbflush.h | 16 mm_segment_t old_fs = get_fs(); in flush_tlb_kernel_page() local 22 set_fs(old_fs); in flush_tlb_kernel_page() 88 mm_segment_t old_fs = get_fs(); in flush_tlb_page() local 91 set_fs(old_fs); in flush_tlb_page()
|
/Linux-v4.19/kernel/power/ |
D | user.c | 420 mm_segment_t old_fs; in snapshot_compat_ioctl() local 423 old_fs = get_fs(); in snapshot_compat_ioctl() 426 set_fs(old_fs); in snapshot_compat_ioctl() 440 mm_segment_t old_fs; in snapshot_compat_ioctl() local 447 old_fs = get_fs(); in snapshot_compat_ioctl() 451 set_fs(old_fs); in snapshot_compat_ioctl()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | process_64.c | 112 mm_segment_t old_fs; in show_regwindow32() local 116 old_fs = get_fs(); in show_regwindow32() 119 set_fs (old_fs); in show_regwindow32() 123 set_fs (old_fs); in show_regwindow32() 142 mm_segment_t old_fs; in show_regwindow() local 151 old_fs = get_fs(); in show_regwindow() 154 set_fs (old_fs); in show_regwindow() 158 set_fs (old_fs); in show_regwindow()
|
D | perf_event.c | 1852 mm_segment_t old_fs; in perf_callchain_user() local 1859 old_fs = get_fs(); in perf_callchain_user() 1873 set_fs(old_fs); in perf_callchain_user()
|
/Linux-v4.19/security/integrity/ |
D | iint.c | 191 mm_segment_t old_fs; in integrity_kernel_read() local 198 old_fs = get_fs(); in integrity_kernel_read() 201 set_fs(old_fs); in integrity_kernel_read()
|
/Linux-v4.19/arch/m68k/kernel/ |
D | traps.c | 185 mm_segment_t old_fs = get_fs(); in probe040() local 196 set_fs(old_fs); in probe040() 205 mm_segment_t old_fs = get_fs(); in do_040writeback1() local 223 set_fs(old_fs); in do_040writeback1() 849 mm_segment_t old_fs = get_fs(); in show_registers() local 934 set_fs(old_fs); in show_registers()
|
/Linux-v4.19/net/ |
D | compat.c | 356 mm_segment_t old_fs; in do_set_sock_timeout() local 365 old_fs = get_fs(); in do_set_sock_timeout() 368 set_fs(old_fs); in do_set_sock_timeout() 425 mm_segment_t old_fs; in do_get_sock_timeout() local 434 old_fs = get_fs(); in do_get_sock_timeout() 437 set_fs(old_fs); in do_get_sock_timeout()
|
D | socket.c | 2750 mm_segment_t old_fs = get_fs(); in do_siocgstamp() local 2757 set_fs(old_fs); in do_siocgstamp() 2767 mm_segment_t old_fs = get_fs(); in do_siocgstampns() local 2774 set_fs(old_fs); in do_siocgstampns() 3043 mm_segment_t old_fs = get_fs(); in routing_ioctl() local 3086 set_fs(old_fs); in routing_ioctl()
|
/Linux-v4.19/fs/ |
D | read_write.c | 425 mm_segment_t old_fs; in kernel_read() local 428 old_fs = get_fs(); in kernel_read() 432 set_fs(old_fs); in kernel_read() 494 mm_segment_t old_fs; in __kernel_write() local 501 old_fs = get_fs(); in __kernel_write() 507 set_fs(old_fs); in __kernel_write() 520 mm_segment_t old_fs; in kernel_write() local 523 old_fs = get_fs(); in kernel_write() 527 set_fs(old_fs); in kernel_write()
|
D | splice.c | 355 mm_segment_t old_fs; in kernel_readv() local 359 old_fs = get_fs(); in kernel_readv() 363 set_fs(old_fs); in kernel_readv()
|
D | block_dev.c | 2061 mm_segment_t old_fs = get_fs(); in ioctl_by_bdev() local 2064 set_fs(old_fs); in ioctl_by_bdev()
|
D | binfmt_elf.c | 1585 mm_segment_t old_fs = get_fs(); in fill_siginfo_note() local 1588 set_fs(old_fs); in fill_siginfo_note()
|
/Linux-v4.19/arch/s390/kernel/ |
D | dis.c | 490 mm_segment_t old_fs; in show_code() local 495 old_fs = get_fs(); in show_code() 509 set_fs(old_fs); in show_code()
|
/Linux-v4.19/kernel/trace/ |
D | trace_kprobe.c | 231 mm_segment_t old_fs; in FETCH_FUNC_NAME() local 235 old_fs = get_fs(); in FETCH_FUNC_NAME() 245 set_fs(old_fs); in FETCH_FUNC_NAME()
|
/Linux-v4.19/drivers/s390/crypto/ |
D | pkey_api.c | 190 mm_segment_t old_fs = get_fs(); in _zcrypt_send_cprb() local 194 set_fs(old_fs); in _zcrypt_send_cprb()
|
/Linux-v4.19/arch/ia64/kernel/ |
D | unaligned.c | 1298 mm_segment_t old_fs = get_fs(); in ia64_handle_unaligned() local 1525 set_fs(old_fs); /* restore original address limit */ in ia64_handle_unaligned()
|
/Linux-v4.19/arch/arm64/kernel/ |
D | ptrace.c | 1367 mm_segment_t old_fs = get_fs(); in compat_ptrace_write_user() local 1380 set_fs(old_fs); in compat_ptrace_write_user()
|