Searched refs:dirp (Results 1 - 2 of 2) sorted by relevance

/system/extras/ext4_utils/
H A Dext4fixup.c590 static int is_entry_dir(int fd, struct ext4_dir_entry_2 *dirp, int pass) argument
595 if (dirp->file_type == EXT4_FT_DIR) {
597 } else if (dirp->file_type == EXT4_FT_UNKNOWN) {
605 if ((pass == UPDATE_INODE_NUMS) && !(dirp->inode & 0x80000000)) {
608 read_inode(fd, (dirp->inode & 0x7fffffff), &inode);
622 struct ext4_dir_entry_2 *dirp, *prev_dirp = 0; local
673 dirp = (struct ext4_dir_entry_2 *)dirbuf;
674 while (dirp < (struct ext4_dir_entry_2 *)(dirbuf + dirsize)) {
676 leftover_space = (char *)(dirbuf + dirsize) - (char *)dirp;
691 if (dirp
[all...]
/system/core/sh/
H A Dexpand.c1131 DIR *dirp; local
1206 if ((dirp = opendir(cp)) == NULL)
1224 while (! int_pending() && (dp = readdir(dirp)) != NULL) {
1240 closedir(dirp);

Completed in 324 milliseconds