Lines Matching refs:curthread
158 proc_t *p = ttoproc(curthread); in exec_init()
159 klwp_t *lwp = ttolwp(curthread); in exec_init()
261 curthread->t_post_sys = 1; in exec_init()
262 curthread->t_sysnum = SYS_execve; in exec_init()
269 sigemptyset(&curthread->t_hold); in exec_init()
338 init_mstate(curthread, LMS_SYSTEM); in start_init_common()
362 proc_t *p = ttoproc(curthread); /* &p0 */ in main()
397 ASSERT(curthread == CPU->cpu_thread); in main()
471 ttolwp(curthread)->lwp_error = 0; /* XXX kludge for SCSI driver */ in main()
516 curthread->t_start = PTOU(curproc)->u_start.tv_sec; in main()
549 p0_lep.le_thread = curthread; in main()
550 p0_lep.le_lwpid = curthread->t_tid; in main()
551 p0_lep.le_start = curthread->t_start; in main()