Lines Matching refs:gdp
137 void ext2fs_swap_group_desc2(ext2_filsys fs, struct ext2_group_desc *gdp) in ext2fs_swap_group_desc2() argument
139 struct ext4_group_desc *gdp4 = (struct ext4_group_desc *)gdp; in ext2fs_swap_group_desc2()
142 gdp->bg_block_bitmap = ext2fs_swab32(gdp->bg_block_bitmap); in ext2fs_swap_group_desc2()
143 gdp->bg_inode_bitmap = ext2fs_swab32(gdp->bg_inode_bitmap); in ext2fs_swap_group_desc2()
144 gdp->bg_inode_table = ext2fs_swab32(gdp->bg_inode_table); in ext2fs_swap_group_desc2()
145 gdp->bg_free_blocks_count = ext2fs_swab16(gdp->bg_free_blocks_count); in ext2fs_swap_group_desc2()
146 gdp->bg_free_inodes_count = ext2fs_swab16(gdp->bg_free_inodes_count); in ext2fs_swap_group_desc2()
147 gdp->bg_used_dirs_count = ext2fs_swab16(gdp->bg_used_dirs_count); in ext2fs_swap_group_desc2()
148 gdp->bg_flags = ext2fs_swab16(gdp->bg_flags); in ext2fs_swap_group_desc2()
149 gdp->bg_exclude_bitmap_lo = ext2fs_swab32(gdp->bg_exclude_bitmap_lo); in ext2fs_swap_group_desc2()
150 gdp->bg_block_bitmap_csum_lo = in ext2fs_swap_group_desc2()
151 ext2fs_swab16(gdp->bg_block_bitmap_csum_lo); in ext2fs_swap_group_desc2()
152 gdp->bg_inode_bitmap_csum_lo = in ext2fs_swap_group_desc2()
153 ext2fs_swab16(gdp->bg_inode_bitmap_csum_lo); in ext2fs_swap_group_desc2()
154 gdp->bg_itable_unused = ext2fs_swab16(gdp->bg_itable_unused); in ext2fs_swap_group_desc2()
155 gdp->bg_checksum = ext2fs_swab16(gdp->bg_checksum); in ext2fs_swap_group_desc2()
179 void ext2fs_swap_group_desc(struct ext2_group_desc *gdp) in ext2fs_swap_group_desc() argument
181 ext2fs_swap_group_desc2(0, gdp); in ext2fs_swap_group_desc()