Searched refs:dirbuf (Results 1 – 1 of 1) sorted by relevance
/system/extras/ext4_utils/ |
D | ext4fixup.c | 525 static int recurse_dir(int fd, struct ext4_inode *inode, char *dirbuf, int dirsize, int mode) in recurse_dir() argument 577 read_block(fd, block_list[i], dirbuf + (i * info.block_size)); in recurse_dir() 580 dirp = (struct ext4_dir_entry_2 *)dirbuf; 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() 674 write_block(fd, block_list[i], dirbuf + (i * info.block_size)); in recurse_dir() 696 char *dirbuf; in ext4fixup_internal() local 764 dirbuf = malloc(dirsize); in ext4fixup_internal() 765 if (dirbuf == 0) { in ext4fixup_internal() 782 recurse_dir(fd, &root_inode, dirbuf, dirsize, SANITY_CHECK_PASS); in ext4fixup_internal() [all …]
|