Home | History | Annotate | Download | only in ffs

Lines Matching refs:cg

59  * The beginning of cylinder group cg in fs, is given by
60 * the ``cgbase(fs, cg)'' macro.
137 * thus changes to (struct cg) must keep its size within MINBSIZE.
262 int32_t fs_dblkno; /* offset of first data after cg */
325 int32_t fs_cgrotor; /* last cg searched (UNUSED) */
328 struct csum *fs_csp; /* cg summary info buffer for fs_cs */
356 int32_t fs_save_cgsize; /* save real cg size to use fs_bsize */
460 #define ACTIVECG_SET(fs, cg) \
463 setbit((fs)->fs_active, (cg)); \
465 #define ACTIVECG_CLR(fs, cg) \
468 clrbit((fs)->fs_active, (cg)); \
470 #define ACTIVECG_ISSET(fs, cg) \
471 ((fs)->fs_active != NULL && isset((fs)->fs_active, (cg)))
477 * cylinder group and the (struct cg) size.
480 /* base cg */ (sizeof(struct cg) + sizeof(int32_t) + \
506 struct cg {
511 int16_t cg_old_ncyl; /* number of cyl's this cg */
512 int16_t cg_old_niblk; /* number of inode blocks this cg */
513 u_int32_t cg_ndblk; /* number of data blocks this cg */
526 u_int32_t cg_nclusterblks; /* number of clusters this cg */
527 u_int32_t cg_niblk; /* number of inode blocks this cg */
545 int16_t cg_ncyl; /* number of cyl's this cg */
546 int16_t cg_niblk; /* number of inode blocks this cg */
547 int32_t cg_ndblk; /* number of data blocks this cg */
642 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */