Home
last modified time | relevance | path

Searched refs:odentry (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/fs/gfs2/
Dinode.c1396 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument
1401 struct gfs2_inode *ip = GFS2_I(d_inode(odentry)); in gfs2_rename()
1490 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1555 error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry), in gfs2_rename()
1597 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1642 static int gfs2_exchange(struct inode *odir, struct dentry *odentry, in gfs2_exchange() argument
1648 struct gfs2_inode *oip = GFS2_I(odentry->d_inode); in gfs2_exchange()
1711 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1719 error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode, in gfs2_exchange()
1747 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
[all …]
/linux-6.6.21/fs/nfsd/
Dvfs.c1759 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1803 odentry = lookup_one_len(fname, fdentry, flen); in nfsd_rename()
1804 host_err = PTR_ERR(odentry); in nfsd_rename()
1805 if (IS_ERR(odentry)) in nfsd_rename()
1809 if (d_really_is_negative(odentry)) in nfsd_rename()
1812 if (odentry == trap) in nfsd_rename()
1831 .old_dentry = odentry, in nfsd_rename()
1842 if (!nfsd_wait_for_delegreturn(rqstp, d_inode(odentry))) in nfsd_rename()
1854 dput(odentry); in nfsd_rename()
/linux-6.6.21/fs/xfs/
Dxfs_iops.c447 struct dentry *odentry, in xfs_vn_rename() argument
465 error = xfs_dentry_mode_to_name(&oname, odentry, omode); in xfs_vn_rename()
470 d_inode(odentry)->i_mode); in xfs_vn_rename()
475 XFS_I(d_inode(odentry)), XFS_I(ndir), &nname, in xfs_vn_rename()