Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm64/kernel/
Dfpsimd.c135 if (current->mm && !test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_thread_switch()
151 TIF_FOREIGN_FPSTATE); in fpsimd_thread_switch()
154 TIF_FOREIGN_FPSTATE); in fpsimd_thread_switch()
162 set_thread_flag(TIF_FOREIGN_FPSTATE); in fpsimd_flush_thread()
172 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_preserve_current_state()
185 if (test_and_clear_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_restore_current_state()
204 if (test_and_clear_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_update_current_state()
246 !test_and_set_thread_flag(TIF_FOREIGN_FPSTATE)) in kernel_neon_begin_partial()
273 if (current->mm && !test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_cpu_pm_notifier()
279 set_thread_flag(TIF_FOREIGN_FPSTATE); in fpsimd_cpu_pm_notifier()
/linux-4.4.14/arch/arm64/include/asm/
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)