Home
last modified time | relevance | path

Searched refs:ext2bgd_nifree (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_alloc.c220 | fs2h16(fs->e2fs_gd[cg].ext2bgd_nifree); in ext2fs_dirpref()
451 if (fs->e2fs_gd[cg].ext2bgd_nifree == 0 && in ext2fs_nodealloccg()
468 KASSERT(fs2h16(fs->e2fs_gd[cg].ext2bgd_nifree) == fs->e2fs.e2fs_ipg); in ext2fs_nodealloccg()
668 uint32_t ext2bgd_nifree = fs2h16(gd->ext2bgd_nifree) | in ext2fs_cg_update() local
670 ext2bgd_nifree += nifree; in ext2fs_cg_update()
671 gd->ext2bgd_nifree = h2fs16(ext2bgd_nifree); in ext2fs_cg_update()
672 gd->ext2bgd_nifree_hi = h2fs16(ext2bgd_nifree >> 16); in ext2fs_cg_update()
689 gd->ext2bgd_itable_unused_lo <= ext2bgd_nifree); in ext2fs_cg_update()
H A Dext2fs.h423 uint16_t ext2bgd_nifree; /* number of free inodes */ member
/netbsd-src/sbin/fsck_ext2fs/
H A Dpass5.c196 fs2h16(fs->e2fs_gd[c].ext2bgd_nifree) != nifree || in pass5()
201 fs2h16(fs->e2fs_gd[c].ext2bgd_nifree), in pass5()
210 fs2h16(fs->e2fs_gd[c].ext2bgd_nifree) != nifree || in pass5()
214 fs->e2fs_gd[c].ext2bgd_nifree = h2fs16(nifree); in pass5()
/netbsd-src/sbin/newfs_ext2fs/
H A Dmke2fs.c301 num_inodes = UINT16_MAX * ncg; /* ext2bgd_nifree is uint16_t */ in mke2fs()
512 gd[cylno].ext2bgd_nifree = h2fs16( in mke2fs()
515 gd[cylno].ext2bgd_nifree = in mke2fs()
518 ficount += fs2h16(gd[cylno].ext2bgd_nifree); in mke2fs()
1344 if (gd[c].ext2bgd_nifree == 0) in iput()
1360 gd[c].ext2bgd_nifree = h2fs16(fs2h16(gd[c].ext2bgd_nifree)-1); in iput()