Searched refs:ti_work (Results 1 – 7 of 7) 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_SIGPENDING | _TIF_NOTIFY_SIGNAL)) { in xfer_to_guest_mode_work()16 if (ti_work & _TIF_NEED_RESCHED) in xfer_to_guest_mode_work()19 if (ti_work & _TIF_NOTIFY_RESUME) in xfer_to_guest_mode_work()22 ret = arch_xfer_to_guest_mode_handle_work(vcpu, ti_work); in xfer_to_guest_mode_work()26 ti_work = read_thread_flags(); in xfer_to_guest_mode_work()27 } while (ti_work & XFER_TO_GUEST_MODE_WORK || need_resched()); in xfer_to_guest_mode_work()33 unsigned long ti_work; in xfer_to_guest_mode_handle_work() local43 ti_work = read_thread_flags(); in xfer_to_guest_mode_handle_work()44 if (!(ti_work & XFER_TO_GUEST_MODE_WORK)) in xfer_to_guest_mode_handle_work()[all …]
91 unsigned long ti_work) in exit_to_user_mode_loop() argument97 while (ti_work & EXIT_TO_USER_MODE_WORK) { in exit_to_user_mode_loop()99 local_irq_enable_exit_to_user(ti_work); in exit_to_user_mode_loop()101 if (ti_work & _TIF_NEED_RESCHED) in exit_to_user_mode_loop()104 if (ti_work & _TIF_UPROBE) in exit_to_user_mode_loop()107 if (ti_work & _TIF_PATCH_PENDING) in exit_to_user_mode_loop()110 if (ti_work & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) in exit_to_user_mode_loop()113 if (ti_work & _TIF_NOTIFY_RESUME) in exit_to_user_mode_loop()117 arch_exit_to_user_mode_work(regs, ti_work); in exit_to_user_mode_loop()129 ti_work = read_thread_flags(); in exit_to_user_mode_loop()[all …]
211 static inline void local_irq_enable_exit_to_user(unsigned long ti_work);214 static inline void local_irq_enable_exit_to_user(unsigned long ti_work) in local_irq_enable_exit_to_user() argument246 unsigned long ti_work);250 unsigned long ti_work) in arch_exit_to_user_mode_work() argument265 unsigned long ti_work);269 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument305 unsigned long ti_work);319 unsigned long ti_work; in exit_to_user_mode_prepare() local326 ti_work = read_thread_flags(); in exit_to_user_mode_prepare()327 if (unlikely(ti_work & EXIT_TO_USER_MODE_WORK)) in exit_to_user_mode_prepare()[all …]
35 unsigned long ti_work);39 unsigned long ti_work) in arch_xfer_to_guest_mode_handle_work() argument78 unsigned long ti_work = read_thread_flags(); in __xfer_to_guest_mode_work_pending() local80 return !!(ti_work & XFER_TO_GUEST_MODE_WORK); in __xfer_to_guest_mode_work_pending()
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()57 if (unlikely(ti_work & _TIF_NEED_FPU_LOAD)) in arch_exit_work()62 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument64 if (IS_ENABLED(CONFIG_X86_DEBUG_FPU) || unlikely(ti_work)) in arch_exit_to_user_mode_prepare()65 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
11 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument13 if (ti_work & _TIF_RISCV_V_DEFER_RESTORE) { in arch_exit_to_user_mode_prepare()