Lines Matching refs:i_mode
644 perms = inode.i_mode & 0777; in check_inum_access()
664 if (!LINUX_S_ISREG(inode.i_mode)) in check_inum_access()
789 statbuf->st_mode = inode.i_mode; in stat_inode()
802 if (LINUX_S_ISCHR(inode.i_mode) || in stat_inode()
803 LINUX_S_ISBLK(inode.i_mode)) { in stat_inode()
865 if (!LINUX_S_ISLNK(inode.i_mode)) { in op_readlink()
1005 inode.i_mode = mode; in op_mknod()
1097 parent_sgid = inode.i_mode & S_ISGID; in op_mkdir()
1140 inode.i_mode = LINUX_S_IFDIR | (mode & ~(S_ISUID | fs->umask)) | in op_mkdir()
1269 LINUX_S_ISDIR(inode.i_mode)); in remove_inode()
1665 LINUX_S_ISDIR(inode.i_mode) ? "dir" : "file", in op_rename()
1667 if (LINUX_S_ISDIR(inode.i_mode)) in op_rename()
1686 ext2_file_type(inode.i_mode)); in op_rename()
1695 ext2_file_type(inode.i_mode)); in op_rename()
1709 if (LINUX_S_ISDIR(inode.i_mode)) { in op_rename()
1853 ext2_file_type(inode.i_mode)); in op_link()
1862 ext2_file_type(inode.i_mode)); in op_link()
1921 inode.i_mode &= ~0xFFF; in op_chmod()
1922 inode.i_mode |= mode & 0xFFF; in op_chmod()
2910 inode.i_mode = mode; in op_create()