Home
last modified time | relevance | path

Searched refs:fs_cpg (Results 1 – 8 of 8) sorted by relevance

/openbsd/sbin/fsck_ffs/
H A Dpass5.c142 fs->fs_cpg * sizeof(int32_t); in pass5()
143 newcg->cg_iusedoff = newcg->cg_boff + fs->fs_cpg * in pass5()
195 newcg->cg_ncyl = fs->fs_ncyl % fs->fs_cpg; in pass5()
197 newcg->cg_ncyl = fs->fs_cpg; in pass5()
H A Dsetup.c524 if (sblock.fs_cpg < 1) { in readsb()
529 if (sblock.fs_ncg * sblock.fs_cpg < sblock.fs_ncyl || in readsb()
530 (sblock.fs_ncg - 1) * sblock.fs_cpg >= sblock.fs_ncyl) { in readsb()
700 asb->fs_cpg != sb->fs_cpg || in cmpsb()
/openbsd/sys/ufs/ffs/
H A Dfs.h249 int32_t fs_cpg; /* cylinders per group */ member
358 /* blktot size */ (fs)->fs_cpg * sizeof(int32_t) + \
359 /* blks size */ (fs)->fs_cpg * (fs)->fs_nrpos * sizeof(int16_t) + \
/openbsd/usr.sbin/makefs/ffs/
H A Dmkfs.c255 sblock.fs_cpg = 1; in ffs_mkfs()
599 sblock.fs_fpg / sblock.fs_cpg); in initcg()
601 acg.cg_ncyl = sblock.fs_cpg; in initcg()
608 acg.cg_boff = acg.cg_btotoff + sblock.fs_cpg * sizeof(int32_t); in initcg()
610 sblock.fs_cpg * sizeof(u_int16_t); in initcg()
/openbsd/sbin/growfs/
H A Dgrowfs.c369 acg.cg_ncyl = sblock.fs_ncyl % sblock.fs_cpg; in initcg()
371 acg.cg_ncyl = sblock.fs_cpg; in initcg()
379 sblock.fs_cpg * sizeof(int32_t); in initcg()
381 sblock.fs_cpg * sizeof(u_int16_t); in initcg()
649 acg.cg_ncyl = sblock.fs_cpg; in updjcg()
683 acg.cg_ncyl = sblock.fs_ncyl % sblock.fs_cpg; in updjcg()
685 acg.cg_ncyl = sblock.fs_cpg; in updjcg()
1914 sblock.fs_ncyl = sblock.fs_ncg * sblock.fs_cpg; in main()
/openbsd/sbin/scan_ffs/
H A Dscan_ffs.c56 sb->fs_fsize, sb->fs_bsize, sb->fs_cpg, lastmount); in print_info()
/openbsd/sbin/dumpfs/
H A Ddumpfs.c253 afs.fs_cpg, afs.fs_fpg / afs.fs_frag, afs.fs_fpg, in dumpfs()
413 for (i = 0; i < afs.fs_cpg; i++) { in dumpcg()
/openbsd/sbin/newfs/
H A Dmkfs.c266 sblock.fs_cpg = 1; in mkfs()
661 acg.cg_ncyl = sblock.fs_cpg; in initcg()
668 acg.cg_boff = acg.cg_btotoff + sblock.fs_cpg * sizeof(int32_t); in initcg()
670 sblock.fs_cpg * sizeof(u_int16_t); in initcg()