HomeSort by relevance Sort by last modified time
    Searched refs:indirect_block (Results 1 - 2 of 2) sorted by null

  /external/qemu/distrib/ext4_utils/src/
ext4fixup.c 479 unsigned int *indirect_block; local
484 indirect_block = (unsigned int *)malloc(info.block_size);
485 if (indirect_block == 0) {
486 critical_error("failed to allocate memory for indirect_block\n");
489 read_block(fd, inode->i_block[EXT4_NDIR_BLOCKS], indirect_block);
492 block_list[EXT4_NDIR_BLOCKS+i] = indirect_block[i];
497 free(indirect_block);
  /system/extras/ext4_utils/
ext4fixup.c 378 unsigned int *indirect_block; local
383 indirect_block = (unsigned int *)malloc(info.block_size);
384 if (indirect_block == 0) {
385 critical_error("failed to allocate memory for indirect_block\n");
388 read_block(fd, inode->i_block[EXT4_NDIR_BLOCKS], indirect_block);
391 block_list[EXT4_NDIR_BLOCKS+i] = indirect_block[i];
396 free(indirect_block);

Completed in 1596 milliseconds