Home
last modified time | relevance | path

Searched refs:ti_work (Results 1 – 2 of 2) sorted by relevance

/kernel/entry/
Dkvm.c6 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) 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() local
43 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 …]
Dcommon.c148 unsigned long ti_work) in exit_to_user_mode_loop() argument
154 while (ti_work & EXIT_TO_USER_MODE_WORK) { in exit_to_user_mode_loop()
156 local_irq_enable_exit_to_user(ti_work); in exit_to_user_mode_loop()
158 if (ti_work & _TIF_NEED_RESCHED) in exit_to_user_mode_loop()
161 if (ti_work & _TIF_UPROBE) in exit_to_user_mode_loop()
164 if (ti_work & _TIF_PATCH_PENDING) in exit_to_user_mode_loop()
167 if (ti_work & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) in exit_to_user_mode_loop()
170 if (ti_work & _TIF_NOTIFY_RESUME) in exit_to_user_mode_loop()
174 arch_exit_to_user_mode_work(regs, ti_work); in exit_to_user_mode_loop()
186 ti_work = read_thread_flags(); in exit_to_user_mode_loop()
[all …]