Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dext4fixup.c520 static int recurse_dir(int fd, struct ext4_inode *inode, char *dirbuf, int dirsize, int mode) in recurse_dir() argument
540 if (dirsize % info.block_size) { in recurse_dir()
542 dirsize, info.block_size); in recurse_dir()
545 num_blocks = dirsize / info.block_size; in recurse_dir()
576 while (dirp < (struct ext4_dir_entry_2 *)(dirbuf + dirsize)) { in recurse_dir()
578 leftover_space = (char *)(dirbuf + dirsize) - (char *)dirp; in recurse_dir()
690 unsigned int dirsize; in ext4fixup_internal() local
754 dirsize = root_inode.i_blocks_lo * INODE_BLOCK_SIZE; in ext4fixup_internal()
756 printf("root dir size = %d bytes\n", dirsize); in ext4fixup_internal()
759 dirbuf = malloc(dirsize); in ext4fixup_internal()
[all …]