Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm64/kernel/
Dfpsimd.c134 if (current->mm && !test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_thread_switch()
150 TIF_FOREIGN_FPSTATE); in fpsimd_thread_switch()
153 TIF_FOREIGN_FPSTATE); in fpsimd_thread_switch()
161 set_thread_flag(TIF_FOREIGN_FPSTATE); in fpsimd_flush_thread()
171 if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_preserve_current_state()
184 if (test_and_clear_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_restore_current_state()
203 if (test_and_clear_thread_flag(TIF_FOREIGN_FPSTATE)) { in fpsimd_update_current_state()
245 !test_and_set_thread_flag(TIF_FOREIGN_FPSTATE)) in kernel_neon_begin_partial()
272 if (current->mm && !test_thread_flag(TIF_FOREIGN_FPSTATE)) in fpsimd_cpu_pm_notifier()
278 set_thread_flag(TIF_FOREIGN_FPSTATE); in fpsimd_cpu_pm_notifier()
/linux-4.1.27/arch/arm64/include/asm/
Dthread_info.h103 #define TIF_FOREIGN_FPSTATE 3 /* CPU's FP state is not current's */ macro
119 #define _TIF_FOREIGN_FPSTATE (1 << TIF_FOREIGN_FPSTATE)