Home
last modified time | relevance | path

Searched refs:cylno (Results 1 – 5 of 5) sorted by relevance

/original-bsd/sbin/newfs/
H A Dmkfs.c453 for (cylno = 0; cylno < sblock.fs_cpc; cylno++)
560 for (cylno = 0; cylno < sblock.fs_ncg; cylno++) {
564 if (cylno % 8 == 0)
587 for (cylno = 0; cylno < sblock.fs_ncg; cylno++)
615 initcg(cylno, utime) in initcg() argument
616 int cylno; in initcg()
634 if (cylno == 0)
636 cs = fscs + cylno;
640 acg.cg_cgx = cylno;
673 if (cylno == 0)
[all …]
/original-bsd/sbin/fsck/
H A Dmain.c159 int cylno, flags; local
268 for (cylno = 0; cylno < sblock.fs_ncg; cylno++)
270 fsbtodb(&sblock, cgsblock(&sblock, cylno)), SBSIZE);
/original-bsd/sys/ufs/ffs/
H A Dfs.h241 #define fs_postbl(fs, cylno) \ argument
243 ? ((fs)->fs_opostbl[cylno]) \
245 (fs)->fs_postbloff) + (cylno) * (fs)->fs_nrpos))
312 #define cg_blks(fs, cgp, cylno) \ argument
314 ? (((struct ocg *)(cgp))->cg_b[cylno]) \
316 (cgp)->cg_boff) + (cylno) * (fs)->fs_nrpos))
H A Dffs_alloc.c895 int cylno, pos, delta; local
926 cylno = cbtocylno(fs, bpref);
927 if (cg_blktot(cgp)[cylno] == 0)
934 cylbp = cg_blks(fs, cgp, cylno);
948 pos = cylno % fs->fs_cpc;
949 bno = (cylno - pos) * fs->fs_spc / NSPB(fs);
985 cylno = cbtocylno(fs, bno);
986 cg_blks(fs, cgp, cylno)[cbtorpos(fs, bno)]--;
987 cg_blktot(cgp)[cylno]--;
/original-bsd/sbin/fsdb/
H A Dfsdb.c50 #define cg_blks(fs, cgp, cylno) (((cgp))->cg_b[cylno]) argument