Home
last modified time | relevance | path

Searched refs:dirsize (Results 1 – 1 of 1) sorted by relevance

/system/extras/ext4_utils/
Dext4fixup.c525 static int recurse_dir(int fd, struct ext4_inode *inode, char *dirbuf, int dirsize, int mode) in recurse_dir() argument
545 if (dirsize % info.block_size) { in recurse_dir()
547 dirsize, info.block_size); in recurse_dir()
550 num_blocks = dirsize / info.block_size; in recurse_dir()
581 while (dirp < (struct ext4_dir_entry_2 *)(dirbuf + dirsize)) { in recurse_dir()
583 leftover_space = (char *)(dirbuf + dirsize) - (char *)dirp; in recurse_dir()
695 unsigned int dirsize; in ext4fixup_internal() local
759 dirsize = root_inode.i_blocks_lo * INODE_BLOCK_SIZE; in ext4fixup_internal()
761 printf("root dir size = %d bytes\n", dirsize); in ext4fixup_internal()
764 dirbuf = malloc(dirsize); in ext4fixup_internal()
[all …]