Lines Matching refs:old_dentry
2275 static int shmem_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in shmem_link() argument
2277 struct inode *inode = d_inode(old_dentry); in shmem_link()
2323 static int shmem_exchange(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, … in shmem_exchange() argument
2325 bool old_is_dir = d_is_dir(old_dentry); in shmem_exchange()
2339 d_inode(old_dentry)->i_ctime = in shmem_exchange()
2345 static int shmem_whiteout(struct inode *old_dir, struct dentry *old_dentry) in shmem_whiteout() argument
2350 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
2377 static int shmem_rename2(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, s… in shmem_rename2() argument
2379 struct inode *inode = d_inode(old_dentry); in shmem_rename2()
2386 return shmem_exchange(old_dir, old_dentry, new_dir, new_dentry); in shmem_rename2()
2394 error = shmem_whiteout(old_dir, old_dentry); in shmem_rename2()