Lines Matching refs:i_mode
671 if (LINUX_S_ISDIR(inode->i_mode) || LINUX_S_ISREG(inode->i_mode) || in check_is_really_dir()
672 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir()
762 if ((LINUX_S_ISCHR(inode->i_mode) || LINUX_S_ISBLK(inode->i_mode)) && in check_is_really_dir()
798 inode->i_mode = (inode->i_mode & 07777) | LINUX_S_IFDIR; in check_is_really_dir()
997 if (LINUX_S_ISCHR(inode->i_mode) || in fix_inline_data_extents_file()
998 LINUX_S_ISBLK(inode->i_mode) || in fix_inline_data_extents_file()
999 LINUX_S_ISFIFO(inode->i_mode) || in fix_inline_data_extents_file()
1000 LINUX_S_ISSOCK(inode->i_mode)) { in fix_inline_data_extents_file()
1472 if (!inode->i_dtime && inode->i_mode) { in e2fsck_pass1()
1486 ((!LINUX_S_ISDIR(inode->i_mode) && in e2fsck_pass1()
1628 (LINUX_S_ISREG(inode->i_mode) || in e2fsck_pass1()
1629 LINUX_S_ISDIR(inode->i_mode))) { in e2fsck_pass1()
1656 if ((failed_csum || inode->i_mode || inode->i_uid || in e2fsck_pass1()
1707 if (!LINUX_S_ISDIR(inode->i_mode)) { in e2fsck_pass1()
1731 if (!LINUX_S_ISREG(inode->i_mode) && in e2fsck_pass1()
1734 inode->i_mode = LINUX_S_IFREG; in e2fsck_pass1()
1758 if (!LINUX_S_ISREG(inode->i_mode) && in e2fsck_pass1()
1761 inode->i_mode = LINUX_S_IFREG; in e2fsck_pass1()
1786 if (LINUX_S_ISDIR(inode->i_mode)) in e2fsck_pass1()
1789 if (inode->i_mode && in e2fsck_pass1()
1790 !LINUX_S_ISREG(inode->i_mode)) in e2fsck_pass1()
1793 if (inode->i_mode != 0) in e2fsck_pass1()
1798 inode->i_mode = 0; in e2fsck_pass1()
1843 (LINUX_S_ISDIR(inode->i_mode) && inode->i_size_high))) in e2fsck_pass1()
1877 LINUX_S_ISLNK(inode->i_mode) && in e2fsck_pass1()
1892 if (LINUX_S_ISDIR(inode->i_mode)) { in e2fsck_pass1()
1898 } else if (LINUX_S_ISREG (inode->i_mode)) { in e2fsck_pass1()
1901 } else if (LINUX_S_ISCHR (inode->i_mode) && in e2fsck_pass1()
1907 } else if (LINUX_S_ISBLK (inode->i_mode) && in e2fsck_pass1()
1913 } else if (LINUX_S_ISLNK (inode->i_mode) && in e2fsck_pass1()
1929 else if (LINUX_S_ISFIFO (inode->i_mode) && in e2fsck_pass1()
1935 } else if ((LINUX_S_ISSOCK (inode->i_mode)) && in e2fsck_pass1()
2668 if ((!LINUX_S_ISDIR(inode->i_mode) && in handle_htree()
2864 is_dir = LINUX_S_ISDIR(pctx->inode->i_mode); in scan_extent_node()
3291 if (LINUX_S_ISDIR(inode->i_mode) && in check_blocks_extents()
3378 pb.is_dir = LINUX_S_ISDIR(inode->i_mode); in check_blocks()
3379 pb.is_reg = LINUX_S_ISREG(inode->i_mode); in check_blocks()
3440 if (!LINUX_S_ISDIR(inode->i_mode) || in check_blocks()
3454 if (LINUX_S_ISDIR(inode->i_mode)) in check_blocks()
3552 if (bad_size && !LINUX_S_ISLNK(inode->i_mode)) { in check_blocks()
3569 if (LINUX_S_ISREG(inode->i_mode) && in check_blocks()
3592 (LINUX_S_ISREG(inode->i_mode) || LINUX_S_ISDIR(inode->i_mode)) && in check_blocks()
4300 if (!LINUX_S_ISDIR(ctx->stashed_inode->i_mode)) in pass1_check_directory()