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()
55 if (current == last_task_used_math) { in restore_fpu_state()
56 last_task_used_math = NULL; in restore_fpu_state()
Dprocess_32.c64 struct task_struct *last_task_used_math = NULL; variable
183 if(last_task_used_math == current) {
192 last_task_used_math = NULL;
204 if(last_task_used_math == current) {
213 last_task_used_math = NULL;
309 if(last_task_used_math == current) {
430 if (current == last_task_used_math) {
436 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()
232 struct task_struct *fpt = last_task_used_math;
324 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 == current) { in exit_thread()
311 last_task_used_math = NULL; in exit_thread()
322 if (last_task_used_math == current) { in flush_thread()
323 last_task_used_math = NULL; in flush_thread()
353 if (current == last_task_used_math) { in dump_fpu()
357 last_task_used_math = 0; in dump_fpu()
381 if (last_task_used_math == current) { in copy_thread()
385 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.c159 if (current == last_task_used_math) { in restore_sigcontext_fpu()
160 last_task_used_math = NULL; in restore_sigcontext_fpu()
181 if (current == last_task_used_math) { in setup_sigcontext_fpu()
185 last_task_used_math = NULL; in setup_sigcontext_fpu()
/arch/powerpc/kernel/
Dfpu.S143 LOAD_REG_ADDRBASE(r3, last_task_used_math)
145 PPC_LL r4,ADDROFF(last_task_used_math)(r3)
181 PPC_STL r4,ADDROFF(last_task_used_math)(r3)
227 LOAD_REG_ADDRBASE(r4,last_task_used_math)
228 PPC_STL r5,ADDROFF(last_task_used_math)(r4)
Dprocess.c71 struct task_struct *last_task_used_math = NULL; variable
121 giveup_fpu(last_task_used_math); in enable_kernel_fp()
245 if (last_task_used_math == current) in discard_lazy_cpu_state()
246 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.h211 extern struct task_struct *last_task_used_math;
/arch/powerpc/include/asm/
Dprocessor.h82 extern struct task_struct *last_task_used_math;