Searched refs:old_fs (Results 1 – 13 of 13) sorted by relevance
65 mm_segment_t old_fs; in enable_sacf_uaccess() local68 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() argument92 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 …]
29 mm_segment_t old_fs; in arch_futex_atomic_op_inuser() local31 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() local72 old_fs = enable_sacf_uaccess(); in futex_atomic_cmpxchg_inatomic()82 disable_sacf_uaccess(old_fs); in futex_atomic_cmpxchg_inatomic()
86 void disable_sacf_uaccess(mm_segment_t old_fs);
80 mm_segment_t old_fs; in ftrace_modify_code() local88 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() local113 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() local137 old_fs = get_fs(); in ftrace_modify_code_2r()140 set_fs(old_fs); in ftrace_modify_code_2r()
213 mm_segment_t old_fs; in kgdb_call_nmi_hook() local215 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() local321 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()
751 mm_segment_t old_fs; in getcwd() local754 old_fs = get_fs(); in getcwd()759 set_fs(old_fs); in getcwd()
201 mm_segment_t old_fs = get_fs(); in show_stack() local228 set_fs(old_fs); in show_stack()361 mm_segment_t old_fs = get_fs(); in show_registers() local382 set_fs(old_fs); in show_registers()1536 mm_segment_t old_fs = get_fs(); in do_mcheck() local1552 set_fs(old_fs); in do_mcheck()
16 mm_segment_t old_fs = get_fs(); in flush_tlb_kernel_page() local22 set_fs(old_fs); in flush_tlb_kernel_page()88 mm_segment_t old_fs = get_fs(); in flush_tlb_page() local91 set_fs(old_fs); in flush_tlb_page()
113 mm_segment_t old_fs; in show_regwindow32() local117 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() local152 old_fs = get_fs(); in show_regwindow()155 set_fs (old_fs); in show_regwindow()159 set_fs (old_fs); in show_regwindow()
185 mm_segment_t old_fs = get_fs(); in probe040() local196 set_fs(old_fs); in probe040()205 mm_segment_t old_fs = get_fs(); in do_040writeback1() local223 set_fs(old_fs); in do_040writeback1()849 mm_segment_t old_fs = get_fs(); in show_registers() local934 set_fs(old_fs); in show_registers()
490 mm_segment_t old_fs; in show_code() local495 old_fs = get_fs(); in show_code()509 set_fs(old_fs); in show_code()
1298 mm_segment_t old_fs = get_fs(); in ia64_handle_unaligned() local1524 set_fs(old_fs); /* restore original address limit */ in ia64_handle_unaligned()
1539 mm_segment_t old_fs = get_fs(); in compat_ptrace_write_user() local1552 set_fs(old_fs); in compat_ptrace_write_user()