Lines Matching defs:groups
146 ext4_warning(sb, "Cannot add at group %u (only %u groups)",
226 struct ext4_new_group_data *groups; /* new_group_data for groups
228 __u16 *bg_flags; /* block group flags of groups
229 in @groups */
232 ext4_group_t count; /* number of groups in @groups
237 * Avoiding memory allocation failures due to too many groups added each time.
260 flex_gd->groups = kmalloc_array(flex_gd->resize_bg,
266 if (flex_gd->groups == NULL)
277 kfree(flex_gd->groups);
287 kfree(flex_gd->groups);
296 * group tables from the 1st group of groups contained by @flexgd, which may
299 * @sb: super block of fs to which the groups belongs
308 struct ext4_new_group_data *group_data = flex_gd->groups;
407 "%u groups, flexbg size is %u:\n", flex_gd->count,
478 group -= flex_gd->groups[0].group;
493 bh = sb_getblk(sb, flex_gd->groups[group].block_bitmap);
517 * Set up the block and inode bitmaps, and the inode table for the new groups.
538 struct ext4_new_group_data *group_data = flex_gd->groups;
727 * Iterate through the groups which hold BACKUP superblock/GDT copies in an
764 * groups in current filesystem that have BACKUPS, or -ve error code.
881 ext4_warning(sb, "not enough memory for %lu groups",
962 ext4_warning(sb, "not enough memory for %lu groups",
1214 * ext4_add_new_descs() adds @count group descriptor of groups
1313 struct ext4_new_group_data *group_data = flex_gd->groups;
1374 * groups can be seen by the filesystem.
1377 * @flex_gd: new added groups
1385 struct ext4_new_group_data *group_data = flex_gd->groups;
1427 * dependent data and before modifying the groups count
1429 * * Readers must perform an smp_rmb() after reading the groups
1501 BUG_ON(!flex_gd->count || !flex_gd->groups || !flex_gd->bg_flags);
1533 group = flex_gd->groups[0].group;
1587 struct ext4_new_group_data *group_data = flex_gd->groups;
1715 flex_gd.groups = input;
1856 static int num_desc_blocks(struct super_block *sb, ext4_group_t groups)
1858 return (groups + EXT4_DESC_PER_BLOCK(sb) - 1) / EXT4_DESC_PER_BLOCK(sb);
2107 /* Add flex groups. Note that a regular group is a