Lines Matching refs:bg_desc
260 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks); in ext4_create_fs_aux_info()
261 if (!aux_info.bg_desc) in ext4_create_fs_aux_info()
276 free(aux_info.bg_desc); in ext4_free_fs_aux_info()
382 sparse_file_add_data(ext4_sparse_file, aux_info.bg_desc, in ext4_fill_in_sb()
388 aux_info.bg_desc[i].bg_block_bitmap = group_start_block + header_size; in ext4_fill_in_sb()
389 aux_info.bg_desc[i].bg_inode_bitmap = group_start_block + header_size + 1; in ext4_fill_in_sb()
390 aux_info.bg_desc[i].bg_inode_table = group_start_block + header_size + 2; in ext4_fill_in_sb()
392 aux_info.bg_desc[i].bg_free_blocks_count = sb->s_blocks_per_group; in ext4_fill_in_sb()
393 aux_info.bg_desc[i].bg_free_inodes_count = sb->s_inodes_per_group; in ext4_fill_in_sb()
394 aux_info.bg_desc[i].bg_used_dirs_count = 0; in ext4_fill_in_sb()
510 aux_info.bg_desc[i].bg_free_blocks_count = bg_free_blocks; in ext4_update_free()
513 aux_info.bg_desc[i].bg_free_inodes_count = bg_free_inodes; in ext4_update_free()
516 aux_info.bg_desc[i].bg_used_dirs_count += get_directories(i); in ext4_update_free()
518 aux_info.bg_desc[i].bg_flags = get_bg_flags(i); in ext4_update_free()
522 crc = ext4_crc16(crc, &aux_info.bg_desc[i], offsetof(struct ext2_group_desc, bg_checksum)); in ext4_update_free()
523 aux_info.bg_desc[i].bg_checksum = crc; in ext4_update_free()
621 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in read_ext()