Searched refs:pid_hashsz (Results 1 – 2 of 2) sorted by relevance
70 static int pid_hashsz; /* number of buckets in the hash table */ variable72 #define HASHPID(pid) (pidhash[((pid)&(pid_hashsz-1))])529 pid_hashsz = 1 << highbit(v.v_proc / pid_hashlen); in pid_init()531 pidhash = kmem_zalloc(sizeof (struct pid *) * pid_hashsz, KM_SLEEP); in pid_init()
557 int pid_hashsz, hash; in mdb_pid2proc() local564 if (mdb_readvar(&pid_hashsz, "pid_hashsz") == -1) in mdb_pid2proc()570 hash = pid & (pid_hashsz - 1); in mdb_pid2proc()