Lines Matching defs:tp
52 kthread_t *tp;
54 tp = thread_create(NULL, 0,
66 THREAD_FREEINTR(tp, cp);
72 tp->t_cred = NULL;
73 tp->t_flag |= T_INTR_THREAD;
74 tp->t_cpu = cp;
75 tp->t_bound_cpu = cp;
76 tp->t_disp_queue = cp->cpu_disp;
77 tp->t_affinitycnt = 1;
78 tp->t_preempt = 1;
84 tp->t_bind_cpu = PBIND_NONE; /* no USER-requested binding */
85 tp->t_bind_pset = PS_NONE;
88 tp->t_stk -= STACK_ALIGN;
89 *(tp->t_stk) = 0; /* terminate intr thread stack */
95 tp->t_link = cp->cpu_intr_thread;
96 cp->cpu_intr_thread = tp;