Home
last modified time | relevance | path

Searched refs:inohsz (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/
H A Dufs.c46 int inohsz; in inode_walk_init() local
56 if (mdb_readvar(&inohsz, "inohsz") == -1) { in inode_walk_init()
61 if (inohsz == 0) in inode_walk_init()
75 iw->iw_inohsz = inohsz; in inode_walk_init()
133 int inohsz; in inode_cache_cb() local
160 if (mdb_readvar(&inohsz, "inohsz") == -1) { in inode_cache_cb()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c109 int inohsz; /* number of buckets in the hash table */ variable
308 inohsz = 1 << highbit(ufs_ninode / ino_hashlen); in ihinit()
309 ihead = kmem_zalloc(inohsz * sizeof (union ihead), KM_SLEEP); in ihinit()
310 ih_lock = kmem_zalloc(inohsz * sizeof (kmutex_t), KM_SLEEP); in ihinit()
312 for (i = 0, ih = ihead; i < inohsz; i++, ih++) { in ihinit()
1654 for (i = 0, ih = ihead; i < inohsz; i++, ih++) { in ufs_scan_inodes()
H A Dufs_vfsops.c1514 for (i = 0, ih = ihead; i < inohsz; i++, ih++) { in ufs_unmount()
1565 for (i = 0, ih = ihead; i < inohsz; i++, ih++) { in ufs_unmount()
H A Dufs_subr.c841 for (i = 0, ih = ihead; i < inohsz; i++, ih++) { in ufs_icheck()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_inode.h808 #define INOHASH(ino) (((int)ino) & (inohsz - 1))
822 extern int inohsz;