Home
last modified time | relevance | path

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

/Linux-v5.4/fs/gfs2/
Dinode.c1344 struct inode *ndir, struct dentry *ndentry) in gfs2_rename() argument
1361 if (d_really_is_positive(ndentry)) { in gfs2_rename()
1362 nip = GFS2_I(d_inode(ndentry)); in gfs2_rename()
1444 error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip); in gfs2_rename()
1469 error = gfs2_dir_check(ndir, &ndentry->d_name, NULL); in gfs2_rename()
1506 error = gfs2_diradd_alloc_required(ndir, &ndentry->d_name, &da); in gfs2_rename()
1535 error = gfs2_unlink_inode(ndip, ndentry); in gfs2_rename()
1545 error = gfs2_dir_add(ndir, &ndentry->d_name, ip, &da); in gfs2_rename()
1586 struct inode *ndir, struct dentry *ndentry, in gfs2_exchange() argument
1592 struct gfs2_inode *nip = GFS2_I(ndentry->d_inode); in gfs2_exchange()
[all …]
/Linux-v5.4/fs/nfsd/
Dvfs.c1647 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1696 ndentry = lookup_one_len(tname, tdentry, tlen); in nfsd_rename()
1697 host_err = PTR_ERR(ndentry); in nfsd_rename()
1698 if (IS_ERR(ndentry)) in nfsd_rename()
1701 if (ndentry == trap) in nfsd_rename()
1710 if (nfsd_has_cached_files(ndentry)) { in nfsd_rename()
1714 host_err = vfs_rename(fdir, odentry, tdir, ndentry, NULL, 0); in nfsd_rename()
1722 dput(ndentry); in nfsd_rename()
1748 nfsd_close_cached_files(ndentry); in nfsd_rename()
1749 dput(ndentry); in nfsd_rename()
/Linux-v5.4/fs/xfs/
Dxfs_iops.c403 struct dentry *ndentry, in xfs_vn_rename() argument
406 struct inode *new_inode = d_inode(ndentry); in xfs_vn_rename()
417 omode = d_inode(ndentry)->i_mode; in xfs_vn_rename()
423 error = xfs_dentry_mode_to_name(&nname, ndentry, in xfs_vn_rename()