Home
last modified time | relevance | path

Searched refs:old_fs (Results 1 – 13 of 13) sorted by relevance

/arch/s390/lib/
Duaccess.c65 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 …]
/arch/s390/include/asm/
Dfutex.h29 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()
Dmmu_context.h86 void disable_sacf_uaccess(mm_segment_t old_fs);
/arch/mips/kernel/
Dftrace.c80 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()
Dkgdb.c213 mm_segment_t old_fs; in kgdb_call_nmi_hook() local
215 old_fs = get_fs(); in kgdb_call_nmi_hook()
220 set_fs(old_fs); in kgdb_call_nmi_hook()
305 mm_segment_t old_fs; in kgdb_mips_notify() local
321 old_fs = get_fs(); in kgdb_mips_notify()
328 set_fs(old_fs); in kgdb_mips_notify()
340 set_fs(old_fs); in kgdb_mips_notify()
Dvpe.c751 mm_segment_t old_fs; in getcwd() local
754 old_fs = get_fs(); in getcwd()
759 set_fs(old_fs); in getcwd()
Dtraps.c201 mm_segment_t old_fs = get_fs(); in show_stack() local
228 set_fs(old_fs); in show_stack()
361 mm_segment_t old_fs = get_fs(); in show_registers() local
382 set_fs(old_fs); in show_registers()
1536 mm_segment_t old_fs = get_fs(); in do_mcheck() local
1552 set_fs(old_fs); in do_mcheck()
/arch/m68k/include/asm/
Dtlbflush.h16 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()
/arch/sparc/kernel/
Dprocess_64.c113 mm_segment_t old_fs; in show_regwindow32() local
117 old_fs = get_fs(); in show_regwindow32()
120 set_fs (old_fs); in show_regwindow32()
124 set_fs (old_fs); in show_regwindow32()
143 mm_segment_t old_fs; in show_regwindow() local
152 old_fs = get_fs(); in show_regwindow()
155 set_fs (old_fs); in show_regwindow()
159 set_fs (old_fs); in show_regwindow()
/arch/m68k/kernel/
Dtraps.c185 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()
/arch/s390/kernel/
Ddis.c490 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()
/arch/ia64/kernel/
Dunaligned.c1298 mm_segment_t old_fs = get_fs(); in ia64_handle_unaligned() local
1524 set_fs(old_fs); /* restore original address limit */ in ia64_handle_unaligned()
/arch/arm64/kernel/
Dptrace.c1539 mm_segment_t old_fs = get_fs(); in compat_ptrace_write_user() local
1552 set_fs(old_fs); in compat_ptrace_write_user()