Searched refs:ti_work (Results 1 – 7 of 7) sorted by relevance
5 static int xfer_to_guest_mode_work(unsigned long ti_work) in xfer_to_guest_mode_work() argument10 if (ti_work & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) in xfer_to_guest_mode_work()13 if (ti_work & (_TIF_NEED_RESCHED | _TIF_NEED_RESCHED_LAZY)) in xfer_to_guest_mode_work()16 if (ti_work & _TIF_NOTIFY_RESUME) in xfer_to_guest_mode_work()19 ret = arch_xfer_to_guest_mode_handle_work(ti_work); in xfer_to_guest_mode_work()23 ti_work = read_thread_flags(); in xfer_to_guest_mode_work()24 } while (ti_work & XFER_TO_GUEST_MODE_WORK); in xfer_to_guest_mode_work()30 unsigned long ti_work; in xfer_to_guest_mode_handle_work() local40 ti_work = read_thread_flags(); in xfer_to_guest_mode_handle_work()41 if (!(ti_work & XFER_TO_GUEST_MODE_WORK)) in xfer_to_guest_mode_handle_work()[all …]
110 static inline void local_irq_enable_exit_to_user(unsigned long ti_work);113 static __always_inline void local_irq_enable_exit_to_user(unsigned long ti_work) in local_irq_enable_exit_to_user() argument145 unsigned long ti_work);149 unsigned long ti_work) in arch_exit_to_user_mode_work() argument164 unsigned long ti_work);168 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument201 unsigned long exit_to_user_mode_loop(struct pt_regs *regs, unsigned long ti_work);217 unsigned long ti_work; in __exit_to_user_mode_prepare() local224 ti_work = read_thread_flags(); in __exit_to_user_mode_prepare()225 if (unlikely(ti_work & EXIT_TO_USER_MODE_WORK)) in __exit_to_user_mode_prepare()[all …]
33 static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work);36 static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work) in arch_xfer_to_guest_mode_handle_work() argument74 unsigned long ti_work = read_thread_flags(); in __xfer_to_guest_mode_work_pending() local76 return !!(ti_work & XFER_TO_GUEST_MODE_WORK); in __xfer_to_guest_mode_work_pending()
677 static __always_inline bool test_tif_rseq(unsigned long ti_work) in test_tif_rseq() argument679 return ti_work & _TIF_RSEQ; in test_tif_rseq()688 static __always_inline bool test_tif_rseq(unsigned long ti_work) { return true; } in test_tif_rseq() argument693 rseq_exit_to_user_mode_restart(struct pt_regs *regs, unsigned long ti_work) in rseq_exit_to_user_mode_restart() argument695 if (unlikely(test_tif_rseq(ti_work))) { in rseq_exit_to_user_mode_restart()711 static inline bool rseq_exit_to_user_mode_restart(struct pt_regs *regs, unsigned long ti_work) in rseq_exit_to_user_mode_restart() argument773 static inline bool rseq_exit_to_user_mode_restart(struct pt_regs *regs, unsigned long ti_work) in rseq_exit_to_user_mode_restart() argument
48 static inline void arch_exit_work(unsigned long ti_work) in arch_exit_work() argument50 if (ti_work & _TIF_USER_RETURN_NOTIFY) in arch_exit_work()53 if (unlikely(ti_work & _TIF_IO_BITMAP)) in arch_exit_work()56 if (unlikely(ti_work & _TIF_NEED_FPU_LOAD)) in arch_exit_work()61 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument65 if (unlikely(ti_work)) in arch_exit_to_user_mode_prepare()66 arch_exit_work(ti_work); in arch_exit_to_user_mode_prepare()
29 unsigned long ti_work) in arch_exit_to_user_mode_work() argument31 if (ti_work & _TIF_PER_TRAP) { in arch_exit_to_user_mode_work()36 if (ti_work & _TIF_GUARDED_STORAGE) in arch_exit_to_user_mode_work()55 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument
17 unsigned long ti_work) in arch_exit_to_user_mode_work() argument19 if (ti_work & _TIF_MTE_ASYNC_FAULT) { in arch_exit_to_user_mode_work()24 if (ti_work & _TIF_FOREIGN_FPSTATE) in arch_exit_to_user_mode_work()