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() argument 11 if (ti_work & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) { in xfer_to_guest_mode_work() 16 if (ti_work & (_TIF_NEED_RESCHED | _TIF_NEED_RESCHED_LAZY)) 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); in xfer_to_guest_mode_work() 33 unsigned long ti_work; in xfer_to_guest_mode_handle_work() local 43 ti_work = read_thread_flags(); in xfer_to_guest_mode_handle_work() 44 if (!(ti_work in xfer_to_guest_mode_handle_work() [all...]
17 * @ti_work: TIF work flags as read by the caller20 unsigned long ti_work) in exit_to_user_mode_loop() argument 26 while (ti_work & EXIT_TO_USER_MODE_WORK) { in exit_to_user_mode_loop() 28 local_irq_enable_exit_to_user(ti_work); in exit_to_user_mode_loop() 30 if (ti_work & (_TIF_NEED_RESCHED | _TIF_NEED_RESCHED_LAZY)) in exit_to_user_mode_loop() 33 if (ti_work & _TIF_UPROBE) in exit_to_user_mode_loop() 36 if (ti_work & _TIF_PATCH_PENDING) in exit_to_user_mode_loop() 39 if (ti_work & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) in exit_to_user_mode_loop() 42 if (ti_work & _TIF_NOTIFY_RESUME) in exit_to_user_mode_loop() 46 arch_exit_to_user_mode_work(regs, ti_work); in exit_to_user_mode_loop() [all...]
103 * @ti_work: Cached TIF flags gathered with interrupts disabled108 static inline void local_irq_enable_exit_to_user(unsigned long ti_work);111 static inline void local_irq_enable_exit_to_user(unsigned long ti_work) in local_irq_enable_exit_to_user() argument 136 * @ti_work: Cached TIF flags gathered with interrupts disabled143 unsigned long ti_work);147 unsigned long ti_work) in arch_exit_to_user_mode_work() argument 156 * @ti_work: Cached TIF flags gathered with interrupts disabled162 unsigned long ti_work);166 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument 202 unsigned long ti_work);216 unsigned long ti_work; exit_to_user_mode_prepare() local [all...]
30 * @ti_work: Cached TIF flags gathered in xfer_to_guest_mode_handle_work()36 unsigned long ti_work);40 unsigned long ti_work) in arch_xfer_to_guest_mode_handle_work() argument 79 unsigned long ti_work = read_thread_flags(); in __xfer_to_guest_mode_work_pending() local 81 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() argument 50 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() argument 65 if (unlikely(ti_work)) in arch_exit_to_user_mode_prepare() 66 arch_exit_work(ti_work); in arch_exit_to_user_mode_prepare()
11 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument 13 if (ti_work & _TIF_RISCV_V_DEFER_RESTORE) { in arch_exit_to_user_mode_prepare()