Searched refs:TIF_FOREIGN_FPSTATE (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/arch/arm64/kernel/
H A Dfpsimd.c59 * As an optimization, we use the thread_info flag TIF_FOREIGN_FPSTATE to
68 * variable points to the task's fpsimd_state, the TIF_FOREIGN_FPSTATE flag is
71 * - the task returns to userland; if TIF_FOREIGN_FPSTATE is set, the task's
75 * TIF_FOREIGN_FPSTATE flag is cleared;
78 * TIF_FOREIGN_FPSTATE flag will still be cleared, so no FPSIMD state is
84 * and sets the TIF_FOREIGN_FPSTATE flag;
87 * returned from the 2nd syscall yet, TIF_FOREIGN_FPSTATE is still set so
135 if (current->mm && !test_thread_flag(TIF_FOREIGN_FPSTATE)) fpsimd_thread_switch()
143 * the TIF_FOREIGN_FPSTATE flag so the state will be loaded fpsimd_thread_switch()
151 TIF_FOREIGN_FPSTATE); fpsimd_thread_switch() local
154 TIF_FOREIGN_FPSTATE); fpsimd_thread_switch() local
162 set_thread_flag(TIF_FOREIGN_FPSTATE); fpsimd_flush_thread()
172 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) fpsimd_preserve_current_state()
185 if (test_and_clear_thread_flag(TIF_FOREIGN_FPSTATE)) { fpsimd_restore_current_state()
204 if (test_and_clear_thread_flag(TIF_FOREIGN_FPSTATE)) { fpsimd_update_current_state()
246 !test_and_set_thread_flag(TIF_FOREIGN_FPSTATE)) kernel_neon_begin_partial()
273 if (current->mm && !test_thread_flag(TIF_FOREIGN_FPSTATE)) fpsimd_cpu_pm_notifier()
279 set_thread_flag(TIF_FOREIGN_FPSTATE); fpsimd_cpu_pm_notifier()
H A Dentry.S628 /* TIF_SIGPENDING, TIF_NOTIFY_RESUME or TIF_FOREIGN_FPSTATE case */
/linux-4.4.14/arch/arm64/include/asm/
H A Dthread_info.h105 #define TIF_FOREIGN_FPSTATE 3 /* CPU's FP state is not current's */ macro
120 #define _TIF_FOREIGN_FPSTATE (1 << TIF_FOREIGN_FPSTATE)

Completed in 225 milliseconds