Home
last modified time | relevance | path

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

/freebsd/sbin/fsck_ffs/
H A Dpass5.c210 newcg->cg_cs.cs_nifree = fs->fs_ipg; in pass5()
250 newcg->cg_cs.cs_nifree--; in pass5()
264 newcg->cg_cs.cs_nifree--; in pass5()
330 cstotal.cs_nifree += cg->cg_cs.cs_nifree; in pass5()
335 cstotal.cs_nifree += newcg->cg_cs.cs_nifree; in pass5()
375 (intmax_t)fs->fs_cstotal.cs_nifree, in pass5()
382 (intmax_t)cstotal.cs_nifree, in pass5()
420 cmd.value = cstotal.cs_nifree - fs->fs_cstotal.cs_nifree; in pass5()
H A Dsetup.c481 sblock.fs_cstotal.cs_nifree = sblock.fs_old_cstotal.cs_nifree; in readsb()
H A Dfsutil.c587 sblock.fs_cstotal.cs_nifree += cgp->cg_cs.cs_nifree - csp->cs_nifree; in cg_write()
H A Dmain.c502 files = maxino - UFS_ROOTINO - sblock.fs_cstotal.cs_nifree - n_files; in checkfilesys()
H A Dsuj.c449 cgp->cg_cs.cs_nifree++; in ino_free()
2512 fs->fs_cstotal.cs_nifree += cgsum->cs_nifree; in suj_check()
H A Dinode.c1431 cgp->cg_cs.cs_nifree--; in allocino()
/freebsd/usr.sbin/makefs/ffs/
H A Dffs_bswap.c187 n->cs_nifree = bswap64(o->cs_nifree); in ffs_csumtotal_swap()
211 n->cg_cs.cs_nifree = bswap32(o->cg_cs.cs_nifree); in ffs_cg_swap()
H A Dmkfs.c468 sblock.fs_cstotal.cs_nifree = 0; in ffs_mkfs()
488 sblock.fs_cstotal.cs_nifree = in ffs_mkfs()
499 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in ffs_mkfs()
564 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in ffs_mkfs()
692 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg()
696 acg.cg_cs.cs_nifree--; in initcg()
/freebsd/usr.sbin/makefs/
H A Dffs.c306 superblock->fs_old_cstotal.cs_nifree = superblock->fs_cstotal.cs_nifree; in ffs_makefs()
579 (long long)fs->fs_cstotal.cs_nifree, in ffs_create_image()
583 if (fs->fs_cstotal.cs_nifree + (off_t)UFS_ROOTINO < fsopts->inodes) { in ffs_create_image()
587 (long long)(fs->fs_cstotal.cs_nifree + UFS_ROOTINO), in ffs_create_image()
1134 if (fs->fs_cstotal.cs_nifree == 0) in ffs_write_inode()
1137 if (fs->fs_cs(fs, cg).cs_nifree == 0) in ffs_write_inode()
1142 ufs_add32(cgp->cg_cs.cs_nifree, -1, fsopts->needswap); in ffs_write_inode()
1143 fs->fs_cstotal.cs_nifree--; in ffs_write_inode()
1144 fs->fs_cs(fs, cg).cs_nifree in ffs_write_inode()
[all...]
H A Dffs.c306 superblock->fs_old_cstotal.cs_nifree = superblock->fs_cstotal.cs_nifree; in ffs_makefs()
579 (long long)fs->fs_cstotal.cs_nifree, in ffs_create_image()
583 if (fs->fs_cstotal.cs_nifree + (off_t)UFS_ROOTINO < fsopts->inodes) { in ffs_create_image()
587 (long long)(fs->fs_cstotal.cs_nifree + UFS_ROOTINO), in ffs_create_image()
1134 if (fs->fs_cstotal.cs_nifree == 0) in ffs_write_inode()
1137 if (fs->fs_cs(fs, cg).cs_nifree == 0) in ffs_write_inode()
1142 ufs_add32(cgp->cg_cs.cs_nifree, -1, fsopts->needswap); in ffs_write_inode()
1143 fs->fs_cstotal.cs_nifree--; in ffs_write_inode()
1144 fs->fs_cs(fs, cg).cs_nifree in ffs_write_inode()
[all...]
/freebsd/sys/ufs/ffs/
H A Dffs_subr.c360 fs->fs_cstotal.cs_nifree = fs->fs_old_cstotal.cs_nifree; in ffs_oldfscompat_read()
407 fs->fs_old_cstotal.cs_nifree = fs->fs_cstotal.cs_nifree; in ffs_oldfscompat_write()
590 FCHK(fs->fs_cstotal.cs_nifree, <, 0, %jd); in validate_sblock()
591 FCHK(fs->fs_cstotal.cs_nifree, >, in validate_sblock()
595 fs->fs_cstotal.cs_nifree, %jd); in validate_sblock()
663 FCHK(fs->fs_cstotal.cs_nifree, <, 0, %jd); in validate_sblock()
664 FCHK(fs->fs_cstotal.cs_nifree, >, (uint64_t)fs->fs_ipg * fs->fs_ncg, in validate_sblock()
668 ((uint64_t)fs->fs_ipg * fs->fs_ncg) - fs->fs_cstotal.cs_nifree, in validate_sblock()
H A Dffs_alloc.c1133 if (fs->fs_cstotal.cs_nifree == 0) in ffs_valloc()
1254 avgifree = fs->fs_cstotal.cs_nifree / fs->fs_ncg; in ffs_dirpref()
1351 fs->fs_cs(fs, cg).cs_nifree >= minifree && in ffs_dirpref()
1358 fs->fs_cs(fs, cg).cs_nifree >= minifree && in ffs_dirpref()
1367 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree) in ffs_dirpref()
1370 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree) in ffs_dirpref()
2134 if (fs->fs_cs(fs, cg).cs_nifree == 0) in ffs_nodealloccg()
2143 if (cgp->cg_cs.cs_nifree == 0) { in ffs_nodealloccg()
2249 cgp->cg_cs.cs_nifree--; in ffs_nodealloccg()
2250 fs->fs_cstotal.cs_nifree--; in ffs_nodealloccg()
[all …]
H A Dfs.h299 int32_t cs_nifree; /* number of free inodes */ member
305 int64_t cs_nifree; /* number of free inodes */ member
H A Dffs_softdep.c2683 cstotal.cs_nifree += cgp->cg_cs.cs_nifree; in softdep_mount()
11192 cgp->cg_cs.cs_nifree++; in initiate_write_bmsafemap()
12189 cgp->cg_cs.cs_nifree--; in handle_written_bmsafemap()
13681 fs->fs_cstotal.cs_nifree <= needed)) { in softdep_request_cleanup()
13697 fs->fs_cstotal.cs_nifree <= needed && in softdep_request_cleanup()
13736 fs->fs_cstotal.cs_nifree <= needed)) { in softdep_request_cleanup()
H A Dffs_vfsops.c1447 sbp->f_ffree = fs->fs_cstotal.cs_nifree + fs->fs_pendinginodes; in ffs_statfs()
/freebsd/tools/tools/find-sb/
H A Dmini_ufs.h35 int32_t cs_nifree; /* number of free inodes */ member
42 int64_t cs_nifree; /* number of free inodes */ member
/freebsd/sbin/newfs/
H A Dmkfs.c489 sblock.fs_cstotal.cs_nifree = in mkfs()
500 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in mkfs()
624 sblock.fs_old_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in mkfs()
764 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg()
768 acg.cg_cs.cs_nifree--; in initcg()
1076 acg.cg_cs.cs_nifree--; in iput()
1080 sblock.fs_cstotal.cs_nifree--; in iput()
1081 fscs[0].cs_nifree in iput()
[all...]
/freebsd/lib/libufs/
H A Dcgroup.c173 cgp->cg_cs.cs_nifree--; in cgialloc()
174 fs->fs_cstotal.cs_nifree--; in cgialloc()
175 fs->fs_cs(fs, cgp->cg_cgx).cs_nifree--; in cgialloc()
/freebsd/sbin/dumpfs/
H A Ddumpfs.c198 (intmax_t)afs.fs_cstotal.cs_nifree, in dumpfs()
215 afs.fs_old_cstotal.cs_nifree, afs.fs_old_cstotal.cs_nffree); in dumpfs()
308 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree); in dumpfs()
363 acg.cg_cs.cs_nifree, acg.cg_cs.cs_nffree); in dumpcg()
/freebsd/sbin/growfs/
H A Ddebug.c411 fprintf(dbg_log, "nifree int32_t 0x%08x\n", cs->cs_nifree); in dbg_dump_csum()
441 ((unsigned int *)&(cs->cs_nifree))[1], in dbg_dump_csum_total()
442 ((unsigned int *)&(cs->cs_nifree))[0]); in dbg_dump_csum_total()
H A Dgrowfs.c365 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg()
369 acg.cg_cs.cs_nifree--; in initcg()
474 sblock.fs_cstotal.cs_nifree += acg.cg_cs.cs_nifree; in initcg()
/freebsd/sbin/tunefs/
H A Dtunefs.c958 if (cgp->cg_cs.cs_nifree == 0) in journal_alloc()