Lines Matching refs:ia
850 static int hmdfs_dir_setattr_remote(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *ia)
867 static int hmdfs_setattr_remote(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *ia)
883 if (ia->ia_valid & ATTR_SIZE) {
884 err = inode_newsize_ok(inode, ia->ia_size);
887 truncate_setsize(inode, ia->ia_size);
890 if (ia->ia_valid & ATTR_MTIME)
891 inode->i_mtime = ia->ia_mtime;
893 if ((ia->ia_valid & ATTR_SIZE) || (ia->ia_valid & ATTR_MTIME)) {
895 .size = cpu_to_le64(ia->ia_size),
896 .valid = cpu_to_le32(ia->ia_valid),
897 .mtime = cpu_to_le64(ia->ia_mtime.tv_sec),
898 .mtime_nsec = cpu_to_le32(ia->ia_mtime.tv_nsec),