Lines Matching defs:cg
269 * cylinder group and the (struct cg) size.
272 /* base cg */ (sizeof (struct cg) + \
448 struct cg cg;
452 #define acg cgun.cg
1344 maxcpg = (bsize - sizeof (struct cg) -
1630 * important: only 1 FS block is allocated for the cg struct (fragment
1676 * Make sure the cg struct fits within the file system block.
1828 * Cut down on cylinders per group, until the cg struct fits in a
1981 "Note that cgsize may have been adjusted to allow struct cg to fit.\n"));
2483 diskaddr_t dlower; /* last data block before cg metadata */
2484 diskaddr_t dupper; /* first data block after cg metadata */
2504 short *cgblks; /* pointer to array of free blocks in cg */
2511 union cgun *icgun; /* local pointer to a cg summary block */
2512 #define icg (icgun->cg)
2523 if (dmax > sblock.fs_size) /* last cg may be smaller than normal */
2675 * updating totals kept in the superblock and cg summary.
2851 (void) fprintf(stderr, gettext("cg 0: bad magic number\n"));
2903 (void) fprintf(stderr, gettext("cg 0: bad magic number\n"));
3910 * if summary info is too large (too many cg's) tell the user and exit
4589 * the available free space needed to extend the cg summary info block.
4591 * - Try to extend the cg summary block to the required size.
4592 * - Find free blocks in last cg.
4608 int64_t new_fs_ncg; /* number of cg in the new FS */
4622 * check how much we can extend the cg summary info block
4631 * build list of frags needed for cg summary info block extension
5546 * = (inodes-per-cg * nbpi)/(spc * DEV_BSIZE)
5562 * bsize - sizeof (struct cg) - space_used_for_inode_bitmaps
5580 * and maxcpg_given_fragsize assuming that 1/3 of the cg overhead
5582 * of the cg overhead block used for inode bitmaps (by increasing
5618 (bsize - (sizeof (struct cg)) - (bsize / inode_divisor)) /