Lines Matching refs:tk
160 task_t *tk; in cfork() local
295 tk = cp->p_task; in cfork()
300 pid_exit(cp, tk); in cfork()
302 task_rele(tk); in cfork()
656 tk = cp->p_task; in cfork()
663 pid_exit(cp, tk); in cfork()
666 task_rele(tk); in cfork()
724 task_t *tk; in forklwp_fail() local
742 tk = p->p_task; in forklwp_fail()
744 tk->tk_nlwps--; in forklwp_fail()
745 tk->tk_proj->kpj_nlwps--; in forklwp_fail()
854 task_t *tk, *tk_old; in newproc() local
863 tk = task_create(0, p->p_zone); in newproc()
864 mutex_enter(&tk->tk_zone->zone_nlwps_lock); in newproc()
865 tk->tk_proj->kpj_ntasks++; in newproc()
866 tk->tk_nprocs++; in newproc()
867 mutex_exit(&tk->tk_zone->zone_nlwps_lock); in newproc()
878 task_begin(tk, p); in newproc()
898 task_t *tk; in newproc() local
905 tk = p->p_task; in newproc()
911 pid_exit(p, tk); in newproc()
913 task_rele(tk); in newproc()