Lines Matching refs:gdp
88 struct ext4_group_desc *gdp) in ext4_num_overhead_clusters() argument
113 if (ext4_block_in_group(sb, ext4_block_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters()
115 ext4_block_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters()
124 if (ext4_block_in_group(sb, ext4_inode_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters()
126 ext4_inode_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters()
135 itbl_blk = ext4_inode_table(sb, gdp); in ext4_num_overhead_clusters()
182 struct ext4_group_desc *gdp) in ext4_init_block_bitmap() argument
192 if (!ext4_group_desc_csum_verify(sb, block_group, gdp)) { in ext4_init_block_bitmap()
210 tmp = ext4_block_bitmap(sb, gdp); in ext4_init_block_bitmap()
214 tmp = ext4_inode_bitmap(sb, gdp); in ext4_init_block_bitmap()
218 tmp = ext4_inode_table(sb, gdp); in ext4_init_block_bitmap()
219 for (; tmp < ext4_inode_table(sb, gdp) + in ext4_init_block_bitmap()
240 struct ext4_group_desc *gdp) in ext4_free_clusters_after_init() argument
243 ext4_num_overhead_clusters(sb, block_group, gdp); in ext4_free_clusters_after_init()
680 struct ext4_group_desc *gdp; in ext4_count_free_clusters() local
693 gdp = NULL; in ext4_count_free_clusters()
696 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_clusters()
697 if (!gdp) in ext4_count_free_clusters()
703 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters()
714 i, ext4_free_group_clusters(sb, gdp), x); in ext4_count_free_clusters()
726 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_clusters()
727 if (!gdp) in ext4_count_free_clusters()
733 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters()