Home
last modified time | relevance | path

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

/openbmc/linux/fs/gfs2/
H A Dinode.c1397 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument
1402 struct gfs2_inode *ip = GFS2_I(d_inode(odentry)); in gfs2_rename()
1491 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1556 error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry), in gfs2_rename()
1598 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1643 static int gfs2_exchange(struct inode *odir, struct dentry *odentry, in gfs2_exchange() argument
1649 struct gfs2_inode *oip = GFS2_I(odentry->d_inode); in gfs2_exchange()
1712 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1720 error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode, in gfs2_exchange()
1748 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
[all …]
/openbmc/linux/fs/nfsd/
H A Dvfs.c1762 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1806 odentry = lookup_one_len(fname, fdentry, flen); in nfsd_rename()
1807 host_err = PTR_ERR(odentry); in nfsd_rename()
1808 if (IS_ERR(odentry)) in nfsd_rename()
1812 if (d_really_is_negative(odentry)) in nfsd_rename()
1815 if (odentry == trap) in nfsd_rename()
1834 .old_dentry = odentry, in nfsd_rename()
1845 if (!nfsd_wait_for_delegreturn(rqstp, d_inode(odentry))) in nfsd_rename()
1857 dput(odentry); in nfsd_rename()
/openbmc/linux/fs/xfs/
H A Dxfs_iops.c448 struct dentry *odentry, in xfs_vn_rename() argument
466 error = xfs_dentry_mode_to_name(&oname, odentry, omode); in xfs_vn_rename()
471 d_inode(odentry)->i_mode); in xfs_vn_rename()
476 XFS_I(d_inode(odentry)), XFS_I(ndir), &nname, in xfs_vn_rename()