Lines Matching refs:cached_flags
225 static void exit_to_usermode_loop(struct pt_regs *regs, u32 cached_flags) in exit_to_usermode_loop() argument
239 if (cached_flags & _TIF_NEED_RESCHED) in exit_to_usermode_loop()
242 if (cached_flags & _TIF_UPROBE) in exit_to_usermode_loop()
246 if (cached_flags & _TIF_SIGPENDING) in exit_to_usermode_loop()
249 if (cached_flags & _TIF_NOTIFY_RESUME) { in exit_to_usermode_loop()
254 if (cached_flags & _TIF_USER_RETURN_NOTIFY) in exit_to_usermode_loop()
260 cached_flags = READ_ONCE(pt_regs_to_thread_info(regs)->flags); in exit_to_usermode_loop()
262 if (!(cached_flags & EXIT_TO_USERMODE_LOOP_FLAGS)) in exit_to_usermode_loop()
272 u32 cached_flags; in prepare_exit_to_usermode() local
279 cached_flags = READ_ONCE(ti->flags); in prepare_exit_to_usermode()
281 if (unlikely(cached_flags & EXIT_TO_USERMODE_LOOP_FLAGS)) in prepare_exit_to_usermode()
282 exit_to_usermode_loop(regs, cached_flags); in prepare_exit_to_usermode()
302 static void syscall_slow_exit_work(struct pt_regs *regs, u32 cached_flags) in syscall_slow_exit_work() argument
308 if (cached_flags & _TIF_SYSCALL_TRACEPOINT) in syscall_slow_exit_work()
318 (cached_flags & (_TIF_SINGLESTEP | _TIF_SYSCALL_EMU)) in syscall_slow_exit_work()
320 if (step || cached_flags & _TIF_SYSCALL_TRACE) in syscall_slow_exit_work()
331 u32 cached_flags = READ_ONCE(ti->flags); in syscall_return_slowpath() local
343 if (unlikely(cached_flags & SYSCALL_EXIT_WORK_FLAGS)) in syscall_return_slowpath()
344 syscall_slow_exit_work(regs, cached_flags); in syscall_return_slowpath()