Lines Matching refs:lower_ia
721 * @lower_ia: Address of the lower inode's attributes
726 * inode and update the lower_ia according to the page index
727 * interpolations. If ATTR_SIZE is set in lower_ia->ia_valid upon return,
728 * the caller must use lower_ia in a call to notify_change() to perform
734 struct iattr *lower_ia)
744 lower_ia->ia_valid &= ~ATTR_SIZE;
755 lower_ia->ia_valid &= ~ATTR_SIZE;
772 lower_ia->ia_size = ia->ia_size;
773 lower_ia->ia_valid |= ATTR_SIZE;
809 lower_ia->ia_size = lower_size_after_truncate;
810 lower_ia->ia_valid |= ATTR_SIZE;
812 lower_ia->ia_valid &= ~ATTR_SIZE;
854 struct iattr lower_ia = { .ia_valid = 0 };
861 rc = truncate_upper(dentry, &ia, &lower_ia);
862 if (!rc && lower_ia.ia_valid & ATTR_SIZE) {
866 rc = notify_change(lower_dentry, &lower_ia, NULL);
894 struct iattr lower_ia;
953 memcpy(&lower_ia, ia, sizeof(lower_ia));
955 lower_ia.ia_file = ecryptfs_file_to_lower(ia->ia_file);
957 rc = truncate_upper(dentry, ia, &lower_ia);
966 if (lower_ia.ia_valid & (ATTR_KILL_SUID | ATTR_KILL_SGID))
967 lower_ia.ia_valid &= ~ATTR_MODE;
970 rc = notify_change(lower_dentry, &lower_ia, NULL);