Home
last modified time | relevance | path

Searched refs:pid_table (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_proc.c142 struct pid_table { struct
173 static struct pid_table *pid_table __read_mostly;
389 pid_table = kmem_alloc(INITIAL_PID_TABLE_SIZE in procinit()
390 * sizeof(struct pid_table), KM_SLEEP); in procinit()
397 pid_table[i].pt_slot = PT_SET_FREE(LINK_EMPTY + i + 1); in procinit()
398 pid_table[i].pt_pgrp = 0; in procinit()
399 pid_table[i].pt_pid = 0; in procinit()
405 pid_table[last_free_pt].pt_slot = PT_SET_FREE(LINK_EMPTY); in procinit()
503 pid_table[lwp0.l_lid].pt_slot = PT_SET_LWP(&lwp0); in proc0_init()
506 pid_table[lwp0.l_lid].pt_pgrp = pg; in proc0_init()
[all …]