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

/system/extras/ext4_utils/
H A Dext4fixup.c593 static int is_entry_dir(int fd, struct ext4_dir_entry_2 *dirp, int pass) argument
598 if (dirp->file_type == EXT4_FT_DIR) {
600 } else if (dirp->file_type == EXT4_FT_UNKNOWN) {
608 if ((pass == UPDATE_INODE_NUMS) && !(dirp->inode & 0x80000000)) {
611 read_inode(fd, (dirp->inode & 0x7fffffff), &inode);
625 struct ext4_dir_entry_2 *dirp, *prev_dirp = 0; local
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;
694 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 43 milliseconds