Searched refs:cg_cgx (Results 1 – 8 of 8) sorted by relevance
/openbsd/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 375 if (bpref == 0 || dtog(fs, bpref) != cgp->cg_cgx) { in ffs_alloccgblk() 399 fs->fs_cs(fs, cgp->cg_cgx).cs_nbfree--; in ffs_alloccgblk() 401 blkno = cgp->cg_cgx * fs->fs_fpg + bno; in ffs_alloccgblk()
|
H A D | mkfs.c | 586 acg.cg_cgx = cylno; in initcg()
|
/openbsd/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 1039 } else if ((cgbpref = dtog(fs, bpref)) != cgp->cg_cgx) { in ffs_alloccgblk() 1042 bpref = cgmeta(fs, cgp->cg_cgx); in ffs_alloccgblk() 1044 bpref = cgdata(fs, cgp->cg_cgx); in ffs_alloccgblk() 1060 if (bno >= dtogd(fs, cgdata(fs, cgp->cg_cgx))) in ffs_alloccgblk() 1069 fs->fs_cs(fs, cgp->cg_cgx).cs_nbfree--; in ffs_alloccgblk() 1078 blkno = cgbase(fs, cgp->cg_cgx) + bno; in ffs_alloccgblk() 1555 fs->fs_maxcluster[cgp->cg_cgx] = i; in ffs_clusteracct()
|
H A D | fs.h | 379 u_int32_t cg_cgx; /* we are the cgx'th cylinder group */ member 439 int32_t cg_cgx; /* we are the cgx'th cylinder group */ member
|
/openbsd/sbin/growfs/ |
H A D | growfs.c | 358 acg.cg_cgx = cg; in initcg() 1440 dlower = cgsblock(&sblock, acg.cg_cgx) - cgbase(&sblock, acg.cg_cgx); in alloc() 1441 dupper = cgdmin(&sblock, acg.cg_cgx) - cgbase(&sblock, acg.cg_cgx); in alloc() 1442 dmax = cgbase(&sblock, acg.cg_cgx) + sblock.fs_fpg; in alloc() 1446 dmax -= cgbase(&sblock, acg.cg_cgx); /* retransform into cg */ in alloc() 1447 csmin=sblock.fs_csaddr-cgbase(&sblock, acg.cg_cgx); in alloc()
|
/openbsd/sbin/dumpfs/ |
H A D | dumpfs.c | 358 acg.cg_cgx, acg.cg_ndblk, acg.cg_ffs2_niblk, in dumpcg() 375 acg.cg_cgx, acg.cg_ncyl, acg.cg_niblk, acg.cg_ndblk); in dumpcg()
|
/openbsd/sbin/fsck_ffs/ |
H A D | pass5.c | 193 newcg->cg_cgx = c; in pass5()
|
/openbsd/sbin/newfs/ |
H A D | mkfs.c | 650 acg.cg_cgx = cg; in initcg()
|