Home
last modified time | relevance | path

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

/Linux-v5.10/arch/nds32/include/asm/
Dfpu.h78 if (last_task_used_math == current) {
79 last_task_used_math = NULL;
93 if (last_task_used_math != current) {
94 if (last_task_used_math != NULL)
95 save_fpu(last_task_used_math);
97 last_task_used_math = current;
Dprocessor.h79 extern struct task_struct *last_task_used_math;
/Linux-v5.10/arch/nds32/kernel/
Dfpu.c146 if (last_task_used_math != NULL) in store_fpu_for_suspend()
147 save_fpu(last_task_used_math); in store_fpu_for_suspend()
148 last_task_used_math = NULL; in store_fpu_for_suspend()
168 if (last_task_used_math == current) in do_fpu_context_switch()
170 if (last_task_used_math != NULL) in do_fpu_context_switch()
172 save_fpu(last_task_used_math); in do_fpu_context_switch()
173 last_task_used_math = current; in do_fpu_context_switch()
Dprocess.c17 struct task_struct *last_task_used_math; variable
132 if (last_task_used_math == tsk) in exit_thread()
133 last_task_used_math = NULL; in exit_thread()
143 if (last_task_used_math == current) in flush_thread()
144 last_task_used_math = NULL; in flush_thread()
185 if (last_task_used_math == current) in copy_thread()
Dsignal.c41 if (current == last_task_used_math) { in restore_sigcontext_fpu()
42 last_task_used_math = NULL; in restore_sigcontext_fpu()
67 if (last_task_used_math == tsk) in setup_sigcontext_fpu()
68 save_fpu(last_task_used_math); in setup_sigcontext_fpu()
/Linux-v5.10/arch/sparc/kernel/
Dsigutil_32.c27 if (current == last_task_used_math) { in save_fpu_state()
31 last_task_used_math = NULL; in save_fpu_state()
60 if (current == last_task_used_math) { in restore_fpu_state()
61 last_task_used_math = NULL; in restore_fpu_state()
Dprocess_32.c69 struct task_struct *last_task_used_math = NULL; variable
184 if (last_task_used_math == tsk) {
193 last_task_used_math = NULL;
205 if(last_task_used_math == current) {
214 last_task_used_math = NULL;
283 if(last_task_used_math == current) {
Dtraps_32.c168 if(last_task_used_math == current) in do_fpd_trap()
170 if(last_task_used_math) { in do_fpd_trap()
172 struct task_struct *fptask = last_task_used_math; in do_fpd_trap()
176 last_task_used_math = current; in do_fpd_trap()
208 struct task_struct *fpt = last_task_used_math;
296 last_task_used_math = NULL;
/Linux-v5.10/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.h33 if (last_task_used_math != (nxt)) \
Dprocessor_32.h104 extern struct task_struct *last_task_used_math;