Lines Matching refs:lower_ia
727 struct iattr *lower_ia) in truncate_upper() argument
737 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper()
748 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper()
765 lower_ia->ia_size = ia->ia_size; in truncate_upper()
766 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper()
802 lower_ia->ia_size = lower_size_after_truncate; in truncate_upper()
803 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper()
805 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper()
847 struct iattr lower_ia = { .ia_valid = 0 }; in ecryptfs_truncate() local
854 rc = truncate_upper(dentry, &ia, &lower_ia); in ecryptfs_truncate()
855 if (!rc && lower_ia.ia_valid & ATTR_SIZE) { in ecryptfs_truncate()
860 &lower_ia, NULL); in ecryptfs_truncate()
892 struct iattr lower_ia; in ecryptfs_setattr() local
951 memcpy(&lower_ia, ia, sizeof(lower_ia)); in ecryptfs_setattr()
953 lower_ia.ia_file = ecryptfs_file_to_lower(ia->ia_file); in ecryptfs_setattr()
955 rc = truncate_upper(dentry, ia, &lower_ia); in ecryptfs_setattr()
964 if (lower_ia.ia_valid & (ATTR_KILL_SUID | ATTR_KILL_SGID)) in ecryptfs_setattr()
965 lower_ia.ia_valid &= ~ATTR_MODE; in ecryptfs_setattr()
968 rc = notify_change(&nop_mnt_idmap, lower_dentry, &lower_ia, NULL); in ecryptfs_setattr()