Lines Matching refs:dchild
1126 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()
1218 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create()
1241 if (dchild && !IS_ERR(dchild)) in nfsd_create()
1242 dput(dchild); in nfsd_create()
1261 struct dentry *dentry, *dchild = NULL; in do_nfsd_create() local
1297 dchild = lookup_one_len(fname, dentry, flen); in do_nfsd_create()
1298 host_err = PTR_ERR(dchild); in do_nfsd_create()
1299 if (IS_ERR(dchild)) in do_nfsd_create()
1303 if (d_really_is_negative(dchild)) { in do_nfsd_create()
1309 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in do_nfsd_create()
1324 if (d_really_is_positive(dchild)) { in do_nfsd_create()
1329 if (! d_is_reg(dchild)) in do_nfsd_create()
1347 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1348 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1349 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1355 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1356 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1357 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1370 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in do_nfsd_create()
1409 if (dchild && !IS_ERR(dchild)) in do_nfsd_create()
1410 dput(dchild); in do_nfsd_create()