Searched refs:odentry (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/fs/gfs2/ |
D | inode.c | 1347 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument 1352 struct gfs2_inode *ip = GFS2_I(d_inode(odentry)); in gfs2_rename() 1426 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename() 1489 error = gfs2_permission(d_inode(odentry), MAY_WRITE); in gfs2_rename() 1530 error = gfs2_dir_del(odip, odentry); in gfs2_rename() 1570 static int gfs2_exchange(struct inode *odir, struct dentry *odentry, in gfs2_exchange() argument 1576 struct gfs2_inode *oip = GFS2_I(odentry->d_inode); in gfs2_exchange() 1634 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange() 1642 error = gfs2_permission(odentry->d_inode, MAY_WRITE); in gfs2_exchange() 1668 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange() [all …]
|
/linux-4.19.296/fs/nfsd/ |
D | vfs.c | 1672 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local 1707 odentry = lookup_one_len(fname, fdentry, flen); in nfsd_rename() 1708 host_err = PTR_ERR(odentry); in nfsd_rename() 1709 if (IS_ERR(odentry)) in nfsd_rename() 1713 if (d_really_is_negative(odentry)) in nfsd_rename() 1716 if (odentry == trap) in nfsd_rename() 1733 host_err = vfs_rename(fdir, odentry, tdir, ndentry, NULL, 0); in nfsd_rename() 1742 dput(odentry); in nfsd_rename()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_iops.c | 411 struct dentry *odentry, in xfs_vn_rename() argument 429 error = xfs_dentry_mode_to_name(&oname, odentry, omode); in xfs_vn_rename() 434 d_inode(odentry)->i_mode); in xfs_vn_rename() 438 return xfs_rename(XFS_I(odir), &oname, XFS_I(d_inode(odentry)), in xfs_vn_rename()
|