Searched refs:bg (Results 1 – 7 of 7) sorted by relevance
86 static void fill_bgroup(struct ext2_bgroup *bg, struct ext2_disk_bgroup *disk_bg) in fill_bgroup() argument88 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() argument98 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()[all …]
69 int ext2_fetch_bg_itable(struct ext2_bgroup *bg, uint32_t block);81 int ext2_fetch_bg_ibitmap(struct ext2_bgroup *bg);93 int ext2_fetch_bg_bbitmap(struct ext2_bgroup *bg);
141 #define BGROUP_INODE_TABLE(bg) ((struct ext2_disk_inode *)(bg)->inode_table->data) argument142 #define BGROUP_INODE_BITMAP(bg) ((uint8_t *)(bg)->inode_bitmap->data) argument143 #define BGROUP_BLOCK_BITMAP(bg) ((uint8_t *)(bg)->block_bitmap->data) argument
259 struct ext2_disk_bgroup *bg = (struct ext2_disk_bgroup *)bg_block->data; in ext2_format() local261 memset(bg, 0, cfg->block_size); in ext2_format()262 bg->bg_block_bitmap = sys_cpu_to_le32(bbitmap_block_num); in ext2_format()263 bg->bg_inode_bitmap = sys_cpu_to_le32(ibitmap_block_num); in ext2_format()264 bg->bg_inode_table = sys_cpu_to_le32(itable_block_num); in ext2_format()265 bg->bg_free_blocks_count = sys_cpu_to_le16(free_blocks); in ext2_format()266 bg->bg_free_inodes_count = sys_cpu_to_le16(inodes_count - used_inodes); in ext2_format()267 bg->bg_used_dirs_count = sys_cpu_to_le16(2); /* '/' and 'lost+found' */ in ext2_format()
9 \definecolor{bg-color}{HTML}{333f67}15 \allsectionsfont{\color{bg-color}}
20 \color{bg-color} \rule{2cm}{1.7cm}39 \color{bg-color} \rule{1.5cm}{1.3cm}
96 bg,a .Lwim_overflow