Searched refs:num_blocks (Results 1 - 2 of 2) sorted by relevance

/system/extras/ext4_utils/
H A Dext4fixup.c621 unsigned int num_blocks; local
643 num_blocks = dirsize / info.block_size;
645 block_list = malloc((num_blocks + 1) * sizeof(*block_list));
662 if (num_blocks > (info.block_size / 4 + EXT4_NDIR_BLOCKS)) {
669 for (i = 0; i < num_blocks; i++) {
766 for (i = 0; i < num_blocks; i++) {
H A Dallocate.c194 /* Marks a the first num_blocks blocks in a block group as used, and accounts
232 static void free_blocks(struct block_group_info *bg, u32 num_blocks) argument
236 for (i = 0; i < num_blocks; i++, block--)
238 bg->free_blocks += num_blocks;
239 bg->first_free_block -= num_blocks;

Completed in 51 milliseconds