Lines Matching refs:newattrs
42 struct iattr newattrs; in do_truncate2() local
48 newattrs.ia_size = length; in do_truncate2()
49 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate2()
51 newattrs.ia_file = filp; in do_truncate2()
52 newattrs.ia_valid |= ATTR_FILE; in do_truncate2()
60 newattrs.ia_valid |= ret | ATTR_FORCE; in do_truncate2()
64 ret = notify_change2(mnt, dentry, &newattrs, NULL); in do_truncate2()
560 struct iattr newattrs; in chmod_common() local
571 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
572 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common()
573 error = notify_change2(path->mnt, path->dentry, &newattrs, &delegated_inode); in chmod_common()
637 struct iattr newattrs; in chown_common() local
645 newattrs.ia_valid = ATTR_CTIME; in chown_common()
649 newattrs.ia_valid |= ATTR_UID; in chown_common()
650 newattrs.ia_uid = uid; in chown_common()
655 newattrs.ia_valid |= ATTR_GID; in chown_common()
656 newattrs.ia_gid = gid; in chown_common()
659 newattrs.ia_valid |= in chown_common()
664 error = notify_change2(path->mnt, path->dentry, &newattrs, &delegated_inode); in chown_common()