ext2_gd
ngdb = howmany(ncg, sfsp->f_bsize / sizeof(struct ext2_gd));
struct ext2_gd *b_cgd; /* cylinder group descriptor */
&sblock.e2fs_gd[i* sblock.e2fs_bsize / sizeof(struct ext2_gd)],
sblock.e2fs_bsize / sizeof(struct ext2_gd));
fs->e2fs_bsize / sizeof(struct ext2_gd));
&sblock.e2fs_gd[i* sblock.e2fs_bsize / sizeof(struct ext2_gd)],
blocks_gd = howmany(sizeof(struct ext2_gd) * ncg, bsize);
blocks_gd = howmany(sizeof(struct ext2_gd) * ncg, bsize);
target_ngdb = howmany(sizeof(struct ext2_gd) * target_ncg,
e2fs_cgsave(gd, (struct ext2_gd *)(iobuf + sblock.e2fs_bsize),
sizeof(struct ext2_gd) * sblock.e2fs_ncg);
e2fs_cgsave(gd, (struct ext2_gd *)(iobuf +
sizeof(struct ext2_gd) * sblock.e2fs_ncg);
struct ext2_gd *e2fs_gd; /* group descriptors */
void e2fs_cg_bswap(struct ext2_gd *, struct ext2_gd *, int);
for (i=0; i < (size / sizeof(struct ext2_gd)); i++) {
e2fs_cg_bswap(struct ext2_gd *old, struct ext2_gd *new, int size)
e2fs_cgsave(&fs->e2fs_gd[i* fs->e2fs_bsize / sizeof(struct ext2_gd)], (struct ext2_gd*)bp->b_data, fs->e2fs_bsize);
fs->e2fs_bsize / sizeof(struct ext2_gd));
size_t gdesc = i * fs->e2fs_bsize / sizeof(struct ext2_gd);
struct ext2_gd *gd;
gd = (struct ext2_gd *) bp->b_data;