Lines Matching refs:dchild

1170 	struct dentry	*dentry, *dchild;  in nfsd_create_locked()  local
1179 dchild = dget(resfhp->fh_dentry); in nfsd_create_locked()
1199 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create_locked()
1204 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create_locked()
1205 if (!host_err && unlikely(d_unhashed(dchild))) { in nfsd_create_locked()
1207 d = lookup_one_len(dchild->d_name.name, in nfsd_create_locked()
1208 dchild->d_parent, in nfsd_create_locked()
1209 dchild->d_name.len); in nfsd_create_locked()
1222 dput(dchild); in nfsd_create_locked()
1223 dchild = d; in nfsd_create_locked()
1232 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create_locked()
1259 dput(dchild); in nfsd_create_locked()
1278 struct dentry *dentry, *dchild = NULL; in nfsd_create() local
1298 dchild = lookup_one_len(fname, dentry, flen); in nfsd_create()
1299 host_err = PTR_ERR(dchild); in nfsd_create()
1300 if (IS_ERR(dchild)) in nfsd_create()
1302 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
1307 dput(dchild); in nfsd_create()
1325 struct dentry *dentry, *dchild = NULL; in do_nfsd_create() local
1355 dchild = lookup_one_len(fname, dentry, flen); in do_nfsd_create()
1356 host_err = PTR_ERR(dchild); in do_nfsd_create()
1357 if (IS_ERR(dchild)) in do_nfsd_create()
1361 if (d_really_is_negative(dchild)) { in do_nfsd_create()
1367 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in do_nfsd_create()
1382 if (d_really_is_positive(dchild)) { in do_nfsd_create()
1387 if (! d_is_reg(dchild)) in do_nfsd_create()
1405 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1406 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1407 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1413 if ( d_inode(dchild)->i_mtime.tv_sec == v_mtime in do_nfsd_create()
1414 && d_inode(dchild)->i_atime.tv_sec == v_atime in do_nfsd_create()
1415 && d_inode(dchild)->i_size == 0 ) { in do_nfsd_create()
1428 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in do_nfsd_create()
1467 if (dchild && !IS_ERR(dchild)) in do_nfsd_create()
1468 dput(dchild); in do_nfsd_create()