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

/system/extras/ext4_utils/
H A Dext4fixup.c624 unsigned int num_blocks; local
646 num_blocks = dirsize / info.block_size;
648 block_list = malloc((num_blocks + 1) * sizeof(*block_list));
665 if (num_blocks > (info.block_size / 4 + EXT4_NDIR_BLOCKS)) {
672 for (i = 0; i < num_blocks; i++) {
769 for (i = 0; i < num_blocks; i++) {
H A Dallocate.c196 /* Marks a the first num_blocks blocks in a block group as used, and accounts
234 static void free_blocks(struct block_group_info *bg, u32 num_blocks) argument
238 for (i = 0; i < num_blocks; i++, block--)
240 bg->free_blocks += num_blocks;
241 bg->first_free_block -= num_blocks;

Completed in 45 milliseconds