Home
last modified time | relevance | path

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

/linux-4.1.27/fs/nfsd/
Dvfs.c1196 struct dentry *dentry, *dchild = NULL; in nfsd_create() local
1230 dchild = lookup_one_len(fname, dentry, flen); in nfsd_create()
1231 host_err = PTR_ERR(dchild); in nfsd_create()
1232 if (IS_ERR(dchild)) in nfsd_create()
1234 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
1239 dchild = dget(resfhp->fh_dentry); in nfsd_create()
1253 if (d_really_is_positive(dchild)) { in nfsd_create()
1255 dentry, dchild); in nfsd_create()
1277 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create()
1282 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create()
[all …]
Dnfsproc.c190 struct dentry *dchild; in nfsd_proc_create() local
219 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
220 if (IS_ERR(dchild)) { in nfsd_proc_create()
221 nfserr = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create()
225 nfserr = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
226 if (!nfserr && d_really_is_negative(dchild)) in nfsd_proc_create()
228 dput(dchild); in nfsd_proc_create()
Dnfs3xdr.c811 struct dentry *dparent, *dchild; in compose_entry_fh() local
819 dchild = dget_parent(dparent); in compose_entry_fh()
821 if (dchild == dparent) in compose_entry_fh()
824 dchild = dget(dparent); in compose_entry_fh()
826 dchild = lookup_one_len(name, dparent, namlen); in compose_entry_fh()
827 if (IS_ERR(dchild)) in compose_entry_fh()
829 if (d_mountpoint(dchild)) in compose_entry_fh()
831 if (d_really_is_negative(dchild)) in compose_entry_fh()
833 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
835 dput(dchild); in compose_entry_fh()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c282 static struct dentry *ll_get_parent(struct dentry *dchild) in ll_get_parent() argument
285 struct inode *dir = d_inode(dchild); in ll_get_parent()
Dnamei.c804 static int ll_mknod(struct inode *dir, struct dentry *dchild, in ll_mknod() argument
810 dchild, dir->i_ino, dir->i_generation, dir, in ll_mknod()
824 err = ll_new_node(dir, dchild, NULL, mode, in ll_mknod()