Searched refs:task0p (Results 1 – 5 of 5) sorted by relevance
987 task0p = kmem_cache_alloc(task_cache, KM_SLEEP); in task_init()988 bzero(task0p, sizeof (task_t)); in task_init()990 task0p->tk_tkid = id_alloc(taskid_space); in task_init()991 task0p->tk_usage = kmem_zalloc(sizeof (task_usage_t), KM_SLEEP); in task_init()992 task0p->tk_inherited = kmem_zalloc(sizeof (task_usage_t), KM_SLEEP); in task_init()993 task0p->tk_proj = project_hold_by_id(0, &zone0, in task_init()995 task0p->tk_flags = TASK_NORMAL; in task_init()996 task0p->tk_nlwps = p->p_lwpcnt; in task_init()997 task0p->tk_nprocs = 1; in task_init()998 task0p->tk_zone = global_zone; in task_init()[all …]
1168 task_attach(task0p, cp); in getproc()
720 ASSERT(tk != task0p); in exacct_commit_task()
88 extern task_t *task0p;
89 task_t *task0p; /* task 0 */ variable