Home
last modified time | relevance | path

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

/linux-4.4.14/fs/nfsd/
Dvfs.c1126 struct dentry *dentry, *dchild = NULL; in nfsd_create() local
1160 dchild = lookup_one_len(fname, dentry, flen); in nfsd_create()
1161 host_err = PTR_ERR(dchild); in nfsd_create()
1162 if (IS_ERR(dchild)) in nfsd_create()
1164 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
1169 dchild = dget(resfhp->fh_dentry); in nfsd_create()
1183 if (d_really_is_positive(dchild)) { in nfsd_create()
1185 dentry, dchild); in nfsd_create()
1207 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create()
1212 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create()
[all …]
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 if (dchild->d_inode->i_ino != ino) in compose_entry_fh()
835 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
[all …]
Dnfsproc.c238 struct dentry *dchild; in nfsd_proc_create() local
267 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
268 if (IS_ERR(dchild)) { in nfsd_proc_create()
269 nfserr = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create()
273 nfserr = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
274 if (!nfserr && d_really_is_negative(dchild)) in nfsd_proc_create()
276 dput(dchild); in nfsd_proc_create()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c279 static struct dentry *ll_get_parent(struct dentry *dchild) in ll_get_parent() argument
282 struct inode *dir = d_inode(dchild); in ll_get_parent()
Dnamei.c806 static int ll_mknod(struct inode *dir, struct dentry *dchild, in ll_mknod() argument
812 dchild, dir->i_ino, dir->i_generation, dir, in ll_mknod()
826 err = ll_new_node(dir, dchild, NULL, mode, in ll_mknod()