Home | History | Annotate | Download | only in ext4_utils

Lines Matching refs:bg_desc

255 	aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks);
256 if (!aux_info.bg_desc)
271 free(aux_info.bg_desc);
373 sparse_file_add_data(ext4_sparse_file, aux_info.bg_desc,
379 aux_info.bg_desc[i].bg_block_bitmap = group_start_block + header_size;
380 aux_info.bg_desc[i].bg_inode_bitmap = group_start_block + header_size + 1;
381 aux_info.bg_desc[i].bg_inode_table = group_start_block + header_size + 2;
383 aux_info.bg_desc[i].bg_free_blocks_count = sb->s_blocks_per_group;
384 aux_info.bg_desc[i].bg_free_inodes_count = sb->s_inodes_per_group;
385 aux_info.bg_desc[i].bg_used_dirs_count = 0;
501 aux_info.bg_desc[i].bg_free_blocks_count = bg_free_blocks;
504 aux_info.bg_desc[i].bg_free_inodes_count = bg_free_inodes;
507 aux_info.bg_desc[i].bg_used_dirs_count += get_directories(i);
509 aux_info.bg_desc[i].bg_flags = get_bg_flags(i);
513 crc = ext4_crc16(crc, &aux_info.bg_desc[i], offsetof(struct ext2_group_desc, bg_checksum));
514 aux_info.bg_desc[i].bg_checksum = crc;
612 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks);