Searched refs:bgs (Results 1 – 3 of 3) sorted by relevance
245 struct block_group_info *bg = &aux_info.bgs[last_reg->bg]; in reduce_allocation()320 aux_info.bgs = calloc(sizeof(struct block_group_info), aux_info.groups); in block_allocator_init()321 if (aux_info.bgs == NULL) in block_allocator_init()325 init_bg(&aux_info.bgs[i], i); in block_allocator_init()333 free(aux_info.bgs[i].bitmaps); in block_allocator_free()334 free(aux_info.bgs[i].inode_table); in block_allocator_free()336 free(aux_info.bgs); in block_allocator_free()358 struct block_group_info *bgs = aux_info.bgs; in ext4_allocate_best_fit_partial() local362 for (j = 1; j < bgs[i].chunk_count; j++) { in ext4_allocate_best_fit_partial()364 hole_start = bgs[i].chunks[j-1].block + bgs[i].chunks[j-1].len; in ext4_allocate_best_fit_partial()[all …]
538 if (block >= aux_info.bgs[i].first_block) in get_block_group()556 struct block_group_info *bgs = aux_info.bgs; in extract_base_fs_allocations() local627 int bg_first_block = bgs[block_group].first_block; in extract_base_fs_allocations()628 int min_bg_bound = bgs[block_group].chunks[0].block + bgs[block_group].chunks[0].len; in extract_base_fs_allocations()629 int max_bg_bound = bgs[block_group].chunks[bgs[block_group].chunk_count - 1].block; in extract_base_fs_allocations()640 reserve_bg_chunk(block_group, start_block - bgs[block_group].first_block, block_file_size); in extract_base_fs_allocations()651 qsort(bgs[i].chunks, bgs[i].chunk_count, sizeof(struct region), compare_chunks); in extract_base_fs_allocations()
106 struct block_group_info *bgs; member