Home
last modified time | relevance | path

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

/linux-6.15/fs/nfsd/
H A Dvfs.c1459 struct dentry *dentry, *dchild; in nfsd_create_locked() local
1468 dchild = dget(resfhp->fh_dentry); in nfsd_create_locked()
1490 dchild = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode); in nfsd_create_locked()
1491 if (IS_ERR(dchild)) { in nfsd_create_locked()
1492 host_err = PTR_ERR(dchild); in nfsd_create_locked()
1498 resfhp->fh_dentry = dget(dchild); in nfsd_create_locked()
1519 if (!IS_ERR(dchild)) in nfsd_create_locked()
1520 dput(dchild); in nfsd_create_locked()
1558 host_err = PTR_ERR(dchild); in nfsd_create()
1559 if (IS_ERR(dchild)) { in nfsd_create()
[all …]
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_positive_unlocked(name, dparent, namlen); in compose_entry_fh()
1005 if (IS_ERR(dchild)) in compose_entry_fh()
1007 if (d_mountpoint(dchild)) in compose_entry_fh()
1009 if (dchild->d_inode->i_ino != ino) in compose_entry_fh()
1011 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
1013 dput(dchild); in compose_entry_fh()
H A Dnfsproc.c290 struct dentry *dchild; in nfsd_proc_create() local
315 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
316 if (IS_ERR(dchild)) { in nfsd_proc_create()
317 resp->status = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create()
321 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
322 if (!resp->status && d_really_is_negative(dchild)) in nfsd_proc_create()
324 dput(dchild); in nfsd_proc_create()