Lines Matching refs:newattrs
44 struct iattr newattrs; in do_truncate() local
50 newattrs.ia_size = length; in do_truncate()
51 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate()
53 newattrs.ia_file = filp; in do_truncate()
54 newattrs.ia_valid |= ATTR_FILE; in do_truncate()
62 newattrs.ia_valid |= ret | ATTR_FORCE; in do_truncate()
66 ret = notify_change(idmap, dentry, &newattrs, NULL); in do_truncate()
630 struct iattr newattrs; in chmod_common() local
641 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
642 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common()
644 &newattrs, &delegated_inode); in chmod_common()
755 struct iattr newattrs; in chown_common() local
766 newattrs.ia_vfsuid = INVALID_VFSUID; in chown_common()
767 newattrs.ia_vfsgid = INVALID_VFSGID; in chown_common()
768 newattrs.ia_valid = ATTR_CTIME; in chown_common()
769 if ((user != (uid_t)-1) && !setattr_vfsuid(&newattrs, uid)) in chown_common()
771 if ((group != (gid_t)-1) && !setattr_vfsgid(&newattrs, gid)) in chown_common()
775 newattrs.ia_valid |= ATTR_KILL_SUID | ATTR_KILL_PRIV | in chown_common()
780 from_vfsuid(idmap, fs_userns, newattrs.ia_vfsuid), in chown_common()
781 from_vfsgid(idmap, fs_userns, newattrs.ia_vfsgid)); in chown_common()
783 error = notify_change(idmap, path->dentry, &newattrs, in chown_common()