Lines Matching refs:attr
160 int UMSDOS_notify_change (struct dentry *dentry, struct iattr *attr) in UMSDOS_notify_change() argument
206 ret = inode_change_ok (inode, attr); in UMSDOS_notify_change()
211 ret = umsdos_notify_change_locked(dentry, attr); in UMSDOS_notify_change()
214 ret = inode_setattr (inode, attr); in UMSDOS_notify_change()
225 int umsdos_notify_change_locked(struct dentry *dentry, struct iattr *attr) in umsdos_notify_change_locked() argument
277 if (attr->ia_valid & ATTR_UID) in umsdos_notify_change_locked()
278 entry->uid = cpu_to_le16(attr->ia_uid); in umsdos_notify_change_locked()
279 if (attr->ia_valid & ATTR_GID) in umsdos_notify_change_locked()
280 entry->gid = cpu_to_le16(attr->ia_gid); in umsdos_notify_change_locked()
281 if (attr->ia_valid & ATTR_MODE) in umsdos_notify_change_locked()
282 entry->mode = cpu_to_le16(attr->ia_mode); in umsdos_notify_change_locked()
283 if (attr->ia_valid & ATTR_ATIME) in umsdos_notify_change_locked()
284 entry->atime = cpu_to_le32(attr->ia_atime); in umsdos_notify_change_locked()
285 if (attr->ia_valid & ATTR_MTIME) in umsdos_notify_change_locked()
286 entry->mtime = cpu_to_le32(attr->ia_mtime); in umsdos_notify_change_locked()
287 if (attr->ia_valid & ATTR_CTIME) in umsdos_notify_change_locked()
288 entry->ctime = cpu_to_le32(attr->ia_ctime); in umsdos_notify_change_locked()