• Home
  • Raw
  • Download

Lines Matching refs:gdp

244 	struct ext4_group_desc *gdp;  in ext4_free_inode()  local
308 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode()
309 if (gdp) { in ext4_free_inode()
320 count = ext4_free_inodes_count(sb, gdp) + 1; in ext4_free_inode()
321 ext4_free_inodes_set(sb, gdp, count); in ext4_free_inode()
323 count = ext4_used_dirs_count(sb, gdp) - 1; in ext4_free_inode()
324 ext4_used_dirs_set(sb, gdp, count); in ext4_free_inode()
328 ext4_inode_bitmap_csum_set(sb, block_group, gdp, bitmap_bh, in ext4_free_inode()
330 ext4_group_desc_csum_set(sb, block_group, gdp); in ext4_free_inode()
675 struct ext4_group_desc *gdp; in recently_deleted() local
683 gdp = ext4_get_group_desc(sb, group, NULL); in recently_deleted()
684 if (unlikely(!gdp)) in recently_deleted()
687 bh = sb_find_get_block(sb, ext4_inode_table(sb, gdp) + in recently_deleted()
754 struct ext4_group_desc *gdp; in ext4_mark_inode_used() local
773 gdp = ext4_get_group_desc(sb, group, &group_desc_bh); in ext4_mark_inode_used()
774 if (!gdp || !group_desc_bh) { in ext4_mark_inode_used()
795 gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { in ext4_mark_inode_used()
811 (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) { in ext4_mark_inode_used()
812 gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT); in ext4_mark_inode_used()
813 ext4_free_group_clusters_set(sb, gdp, in ext4_mark_inode_used()
814 ext4_free_clusters_after_init(sb, group, gdp)); in ext4_mark_inode_used()
815 ext4_block_bitmap_csum_set(sb, group, gdp, in ext4_mark_inode_used()
817 ext4_group_desc_csum_set(sb, group, gdp); in ext4_mark_inode_used()
834 ext4_itable_unused_count(sb, gdp); in ext4_mark_inode_used()
835 if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT)) { in ext4_mark_inode_used()
836 gdp->bg_flags &= cpu_to_le16(~EXT4_BG_INODE_UNINIT); in ext4_mark_inode_used()
846 ext4_itable_unused_set(sb, gdp, in ext4_mark_inode_used()
852 ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1); in ext4_mark_inode_used()
854 ext4_inode_bitmap_csum_set(sb, group, gdp, inode_bitmap_bh, in ext4_mark_inode_used()
856 ext4_group_desc_csum_set(sb, group, gdp); in ext4_mark_inode_used()
935 struct ext4_group_desc *gdp = NULL; in __ext4_new_inode() local
1032 gdp = ext4_get_group_desc(sb, group, &group_desc_bh); in __ext4_new_inode()
1033 if (!gdp) in __ext4_new_inode()
1039 if (ext4_free_inodes_count(sb, gdp) == 0) in __ext4_new_inode()
1137 gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { in __ext4_new_inode()
1159 (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) { in __ext4_new_inode()
1160 gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT); in __ext4_new_inode()
1161 ext4_free_group_clusters_set(sb, gdp, in __ext4_new_inode()
1162 ext4_free_clusters_after_init(sb, group, gdp)); in __ext4_new_inode()
1163 ext4_block_bitmap_csum_set(sb, group, gdp, in __ext4_new_inode()
1165 ext4_group_desc_csum_set(sb, group, gdp); in __ext4_new_inode()
1190 ext4_itable_unused_count(sb, gdp); in __ext4_new_inode()
1191 if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT)) { in __ext4_new_inode()
1192 gdp->bg_flags &= cpu_to_le16(~EXT4_BG_INODE_UNINIT); in __ext4_new_inode()
1201 ext4_itable_unused_set(sb, gdp, in __ext4_new_inode()
1209 ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1); in __ext4_new_inode()
1211 ext4_used_dirs_set(sb, gdp, ext4_used_dirs_count(sb, gdp) + 1); in __ext4_new_inode()
1220 ext4_inode_bitmap_csum_set(sb, group, gdp, inode_bitmap_bh, in __ext4_new_inode()
1222 ext4_group_desc_csum_set(sb, group, gdp); in __ext4_new_inode()
1437 struct ext4_group_desc *gdp; in ext4_count_free_inodes() local
1447 gdp = NULL; in ext4_count_free_inodes()
1449 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_inodes()
1450 if (!gdp) in ext4_count_free_inodes()
1452 desc_count += ext4_free_inodes_count(sb, gdp); in ext4_count_free_inodes()
1463 (unsigned long) i, ext4_free_inodes_count(sb, gdp), x); in ext4_count_free_inodes()
1474 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_free_inodes()
1475 if (!gdp) in ext4_count_free_inodes()
1477 desc_count += ext4_free_inodes_count(sb, gdp); in ext4_count_free_inodes()
1491 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, i, NULL); in ext4_count_dirs() local
1492 if (!gdp) in ext4_count_dirs()
1494 count += ext4_used_dirs_count(sb, gdp); in ext4_count_dirs()
1512 struct ext4_group_desc *gdp = NULL; in ext4_init_inode_table() local
1525 gdp = ext4_get_group_desc(sb, group, &group_desc_bh); in ext4_init_inode_table()
1526 if (!gdp) in ext4_init_inode_table()
1533 if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_ZEROED)) in ext4_init_inode_table()
1548 if (!(gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT))) { in ext4_init_inode_table()
1550 ext4_itable_unused_count(sb, gdp); in ext4_init_inode_table()
1559 ext4_itable_unused_count(sb, gdp)); in ext4_init_inode_table()
1574 group, ext4_itable_unused_count(sb, gdp), in ext4_init_inode_table()
1581 blk = ext4_inode_table(sb, gdp) + used_blks; in ext4_init_inode_table()
1608 gdp->bg_flags |= cpu_to_le16(EXT4_BG_INODE_ZEROED); in ext4_init_inode_table()
1609 ext4_group_desc_csum_set(sb, group, gdp); in ext4_init_inode_table()