Lines Matching refs:dchild
1184 struct dentry *dentry, *dchild; in nfsd_create_locked() local
1193 dchild = dget(resfhp->fh_dentry); in nfsd_create_locked()
1216 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create_locked()
1221 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create_locked()
1222 if (!host_err && unlikely(d_unhashed(dchild))) { in nfsd_create_locked()
1224 d = lookup_one_len(dchild->d_name.name, in nfsd_create_locked()
1225 dchild->d_parent, in nfsd_create_locked()
1226 dchild->d_name.len); in nfsd_create_locked()
1239 dput(dchild); in nfsd_create_locked()
1240 dchild = d; in nfsd_create_locked()
1249 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create_locked()
1276 dput(dchild); in nfsd_create_locked()
1295 struct dentry *dentry, *dchild = NULL; in nfsd_create() local
1315 dchild = lookup_one_len(fname, dentry, flen); in nfsd_create()
1316 host_err = PTR_ERR(dchild); in nfsd_create()
1317 if (IS_ERR(dchild)) in nfsd_create()
1319 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
1324 dput(dchild); in nfsd_create()
1342 struct dentry *dentry, *dchild = NULL; in do_nfsd_create() local
1372 dchild = lookup_one_len(fname, dentry, flen); in do_nfsd_create()
1373 host_err = PTR_ERR(dchild); in do_nfsd_create()
1374 if (IS_ERR(dchild)) in do_nfsd_create()
1378 if (d_really_is_negative(dchild)) { in do_nfsd_create()
1384 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in do_nfsd_create()
1399 if (d_really_is_positive(dchild)) { in do_nfsd_create()
1404 if (! d_is_reg(dchild)) in do_nfsd_create()
1422 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1423 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1424 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1430 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1431 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1432 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1448 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in do_nfsd_create()
1487 if (dchild && !IS_ERR(dchild)) in do_nfsd_create()
1488 dput(dchild); in do_nfsd_create()