Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dsigutil_32.c26 if (current == last_task_used_math) { in save_fpu_state()
30 last_task_used_math = NULL; in save_fpu_state()
59 if (current == last_task_used_math) { in restore_fpu_state()
60 last_task_used_math = NULL; in restore_fpu_state()
Dprocess_32.c67 struct task_struct *last_task_used_math = NULL; variable
190 if (last_task_used_math == tsk) {
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) {
443 last_task_used_math = NULL;
Dtraps_32.c190 if(last_task_used_math == current) in do_fpd_trap()
192 if(last_task_used_math) { in do_fpd_trap()
194 struct task_struct *fptask = last_task_used_math; in do_fpd_trap()
198 last_task_used_math = current; in do_fpd_trap()
230 struct task_struct *fpt = last_task_used_math;
322 last_task_used_math = NULL;
/arch/sh/kernel/
Dprocess_64.c35 struct task_struct *last_task_used_math = NULL; variable
310 if (last_task_used_math == tsk) in exit_thread()
311 last_task_used_math = NULL; in exit_thread()
321 if (last_task_used_math == current) { in flush_thread()
322 last_task_used_math = NULL; in flush_thread()
352 if (current == last_task_used_math) { in dump_fpu()
356 last_task_used_math = 0; in dump_fpu()
380 if (last_task_used_math == current) { in copy_thread()
384 last_task_used_math = NULL; in copy_thread()
Dptrace_64.c83 if (last_task_used_math == task) { in get_fpu_long()
87 last_task_used_math = 0; in get_fpu_long()
118 } else if (last_task_used_math == task) { in put_fpu_long()
122 last_task_used_math = 0; in put_fpu_long()
Dtraps_64.c342 if (last_task_used_math == current) { in misaligned_fpu_load()
346 last_task_used_math = NULL; in misaligned_fpu_load()
412 if (last_task_used_math == current) { in misaligned_fpu_store()
416 last_task_used_math = NULL; in misaligned_fpu_store()
Dsignal_64.c155 if (current == last_task_used_math) { in restore_sigcontext_fpu()
156 last_task_used_math = NULL; in restore_sigcontext_fpu()
177 if (current == last_task_used_math) { in setup_sigcontext_fpu()
181 last_task_used_math = NULL; in setup_sigcontext_fpu()
/arch/powerpc/kernel/
Dfpu.S145 LOAD_REG_ADDRBASE(r3, last_task_used_math)
147 PPC_LL r4,ADDROFF(last_task_used_math)(r3)
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)
Dprocess.c71 struct task_struct *last_task_used_math = NULL; variable
165 giveup_fpu_maybe_transactional(last_task_used_math); in enable_kernel_fp()
288 if (last_task_used_math == current) in discard_lazy_cpu_state()
289 last_task_used_math = NULL; in discard_lazy_cpu_state()
/arch/sparc/include/asm/
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)
Dswitch_to_32.h32 if (last_task_used_math != (nxt)) \
Dprocessor_32.h118 extern struct task_struct *last_task_used_math;
/arch/sh/include/asm/
Dswitch_to_64.h26 if (last_task_used_math != next) { \
Dprocessor_64.h221 extern struct task_struct *last_task_used_math;
/arch/powerpc/include/asm/
Dprocessor.h92 extern struct task_struct *last_task_used_math;