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(dentry, &newattrs, NULL); in do_truncate()
571 struct iattr newattrs; in chmod_common() local
582 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
583 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common()
584 error = notify_change(path->dentry, &newattrs, &delegated_inode); in chmod_common()
648 struct iattr newattrs; in chown_common() local
656 newattrs.ia_valid = ATTR_CTIME; in chown_common()
660 newattrs.ia_valid |= ATTR_UID; in chown_common()
661 newattrs.ia_uid = uid; in chown_common()
666 newattrs.ia_valid |= ATTR_GID; in chown_common()
667 newattrs.ia_gid = gid; in chown_common()
671 newattrs.ia_valid |= ATTR_KILL_SUID | ATTR_KILL_PRIV | in chown_common()
675 error = notify_change(path->dentry, &newattrs, &delegated_inode); in chown_common()