Lines Matching refs:i_mode
678 if (LINUX_S_ISDIR(inode->i_mode) || LINUX_S_ISREG(inode->i_mode) || in check_is_really_dir()
679 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir()
769 if ((LINUX_S_ISCHR(inode->i_mode) || LINUX_S_ISBLK(inode->i_mode)) && in check_is_really_dir()
805 inode->i_mode = (inode->i_mode & 07777) | LINUX_S_IFDIR; in check_is_really_dir()
1004 if (LINUX_S_ISCHR(inode->i_mode) || in fix_inline_data_extents_file()
1005 LINUX_S_ISBLK(inode->i_mode) || in fix_inline_data_extents_file()
1006 LINUX_S_ISFIFO(inode->i_mode) || in fix_inline_data_extents_file()
1007 LINUX_S_ISSOCK(inode->i_mode)) { in fix_inline_data_extents_file()
1469 if (!inode->i_dtime && inode->i_mode) { in e2fsck_pass1()
1616 (LINUX_S_ISREG(inode->i_mode) || in e2fsck_pass1()
1617 LINUX_S_ISDIR(inode->i_mode))) { in e2fsck_pass1()
1644 if ((failed_csum || inode->i_mode || inode->i_uid || in e2fsck_pass1()
1695 if (!LINUX_S_ISDIR(inode->i_mode)) { in e2fsck_pass1()
1719 if (!LINUX_S_ISREG(inode->i_mode) && in e2fsck_pass1()
1722 inode->i_mode = LINUX_S_IFREG; in e2fsck_pass1()
1746 if (!LINUX_S_ISREG(inode->i_mode) && in e2fsck_pass1()
1749 inode->i_mode = LINUX_S_IFREG; in e2fsck_pass1()
1774 if (LINUX_S_ISDIR(inode->i_mode)) in e2fsck_pass1()
1777 if (inode->i_mode && in e2fsck_pass1()
1778 !LINUX_S_ISREG(inode->i_mode)) in e2fsck_pass1()
1781 if (inode->i_mode != 0) in e2fsck_pass1()
1786 inode->i_mode = 0; in e2fsck_pass1()
1831 (LINUX_S_ISDIR(inode->i_mode) && inode->i_size_high))) in e2fsck_pass1()
1865 LINUX_S_ISLNK(inode->i_mode) && in e2fsck_pass1()
1873 if (LINUX_S_ISDIR(inode->i_mode)) { in e2fsck_pass1()
1879 } else if (LINUX_S_ISREG (inode->i_mode)) { in e2fsck_pass1()
1882 } else if (LINUX_S_ISCHR (inode->i_mode) && in e2fsck_pass1()
1888 } else if (LINUX_S_ISBLK (inode->i_mode) && in e2fsck_pass1()
1894 } else if (LINUX_S_ISLNK (inode->i_mode) && in e2fsck_pass1()
1910 else if (LINUX_S_ISFIFO (inode->i_mode) && in e2fsck_pass1()
1916 } else if ((LINUX_S_ISSOCK (inode->i_mode)) && in e2fsck_pass1()
2633 if ((!LINUX_S_ISDIR(inode->i_mode) && in handle_htree()
2798 is_dir = LINUX_S_ISDIR(pctx->inode->i_mode); in scan_extent_node()
3204 if (LINUX_S_ISDIR(inode->i_mode) && in check_blocks_extents()
3291 pb.is_dir = LINUX_S_ISDIR(inode->i_mode); in check_blocks()
3292 pb.is_reg = LINUX_S_ISREG(inode->i_mode); in check_blocks()
3353 if (!LINUX_S_ISDIR(inode->i_mode) || in check_blocks()
3367 if (LINUX_S_ISDIR(inode->i_mode)) in check_blocks()
3464 if (bad_size && !LINUX_S_ISLNK(inode->i_mode)) { in check_blocks()
3470 if (LINUX_S_ISDIR(inode->i_mode)) in check_blocks()
3483 if (LINUX_S_ISREG(inode->i_mode) && in check_blocks()
3506 (LINUX_S_ISREG(inode->i_mode) || LINUX_S_ISDIR(inode->i_mode)) && in check_blocks()
4210 if (!LINUX_S_ISDIR(ctx->stashed_inode->i_mode)) in pass1_check_directory()