Lines Matching refs:current
159 tsk = current; in show_stack()
161 if (tsk == current && !_ksp) in show_stack()
207 if(last_task_used_math == current) {
213 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr,
214 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth);
223 if (current->thread.flags & SPARC_FLAG_KTHREAD) {
224 current->thread.flags &= ~SPARC_FLAG_KTHREAD;
228 current->thread.kregs = (struct pt_regs *)
229 (task_stack_page(current) + (THREAD_SIZE - TRACEREG_SZ));
312 if(last_task_used_math == current) {
360 ti->kpsr = current->thread.fork_kpsr | PSR_PIL;
361 ti->kwim = current->thread.fork_kwim;
400 childregs->u_regs[UREG_I0] = current->pid;
425 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr,
426 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth);
433 if (current == last_task_used_math) {
435 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr,
436 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth);
444 ¤t->thread.float_regs[0],
446 fpregs->pr_fsr = current->thread.fsr;
447 fpregs->pr_qcnt = current->thread.fpqdepth;
452 ¤t->thread.fpqueue[0],
469 if (!task || task == current ||