Home
last modified time | relevance | path

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

/linux-6.6.21/fs/gfs2/
Dinode.c1397 struct inode *ndir, struct dentry *ndentry) in gfs2_rename() argument
1414 if (d_really_is_positive(ndentry)) { in gfs2_rename()
1415 nip = GFS2_I(d_inode(ndentry)); in gfs2_rename()
1497 error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip); in gfs2_rename()
1523 error = gfs2_dir_check(ndir, &ndentry->d_name, NULL); in gfs2_rename()
1562 error = gfs2_diradd_alloc_required(ndir, &ndentry->d_name, &da); in gfs2_rename()
1591 error = gfs2_unlink_inode(ndip, ndentry); in gfs2_rename()
1601 error = gfs2_dir_add(ndir, &ndentry->d_name, ip, &da); in gfs2_rename()
1643 struct inode *ndir, struct dentry *ndentry, in gfs2_exchange() argument
1649 struct gfs2_inode *nip = GFS2_I(ndentry->d_inode); in gfs2_exchange()
[all …]
/linux-6.6.21/fs/nfsd/
Dvfs.c1759 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1815 ndentry = lookup_one_len(tname, tdentry, tlen); in nfsd_rename()
1816 host_err = PTR_ERR(ndentry); in nfsd_rename()
1817 if (IS_ERR(ndentry)) in nfsd_rename()
1820 if (ndentry == trap) in nfsd_rename()
1823 if ((ndentry->d_sb->s_export_op->flags & EXPORT_OP_CLOSE_BEFORE_UNLINK) && in nfsd_rename()
1824 nfsd_has_cached_files(ndentry)) { in nfsd_rename()
1834 .new_dentry = ndentry, in nfsd_rename()
1852 dput(ndentry); in nfsd_rename()
1874 nfsd_close_cached_files(ndentry); in nfsd_rename()
[all …]
/linux-6.6.21/fs/xfs/
Dxfs_iops.c449 struct dentry *ndentry, in xfs_vn_rename() argument
452 struct inode *new_inode = d_inode(ndentry); in xfs_vn_rename()
463 omode = d_inode(ndentry)->i_mode; in xfs_vn_rename()
469 error = xfs_dentry_mode_to_name(&nname, ndentry, in xfs_vn_rename()