Lines Matching refs:cached_flags

138 static void exit_to_usermode_loop(struct pt_regs *regs, u32 cached_flags)  in exit_to_usermode_loop()  argument
151 if (cached_flags & _TIF_NEED_RESCHED) in exit_to_usermode_loop()
154 if (cached_flags & _TIF_UPROBE) in exit_to_usermode_loop()
157 if (cached_flags & _TIF_PATCH_PENDING) in exit_to_usermode_loop()
161 if (cached_flags & _TIF_SIGPENDING) in exit_to_usermode_loop()
164 if (cached_flags & _TIF_NOTIFY_RESUME) { in exit_to_usermode_loop()
170 if (cached_flags & _TIF_USER_RETURN_NOTIFY) in exit_to_usermode_loop()
176 cached_flags = READ_ONCE(current_thread_info()->flags); in exit_to_usermode_loop()
178 if (!(cached_flags & EXIT_TO_USERMODE_LOOP_FLAGS)) in exit_to_usermode_loop()
187 u32 cached_flags; in prepare_exit_to_usermode() local
194 cached_flags = READ_ONCE(ti->flags); in prepare_exit_to_usermode()
196 if (unlikely(cached_flags & EXIT_TO_USERMODE_LOOP_FLAGS)) in prepare_exit_to_usermode()
197 exit_to_usermode_loop(regs, cached_flags); in prepare_exit_to_usermode()
221 static void syscall_slow_exit_work(struct pt_regs *regs, u32 cached_flags) in syscall_slow_exit_work() argument
227 if (cached_flags & _TIF_SYSCALL_TRACEPOINT) in syscall_slow_exit_work()
237 (cached_flags & (_TIF_SINGLESTEP | _TIF_SYSCALL_EMU)) in syscall_slow_exit_work()
239 if (step || cached_flags & _TIF_SYSCALL_TRACE) in syscall_slow_exit_work()
250 u32 cached_flags = READ_ONCE(ti->flags); in syscall_return_slowpath() local
264 if (unlikely(cached_flags & SYSCALL_EXIT_WORK_FLAGS)) in syscall_return_slowpath()
265 syscall_slow_exit_work(regs, cached_flags); in syscall_return_slowpath()