Lines Matching refs:cylno

395 static void initcg(int cylno);
624 long cylno, rpos, blk, j, warn = 0;
1958 for (cylno = 0; cylno < sblock.fs_cpc; cylno++)
1960 fs_postbl(&sblock, cylno)[rpos] = -1;
1963 cylno = cbtocylno(&sblock, i);
1966 if (fs_postbl(&sblock, cylno)[rpos] == -1)
1970 fs_postbl(&sblock, cylno)[rpos] - blk;
1971 fs_postbl(&sblock, cylno)[rpos] = blk;
2123 for (width = cylno = 0; cylno < sblock.fs_ncg && cylno < 10; cylno++) {
2124 if ((grow == 0) || (cylno >= grow_fs_ncg))
2125 initcg(cylno);
2126 num = fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno));
2189 remaining_cg = sblock.fs_ncg - cylno;
2206 * and cylno will already be equal to sblock.fs_ncg and so this
2208 * groups, cylno is already less than fs_ncg - 10, so this loop
2213 for (; cylno < sblock.fs_ncg - 10; cylno++) {
2214 if ((grow == 0) || (cylno >= grow_fs_ncg))
2215 initcg(cylno);
2216 if (do_dot && cylno % 50 == 0) {
2235 for (width = 0; cylno < sblock.fs_ncg; cylno++) {
2236 if ((grow == 0) || (cylno >= grow_fs_ncg))
2237 initcg(cylno);
2238 num = fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno));
2279 if (cylno == sblock.fs_ncg-1)
2331 for (cylno = 0; cylno < sblock.fs_ncg && cylno < 10; cylno++)
2332 awtfs(fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)),
2343 cylno = sblock.fs_ncg;
2345 cylno = 10;
2347 cylno = sblock.fs_ncg - 10;
2350 for (; cylno < sblock.fs_ncg; cylno++)
2351 awtfs(fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)),
2501 initcg(int cylno)
2542 cbase = cgbase(&sblock, cylno);
2546 dlower = cgsblock(&sblock, cylno) - cbase;
2547 dupper = cgdmin(&sblock, cylno) - cbase;
2548 if (cylno == 0)
2550 cs = fscs + cylno;
2553 icg.cg_cgx = cylno;
2555 if (cylno == sblock.fs_ncg - 1)
2556 icg.cg_ncyl = sblock.fs_ncyl - (sblock.fs_cpg * cylno);
2580 if (cylno == 0)
2600 awtfs(fsbtodb(&sblock, (uint64_t)cgimin(&sblock, cylno)), (int)size,
2608 if (cylno > 0) {
2760 awtfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, cylno)),
4300 long cylno; /* cylno of nfrag */
4886 freefrags(cfp->nfrag, cfp->frags, cfp->cylno);
4897 freefrags(cfp->ofrag, cfp->frags, cfp->cylno);
4947 rdcg(long cylno)
4949 if (cylno != curcylno) {
4951 curcylno = cylno;
5032 allocfrags(cfp->frags, &cfp->nfrag, &cfp->cylno);
5055 freefrags(daddr32_t frag, long frags, long cylno)
5062 rdcg(cylno);
5064 setbit(cg_blksfree(&acg), (frag+i) - cgbase(&sblock, cylno));
5136 extendcg(long cylno)
5148 rdcg(cylno);
5151 if (cylno == sblock.fs_ncg - 1)
5152 acg.cg_ncyl = sblock.fs_ncyl - (sblock.fs_cpg * cylno);
5155 cbase = cgbase(&sblock, cylno);