Lines Matching defs:tk
137 task_t *tk;
280 tk = cp->p_task;
285 pid_exit(cp, tk);
287 task_rele(tk);
637 tk = cp->p_task;
653 pid_exit(cp, tk);
656 task_rele(tk);
714 task_t *tk;
732 tk = p->p_task;
734 tk->tk_nlwps--;
735 tk->tk_proj->kpj_nlwps--;
844 task_t *tk, *tk_old;
853 tk = task_create(0, p->p_zone);
854 mutex_enter(&tk->tk_zone->zone_nlwps_lock);
855 tk->tk_proj->kpj_ntasks++;
856 tk->tk_nprocs++;
857 mutex_exit(&tk->tk_zone->zone_nlwps_lock);
868 task_begin(tk, p);
888 task_t *tk;
892 tk = p->p_task;
897 pid_exit(p, tk);
899 task_rele(tk);