Searched refs:last_task_used_math (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/arch/sparc/kernel/
H A Dsigutil_32.c26 if (current == last_task_used_math) { save_fpu_state()
30 last_task_used_math = NULL; save_fpu_state()
59 if (current == last_task_used_math) { restore_fpu_state()
60 last_task_used_math = NULL; restore_fpu_state()
H A Dprocess_32.c67 struct task_struct *last_task_used_math = NULL; variable in typeref:struct:task_struct
190 if(last_task_used_math == current) {
199 last_task_used_math = NULL;
211 if(last_task_used_math == current) {
220 last_task_used_math = NULL;
316 if(last_task_used_math == current) {
437 if (current == last_task_used_math) { dump_fpu()
443 last_task_used_math = NULL; dump_fpu()
H A Dtraps_32.c190 if(last_task_used_math == current) do_fpd_trap()
192 if(last_task_used_math) { do_fpd_trap()
194 struct task_struct *fptask = last_task_used_math; do_fpd_trap()
198 last_task_used_math = current; do_fpd_trap()
230 struct task_struct *fpt = last_task_used_math;
322 last_task_used_math = NULL;
/linux-4.4.14/arch/sh/include/asm/
H A Dswitch_to_64.h26 if (last_task_used_math != next) { \
H A Dprocessor_64.h221 extern struct task_struct *last_task_used_math;
/linux-4.4.14/arch/sh/kernel/
H A Dprocess_64.c35 struct task_struct *last_task_used_math = NULL; variable in typeref:struct:task_struct
298 * last_task_used_math pointing to a live task_struct. When exit_thread()
302 * last_task_used_math before re-loading the new task's FPU state exit_thread()
304 * last_task_used_math is stale, and its page has already been exit_thread()
310 if (last_task_used_math == current) { exit_thread()
311 last_task_used_math = NULL; exit_thread()
322 if (last_task_used_math == current) { flush_thread()
323 last_task_used_math = NULL; flush_thread()
353 if (current == last_task_used_math) { dump_fpu()
357 last_task_used_math = 0; dump_fpu()
381 if (last_task_used_math == current) { copy_thread()
385 last_task_used_math = NULL; copy_thread()
H A Dptrace_64.c83 if (last_task_used_math == task) { get_fpu_long()
87 last_task_used_math = 0; get_fpu_long()
118 } else if (last_task_used_math == task) { put_fpu_long()
122 last_task_used_math = 0; put_fpu_long()
H A Dsignal_64.c155 if (current == last_task_used_math) { restore_sigcontext_fpu()
156 last_task_used_math = NULL; restore_sigcontext_fpu()
177 if (current == last_task_used_math) { setup_sigcontext_fpu()
181 last_task_used_math = NULL; setup_sigcontext_fpu()
H A Dtraps_64.c342 if (last_task_used_math == current) { misaligned_fpu_load()
346 last_task_used_math = NULL; misaligned_fpu_load()
412 if (last_task_used_math == current) { misaligned_fpu_store()
416 last_task_used_math = NULL; misaligned_fpu_store()
/linux-4.4.14/arch/powerpc/kernel/
H A Dfpu.S145 LOAD_REG_ADDRBASE(r3, last_task_used_math)
147 PPC_LL r4,ADDROFF(last_task_used_math)(r3)
151 addi r4,r4,THREAD /* want last_task_used_math->thread */
185 PPC_STL r4,ADDROFF(last_task_used_math)(r3)
235 LOAD_REG_ADDRBASE(r4,last_task_used_math)
236 PPC_STL r5,ADDROFF(last_task_used_math)(r4)
H A Dprocess.c71 struct task_struct *last_task_used_math = NULL; variable in typeref:struct:task_struct
165 giveup_fpu_maybe_transactional(last_task_used_math); enable_kernel_fp()
287 if (last_task_used_math == current) discard_lazy_cpu_state()
288 last_task_used_math = NULL; discard_lazy_cpu_state()
/linux-4.4.14/arch/sparc/include/asm/
H A Dsfp-machine_32.h179 extern struct task_struct *last_task_used_math;
187 #define FP_ROUNDMODE ((last_task_used_math->thread.fsr >> 30) & 0x3)
203 #define FP_INHIBIT_RESULTS ((last_task_used_math->thread.fsr >> 23) & _fex)
209 #define FP_TRAPPING_EXCEPTIONS ((last_task_used_math->thread.fsr >> 23) & 0x1f)
H A Dprocessor_32.h118 extern struct task_struct *last_task_used_math;
H A Dswitch_to_32.h32 if (last_task_used_math != (nxt)) \
/linux-4.4.14/arch/powerpc/include/asm/
H A Dprocessor.h92 extern struct task_struct *last_task_used_math;

Completed in 952 milliseconds