Searched defs:pid_hashsz (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dpid.c69 static int pid_hashsz; /* number of buckets in the hash table */ variable
71 #define HASHPID(pid) (pidhash[((pid)&(pid_hashsz-1))])
530 pid_hashsz = 1 << highbit(v.v_proc / pid_hashlen);
532 pidhash = kmem_zalloc(sizeof (struct pid *) * pid_hashsz, KM_SLEEP);
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c555 int pid_hashsz, hash; local
562 if (mdb_readvar(&pid_hashsz, "pid_hashsz") == -1)
568 hash = pid & (pid_hashsz - 1);

Completed in 48 milliseconds