Lines Matching refs:t_stk
382 t->t_stk = stk + stksize;
388 t->t_stk = stk + sizeof (kthread_t);
400 * Initialize t_stk to the kernel stack pointer to use
404 t->t_stk = stk + stksize;
407 t->t_stk = stk; /* 3b2-like */
457 t->t_stk = thread_stk_init(t->t_stk);
766 t->t_stk = NULL;
1402 tp->t_stk -= STACK_ALIGN;
1403 *(tp->t_stk) = 0; /* terminate intr thread stack */
1901 if (t->t_stk > t->t_stkbase) {
1904 end = t->t_stk;
1907 start = t->t_stk;
1914 * (protection against corrupt t_stkbase/t_stk data).
1970 if (t->t_stk > t->t_stkbase) {
1973 end = t->t_stk;
1976 start = t->t_stk;
1986 * (protection against corrupt t_stkbase/t_stk data).
1999 if (t->t_stk > t->t_stkbase) {
2098 stkinfo_percent(caddr_t t_stk, caddr_t t_stkbase, caddr_t sp)
2103 if (t_stk > t_stkbase) {
2105 if (sp > t_stk) {
2111 percent = t_stk - sp + 1;
2112 s = t_stk - t_stkbase + 1;
2115 if (sp < t_stk) {
2121 percent = sp - t_stk + 1;
2122 s = t_stkbase - t_stk + 1;