Lines Matching refs:old_dentry
1187 static int ceph_link(struct dentry *old_dentry, struct inode *dir, in ceph_link() argument
1205 err = fscrypt_prepare_link(old_dentry, dir, dentry); in ceph_link()
1210 old_dentry, dentry); in ceph_link()
1218 req->r_old_dentry = dget(old_dentry); in ceph_link()
1223 if (old_dentry->d_flags & DCACHE_DISCONNECTED) in ceph_link()
1224 req->r_ino2 = ceph_vino(d_inode(old_dentry)); in ceph_link()
1236 ihold(d_inode(old_dentry)); in ceph_link()
1237 d_instantiate(dentry, d_inode(old_dentry)); in ceph_link()
1460 struct dentry *old_dentry, struct inode *new_dir, in ceph_rename() argument
1489 err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, in ceph_rename()
1495 ceph_vinop(old_dir), old_dentry, ceph_vinop(new_dir), in ceph_rename()
1503 req->r_old_dentry = dget(old_dentry); in ceph_rename()
1525 d_move(old_dentry, new_dentry); in ceph_rename()