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()
723 struct ext4_group_desc *gdp; in ext4_count_free_clusters() local
736 gdp = NULL; in ext4_count_free_clusters()
739 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_clusters()
740 if (!gdp) in ext4_count_free_clusters()
746 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters()
757 i, ext4_free_group_clusters(sb, gdp), x); in ext4_count_free_clusters()
769 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_clusters()
770 if (!gdp) in ext4_count_free_clusters()
776 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters()