Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass5.c93 newcg->cg_boff = newcg->cg_btotoff + fs->fs_cpg * sizeof (daddr32_t); in pass5()
95 fs->fs_cpg * fs->fs_nrpos * sizeof (uint16_t); in pass5()
168 newcg->cg_ncyl = fs->fs_ncyl - (fs->fs_cpg * c); in pass5()
170 newcg->cg_ncyl = fs->fs_cpg; in pass5()
377 fs->fs_cpg * fs->fs_nrpos * sizeof (int16_t)) != 0); in pass5()
386 fs->fs_cpg * fs->fs_nrpos * in pass5()
398 fs->fs_cpg * sizeof (int32_t)) != 0); in pass5()
407 fs->fs_cpg * sizeof (int32_t)); in pass5()
H A Dsetup.c67 /* blktot size */ (fs)->fs_cpg * sizeof (int32_t) + \
68 /* blks size */ (fs)->fs_cpg * (fs)->fs_nrpos * sizeof (short) + \
70 /* block map */ howmany((fs)->fs_cpg * (fs)->fs_spc / NSPF(fs), NBBY))
157 if (sblock.fs_cpg < 1) { in read_super_block()
161 if (sblock.fs_ncg * sblock.fs_cpg < sblock.fs_ncyl || in read_super_block()
162 (sblock.fs_ncg - 1) * sblock.fs_cpg >= sblock.fs_ncyl) { in read_super_block()
H A Dutilities.c1949 if ((cgp->cg_ncyl < 1) || (cgp->cg_ncyl > sblock.fs_cpg)) { in cg_sanity()
1957 cgp->cg_ncyl, sblock.fs_cpg); in cg_sanity()
2065 *boff = *btotoff + sblock.fs_cpg * sizeof (daddr32_t); in cg_constants()
2066 *iusedoff = *boff + sblock.fs_cpg * sblock.fs_nrpos * sizeof (int16_t); in cg_constants()
2069 howmany(sblock.fs_cpg * sblock.fs_spc / NSPF(&sblock), NBBY); in cg_constants()
2091 if ((cgp->cg_ncyl < 1) || (cgp->cg_ncyl > sblock.fs_cpg)) { in fix_cg()
2094 (sblock.fs_cpg * cgno); in fix_cg()
2096 cgp->cg_ncyl = sblock.fs_cpg; in fix_cg()
/titanic_41/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c273 /* blktot size */ (fs)->fs_cpg * sizeof (long) + \
274 /* blks size */ (fs)->fs_cpg * (fs)->fs_nrpos * sizeof (short) + \
276 /* block map */ howmany((fs)->fs_cpg * (fs)->fs_spc / NSPF(fs), NBBY))
1692 sblock.fs_cpg = mincpg; in main()
1710 sblock.fs_cpg = mincpg; in main()
1758 sblock.fs_cpg = roundup(mincpgcnt, mincpc); in main()
1763 mincpg = sblock.fs_cpg; in main()
1820 sblock.fs_cpg = cpg; in main()
1821 if (sblock.fs_cpg % mincpc != 0) { in main()
1826 sblock.fs_cpg = roundup(sblock.fs_cpg, mincpc); in main()
[all …]
/titanic_41/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c259 ADD_INT32(h, "cpg", fsp->fs_cpg); in get_attr()
338 fsp->fs_cpg, fsp->fs_fpg / fsp->fs_frag, fsp->fs_fpg, fsp->fs_ipg); in dumpfs()
413 if (fsp->fs_ncyl % fsp->fs_cpg) { in dumpfs()
415 i = fsp->fs_ncyl % fsp->fs_cpg); in dumpfs()
578 for (i = 0; i < fsp->fs_cpg; i++) { in dumpcg()
612 for (i = 0; i < fsp->fs_cpg; i++) { in dumpcg()
/titanic_41/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c1051 sblock.fs_ncg < 1 || sblock.fs_cpg < 1) in read_sb()
1054 if (sblock.fs_ncg * sblock.fs_cpg < sblock.fs_ncyl || in read_sb()
1055 (sblock.fs_ncg - 1) * sblock.fs_cpg >= sblock.fs_ncyl) in read_sb()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dufs.h134 grub_int32_t fs_cpg; /* cylinders per group */ member
H A Dfs.h203 int fs_cpg; /* cylinders per group */ member
/titanic_41/usr/src/uts/common/sys/fs/
H A Dufs_fs.h314 int32_t fs_cpg; /* cylinders per group */ member
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_lockfs.c651 (mfs->fs_cpg != dfs->fs_cpg) || in ufs_reconcile_fs()
/titanic_41/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c4574 fs->fs_cpg, fs->fs_fpg / fs->fs_frag, fs->fs_fpg, fs->fs_ipg); in printsb()
4671 if (fs->fs_ncyl % fs->fs_cpg) { in printsb()
4673 i = fs->fs_ncyl % fs->fs_cpg); in printsb()
4718 for (i = 0; i < fs->fs_cpg; i++) { in printcg()