Lines Matching refs:old
267 static bool ceph_quota_is_same_realm(struct inode *old, struct inode *new)
269 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb);
281 old_realm = get_quota_realm(mdsc, old, true);
522 * @old: inode to be copied
527 * source @old as well, if it's a directory). The actual check is done both for
531 * exceeded, -EXDEV (if @old is a directory) or -EDQUOT.
534 struct inode *old, struct inode *new)
536 struct ceph_inode_info *ci_old = ceph_inode(old);
539 if (ceph_quota_is_same_realm(old, new))
550 if (S_ISDIR(old->i_mode)) {
551 ret = ceph_do_getattr(old, CEPH_STAT_RSTAT, false);
565 i_size_read(old));