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

/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/sbin/fsck_ffs/
H A Dpass5.c285 newcg->cg_cs.cs_nifree = fs->fs_ipg;
328 newcg->cg_cs.cs_nifree--;
342 newcg->cg_cs.cs_nifree--;
401 cstotal.cs_nifree += newcg->cg_cs.cs_nifree;
410 cs->cs_nifree,newcg->cg_cs.cs_nifree,
480 (long long int)fs->fs_cstotal.cs_nifree,
481 (long long int)cstotal.cs_nifree,
H A Dinode.c754 cgp->cg_cs.cs_nifree--;
755 sblock->fs_cstotal.cs_nifree--;
756 sblock->fs_cs(fs, cg).cs_nifree--;
854 cgp->cg_cs.cs_nifree++;
855 sblock->fs_cstotal.cs_nifree++;
856 sblock->fs_cs(fs, cg).cs_nifree++;
H A Dutilities.c653 fs->fs_cstotal.cs_nifree =
654 fs->fs_old_cstotal.cs_nifree;
686 fs->fs_old_cstotal.cs_nifree = fs->fs_cstotal.cs_nifree;
H A Dmain.c415 (n_files -= maxino - ROOTINO - sblock->fs_cstotal.cs_nifree))
/netbsd-6-1-5-RELEASE/sbin/resize_ffs/
H A Dresize_ffs.c547 cg->cg_cs.cs_nifree = newsb->fs_ipg;
610 newsb->fs_cstotal.cs_nifree += cg->cg_cs.cs_nifree;
1741 newsb->fs_cstotal.cs_nifree -= cgs[i]->cg_cs.cs_nifree;
1770 slop += cgs[i]->cg_cs.cs_nifree;
1772 slop -= oldsb->fs_ipg - cgs[i]->cg_cs.cs_nifree;
1920 * Recompute the cg_inosused()[] bitmap, and the cs_nifree and cs_ndir
1932 newsb->fs_cstotal.cs_nifree -= cg->cg_cs.cs_nifree;
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/
H A Dffs_bswap.c182 n->cs_nifree = bswap64(o->cs_nifree);
206 n->cg_cs.cs_nifree = bswap32(o->cg_cs.cs_nifree);
H A Dffs_alloc.c581 if (fs->fs_cstotal.cs_nifree == 0)
693 avgifree = fs->fs_cstotal.cs_nifree / fs->fs_ncg;
706 fs->fs_cs(fs, cg).cs_nifree >= avgifree &&
713 fs->fs_cs(fs, cg).cs_nifree >= avgifree &&
757 fs->fs_cs(fs, cg).cs_nifree >= minifree &&
764 fs->fs_cs(fs, cg).cs_nifree >= minifree &&
773 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree)
776 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree)
1299 if (fs->fs_cs(fs, cg).cs_nifree == 0)
1310 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.c1344 fs->fs_cstotal.cs_nifree = fs->fs_old_cstotal.cs_nifree;
1406 fs->fs_old_cstotal.cs_nifree = fs->fs_cstotal.cs_nifree;
1580 sbp->f_ffree = fs->fs_cstotal.cs_nifree + fs->fs_pendinginodes;
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ffs/
H A Dmkfs.c442 sblock.fs_cstotal.cs_nifree = 0;
462 sblock.fs_cstotal.cs_nifree = sblock.fs_ncg * sblock.fs_ipg - ROOTINO;
472 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
540 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
668 acg.cg_cs.cs_nifree += sblock.fs_ipg;
672 acg.cg_cs.cs_nifree--;
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/
H A Dffs.c307 superblock->fs_old_cstotal.cs_nifree = superblock->fs_cstotal.cs_nifree;
535 (long long)fs->fs_cstotal.cs_nifree,
539 if (fs->fs_cstotal.cs_nifree + ROOTINO < fsopts->inodes) {
543 (long long)(fs->fs_cstotal.cs_nifree + ROOTINO),
1080 if (fs->fs_cstotal.cs_nifree == 0)
1083 if (fs->fs_cs(fs, cg).cs_nifree == 0)
1088 ufs_add32(cgp->cg_cs.cs_nifree, -1, fsopts->needswap);
1089 fs->fs_cstotal.cs_nifree--;
1090 fs->fs_cs(fs, cg).cs_nifree
[all...]
/netbsd-6-1-5-RELEASE/sbin/newfs/
H A Dmkfs.c501 sblock.fs_cstotal.cs_nifree = 0;
521 sblock.fs_cstotal.cs_nifree = sblock.fs_ncg * sblock.fs_ipg - ROOTINO;
531 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
724 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree;
841 acg.cg_cs.cs_nifree += sblock.fs_ipg;
845 acg.cg_cs.cs_nifree--;
1358 acg.cg_cs.cs_nifree--;
1364 sblock.fs_cstotal.cs_nifree
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/dumpfs/
H A Ddumpfs.c280 fs->fs_cstotal.cs_nifree = fs->fs_old_cstotal.cs_nifree;
344 (long long)fs->fs_cstotal.cs_nifree,
496 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree);
614 acg.cg_cs.cs_nifree, acg.cg_cs.cs_nffree);

Completed in 407 milliseconds