Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dnfsproc.c295 struct dentry *dchild; in nfsd_proc_create() local
316 dchild = start_creating(&nop_mnt_idmap, dirfhp->fh_dentry, in nfsd_proc_create()
318 if (IS_ERR(dchild)) { in nfsd_proc_create()
319 resp->status = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create()
323 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
324 if (!resp->status && d_really_is_negative(dchild)) in nfsd_proc_create()
418 dput(dchild); in nfsd_proc_create()
434 end_creating(dchild); in nfsd_proc_create()
H A Dnfs3xdr.c984 struct dentry *dparent, *dchild; in compose_entry_fh() local
992 dchild = dget_parent(dparent); in compose_entry_fh()
997 if (dchild == dparent) in compose_entry_fh()
1002 dchild = dget(dparent); in compose_entry_fh()
1004 dchild = lookup_one_positive_unlocked(&nop_mnt_idmap, in compose_entry_fh()
1007 if (IS_ERR(dchild)) in compose_entry_fh()
1009 if (d_mountpoint(dchild)) in compose_entry_fh()
1011 if (dchild->d_inode->i_ino != ino) in compose_entry_fh()
1013 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
1015 dput(dchild); in compose_entry_fh()
H A Dvfs.c1803 struct dentry *dentry, *dchild; in nfsd_create_locked() local
1812 dchild = dget(resfhp->fh_dentry); in nfsd_create_locked()
1828 host_err = vfs_create(&nop_mnt_idmap, dchild, iap->ia_mode, NULL); in nfsd_create_locked()
1833 dchild = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode, NULL); in nfsd_create_locked()
1834 if (IS_ERR(dchild)) { in nfsd_create_locked()
1835 host_err = PTR_ERR(dchild); in nfsd_create_locked()
1836 } else if (d_is_negative(dchild)) { in nfsd_create_locked()
1839 } else if (unlikely(dchild != resfhp->fh_dentry)) { in nfsd_create_locked()
1841 resfhp->fh_dentry = dget(dchild); in nfsd_create_locked()
1848 host_err = vfs_mknod(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked()
[all …]