Home
last modified time | relevance | path

Searched refs:cs_nifree (Results 1 – 20 of 20) sorted by relevance

/freebsd-12-stable/sbin/fsck_ffs/
Dpass5.c217 newcg->cg_cs.cs_nifree = fs->fs_ipg; in pass5()
257 newcg->cg_cs.cs_nifree--; in pass5()
271 newcg->cg_cs.cs_nifree--; in pass5()
342 cstotal.cs_nifree += cg->cg_cs.cs_nifree; in pass5()
347 cstotal.cs_nifree += newcg->cg_cs.cs_nifree; in pass5()
413 cmd.value = cstotal.cs_nifree - fs->fs_cstotal.cs_nifree; in pass5()
Dgjournal.c464 cgp->cg_cs.cs_nifree++; in gjournal_check()
465 fs->fs_cs(fs, cg).cs_nifree++; in gjournal_check()
466 fs->fs_cstotal.cs_nifree++; in gjournal_check()
Dsetup.c424 sblock.fs_cstotal.cs_nifree = sblock.fs_old_cstotal.cs_nifree; in readsb()
Dmain.c555 files = maxino - UFS_ROOTINO - sblock.fs_cstotal.cs_nifree - n_files; in checkfilesys()
Dsuj.c208 fs->fs_cstotal.cs_nifree += cgsum->cs_nifree; in closedisk()
607 cgp->cg_cs.cs_nifree++; in ino_free()
Dinode.c695 cgp->cg_cs.cs_nifree--; in allocino()
/freebsd-12-stable/usr.sbin/makefs/
Dffs.c310 superblock->fs_old_cstotal.cs_nifree = superblock->fs_cstotal.cs_nifree; in ffs_makefs()
577 (long long)fs->fs_cstotal.cs_nifree, in ffs_create_image()
581 if (fs->fs_cstotal.cs_nifree + UFS_ROOTINO < fsopts->inodes) { in ffs_create_image()
585 (long long)(fs->fs_cstotal.cs_nifree + UFS_ROOTINO), in ffs_create_image()
1119 if (fs->fs_cstotal.cs_nifree == 0) in ffs_write_inode()
1122 if (fs->fs_cs(fs, cg).cs_nifree == 0) in ffs_write_inode()
1127 ufs_add32(cgp->cg_cs.cs_nifree, -1, fsopts->needswap); in ffs_write_inode()
1128 fs->fs_cstotal.cs_nifree--; in ffs_write_inode()
1129 fs->fs_cs(fs, cg).cs_nifree--; in ffs_write_inode()
/freebsd-12-stable/usr.sbin/makefs/ffs/
Dffs_bswap.c190 n->cs_nifree = bswap64(o->cs_nifree); in ffs_csumtotal_swap()
214 n->cg_cs.cs_nifree = bswap32(o->cg_cs.cs_nifree); in ffs_cg_swap()
Dmkfs.c449 sblock.fs_cstotal.cs_nifree = 0; in ffs_mkfs()
469 sblock.fs_cstotal.cs_nifree = in ffs_mkfs()
480 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in ffs_mkfs()
544 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in ffs_mkfs()
672 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg()
676 acg.cg_cs.cs_nifree--; in initcg()
/freebsd-12-stable/tools/tools/find-sb/
Dmini_ufs.h37 int32_t cs_nifree; /* number of free inodes */ member
44 int64_t cs_nifree; /* number of free inodes */ member
/freebsd-12-stable/lib/libufs/
Dcgroup.c174 cgp->cg_cs.cs_nifree--; in cgialloc()
175 fs->fs_cstotal.cs_nifree--; in cgialloc()
176 fs->fs_cs(fs, cgp->cg_cgx).cs_nifree--; in cgialloc()
/freebsd-12-stable/sbin/newfs/
Dmkfs.c476 sblock.fs_cstotal.cs_nifree = in mkfs()
487 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in mkfs()
603 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in mkfs()
728 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg()
732 acg.cg_cs.cs_nifree--; in initcg()
1038 acg.cg_cs.cs_nifree--; in iput()
1042 sblock.fs_cstotal.cs_nifree--; in iput()
1043 fscs[0].cs_nifree--; in iput()
/freebsd-12-stable/sbin/dumpfs/
Ddumpfs.c204 (intmax_t)afs.fs_cstotal.cs_nifree, in dumpfs()
221 afs.fs_old_cstotal.cs_nifree, afs.fs_old_cstotal.cs_nffree); in dumpfs()
314 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree); in dumpfs()
366 acg.cg_cs.cs_nifree, acg.cg_cs.cs_nffree); in dumpcg()
/freebsd-12-stable/sys/ufs/ffs/
Dffs_alloc.c1113 if (fs->fs_cstotal.cs_nifree == 0)
1232 avgifree = fs->fs_cstotal.cs_nifree / fs->fs_ncg;
1246 fs->fs_cs(fs, cg).cs_nifree >= avgifree &&
1253 fs->fs_cs(fs, cg).cs_nifree >= avgifree &&
1312 fs->fs_cs(fs, cg).cs_nifree >= minifree &&
1319 fs->fs_cs(fs, cg).cs_nifree >= minifree &&
1328 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree)
1331 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree)
2077 if (fs->fs_cs(fs, cg).cs_nifree == 0)
2085 if (cgp->cg_cs.cs_nifree == 0) {
[all …]
Dfs.h260 int32_t cs_nifree; /* number of free inodes */ member
266 int64_t cs_nifree; /* number of free inodes */ member
Dffs_vfsops.c1147 fs->fs_cstotal.cs_nifree = fs->fs_old_cstotal.cs_nifree;
1193 fs->fs_old_cstotal.cs_nifree = fs->fs_cstotal.cs_nifree;
1421 sbp->f_ffree = fs->fs_cstotal.cs_nifree + fs->fs_pendinginodes;
Dffs_softdep.c2552 cstotal.cs_nifree += cgp->cg_cs.cs_nifree;
10984 cgp->cg_cs.cs_nifree++;
11956 cgp->cg_cs.cs_nifree--;
13405 fs->fs_cstotal.cs_nifree <= needed)) {
13433 fs->fs_cstotal.cs_nifree <= needed)) {
/freebsd-12-stable/sbin/growfs/
Ddebug.c418 fprintf(dbg_log, "nifree int32_t 0x%08x\n", cs->cs_nifree); in dbg_dump_csum()
448 ((unsigned int *)&(cs->cs_nifree))[1], in dbg_dump_csum_total()
449 ((unsigned int *)&(cs->cs_nifree))[0]); in dbg_dump_csum_total()
Dgrowfs.c371 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg()
375 acg.cg_cs.cs_nifree--; in initcg()
462 sblock.fs_cstotal.cs_nifree += acg.cg_cs.cs_nifree; in initcg()
/freebsd-12-stable/sbin/tunefs/
Dtunefs.c1012 if (cgp->cg_cs.cs_nifree == 0) in journal_alloc()