Lines Matching refs:iattr
1071 struct dentry *dentry, struct iattr *iattr) in v9fs_vfs_setattr() argument
1081 retval = setattr_prepare(&init_user_ns, dentry, iattr); in v9fs_vfs_setattr()
1087 if (iattr->ia_valid & ATTR_FILE) { in v9fs_vfs_setattr()
1088 fid = iattr->ia_file->private_data; in v9fs_vfs_setattr()
1099 if (iattr->ia_valid & ATTR_MODE) in v9fs_vfs_setattr()
1100 wstat.mode = unixmode2p9mode(v9ses, iattr->ia_mode); in v9fs_vfs_setattr()
1102 if (iattr->ia_valid & ATTR_MTIME) in v9fs_vfs_setattr()
1103 wstat.mtime = iattr->ia_mtime.tv_sec; in v9fs_vfs_setattr()
1105 if (iattr->ia_valid & ATTR_ATIME) in v9fs_vfs_setattr()
1106 wstat.atime = iattr->ia_atime.tv_sec; in v9fs_vfs_setattr()
1108 if (iattr->ia_valid & ATTR_SIZE) in v9fs_vfs_setattr()
1109 wstat.length = iattr->ia_size; in v9fs_vfs_setattr()
1112 if (iattr->ia_valid & ATTR_UID) in v9fs_vfs_setattr()
1113 wstat.n_uid = iattr->ia_uid; in v9fs_vfs_setattr()
1115 if (iattr->ia_valid & ATTR_GID) in v9fs_vfs_setattr()
1116 wstat.n_gid = iattr->ia_gid; in v9fs_vfs_setattr()
1131 if ((iattr->ia_valid & ATTR_SIZE) && in v9fs_vfs_setattr()
1132 iattr->ia_size != i_size_read(inode)) { in v9fs_vfs_setattr()
1133 truncate_setsize(inode, iattr->ia_size); in v9fs_vfs_setattr()
1134 fscache_resize_cookie(v9fs_inode_cookie(v9inode), iattr->ia_size); in v9fs_vfs_setattr()
1139 setattr_copy(&init_user_ns, inode, iattr); in v9fs_vfs_setattr()