Lines Matching refs:mnt_userns
165 struct user_namespace *mnt_userns, in xfs_generic_create() argument
199 error = xfs_create(mnt_userns, XFS_I(dir), &name, mode, rdev, in xfs_generic_create()
203 error = xfs_create_tmpfile(mnt_userns, XFS_I(dir), mode, &ip); in xfs_generic_create()
258 struct user_namespace *mnt_userns, in xfs_vn_mknod() argument
264 return xfs_generic_create(mnt_userns, dir, dentry, mode, rdev, NULL); in xfs_vn_mknod()
269 struct user_namespace *mnt_userns, in xfs_vn_create() argument
275 return xfs_generic_create(mnt_userns, dir, dentry, mode, 0, NULL); in xfs_vn_create()
280 struct user_namespace *mnt_userns, in xfs_vn_mkdir() argument
285 return xfs_generic_create(mnt_userns, dir, dentry, mode | S_IFDIR, 0, in xfs_vn_mkdir()
403 struct user_namespace *mnt_userns, in xfs_vn_symlink() argument
420 error = xfs_symlink(mnt_userns, XFS_I(dir), &name, symname, mode, &cip); in xfs_vn_symlink()
446 struct user_namespace *mnt_userns, in xfs_vn_rename() argument
475 return xfs_rename(mnt_userns, XFS_I(odir), &oname, in xfs_vn_rename()
552 struct user_namespace *mnt_userns, in xfs_vn_getattr() argument
561 vfsuid_t vfsuid = i_uid_into_vfsuid(mnt_userns, inode); in xfs_vn_getattr()
562 vfsgid_t vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in xfs_vn_getattr()
630 struct user_namespace *mnt_userns, in xfs_vn_change_ok() argument
642 return setattr_prepare(mnt_userns, dentry, iattr); in xfs_vn_change_ok()
653 struct user_namespace *mnt_userns, in xfs_setattr_nonsize() argument
681 uid = from_vfsuid(mnt_userns, i_user_ns(inode), in xfs_setattr_nonsize()
688 gid = from_vfsgid(mnt_userns, i_user_ns(inode), in xfs_setattr_nonsize()
721 i_uid_needs_update(mnt_userns, iattr, inode)) { in xfs_setattr_nonsize()
726 i_gid_needs_update(mnt_userns, iattr, inode)) { in xfs_setattr_nonsize()
732 setattr_copy(mnt_userns, inode, iattr); in xfs_setattr_nonsize()
760 error = posix_acl_chmod(mnt_userns, inode, inode->i_mode); in xfs_setattr_nonsize()
781 struct user_namespace *mnt_userns, in xfs_setattr_size() argument
813 return xfs_setattr_nonsize(mnt_userns, ip, iattr); in xfs_setattr_size()
957 setattr_copy(mnt_userns, inode, iattr); in xfs_setattr_size()
978 struct user_namespace *mnt_userns, in xfs_vn_setattr_size() argument
987 error = xfs_vn_change_ok(mnt_userns, dentry, iattr); in xfs_vn_setattr_size()
990 return xfs_setattr_size(mnt_userns, ip, iattr); in xfs_vn_setattr_size()
995 struct user_namespace *mnt_userns, in xfs_vn_setattr() argument
1015 error = xfs_vn_setattr_size(mnt_userns, dentry, iattr); in xfs_vn_setattr()
1020 error = xfs_vn_change_ok(mnt_userns, dentry, iattr); in xfs_vn_setattr()
1022 error = xfs_setattr_nonsize(mnt_userns, ip, iattr); in xfs_vn_setattr()
1093 struct user_namespace *mnt_userns, in xfs_vn_tmpfile() argument
1098 int err = xfs_generic_create(mnt_userns, dir, file->f_path.dentry, mode, 0, file); in xfs_vn_tmpfile()