Home
last modified time | relevance | path

Searched refs:tsk_used_math (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/arch/sh/kernel/cpu/
Dfpu.c9 if (tsk_used_math(tsk)) { in init_fpu()
60 if (!tsk_used_math(tsk)) { in fpu_state_restore()
/linux-4.1.27/arch/sh/kernel/
Dptrace_64.c74 if (!tsk_used_math(task)) { in get_fpu_long()
116 if (!tsk_used_math(task)) { in put_fpu_long()
251 return tsk_used_math(target) ? regset->n : 0; in fpregs_active()
412 tmp = !!tsk_used_math(child); in arch_ptrace()
Dptrace_32.c229 return tsk_used_math(target) ? regset->n : 0; in fpregs_active()
390 if (!tsk_used_math(child)) { in arch_ptrace()
405 tmp = !!tsk_used_math(child); in arch_ptrace()
Dprocess_32.c112 fpvalid = !!tsk_used_math(tsk); in dump_fpu()
Dprocess_64.c351 fpvalid = !!tsk_used_math(tsk); in dump_fpu()
/linux-4.1.27/arch/mips/kernel/
Dptrace32.c94 if (!tsk_used_math(child)) { in compat_arch_ptrace()
200 if (!tsk_used_math(child)) { in compat_arch_ptrace()
Dptrace.c53 if (tsk_used_math(target)) in init_fp_ctx()
156 if (tsk_used_math(child)) { in ptrace_getfpregs()
608 if (!tsk_used_math(child)) { in arch_ptrace()
/linux-4.1.27/arch/x86/kernel/
Di387.c267 if (tsk_used_math(tsk)) { in init_fpu()
295 return tsk_used_math(target) ? regset->n : 0; in fpregs_active()
300 return (cpu_has_fxsr && tsk_used_math(target)) ? regset->n : 0; in xfpregs_active()
Dprocess.c94 if (tsk_used_math(src)) { in arch_dup_task_struct()
160 if (!tsk_used_math(tsk)) { in flush_thread()
Dtraps.c844 if (!tsk_used_math(tsk)) { in math_state_restore()
/linux-4.1.27/arch/m32r/kernel/
Dptrace.c115 if (!tsk_used_math(tsk)) { in ptrace_read_user()
124 tmp = !!tsk_used_math(tsk); in ptrace_read_user()
/linux-4.1.27/arch/frv/kernel/
Dptrace.c148 return tsk_used_math(target) ? regset->n : 0; in fpmregs_active()
/linux-4.1.27/arch/x86/include/asm/
Dfpu-internal.h443 fpu.preload = tsk_used_math(new) && in switch_fpu_prepare()
/linux-4.1.27/include/linux/
Dsched.h2016 #define tsk_used_math(p) ((p)->flags & PF_USED_MATH) macro
2017 #define used_math() tsk_used_math(current)
/linux-4.1.27/arch/x86/kvm/
Dx86.c6607 if (!tsk_used_math(current) && init_fpu(current)) in kvm_arch_vcpu_ioctl_run()