Lines Matching refs:cached_flags
135 static void exit_to_usermode_loop(struct pt_regs *regs, u32 cached_flags) in exit_to_usermode_loop() argument
148 if (cached_flags & _TIF_NEED_RESCHED) in exit_to_usermode_loop()
151 if (cached_flags & _TIF_UPROBE) in exit_to_usermode_loop()
154 if (cached_flags & _TIF_PATCH_PENDING) in exit_to_usermode_loop()
158 if (cached_flags & _TIF_SIGPENDING) in exit_to_usermode_loop()
161 if (cached_flags & _TIF_NOTIFY_RESUME) { in exit_to_usermode_loop()
167 if (cached_flags & _TIF_USER_RETURN_NOTIFY) in exit_to_usermode_loop()
173 cached_flags = READ_ONCE(current_thread_info()->flags); in exit_to_usermode_loop()
175 if (!(cached_flags & EXIT_TO_USERMODE_LOOP_FLAGS)) in exit_to_usermode_loop()
184 u32 cached_flags; in prepare_exit_to_usermode() local
191 cached_flags = READ_ONCE(ti->flags); in prepare_exit_to_usermode()
193 if (unlikely(cached_flags & EXIT_TO_USERMODE_LOOP_FLAGS)) in prepare_exit_to_usermode()
194 exit_to_usermode_loop(regs, cached_flags); in prepare_exit_to_usermode()
197 cached_flags = READ_ONCE(ti->flags); in prepare_exit_to_usermode()
200 if (unlikely(cached_flags & _TIF_NEED_FPU_LOAD)) in prepare_exit_to_usermode()
227 static void syscall_slow_exit_work(struct pt_regs *regs, u32 cached_flags) in syscall_slow_exit_work() argument
233 if (cached_flags & _TIF_SYSCALL_TRACEPOINT) in syscall_slow_exit_work()
243 (cached_flags & (_TIF_SINGLESTEP | _TIF_SYSCALL_EMU)) in syscall_slow_exit_work()
245 if (step || cached_flags & _TIF_SYSCALL_TRACE) in syscall_slow_exit_work()
256 u32 cached_flags = READ_ONCE(ti->flags); in syscall_return_slowpath() local
270 if (unlikely(cached_flags & SYSCALL_EXIT_WORK_FLAGS)) in syscall_return_slowpath()
271 syscall_slow_exit_work(regs, cached_flags); in syscall_return_slowpath()