Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/
H A Ddnlc.c147 static int nc_hashsz; /* size of hash table */ variable
373 nc_hashsz = ncsize / nc_hashavelen; in dnlc_init()
374 nc_hashsz = 1 << highbit(nc_hashsz); in dnlc_init()
375 nc_hashmask = nc_hashsz - 1; in dnlc_init()
376 nc_hash = kmem_zalloc(nc_hashsz * sizeof (*nc_hash), KM_SLEEP); in dnlc_init()
377 for (i = 0; i < nc_hashsz; i++) { in dnlc_init()
710 for (nch = nc_hash; nch < &nc_hash[nc_hashsz]; nch++) { in dnlc_purge()
763 for (nch = nc_hash; nch < &nc_hash[nc_hashsz]; nch++) { in dnlc_purge_vp()
823 for (nch = nc_hash; nch < &nc_hash[nc_hashsz]; nch++) { in dnlc_purge_vfsp()
896 if (++hp == &nc_hash[nc_hashsz]) in dnlc_fs_purge1()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c189 int nc_hashsz; /* kernel hash array size */ in dnlc_load() local
224 if (mdb_readvar(&nc_hashsz, "nc_hashsz") == -1) { in dnlc_load()
239 for (i = 0, head = nc_hash_addr; i < nc_hashsz; in dnlc_load()