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))])528 pid_hashsz = 1 << highbit(v.v_proc / pid_hashlen); in pid_init()530 pidhash = kmem_zalloc(sizeof (struct pid *) * pid_hashsz, KM_SLEEP); in pid_init()
555 int pid_hashsz, hash; in mdb_pid2proc() local562 if (mdb_readvar(&pid_hashsz, "pid_hashsz") == -1) in mdb_pid2proc()568 hash = pid & (pid_hashsz - 1); in mdb_pid2proc()