Lines Matching refs:old_fs
65 mm_segment_t old_fs; in enable_sacf_uaccess() local
69 old_fs = current->thread.mm_segment; in enable_sacf_uaccess()
70 if (old_fs & 1) in enable_sacf_uaccess()
71 return old_fs; in enable_sacf_uaccess()
76 if (likely(old_fs == USER_DS)) { in enable_sacf_uaccess()
90 return old_fs; in enable_sacf_uaccess()
94 void disable_sacf_uaccess(mm_segment_t old_fs) in disable_sacf_uaccess() argument
96 current->thread.mm_segment = old_fs; in disable_sacf_uaccess()
97 if (old_fs == USER_DS && test_facility(27)) { in disable_sacf_uaccess()
138 mm_segment_t old_fs; in copy_from_user_mvcp() local
140 old_fs = enable_sacf_uaccess(); in copy_from_user_mvcp()
167 disable_sacf_uaccess(old_fs); in copy_from_user_mvcp()
213 mm_segment_t old_fs; in copy_to_user_mvcs() local
215 old_fs = enable_sacf_uaccess(); in copy_to_user_mvcs()
242 disable_sacf_uaccess(old_fs); in copy_to_user_mvcs()
280 mm_segment_t old_fs; in copy_in_user_mvc() local
283 old_fs = enable_sacf_uaccess(); in copy_in_user_mvc()
307 disable_sacf_uaccess(old_fs); in copy_in_user_mvc()
349 mm_segment_t old_fs; in clear_user_xc() local
352 old_fs = enable_sacf_uaccess(); in clear_user_xc()
381 disable_sacf_uaccess(old_fs); in clear_user_xc()
417 mm_segment_t old_fs; in __strnlen_user() local
422 old_fs = enable_sacf_uaccess(); in __strnlen_user()
424 disable_sacf_uaccess(old_fs); in __strnlen_user()