Lines Matching refs:i_mode

423 	if (LINUX_S_ISDIR(inode->i_mode) || LINUX_S_ISREG(inode->i_mode) ||  in check_is_really_dir()
424 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir()
475 if ((LINUX_S_ISCHR(inode->i_mode) || LINUX_S_ISBLK(inode->i_mode)) && in check_is_really_dir()
510 inode->i_mode = (inode->i_mode & 07777) | LINUX_S_IFDIR; in check_is_really_dir()
813 (LINUX_S_ISREG(inode->i_mode) || in e2fsck_pass1()
814 LINUX_S_ISDIR(inode->i_mode))) { in e2fsck_pass1()
840 if ((inode->i_mode || inode->i_uid || inode->i_gid || in e2fsck_pass1()
887 if (!LINUX_S_ISDIR(inode->i_mode)) { in e2fsck_pass1()
910 if (!LINUX_S_ISREG(inode->i_mode) && in e2fsck_pass1()
913 inode->i_mode = LINUX_S_IFREG; in e2fsck_pass1()
937 if (!LINUX_S_ISREG(inode->i_mode) && in e2fsck_pass1()
940 inode->i_mode = LINUX_S_IFREG; in e2fsck_pass1()
962 if (LINUX_S_ISDIR(inode->i_mode)) in e2fsck_pass1()
965 if (inode->i_mode && in e2fsck_pass1()
966 !LINUX_S_ISREG(inode->i_mode)) in e2fsck_pass1()
969 if (inode->i_mode != 0) in e2fsck_pass1()
974 inode->i_mode = 0; in e2fsck_pass1()
1015 if (!inode->i_dtime && inode->i_mode) { in e2fsck_pass1()
1053 (LINUX_S_ISDIR(inode->i_mode) && inode->i_dir_acl)) in e2fsck_pass1()
1087 LINUX_S_ISLNK(inode->i_mode) && in e2fsck_pass1()
1094 if (LINUX_S_ISDIR(inode->i_mode)) { in e2fsck_pass1()
1100 } else if (LINUX_S_ISREG (inode->i_mode)) { in e2fsck_pass1()
1103 } else if (LINUX_S_ISCHR (inode->i_mode) && in e2fsck_pass1()
1108 } else if (LINUX_S_ISBLK (inode->i_mode) && in e2fsck_pass1()
1113 } else if (LINUX_S_ISLNK (inode->i_mode) && in e2fsck_pass1()
1124 else if (LINUX_S_ISFIFO (inode->i_mode) && in e2fsck_pass1()
1129 } else if ((LINUX_S_ISSOCK (inode->i_mode)) && in e2fsck_pass1()
1709 if ((!LINUX_S_ISDIR(inode->i_mode) && in handle_htree()
1807 is_dir = LINUX_S_ISDIR(pctx->inode->i_mode); in scan_extent_node()
2046 pb.is_dir = LINUX_S_ISDIR(inode->i_mode); in check_blocks()
2047 pb.is_reg = LINUX_S_ISREG(inode->i_mode); in check_blocks()
2099 if (LINUX_S_ISDIR(inode->i_mode)) in check_blocks()
2179 if (bad_size && !LINUX_S_ISLNK(inode->i_mode)) { in check_blocks()
2184 if (!LINUX_S_ISDIR(inode->i_mode)) in check_blocks()
2190 if (LINUX_S_ISREG(inode->i_mode) && in check_blocks()
2847 if (!LINUX_S_ISDIR(ctx->stashed_inode->i_mode)) in pass1_check_directory()