Lines Matching refs:disk_bg

86 static void fill_bgroup(struct ext2_bgroup *bg, struct ext2_disk_bgroup *disk_bg)  in fill_bgroup()  argument
88 bg->bg_block_bitmap = sys_le32_to_cpu(disk_bg->bg_block_bitmap); in fill_bgroup()
89 bg->bg_inode_bitmap = sys_le32_to_cpu(disk_bg->bg_inode_bitmap); in fill_bgroup()
90 bg->bg_inode_table = sys_le32_to_cpu(disk_bg->bg_inode_table); in fill_bgroup()
91 bg->bg_free_blocks_count = sys_le16_to_cpu(disk_bg->bg_free_blocks_count); in fill_bgroup()
92 bg->bg_free_inodes_count = sys_le16_to_cpu(disk_bg->bg_free_inodes_count); in fill_bgroup()
93 bg->bg_used_dirs_count = sys_le16_to_cpu(disk_bg->bg_used_dirs_count); in fill_bgroup()
96 static void fill_disk_bgroup(struct ext2_disk_bgroup *disk_bg, struct ext2_bgroup *bg) in fill_disk_bgroup() argument
98 disk_bg->bg_block_bitmap = sys_cpu_to_le32(bg->bg_block_bitmap); in fill_disk_bgroup()
99 disk_bg->bg_inode_bitmap = sys_cpu_to_le32(bg->bg_inode_bitmap); in fill_disk_bgroup()
100 disk_bg->bg_inode_table = sys_cpu_to_le32(bg->bg_inode_table); in fill_disk_bgroup()
101 disk_bg->bg_free_blocks_count = sys_cpu_to_le16(bg->bg_free_blocks_count); in fill_disk_bgroup()
102 disk_bg->bg_free_inodes_count = sys_cpu_to_le16(bg->bg_free_inodes_count); in fill_disk_bgroup()
103 disk_bg->bg_used_dirs_count = sys_cpu_to_le16(bg->bg_used_dirs_count); in fill_disk_bgroup()
267 struct ext2_disk_bgroup *disk_bg = ((struct ext2_disk_bgroup *)b->data) + offset; in ext2_fetch_block_group() local
269 fill_bgroup(bg, disk_bg); in ext2_fetch_block_group()
805 struct ext2_disk_bgroup *disk_bg = ((struct ext2_disk_bgroup *)b->data) + offset; in ext2_commit_bg() local
807 fill_disk_bgroup(disk_bg, bg); in ext2_commit_bg()