Searched defs:dirbuf (Results 1 - 1 of 1) sorted by relevance

/system/extras/ext4_utils/
H A Dext4fixup.c621 static int recurse_dir(int fd, struct ext4_inode *inode, char *dirbuf, int dirsize, int mode) argument
673 read_block(fd, block_list[i], dirbuf + (i * info.block_size));
676 dirp = (struct ext4_dir_entry_2 *)dirbuf;
677 while (dirp < (struct ext4_dir_entry_2 *)(dirbuf + dirsize)) {
679 leftover_space = (char *)(dirbuf + dirsize) - (char *)dirp;
770 write_block(fd, block_list[i], dirbuf + (i * info.block_size));
792 char *dirbuf; local
846 dirbuf = malloc(dirsize);
847 if (dirbuf == 0) {
848 critical_error("failed to allocate memory for dirbuf\
[all...]

Completed in 18 milliseconds