Lines Matching full:group_desc
57 #define FS_BLOCK_BM(fs, i) ((fs)->group_desc[(i)].bg_block_bitmap)
58 #define FS_INODE_BM(fs, i) ((fs)->group_desc[(i)].bg_inode_bitmap)
59 #define FS_INODE_TB(fs, i) ((fs)->group_desc[(i)].bg_inode_table)
115 rfs->new_fs->group_desc[rfs->new_fs->group_desc_count-1].bg_flags &=
202 if (!(fs->group_desc[g].bg_flags & EXT2_BG_BLOCK_UNINIT))
225 (blk == fs->group_desc[g].bg_block_bitmap) ||
226 (blk == fs->group_desc[g].bg_inode_bitmap) ||
227 (blk >= fs->group_desc[g].bg_inode_table &&
228 (blk < fs->group_desc[g].bg_inode_table
399 &fs->group_desc);
403 memset((char *) fs->group_desc +
441 &old_fs->group_desc[i]);
464 fs->group_desc[i].bg_free_blocks_count += (numblocks-old_numblocks);
494 memset(&fs->group_desc[i], 0,
498 fs->group_desc[i].bg_flags = 0;
500 fs->group_desc[i].bg_flags |= EXT2_BG_INODE_UNINIT |
511 fs->group_desc[i].bg_flags |=
547 fs->group_desc[i].bg_free_blocks_count = numblocks;
548 fs->group_desc[i].bg_free_inodes_count =
550 fs->group_desc[i].bg_used_dirs_count = 0;
646 fs->group_desc[i].bg_inode_table,
704 for (j = 0, b = fs->group_desc[i].bg_inode_table;
713 fs->group_desc[i].bg_block_bitmap);
719 fs->group_desc[i].bg_inode_bitmap);
754 (fs->group_desc[group].bg_flags & EXT2_BG_BLOCK_UNINIT)) {
815 (old_fs->group_desc[g].bg_flags & EXT2_BG_BLOCK_UNINIT)) {
900 if (fs->group_desc[i].bg_inode_table &&
901 fs->group_desc[i].bg_inode_bitmap &&
902 fs->group_desc[i].bg_block_bitmap)
909 if (fs->group_desc[i].bg_block_bitmap)
911 fs->group_desc[i].bg_block_bitmap);
912 if (fs->group_desc[i].bg_inode_bitmap)
914 fs->group_desc[i].bg_inode_bitmap);
915 if (fs->group_desc[i].bg_inode_table)
916 for (blk = fs->group_desc[i].bg_inode_table, j=0;
987 for (blk = fs->group_desc[i].bg_inode_table, j=0;
1000 for (blk = rfs->old_fs->group_desc[i].bg_inode_table, j=0;
1607 if (rfs->old_fs->group_desc[i].bg_inode_table !=
1608 fs->group_desc[i].bg_inode_table)
1624 old_blk = rfs->old_fs->group_desc[i].bg_inode_table;
1625 new_blk = fs->group_desc[i].bg_inode_table;
1678 for (blk = rfs->old_fs->group_desc[i].bg_inode_table, j=0;
1682 rfs->old_fs->group_desc[i].bg_inode_table = new_blk;
1775 uninit = fs->group_desc[group].bg_flags & EXT2_BG_BLOCK_UNINIT;
1791 (blk == fs->group_desc[group].bg_block_bitmap) ||
1792 (blk == fs->group_desc[group].bg_inode_bitmap) ||
1793 ((blk >= fs->group_desc[group].bg_inode_table &&
1794 (blk < fs->group_desc[group].bg_inode_table
1803 fs->group_desc[group].bg_free_blocks_count =
1811 uninit = (fs->group_desc[group].bg_flags &
1835 uninit = fs->group_desc[group].bg_flags & EXT2_BG_INODE_UNINIT;
1845 fs->group_desc[group].bg_free_inodes_count =
1853 uninit = (fs->group_desc[group].bg_flags &