Home
last modified time | relevance | path

Searched refs:TIF_NEED_FPU_LOAD (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/arch/x86/kernel/fpu/
H A Dcore.c344 if (!cur_fps->is_confidential && !test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_swap_kvm_fpstate()
439 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask()
440 set_thread_flag(TIF_NEED_FPU_LOAD); in kernel_fpu_begin_mask()
475 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_sync_fpstate()
611 set_tsk_thread_flag(dst, TIF_NEED_FPU_LOAD); in fpu_clone()
640 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_clone()
741 set_thread_flag(TIF_NEED_FPU_LOAD); in fpu_reset_fpregs()
814 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_lock_and_load()
828 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
842 clear_thread_flag(TIF_NEED_FPU_LOAD); in fpregs_mark_activate()
H A Dsignal.c72 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in save_fsave_header()
223 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in copy_fpstate_to_sigframe()
301 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in restore_fpregs_from_user()
323 if (test_thread_flag(TIF_NEED_FPU_LOAD) && xfeatures_mask_supervisor()) in restore_fpregs_from_user()
373 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu_restore_sig()
384 set_thread_flag(TIF_NEED_FPU_LOAD); in __fpu_restore_sig()
H A Dcontext.h79 clear_thread_flag(TIF_NEED_FPU_LOAD); in fpregs_restore_userregs()
H A Dxstate.c1543 if (in_use && test_thread_flag(TIF_NEED_FPU_LOAD)) in fpstate_realloc()
/linux-6.15/arch/x86/include/asm/
H A Dthread_info.h98 #define TIF_NEED_FPU_LOAD 14 /* load FPU on return to userspace */ macro
122 #define _TIF_NEED_FPU_LOAD (1 << TIF_NEED_FPU_LOAD)
/linux-6.15/arch/x86/include/asm/fpu/
H A Dsched.h68 set_tsk_thread_flag(new, TIF_NEED_FPU_LOAD); in switch_fpu_finish()
/linux-6.15/arch/x86/include/asm/trace/
H A Dfpu.h23 __entry->load_fpu = test_thread_flag(TIF_NEED_FPU_LOAD);
/linux-6.15/arch/x86/kvm/
H A Dfpu.h103 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in kvm_fpu_get()
H A Dx86.c10975 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in vcpu_enter_guest()
/linux-6.15/arch/x86/kernel/
H A Dprocess_32.c163 if (!test_tsk_thread_flag(prev_p, TIF_NEED_FPU_LOAD)) in __switch_to()
H A Dprocess_64.c619 if (!test_tsk_thread_flag(prev_p, TIF_NEED_FPU_LOAD)) in __switch_to()