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