Lines Matching refs:old_fs
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
136 old_fs = enable_sacf_uaccess(); in copy_from_user_mvcp()
163 disable_sacf_uaccess(old_fs); in copy_from_user_mvcp()
209 mm_segment_t old_fs; in copy_to_user_mvcs() local
211 old_fs = enable_sacf_uaccess(); in copy_to_user_mvcs()
238 disable_sacf_uaccess(old_fs); in copy_to_user_mvcs()
276 mm_segment_t old_fs; in copy_in_user_mvc() local
279 old_fs = enable_sacf_uaccess(); in copy_in_user_mvc()
303 disable_sacf_uaccess(old_fs); in copy_in_user_mvc()
345 mm_segment_t old_fs; in clear_user_xc() local
348 old_fs = enable_sacf_uaccess(); in clear_user_xc()
377 disable_sacf_uaccess(old_fs); in clear_user_xc()
413 mm_segment_t old_fs; in __strnlen_user() local
418 old_fs = enable_sacf_uaccess(); in __strnlen_user()
420 disable_sacf_uaccess(old_fs); in __strnlen_user()