Home
last modified time | relevance | path

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

/linux/kernel/entry/
H A Dvirt.c5 static int xfer_to_guest_mode_work(unsigned long ti_work) in xfer_to_guest_mode_work() argument
10 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() local
40 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 …]
/linux/include/linux/
H A Dirq-entry-common.h110 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() argument
145 unsigned long ti_work);
149 unsigned long ti_work) in arch_exit_to_user_mode_work() argument
164 unsigned long ti_work);
168 unsigned long ti_work) in arch_exit_to_user_mode_prepare() argument
201 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() local
224 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 …]
H A Dentry-virt.h33 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() argument
74 unsigned long ti_work = read_thread_flags(); in __xfer_to_guest_mode_work_pending() local
76 return !!(ti_work & XFER_TO_GUEST_MODE_WORK); in __xfer_to_guest_mode_work_pending()
H A Drseq_entry.h677 static __always_inline bool test_tif_rseq(unsigned long ti_work) in test_tif_rseq() argument
679 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() argument
693 rseq_exit_to_user_mode_restart(struct pt_regs *regs, unsigned long ti_work) in rseq_exit_to_user_mode_restart() argument
695 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() argument
773 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
/linux/arch/x86/include/asm/
H A Dentry-common.h48 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()
/linux/arch/s390/include/asm/
H A Dentry-common.h29 unsigned long ti_work) in arch_exit_to_user_mode_work() argument
31 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
/linux/arch/arm64/include/asm/
H A Dentry-common.h17 unsigned long ti_work) in arch_exit_to_user_mode_work() argument
19 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()