Lines Matching refs:i_mode
647 perms = inode.i_mode & 0777; in check_inum_access()
667 if (!LINUX_S_ISREG(inode.i_mode)) in check_inum_access()
775 statbuf->st_mode = inode.i_mode; in stat_inode()
789 if (LINUX_S_ISCHR(inode.i_mode) || in stat_inode()
790 LINUX_S_ISBLK(inode.i_mode)) { in stat_inode()
852 if (!LINUX_S_ISLNK(inode.i_mode)) { in op_readlink()
992 inode.i_mode = mode; in op_mknod()
1086 parent_sgid = inode.i_mode & S_ISGID; in op_mkdir()
1131 inode.i_mode = LINUX_S_IFDIR | (mode & ~(S_ISUID | fs->umask)) | in op_mkdir()
1260 LINUX_S_ISDIR(inode.i_mode)); in remove_inode()
1658 LINUX_S_ISDIR(inode.i_mode) ? "dir" : "file", in op_rename()
1660 if (LINUX_S_ISDIR(inode.i_mode)) in op_rename()
1679 ext2_file_type(inode.i_mode)); in op_rename()
1688 ext2_file_type(inode.i_mode)); in op_rename()
1702 if (LINUX_S_ISDIR(inode.i_mode)) { in op_rename()
1846 ext2_file_type(inode.i_mode)); in op_link()
1855 ext2_file_type(inode.i_mode)); in op_link()
1914 inode.i_mode &= ~0xFFF; in op_chmod()
1915 inode.i_mode |= mode & 0xFFF; in op_chmod()
2906 inode.i_mode = mode; in op_create()