Searched refs:flexbg_size (Results 1 – 1 of 1) sorted by relevance
240 static struct ext4_new_flex_group_data *alloc_flex_gd(unsigned long flexbg_size) in alloc_flex_gd() argument248 if (flexbg_size >= UINT_MAX / sizeof(struct ext4_new_group_data)) in alloc_flex_gd()250 flex_gd->count = flexbg_size; in alloc_flex_gd()252 flex_gd->groups = kmalloc_array(flexbg_size, in alloc_flex_gd()258 flex_gd->bg_flags = kmalloc_array(flexbg_size, sizeof(__u16), in alloc_flex_gd()295 int flexbg_size) in ext4_alloc_group_tables() argument307 __u16 uninit_mask = (flexbg_size > 1) ? ~EXT4_BG_BLOCK_UNINIT : ~0; in ext4_alloc_group_tables()315 BUG_ON((flexbg_size > 1) && ((src_group & ~(flexbg_size - 1)) != in ext4_alloc_group_tables()316 (last_group & ~(flexbg_size - 1)))); in ext4_alloc_group_tables()397 flexbg_size); in ext4_alloc_group_tables()[all …]