Searched refs:ti_work (Results 1 – 6 of 6) sorted by relevance
6 static int xfer_to_guest_mode_work(struct kvm_vcpu *vcpu, unsigned long ti_work) in xfer_to_guest_mode_work() argument11 if (ti_work & _TIF_NOTIFY_SIGNAL) in xfer_to_guest_mode_work()14 if (ti_work & _TIF_SIGPENDING) { in xfer_to_guest_mode_work()19 if (ti_work & _TIF_NEED_RESCHED) in xfer_to_guest_mode_work()22 if (ti_work & _TIF_NOTIFY_RESUME) in xfer_to_guest_mode_work()25 ret = arch_xfer_to_guest_mode_handle_work(vcpu, ti_work); in xfer_to_guest_mode_work()29 ti_work = READ_ONCE(current_thread_info()->flags); in xfer_to_guest_mode_work()30 } while (ti_work & XFER_TO_GUEST_MODE_WORK || need_resched()); in xfer_to_guest_mode_work()36 unsigned long ti_work; in xfer_to_guest_mode_handle_work() local46 ti_work = READ_ONCE(current_thread_info()->flags); in xfer_to_guest_mode_handle_work()[all …]
143 static void handle_signal_work(struct pt_regs *regs, unsigned long ti_work) in handle_signal_work() argument145 if (ti_work & _TIF_NOTIFY_SIGNAL) in handle_signal_work()148 arch_do_signal_or_restart(regs, ti_work & _TIF_SIGPENDING); in handle_signal_work()152 unsigned long ti_work) in exit_to_user_mode_loop() argument158 while (ti_work & EXIT_TO_USER_MODE_WORK) { in exit_to_user_mode_loop()160 local_irq_enable_exit_to_user(ti_work); in exit_to_user_mode_loop()162 if (ti_work & _TIF_NEED_RESCHED) in exit_to_user_mode_loop()165 if (ti_work & _TIF_UPROBE) in exit_to_user_mode_loop()168 if (ti_work & _TIF_PATCH_PENDING) in exit_to_user_mode_loop()171 if (ti_work & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) in exit_to_user_mode_loop()[all …]
191 static inline void local_irq_enable_exit_to_user(unsigned long ti_work);194 static inline void local_irq_enable_exit_to_user(unsigned long ti_work) in local_irq_enable_exit_to_user() argument226 unsigned long ti_work);230 unsigned long ti_work) in arch_exit_to_user_mode_work() argument245 unsigned long ti_work);249 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument
35 unsigned long ti_work);39 unsigned long ti_work) in arch_xfer_to_guest_mode_handle_work() argument78 unsigned long ti_work = READ_ONCE(current_thread_info()->flags); in __xfer_to_guest_mode_work_pending() local80 return !!(ti_work & XFER_TO_GUEST_MODE_WORK); in __xfer_to_guest_mode_work_pending()
28 unsigned long ti_work) in arch_exit_to_user_mode_work() argument30 if (ti_work & _TIF_PER_TRAP) { in arch_exit_to_user_mode_work()35 if (ti_work & _TIF_GUARDED_STORAGE) in arch_exit_to_user_mode_work()53 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument
48 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument50 if (ti_work & _TIF_USER_RETURN_NOTIFY) in arch_exit_to_user_mode_prepare()53 if (unlikely(ti_work & _TIF_IO_BITMAP)) in arch_exit_to_user_mode_prepare()57 if (unlikely(ti_work & _TIF_NEED_FPU_LOAD)) in arch_exit_to_user_mode_prepare()