Lines Matching refs:i_mode
827 if (LINUX_S_ISDIR(inode->i_mode)) i_type = "directory"; in internal_dump_inode()
828 else if (LINUX_S_ISREG(inode->i_mode)) i_type = "regular"; in internal_dump_inode()
829 else if (LINUX_S_ISLNK(inode->i_mode)) i_type = "symlink"; in internal_dump_inode()
830 else if (LINUX_S_ISBLK(inode->i_mode)) i_type = "block special"; in internal_dump_inode()
831 else if (LINUX_S_ISCHR(inode->i_mode)) i_type = "character special"; in internal_dump_inode()
832 else if (LINUX_S_ISFIFO(inode->i_mode)) i_type = "FIFO"; in internal_dump_inode()
833 else if (LINUX_S_ISSOCK(inode->i_mode)) i_type = "socket"; in internal_dump_inode()
837 prefix, inode->i_mode & 07777, inode->i_flags); in internal_dump_inode()
851 if (LINUX_S_ISREG(inode->i_mode)) in internal_dump_inode()
934 if (LINUX_S_ISLNK(inode->i_mode) && ext2fs_is_fast_symlink(inode)) in internal_dump_inode()
937 else if (LINUX_S_ISLNK(inode->i_mode) && in internal_dump_inode()
940 else if (LINUX_S_ISBLK(inode->i_mode) || LINUX_S_ISCHR(inode->i_mode)) { in internal_dump_inode()
1358 modify_u16(argv[0], "Mode", octal_format, &inode.i_mode); in do_modify_inode()
1517 ext2_file_type(inode.i_mode)); in make_link()
1574 inode.i_links_count = LINUX_S_ISDIR(inode.i_mode) ? 2 : 1; in do_undel()
1861 LINUX_S_ISDIR(inode_buf.i_mode)); in kill_file_by_inode()
1896 if (LINUX_S_ISDIR(inode.i_mode)) { in do_rm()
1959 if (!LINUX_S_ISDIR(inode.i_mode)) { in do_rmdir()