Lines Matching refs:dchild
1196 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()
1288 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create()
1311 if (dchild && !IS_ERR(dchild)) in nfsd_create()
1312 dput(dchild); in nfsd_create()
1337 struct dentry *dentry, *dchild = NULL; in do_nfsd_create() local
1373 dchild = lookup_one_len(fname, dentry, flen); in do_nfsd_create()
1374 host_err = PTR_ERR(dchild); in do_nfsd_create()
1375 if (IS_ERR(dchild)) in do_nfsd_create()
1379 if (d_really_is_negative(dchild)) { in do_nfsd_create()
1385 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in do_nfsd_create()
1400 if (d_really_is_positive(dchild)) { in do_nfsd_create()
1405 if (! d_is_reg(dchild)) in do_nfsd_create()
1423 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1424 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1425 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1431 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1432 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1433 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1446 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in do_nfsd_create()
1485 if (dchild && !IS_ERR(dchild)) in do_nfsd_create()
1486 dput(dchild); in do_nfsd_create()