Lines Matching refs:t
422 struct thread_info *t = current_thread_info(); in exit_thread() local
424 if (t->utraps) { in exit_thread()
425 if (t->utraps[0] < 2) in exit_thread()
426 kfree (t->utraps); in exit_thread()
428 t->utraps[0]--; in exit_thread()
434 struct thread_info *t = current_thread_info(); in flush_thread() local
437 mm = t->task->mm; in flush_thread()
444 t->fpsaved[0] = 0; in flush_thread()
490 struct thread_info *t) in shift_window_buffer() argument
495 t->rwbuf_stkptrs[i] = t->rwbuf_stkptrs[i+1]; in shift_window_buffer()
496 memcpy(&t->reg_window[i], &t->reg_window[i+1], in shift_window_buffer()
503 struct thread_info *t = current_thread_info(); in synchronize_user_stack() local
510 struct reg_window *rwin = &t->reg_window[window]; in synchronize_user_stack()
514 sp = t->rwbuf_stkptrs[window]; in synchronize_user_stack()
522 shift_window_buffer(window, get_thread_wsaved() - 1, t); in synchronize_user_stack()
543 struct thread_info *t = current_thread_info(); in fault_in_user_windows() local
552 struct reg_window *rwin = &t->reg_window[window]; in fault_in_user_windows()
556 sp = t->rwbuf_stkptrs[window]; in fault_in_user_windows()
622 struct thread_info *t = task_thread_info(p); in copy_thread() local
633 t->new_child = 1; in copy_thread()
634 t->ksp = ((unsigned long) child_trap_frame) - STACK_BIAS; in copy_thread()
635 t->kregs = (struct pt_regs *) (child_trap_frame + in copy_thread()
637 t->fpsaved[0] = 0; in copy_thread()
641 __thread_flag_byte_ptr(t)[TI_FLAG_BYTE_CWP] = in copy_thread() local
643 t->current_ds = ASI_P; in copy_thread()
644 t->kregs->u_regs[UREG_G1] = sp; /* function */ in copy_thread()
645 t->kregs->u_regs[UREG_G2] = arg; in copy_thread()
651 if (t->flags & _TIF_32BIT) { in copy_thread()
655 t->kregs->u_regs[UREG_FP] = sp; in copy_thread()
656 __thread_flag_byte_ptr(t)[TI_FLAG_BYTE_CWP] = in copy_thread() local
658 t->current_ds = ASI_AIUS; in copy_thread()
665 t->kregs->u_regs[UREG_FP] = csp; in copy_thread()
667 if (t->utraps) in copy_thread()
668 t->utraps[0]++; in copy_thread()
671 t->kregs->u_regs[UREG_I0] = current->pid; in copy_thread()
672 t->kregs->u_regs[UREG_I1] = 1; in copy_thread()
678 t->kregs->u_regs[UREG_G7] = regs->u_regs[UREG_I3]; in copy_thread()