Lines Matching refs:dchild
1231 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 = d; in nfsd_create_locked()
1296 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create_locked()
1323 dput(dchild); in nfsd_create_locked()
1342 struct dentry *dentry, *dchild = NULL; in nfsd_create() local
1360 dchild = lookup_one_len(fname, dentry, flen); in nfsd_create()
1361 host_err = PTR_ERR(dchild); in nfsd_create()
1362 if (IS_ERR(dchild)) in nfsd_create()
1364 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
1369 dput(dchild); in nfsd_create()
1387 struct dentry *dentry, *dchild = NULL; in do_nfsd_create() local
1417 dchild = lookup_one_len(fname, dentry, flen); in do_nfsd_create()
1418 host_err = PTR_ERR(dchild); in do_nfsd_create()
1419 if (IS_ERR(dchild)) in do_nfsd_create()
1423 if (d_really_is_negative(dchild)) { in do_nfsd_create()
1429 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in do_nfsd_create()
1444 if (d_really_is_positive(dchild)) { in do_nfsd_create()
1449 if (! d_is_reg(dchild)) in do_nfsd_create()
1467 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1468 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1469 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1476 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1477 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1478 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1494 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in do_nfsd_create()
1533 if (dchild && !IS_ERR(dchild)) in do_nfsd_create()
1534 dput(dchild); in do_nfsd_create()