Lines Matching refs:group
32 * group of bitmaps or inode tables for a flexbg group. Returns the
36 static blk_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk_t start_blk,
45 flexbg = group / flexbg_size;
57 if (start_blk && group % flexbg_size) {
64 last_grp = group | (flexbg_size - 1);
81 errcode_t ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group,
89 group_blk = ext2fs_group_first_block(fs, group);
90 last_blk = ext2fs_group_last_block(fs, group);
99 last_grp = group | (flexbg_size - 1);
100 rem_grps = last_grp - group;
114 start_blk += ((fs->stride * group) %
123 if (group && fs->group_desc[group-1].bg_block_bitmap)
124 prev_block = fs->group_desc[group-1].bg_block_bitmap;
125 start_blk = flexbg_offset(fs, group, prev_block, bmap,
130 if (!fs->group_desc[group].bg_block_bitmap) {
139 fs->group_desc[group].bg_block_bitmap = new_blk;
151 if (group && fs->group_desc[group-1].bg_inode_bitmap)
152 prev_block = fs->group_desc[group-1].bg_inode_bitmap;
153 start_blk = flexbg_offset(fs, group, prev_block, bmap,
158 if (!fs->group_desc[group].bg_inode_bitmap) {
167 fs->group_desc[group].bg_inode_bitmap = new_blk;
182 if (group && fs->group_desc[group-1].bg_inode_table)
183 prev_block = fs->group_desc[group-1].bg_inode_table;
185 rem_grps = last_grp - group;
186 group_blk = flexbg_offset(fs, group, prev_block, bmap,
194 if (!fs->group_desc[group].bg_inode_table) {
212 fs->group_desc[group].bg_inode_table = new_blk;
214 ext2fs_group_desc_csum_set(fs, group);