Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/os/
H A Dpid.c70 static int pid_hashsz; /* number of buckets in the hash table */ variable
72 #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()
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c557 int pid_hashsz, hash; in mdb_pid2proc() local
564 if (mdb_readvar(&pid_hashsz, "pid_hashsz") == -1) in mdb_pid2proc()
570 hash = pid & (pid_hashsz - 1); in mdb_pid2proc()