Home
last modified time | relevance | path

Searched refs:dchild (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
H A Dvfs.c1231 struct dentry *dentry, *dchild; in nfsd_create_locked() local
1240 dchild = dget(resfhp->fh_dentry); in nfsd_create_locked()
1263 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create_locked()
1268 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create_locked()
1269 if (!host_err && unlikely(d_unhashed(dchild))) { in nfsd_create_locked()
1271 d = lookup_one_len(dchild->d_name.name, in nfsd_create_locked()
1272 dchild->d_parent, in nfsd_create_locked()
1273 dchild->d_name.len); in nfsd_create_locked()
1286 dput(dchild); in nfsd_create_locked()
1287 dchild in nfsd_create_locked()
1342 struct dentry *dentry, *dchild = NULL; nfsd_create() local
1387 struct dentry *dentry, *dchild = NULL; do_nfsd_create() local
[all...]
H A Dnfs3xdr.c857 struct dentry *dparent, *dchild; in compose_entry_fh() local
865 dchild = dget_parent(dparent); in compose_entry_fh()
870 if (dchild == dparent) in compose_entry_fh()
875 dchild = dget(dparent); in compose_entry_fh()
877 dchild = lookup_positive_unlocked(name, dparent, namlen); in compose_entry_fh()
878 if (IS_ERR(dchild)) in compose_entry_fh()
880 if (d_mountpoint(dchild)) in compose_entry_fh()
882 if (dchild->d_inode->i_ino != ino) in compose_entry_fh()
884 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
886 dput(dchild); in compose_entry_fh()
[all...]
H A Dnfsproc.c263 struct dentry *dchild; in nfsd_proc_create() local
288 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
289 if (IS_ERR(dchild)) { in nfsd_proc_create()
290 resp->status = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create()
294 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
295 if (!resp->status && d_really_is_negative(dchild)) in nfsd_proc_create()
297 dput(dchild); in nfsd_proc_create()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dvfs.c1411 struct dentry *dentry, *dchild; in nfsd_create_locked() local
1420 dchild = dget(resfhp->fh_dentry); in nfsd_create_locked()
1435 host_err = vfs_create(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked()
1441 host_err = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode); in nfsd_create_locked()
1442 if (!host_err && unlikely(d_unhashed(dchild))) { in nfsd_create_locked()
1444 d = lookup_one_len(dchild->d_name.name, in nfsd_create_locked()
1445 dchild->d_parent, in nfsd_create_locked()
1446 dchild->d_name.len); in nfsd_create_locked()
1459 dput(dchild); in nfsd_create_locked()
1460 dchild in nfsd_create_locked()
1502 struct dentry *dentry, *dchild = NULL; nfsd_create() local
[all...]
H A Dnfs3xdr.c987 struct dentry *dparent, *dchild; in compose_entry_fh() local
995 dchild = dget_parent(dparent); in compose_entry_fh()
1000 if (dchild == dparent) in compose_entry_fh()
1005 dchild = dget(dparent); in compose_entry_fh()
1007 dchild = lookup_positive_unlocked(name, dparent, namlen); in compose_entry_fh()
1008 if (IS_ERR(dchild)) in compose_entry_fh()
1010 if (d_mountpoint(dchild)) in compose_entry_fh()
1012 if (dchild->d_inode->i_ino != ino) in compose_entry_fh()
1014 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
1016 dput(dchild); in compose_entry_fh()
[all...]
H A Dnfsproc.c259 struct dentry *dchild; in nfsd_proc_create() local
284 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
285 if (IS_ERR(dchild)) { in nfsd_proc_create()
286 resp->status = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create()
290 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
291 if (!resp->status && d_really_is_negative(dchild)) in nfsd_proc_create()
293 dput(dchild); in nfsd_proc_create()

Completed in 10 milliseconds