Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/fs/nfsd/
Dvfs.c1768 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1812 odentry = lookup_one_len(fname, fdentry, flen); in nfsd_rename()
1813 host_err = PTR_ERR(odentry); in nfsd_rename()
1814 if (IS_ERR(odentry)) in nfsd_rename()
1818 if (d_really_is_negative(odentry)) in nfsd_rename()
1821 if (odentry == trap) in nfsd_rename()
1840 .old_dentry = odentry, in nfsd_rename()
1851 if (!nfsd_wait_for_delegreturn(rqstp, d_inode(odentry))) in nfsd_rename()
1863 dput(odentry); in nfsd_rename()
/Linux-v6.6/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()