Searched refs:cs_nifree (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/sbin/fsck_ext2fs/
H A Dpass5.c93 u_int32_t cs_ndir, cs_nbfree, cs_nifree; local
98 cs_nifree = 0;
192 cs_nifree += nifree;
249 fs->e2fs.e2fs_ficount != cs_nifree)) {
252 cs_nbfree, cs_nifree);
255 fs->e2fs.e2fs_ficount != cs_nifree)
258 fs->e2fs.e2fs_ficount = cs_nifree;
/netbsd-current/sbin/fsck_ffs/
H A Dpass5.c296 newcg->cg_cs.cs_nifree = fs->fs_ipg;
339 newcg->cg_cs.cs_nifree--;
353 newcg->cg_cs.cs_nifree--;
412 cstotal.cs_nifree += newcg->cg_cs.cs_nifree;
421 cs->cs_nifree,newcg->cg_cs.cs_nifree,
491 (long long int)fs->fs_cstotal.cs_nifree,
492 (long long int)cstotal.cs_nifree,
H A Dinode.c764 cgp->cg_cs.cs_nifree--;
765 sblock->fs_cstotal.cs_nifree--;
766 sblock->fs_cs(fs, cg).cs_nifree--;
864 cgp->cg_cs.cs_nifree++;
865 sblock->fs_cstotal.cs_nifree++;
866 sblock->fs_cs(fs, cg).cs_nifree++;
H A Dutilities.c665 fs->fs_cstotal.cs_nifree =
666 fs->fs_old_cstotal.cs_nifree;
698 fs->fs_old_cstotal.cs_nifree = fs->fs_cstotal.cs_nifree;
H A Dmain.c505 (n_files -= maxino - UFS_ROOTINO - sblock->fs_cstotal.cs_nifree))
/netbsd-current/sys/ufs/ffs/
H A Dffs_bswap.c186 n->cs_nifree = bswap64(o->cs_nifree);
210 n->cg_cs.cs_nifree = bswap32(o->cg_cs.cs_nifree);
H A Dffs_alloc.c589 if (fs->fs_cstotal.cs_nifree == 0)
653 avgifree = fs->fs_cstotal.cs_nifree / fs->fs_ncg;
666 fs->fs_cs(fs, cg).cs_nifree >= avgifree &&
673 fs->fs_cs(fs, cg).cs_nifree >= avgifree &&
720 fs->fs_cs(fs, cg).cs_nifree >= minifree &&
727 fs->fs_cs(fs, cg).cs_nifree >= minifree &&
736 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree)
739 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree)
1279 if (fs->fs_cs(fs, cg).cs_nifree == 0)
1296 if (!cg_chkmagic(cgp, needswap) || cgp->cg_cs.cs_nifree
[all...]
H A Dfs.h240 int32_t cs_nifree; /* number of free inodes */ member in struct:csum
247 int64_t cs_nifree; /* number of free inodes */ member in struct:csum_total
H A Dffs_vfsops.c1674 fs->fs_cstotal.cs_nifree = fs->fs_old_cstotal.cs_nifree;
1737 fs->fs_old_cstotal.cs_nifree = fs->fs_cstotal.cs_nifree;
1916 sbp->f_ffree = fs->fs_cstotal.cs_nifree + fs->fs_pendinginodes;
/netbsd-current/sys/lib/libsa/
H A Dffs_bswap.c51 n->cs_nifree = bswap64(o->cs_nifree);
/netbsd-current/usr.sbin/makefs/ffs/
H A Dmkfs.c462 sblock.fs_cstotal.cs_nifree = 0;
482 sblock.fs_cstotal.cs_nifree = sblock.fs_ncg * sblock.fs_ipg - UFS_ROOTINO;
492 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
554 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
680 acg.cg_cs.cs_nifree += sblock.fs_ipg;
686 acg.cg_cs.cs_nifree--;
/netbsd-current/usr.sbin/makefs/
H A Dffs.c303 superblock->fs_old_cstotal.cs_nifree = superblock->fs_cstotal.cs_nifree;
557 (long long)fs->fs_cstotal.cs_nifree,
561 if ((off_t)(fs->fs_cstotal.cs_nifree + UFS_ROOTINO) < fsopts->inodes) {
565 (long long)(fs->fs_cstotal.cs_nifree + UFS_ROOTINO),
1102 if (fs->fs_cstotal.cs_nifree == 0)
1105 if (fs->fs_cs(fs, cg).cs_nifree == 0)
1110 ufs_add32(cgp->cg_cs.cs_nifree, -1, fsopts->needswap);
1111 fs->fs_cstotal.cs_nifree--;
1112 fs->fs_cs(fs, cg).cs_nifree
[all...]
/netbsd-current/sbin/resize_ffs/
H A Dresize_ffs.c556 cg->cg_cs.cs_nifree = newsb->fs_ipg;
621 newsb->fs_cstotal.cs_nifree += cg->cg_cs.cs_nifree;
1800 newsb->fs_cstotal.cs_nifree -= cgs[i]->cg_cs.cs_nifree;
1829 slop += cgs[i]->cg_cs.cs_nifree;
1831 slop -= oldsb->fs_ipg - cgs[i]->cg_cs.cs_nifree;
1979 * Recompute the cg_inosused()[] bitmap, and the cs_nifree and cs_ndir
1991 newsb->fs_cstotal.cs_nifree -= cg->cg_cs.cs_nifree;
[all...]
/netbsd-current/sbin/newfs/
H A Dmkfs.c511 sblock.fs_cstotal.cs_nifree = 0;
531 sblock.fs_cstotal.cs_nifree = sblock.fs_ncg * sblock.fs_ipg - UFS_ROOTINO;
541 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
737 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
857 acg.cg_cs.cs_nifree += sblock.fs_ipg;
861 acg.cg_cs.cs_nifree--;
1375 acg.cg_cs.cs_nifree--;
1381 sblock.fs_cstotal.cs_nifree
[all...]
/netbsd-current/usr.sbin/dumpfs/
H A Ddumpfs.c283 fs->fs_cstotal.cs_nifree = fs->fs_old_cstotal.cs_nifree;
349 (long long)fs->fs_cstotal.cs_nifree,
524 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree);
643 acg.cg_cs.cs_nifree, acg.cg_cs.cs_nffree);

Completed in 149 milliseconds