Searched refs:cs_nifree (Results 1 – 15 of 15) sorted by relevance
| /openbsd/src/sbin/fsck_ext2fs/ |
| D | pass5.c | 61 u_int32_t cs_ndir, cs_nbfree, cs_nifree; in pass5() local 66 cs_nifree = 0; in pass5() 160 cs_nifree += nifree; in pass5() 217 fs->e2fs.e2fs_ficount != cs_nifree)) { in pass5() 220 cs_nbfree, cs_nifree); in pass5() 223 fs->e2fs.e2fs_ficount != cs_nifree) in pass5() 226 fs->e2fs.e2fs_ficount = cs_nifree; in pass5()
|
| /openbsd/src/sys/ufs/ffs/ |
| D | ffs_alloc.c | 368 if (fs->fs_cstotal.cs_nifree == 0) in ffs_inode_alloc() 462 avgifree = fs->fs_cstotal.cs_nifree / fs->fs_ncg; in ffs_dirpref() 475 fs->fs_cs(fs, cg).cs_nifree >= avgifree && in ffs_dirpref() 482 fs->fs_cs(fs, cg).cs_nifree >= avgifree && in ffs_dirpref() 543 fs->fs_cs(fs, cg).cs_nifree >= minifree && in ffs_dirpref() 550 fs->fs_cs(fs, cg).cs_nifree >= minifree && in ffs_dirpref() 559 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree) in ffs_dirpref() 562 if (fs->fs_cs(fs, cg).cs_nifree >= avgifree) in ffs_dirpref() 1103 if (fs->fs_cs(fs, cg).cs_nifree == 0) in ffs_nodealloccg() 1110 if (cgp->cg_cs.cs_nifree == 0) { in ffs_nodealloccg() [all …]
|
| D | ffs_vfsops.c | 891 fs->fs_cstotal.cs_nifree = fs->fs_ffs1_cstotal.cs_nifree; in ffs1_compat_read() 908 fs->fs_ffs1_cstotal.cs_nifree = fs->fs_cstotal.cs_nifree; in ffs1_compat_write() 1024 sbp->f_ffree = fs->fs_cstotal.cs_nifree; in ffs_statfs()
|
| D | fs.h | 178 int32_t cs_nifree; /* number of free inodes */ member 185 int64_t cs_nifree; /* number of free inodes */ member
|
| /openbsd/src/sbin/fsck_ffs/ |
| D | pass5.c | 204 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() 318 cstotal.cs_nifree += newcg->cg_cs.cs_nifree; in pass5()
|
| D | utilities.c | 318 sblock.fs_ffs1_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in ckfini()
|
| D | setup.c | 584 sblock.fs_cstotal.cs_nifree = sblock.fs_ffs1_cstotal.cs_nifree; in readsb()
|
| D | main.c | 307 (n_files -= maxino - ROOTINO - sblock.fs_cstotal.cs_nifree)) in checkfilesys()
|
| D | inode.c | 630 cgp->cg_cs.cs_nifree--; in allocino()
|
| /openbsd/src/bin/df/ |
| D | ffs_df.c | 77 sfsp->f_ffree = sblock.fs_ffs1_cstotal.cs_nifree; in ffs_df() 85 sfsp->f_ffree = sblock.fs_cstotal.cs_nifree; in ffs_df()
|
| /openbsd/src/usr.sbin/makefs/ffs/ |
| D | mkfs.c | 418 sblock.fs_cstotal.cs_nifree = 0; in ffs_mkfs() 438 sblock.fs_cstotal.cs_nifree = sblock.fs_ncg * sblock.fs_ipg - ROOTINO; in ffs_mkfs() 448 sblock.fs_ffs1_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in ffs_mkfs() 510 sblock.fs_ffs1_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in ffs_mkfs() 630 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg() 636 acg.cg_cs.cs_nifree--; in initcg()
|
| /openbsd/src/sbin/newfs/ |
| D | mkfs.c | 476 sblock.fs_cstotal.cs_nifree = sblock.fs_ncg * sblock.fs_ipg - ROOTINO; in mkfs() 488 sblock.fs_ffs1_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in mkfs() 590 sblock.fs_ffs1_cstotal.cs_nifree = sblock.fs_cstotal.cs_nifree; in mkfs() 680 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg() 684 acg.cg_cs.cs_nifree--; in initcg() 986 acg.cg_cs.cs_nifree--; in iput() 992 sblock.fs_cstotal.cs_nifree--; in iput() 993 fscs[0].cs_nifree--; in iput()
|
| /openbsd/src/usr.sbin/makefs/ |
| D | ffs.c | 293 superblock->fs_ffs1_cstotal.cs_nifree = superblock->fs_cstotal.cs_nifree; in ffs_makefs() 527 if ((off_t)(fs->fs_cstotal.cs_nifree + ROOTINO) < fsopts->inodes) { in ffs_create_image() 531 (long long)(fs->fs_cstotal.cs_nifree + ROOTINO), in ffs_create_image() 950 if (fs->fs_cstotal.cs_nifree == 0) in ffs_write_inode() 953 if (fs->fs_cs(fs, cg).cs_nifree == 0) in ffs_write_inode() 958 cgp->cg_cs.cs_nifree -= 1; in ffs_write_inode() 959 fs->fs_cstotal.cs_nifree--; in ffs_write_inode() 960 fs->fs_cs(fs, cg).cs_nifree--; in ffs_write_inode()
|
| /openbsd/src/sbin/dumpfs/ |
| D | dumpfs.c | 235 (intmax_t)afs.fs_cstotal.cs_nifree, in dumpfs() 251 afs.fs_ffs1_cstotal.cs_nifree, afs.fs_ffs1_cstotal.cs_nffree); in dumpfs() 313 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree); in dumpfs() 382 acg.cg_cs.cs_nifree, acg.cg_cs.cs_nffree); in dumpcg()
|
| /openbsd/src/sbin/growfs/ |
| D | growfs.c | 267 sblock.fs_ffs1_cstotal.cs_nifree = in growfs() 268 (int32_t)sblock.fs_cstotal.cs_nifree; in growfs() 401 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg() 405 acg.cg_cs.cs_nifree--; in initcg() 477 sblock.fs_cstotal.cs_nifree += acg.cg_cs.cs_nifree; in initcg() 2166 fs->fs_cstotal.cs_nifree = fs->fs_ffs1_cstotal.cs_nifree; in ffs1_sb_update()
|