Lines Matching refs:thread
196 fpsave(&tsk->thread.float_regs[0], &tsk->thread.fsr,
197 &tsk->thread.fpqueue[0], &tsk->thread.fpqdepth);
217 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr,
218 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth);
227 if (current->thread.flags & SPARC_FLAG_KTHREAD) {
228 current->thread.flags &= ~SPARC_FLAG_KTHREAD;
232 current->thread.kregs = (struct pt_regs *)
321 fpsave(&p->thread.float_regs[0], &p->thread.fsr,
322 &p->thread.fpqueue[0], &p->thread.fpqdepth);
343 p->thread.kregs = childregs;
349 p->thread.flags |= SPARC_FLAG_KTHREAD;
350 p->thread.current_ds = KERNEL_DS;
361 p->thread.flags &= ~SPARC_FLAG_KTHREAD;
362 p->thread.current_ds = USER_DS;
364 ti->kpsr = current->thread.fork_kpsr | PSR_PIL;
365 ti->kwim = current->thread.fork_kwim;
429 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr,
430 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth);
439 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr,
440 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth);
448 ¤t->thread.float_regs[0],
450 fpregs->pr_fsr = current->thread.fsr;
451 fpregs->pr_qcnt = current->thread.fpqdepth;
456 ¤t->thread.fpqueue[0],