Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/gfs2/
Dinode.c1372 struct inode *ndir, struct dentry *ndentry) in gfs2_rename() argument
1389 if (d_really_is_positive(ndentry)) { in gfs2_rename()
1390 nip = GFS2_I(d_inode(ndentry)); in gfs2_rename()
1472 error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip); in gfs2_rename()
1497 error = gfs2_dir_check(ndir, &ndentry->d_name, NULL); in gfs2_rename()
1534 error = gfs2_diradd_alloc_required(ndir, &ndentry->d_name, &da); in gfs2_rename()
1563 error = gfs2_unlink_inode(ndip, ndentry); in gfs2_rename()
1573 error = gfs2_dir_add(ndir, &ndentry->d_name, ip, &da); in gfs2_rename()
1615 struct inode *ndir, struct dentry *ndentry, in gfs2_exchange() argument
1621 struct gfs2_inode *nip = GFS2_I(ndentry->d_inode); in gfs2_exchange()
[all …]
/kernel/linux/linux-5.10/fs/nfsd/
Dvfs.c1738 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1787 ndentry = lookup_one_len(tname, tdentry, tlen); in nfsd_rename()
1788 host_err = PTR_ERR(ndentry); in nfsd_rename()
1789 if (IS_ERR(ndentry)) in nfsd_rename()
1792 if (ndentry == trap) in nfsd_rename()
1801 if (nfsd_has_cached_files(ndentry)) { in nfsd_rename()
1805 host_err = vfs_rename(fdir, odentry, tdir, ndentry, NULL, 0); in nfsd_rename()
1813 dput(ndentry); in nfsd_rename()
1839 nfsd_close_cached_files(ndentry); in nfsd_rename()
1840 dput(ndentry); in nfsd_rename()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_iops.c411 struct dentry *ndentry, in xfs_vn_rename() argument
414 struct inode *new_inode = d_inode(ndentry); in xfs_vn_rename()
425 omode = d_inode(ndentry)->i_mode; in xfs_vn_rename()
431 error = xfs_dentry_mode_to_name(&nname, ndentry, in xfs_vn_rename()