Home
last modified time | relevance | path

Searched refs:fs_contigsumsize (Results 1 – 15 of 15) sorted by relevance

/freebsd/sbin/fsck_ffs/
H A Dpass5.c72 if (fs->fs_maxcontig < 2 && fs->fs_contigsumsize > 0) { in pass5()
76 fs->fs_contigsumsize = 0; in pass5()
84 if (fs->fs_contigsumsize < 1) { in pass5()
86 } else if (fs->fs_contigsumsize < fs->fs_maxcontig && in pass5()
87 fs->fs_contigsumsize < FS_MAXCONTIG) { in pass5()
91 i = fs->fs_contigsumsize; in pass5()
92 fs->fs_contigsumsize = in pass5()
96 fs->fs_contigsumsize = i; in pass5()
131 if (fs->fs_contigsumsize > 0) { in pass5()
137 (fs->fs_contigsumsize + 1) * sizeof(u_int32_t); in pass5()
[all …]
H A Dfsutil.c559 if (sblock.fs_contigsumsize > 0) { in cg_write()
560 for (i = 1; i <= sblock.fs_contigsumsize; i++) in cg_write()
1045 if (sblock.fs_contigsumsize == 0) { in check_cgmagic()
1055 (sblock.fs_contigsumsize + 1) * sizeof(u_int32_t), "%jd"); in check_cgmagic()
1105 if (sblock.fs_contigsumsize > 0) { in rebuild_cg()
1111 (sblock.fs_contigsumsize + 1) * sizeof(u_int32_t); in rebuild_cg()
/freebsd/sbin/growfs/
H A Dgrowfs.c329 if (sblock.fs_contigsumsize > 0) in initcg()
349 if (sblock.fs_contigsumsize > 0) { in initcg()
354 (sblock.fs_contigsumsize + 1) * sizeof(u_int32_t); in initcg()
412 if (sblock.fs_contigsumsize > 0) in initcg()
431 if (sblock.fs_contigsumsize > 0) in initcg()
442 if (sblock.fs_contigsumsize > 0) { in initcg()
453 if (run > sblock.fs_contigsumsize) in initcg()
454 run = sblock.fs_contigsumsize; in initcg()
466 if (run > sblock.fs_contigsumsize) in initcg()
467 run = sblock.fs_contigsumsize; in initcg()
[all …]
H A Ddebug.c311 sb->fs_contigsumsize); in dbg_dump_fs()
606 for (j = 0; j <= sb->fs_contigsumsize; j++) { in dbg_dump_clsum()
/freebsd/usr.sbin/makefs/ffs/
H A Dmkfs.c251 sblock.fs_contigsumsize = MIN(sblock.fs_maxcontig,FS_MAXCONTIG); in ffs_mkfs()
442 if (sblock.fs_contigsumsize > 0) in ffs_mkfs()
448 if (sblock.fs_contigsumsize > 0) { in ffs_mkfs()
453 *lp++ = sblock.fs_contigsumsize; in ffs_mkfs()
652 if (sblock.fs_contigsumsize > 0) in initcg()
675 if (sblock.fs_contigsumsize <= 0) { in initcg()
684 (sblock.fs_contigsumsize + 1) * sizeof(int32_t); in initcg()
705 if (sblock.fs_contigsumsize > 0) in initcg()
722 if (sblock.fs_contigsumsize > 0) in initcg()
735 if (sblock.fs_contigsumsize > 0) { in initcg()
[all …]
H A Dffs_alloc.c602 if (fs->fs_contigsumsize <= 0) in ffs_clusteracct()
617 end = start + fs->fs_contigsumsize; in ffs_clusteracct()
638 end = start - fs->fs_contigsumsize; in ffs_clusteracct()
660 if (i > fs->fs_contigsumsize) in ffs_clusteracct()
661 i = fs->fs_contigsumsize; in ffs_clusteracct()
671 lp = &sump[fs->fs_contigsumsize]; in ffs_clusteracct()
672 for (i = fs->fs_contigsumsize; i > 0; i--) in ffs_clusteracct()
H A Dffs_bswap.c105 n->fs_contigsumsize = bswap32(o->fs_contigsumsize); in ffs_sb_swap()
256 for (i = 1; i < fs->fs_contigsumsize + 1; i++) in ffs_cg_swap()
/freebsd/sbin/dumpfs/
H A Ddumpfs.c194 afs.fs_maxcontig, afs.fs_contigsumsize); in dumpfs()
212 afs.fs_maxbpg, afs.fs_maxcontig, afs.fs_contigsumsize); in dumpfs()
371 if (afs.fs_contigsumsize > 0) { in dumpcg()
372 for (i = 1; i < afs.fs_contigsumsize; i++) { in dumpcg()
375 MIN(afs.fs_contigsumsize - 1, i + 7)); in dumpcg()
379 afs.fs_contigsumsize, in dumpcg()
380 cg_clustersum(&acg)[afs.fs_contigsumsize]); in dumpcg()
/freebsd/sys/ufs/ffs/
H A Dffs_subr.c199 if (fs->fs_contigsumsize > 0) in ffs_sbget()
233 if (fs->fs_contigsumsize > 0) { in ffs_sbget()
236 *lp++ = fs->fs_contigsumsize; in ffs_sbget()
778 FCHK2(fs->fs_maxcontig, ==, 0, fs->fs_contigsumsize, !=, 0, %jd); in validate_sblock()
779 FCHK2(fs->fs_maxcontig, >, 1, fs->fs_contigsumsize, !=, in validate_sblock()
1197 if (fs->fs_contigsumsize <= 0) in ffs_clusteracct()
1212 end = start + fs->fs_contigsumsize; in ffs_clusteracct()
1233 end = start - fs->fs_contigsumsize; in ffs_clusteracct()
1255 if (i > fs->fs_contigsumsize) in ffs_clusteracct()
1256 i = fs->fs_contigsumsize; in ffs_clusteracct()
[all …]
H A Dfs.h435 int32_t fs_contigsumsize; /* size of cluster summary array */
580 /* if present */ ((fs)->fs_contigsumsize <= 0 ? 0 : \
581 /* cluster sum */ (fs)->fs_contigsumsize * sizeof(int32_t) + \
434 int32_t fs_contigsumsize; /* size of cluster summary array */ global() member
H A Dffs_alloc.c591 if (fs->fs_contigsumsize <= 0 || freespace(fs, 4) < 0) in ffs_reallocblks_ufs1()
858 if (fs->fs_contigsumsize <= 0 || freespace(fs, 4) < 0) in ffs_reallocblks_ufs2()
2002 for (i = len; i <= fs->fs_contigsumsize; i++) in ffs_clusteralloc()
2005 if (i > fs->fs_contigsumsize) { in ffs_clusteralloc()
H A Dffs_snapshot.c489 if (fs->fs_contigsumsize > 0) in ffs_snapshot()
509 if (fs->fs_contigsumsize > 0) { in ffs_snapshot()
512 *lp++ = fs->fs_contigsumsize; in ffs_snapshot()
H A Dffs_softdep.c13645 * (fs_contigsumsize). The number of such segments that will in softdep_request_cleanup()
13661 MNT_COUNT_WRITEOPCOUNT) + 2) * fs->fs_contigsumsize; in softdep_request_cleanup()
/freebsd/sbin/newfs/
H A Dmkfs.c253 sblock.fs_contigsumsize = MIN(sblock.fs_maxcontig,FS_MAXCONTIG); in mkfs()
684 sblock.fs_ipg, sblock.fs_fpg, sblock.fs_contigsumsize); in mkfs()
730 if (sblock.fs_contigsumsize > 0) in initcg()
750 if (sblock.fs_contigsumsize > 0) { in initcg()
755 (sblock.fs_contigsumsize + 1) * sizeof(u_int32_t); in initcg()
778 if (sblock.fs_contigsumsize > 0) in initcg()
794 if (sblock.fs_contigsumsize > 0) in initcg()
805 if (sblock.fs_contigsumsize > 0) { in initcg()
816 if (run > sblock.fs_contigsumsize) in initcg()
817 run = sblock.fs_contigsumsize; in initcg()
[all...]
/freebsd/tools/tools/find-sb/
H A Dmini_ufs.h141 int32_t fs_contigsumsize; /* size of cluster summary array */ member