Lines Matching refs:cg

269  * cylinder group and the (struct cg) size.
272 /* base cg */ (sizeof (struct cg) + \
448 struct cg cg;
452 #define acg cgun.cg
1348 maxcpg = (bsize - sizeof (struct cg) -
1651 * important: only 1 FS block is allocated for the cg struct (fragment
1697 * Make sure the cg struct fits within the file system block.
1849 * Cut down on cylinders per group, until the cg struct fits in a
2002 "Note that cgsize may have been adjusted to allow struct cg to fit.\n"));
2504 diskaddr_t dlower; /* last data block before cg metadata */
2505 diskaddr_t dupper; /* first data block after cg metadata */
2525 short *cgblks; /* pointer to array of free blocks in cg */
2532 union cgun *icgun; /* local pointer to a cg summary block */
2533 #define icg (icgun->cg)
2544 if (dmax > sblock.fs_size) /* last cg may be smaller than normal */
2696 * updating totals kept in the superblock and cg summary.
2872 (void) fprintf(stderr, gettext("cg 0: bad magic number\n"));
2924 (void) fprintf(stderr, gettext("cg 0: bad magic number\n"));
3931 * if summary info is too large (too many cg's) tell the user and exit
4613 * the available free space needed to extend the cg summary info block.
4615 * - Try to extend the cg summary block to the required size.
4616 * - Find free blocks in last cg.
4632 int64_t new_fs_ncg; /* number of cg in the new FS */
4646 * check how much we can extend the cg summary info block
4655 * build list of frags needed for cg summary info block extension
5570 * = (inodes-per-cg * nbpi)/(spc * DEV_BSIZE)
5586 * bsize - sizeof (struct cg) - space_used_for_inode_bitmaps
5604 * and maxcpg_given_fragsize assuming that 1/3 of the cg overhead
5606 * of the cg overhead block used for inode bitmaps (by increasing
5642 (bsize - (sizeof (struct cg)) - (bsize / inode_divisor)) /