• Home
  • Raw
  • Download

Lines Matching refs:gdp

71 				       struct ext4_group_desc *gdp)  in ext4_init_inode_bitmap()  argument
79 if (!ext4_group_desc_csum_verify(sbi, block_group, gdp)) { in ext4_init_inode_bitmap()
81 ext4_free_group_clusters_set(sb, gdp, 0); in ext4_init_inode_bitmap()
82 ext4_free_inodes_set(sb, gdp, 0); in ext4_init_inode_bitmap()
83 ext4_itable_unused_set(sb, gdp, 0); in ext4_init_inode_bitmap()
202 struct ext4_group_desc *gdp; in ext4_free_inode() local
260 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode()
261 if (gdp) { in ext4_free_inode()
272 count = ext4_free_inodes_count(sb, gdp) + 1; in ext4_free_inode()
273 ext4_free_inodes_set(sb, gdp, count); in ext4_free_inode()
275 count = ext4_used_dirs_count(sb, gdp) - 1; in ext4_free_inode()
276 ext4_used_dirs_set(sb, gdp, count); in ext4_free_inode()
279 gdp->bg_checksum = ext4_group_desc_csum(sbi, block_group, gdp); in ext4_free_inode()
627 struct ext4_group_desc *gdp = NULL; in ext4_new_inode() local
677 gdp = ext4_get_group_desc(sb, group, &group_desc_bh); in ext4_new_inode()
678 if (!gdp) in ext4_new_inode()
724 gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { in ext4_new_inode()
740 if (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { in ext4_new_inode()
741 gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT); in ext4_new_inode()
742 ext4_free_group_clusters_set(sb, gdp, in ext4_new_inode()
743 ext4_free_clusters_after_init(sb, group, gdp)); in ext4_new_inode()
744 gdp->bg_checksum = ext4_group_desc_csum(sbi, group, in ext4_new_inode()
745 gdp); in ext4_new_inode()
767 ext4_itable_unused_count(sb, gdp); in ext4_new_inode()
768 if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT)) { in ext4_new_inode()
769 gdp->bg_flags &= cpu_to_le16(~EXT4_BG_INODE_UNINIT); in ext4_new_inode()
778 ext4_itable_unused_set(sb, gdp, in ext4_new_inode()
785 ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1); in ext4_new_inode()
787 ext4_used_dirs_set(sb, gdp, ext4_used_dirs_count(sb, gdp) + 1); in ext4_new_inode()
795 gdp->bg_checksum = ext4_group_desc_csum(sbi, group, gdp); in ext4_new_inode()
997 struct ext4_group_desc *gdp; in ext4_count_free_inodes() local
1007 gdp = NULL; in ext4_count_free_inodes()
1009 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_inodes()
1010 if (!gdp) in ext4_count_free_inodes()
1012 desc_count += ext4_free_inodes_count(sb, gdp); in ext4_count_free_inodes()
1021 (unsigned long) i, ext4_free_inodes_count(sb, gdp), x); in ext4_count_free_inodes()
1032 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_inodes()
1033 if (!gdp) in ext4_count_free_inodes()
1035 desc_count += ext4_free_inodes_count(sb, gdp); in ext4_count_free_inodes()
1049 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_dirs() local
1050 if (!gdp) in ext4_count_dirs()
1052 count += ext4_used_dirs_count(sb, gdp); in ext4_count_dirs()
1070 struct ext4_group_desc *gdp = NULL; in ext4_init_inode_table() local
1082 gdp = ext4_get_group_desc(sb, group, &group_desc_bh); in ext4_init_inode_table()
1083 if (!gdp) in ext4_init_inode_table()
1090 if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_ZEROED)) in ext4_init_inode_table()
1105 if (!(gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT))) in ext4_init_inode_table()
1107 ext4_itable_unused_count(sb, gdp)), in ext4_init_inode_table()
1115 ext4_itable_unused_count(sb, gdp)); in ext4_init_inode_table()
1120 blk = ext4_inode_table(sb, gdp) + used_blks; in ext4_init_inode_table()
1147 gdp->bg_flags |= cpu_to_le16(EXT4_BG_INODE_ZEROED); in ext4_init_inode_table()
1148 gdp->bg_checksum = ext4_group_desc_csum(sbi, group, gdp); in ext4_init_inode_table()