Lines Matching refs:bg_flags
228 __u16 *bg_flags; /* block group flags of groups member
258 flex_gd->bg_flags = kmalloc_array(flexbg_size, sizeof(__u16), in alloc_flex_gd()
260 if (flex_gd->bg_flags == NULL) in alloc_flex_gd()
275 kfree(flex_gd->bg_flags); in free_flex_gd()
346 flex_gd->bg_flags[group] &= uninit_mask; in ext4_alloc_group_tables()
357 flex_gd->bg_flags[group] &= uninit_mask; in ext4_alloc_group_tables()
373 flex_gd->bg_flags[group + 1] &= uninit_mask; in ext4_alloc_group_tables()
380 flex_gd->bg_flags[group] &= uninit_mask; in ext4_alloc_group_tables()
473 if (flex_gd->bg_flags[group] & EXT4_BG_BLOCK_UNINIT) { in set_flexbg_block_bitmap()
528 __u16 *bg_flags = flex_gd->bg_flags; in setup_new_flex_group_blocks() local
611 if (!(bg_flags[i] & EXT4_BG_INODE_ZEROED)) in setup_new_flex_group_blocks()
624 if (bg_flags[i] & EXT4_BG_BLOCK_UNINIT) in setup_new_flex_group_blocks()
653 if (bg_flags[i] & EXT4_BG_INODE_UNINIT) in setup_new_flex_group_blocks()
1309 __u16 *bg_flags = flex_gd->bg_flags; in ext4_setup_new_descs() local
1313 for (i = 0; i < flex_gd->count; i++, group_data++, bg_flags++) { in ext4_setup_new_descs()
1343 gdp->bg_flags = cpu_to_le16(*bg_flags); in ext4_setup_new_descs()
1489 BUG_ON(!flex_gd->count || !flex_gd->groups || !flex_gd->bg_flags); in ext4_flex_group_add()
1608 flex_gd->bg_flags[i] = EXT4_BG_BLOCK_UNINIT | in ext4_setup_next_flex_gd()
1611 flex_gd->bg_flags[i] |= EXT4_BG_INODE_ZEROED; in ext4_setup_next_flex_gd()
1613 flex_gd->bg_flags[i] = EXT4_BG_INODE_ZEROED; in ext4_setup_next_flex_gd()
1618 flex_gd->bg_flags[i - 1] &= ~EXT4_BG_BLOCK_UNINIT; in ext4_setup_next_flex_gd()
1652 __u16 bg_flags = 0; in ext4_group_add() local
1702 flex_gd.bg_flags = &bg_flags; in ext4_group_add()