Home
last modified time | relevance | path

Searched refs:fpregs_active (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/arch/x86/kernel/fpu/
Dcore.c76 return !current->thread.fpu.fpregs_active && (read_cr0() & X86_CR0_TS); in interrupted_kernel_fpu_idle()
116 if (fpu->fpregs_active) { in __kernel_fpu_begin()
129 if (fpu->fpregs_active) in __kernel_fpu_end()
191 if (fpu->fpregs_active) { in fpu__save()
270 dst_fpu->fpregs_active = 0; in fpu__copy()
310 if (fpu->fpregs_active) { in fpu__activate_fpstate_read()
391 if (fpu->fpregs_active) { in fpu__drop()
Dsignal.c170 if (fpregs_active()) { in copy_fpstate_to_sigframe()
/linux-4.4.14/arch/x86/include/asm/fpu/
Dinternal.h526 WARN_ON_FPU(!fpu->fpregs_active); in __fpregs_deactivate()
528 fpu->fpregs_active = 0; in __fpregs_deactivate()
535 WARN_ON_FPU(fpu->fpregs_active); in __fpregs_activate()
537 fpu->fpregs_active = 1; in __fpregs_activate()
551 static inline int fpregs_active(void) in fpregs_active() function
553 return current->thread.fpu.fpregs_active; in fpregs_active()
601 if (old_fpu->fpregs_active) { in switch_fpu_prepare()
608 old_fpu->fpregs_active = 0; in switch_fpu_prepare()
662 if (!fpregs_active()) in user_fpu_begin()
Dtypes.h303 unsigned char fpregs_active; member
/linux-4.4.14/drivers/lguest/x86/
Dcore.c254 if (cpu->ts && fpregs_active()) in lguest_arch_run_guest()
286 if (cpu->ts && fpregs_active()) in lguest_arch_run_guest()
304 else if (cpu->regs->trapnum == 7 && !fpregs_active()) in lguest_arch_run_guest()
/linux-4.4.14/arch/sh/kernel/
Dptrace_64.c248 static int fpregs_active(struct task_struct *target, in fpregs_active() function
369 .active = fpregs_active,
Dptrace_32.c226 static int fpregs_active(struct task_struct *target, in fpregs_active() function
342 .active = fpregs_active,
/linux-4.4.14/arch/ia64/kernel/
Dptrace.c1882 fpregs_active(struct task_struct *target, const struct user_regset *regset) in fpregs_active() function
2116 .get = fpregs_get, .set = fpregs_set, .active = fpregs_active
/linux-4.4.14/arch/x86/kvm/
Dvmx.c1977 if (!fpregs_active() && !vmx->vcpu.guest_fpu_loaded) in __vmx_load_host_state()