Lines Matching refs:newattrs
43 struct iattr newattrs; in do_truncate() local
49 newattrs.ia_size = length; in do_truncate()
50 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate()
52 newattrs.ia_file = filp; in do_truncate()
53 newattrs.ia_valid |= ATTR_FILE; in do_truncate()
61 newattrs.ia_valid |= ret | ATTR_FORCE; in do_truncate()
65 ret = notify_change(idmap, dentry, &newattrs, NULL); in do_truncate()
640 struct iattr newattrs; in chmod_common() local
651 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
652 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common()
654 &newattrs, &delegated_inode); in chmod_common()
765 struct iattr newattrs; in chown_common() local
776 newattrs.ia_vfsuid = INVALID_VFSUID; in chown_common()
777 newattrs.ia_vfsgid = INVALID_VFSGID; in chown_common()
778 newattrs.ia_valid = ATTR_CTIME; in chown_common()
779 if ((user != (uid_t)-1) && !setattr_vfsuid(&newattrs, uid)) in chown_common()
781 if ((group != (gid_t)-1) && !setattr_vfsgid(&newattrs, gid)) in chown_common()
785 newattrs.ia_valid |= ATTR_KILL_SUID | ATTR_KILL_PRIV | in chown_common()
790 from_vfsuid(idmap, fs_userns, newattrs.ia_vfsuid), in chown_common()
791 from_vfsgid(idmap, fs_userns, newattrs.ia_vfsgid)); in chown_common()
793 error = notify_change(idmap, path->dentry, &newattrs, in chown_common()