Lines Matching refs:i_mode
319 error = xfs_dentry_mode_to_name(&name, dentry, inode->i_mode); in xfs_vn_link()
417 omode = d_inode(ndentry)->i_mode; in xfs_vn_rename()
424 d_inode(odentry)->i_mode); in xfs_vn_rename()
505 stat->mode = inode->i_mode; in xfs_vn_getattr()
539 switch (inode->i_mode & S_IFMT) { in xfs_vn_getattr()
573 inode->i_mode &= S_IFMT; in xfs_setattr_mode()
574 inode->i_mode |= mode & ~S_IFMT; in xfs_setattr_mode()
721 if ((inode->i_mode & (S_ISUID|S_ISGID)) && in xfs_setattr_nonsize()
723 inode->i_mode &= ~(S_ISUID|S_ISGID); in xfs_setattr_nonsize()
787 error = posix_acl_chmod(inode, inode->i_mode); in xfs_setattr_nonsize()
840 ASSERT(S_ISREG(inode->i_mode)); in xfs_setattr_size()
1217 if (!S_ISREG(VFS_I(ip)->i_mode) || xfs_is_reflink_inode(ip)) in xfs_inode_supports_dax()
1283 if (S_ISDIR(inode->i_mode)) { in xfs_setup_inode()
1323 switch (inode->i_mode & S_IFMT) { in xfs_setup_iops()
1347 init_special_inode(inode, inode->i_mode, inode->i_rdev); in xfs_setup_iops()