Lines Matching refs:tdp
1444 vnode_t fdirp = NULL, tdirp = NULL, tdp = NULL;
1473 * tdp gets locked. This avoids a potential LOR if tdp is the
1477 tdp = todp;
1479 if (dp != tdp) {
1481 tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, nd->nd_cred,
1482 p, 0); /* Might lock tdp. */
1484 tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, nd->nd_cred,
1504 tdp = dp;
1506 tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, nd->nd_cred,
1512 nfsd_fhtovp(nd, &tfh, LK_EXCLUSIVE, &tdp, &tnes, NULL,
1513 0, p); /* Locks tdp. */
1514 if (tdp) {
1515 tdirfor_ret = nfsvno_getattr(tdp, &tdirfor,
1517 NFSVOPUNLOCK(tdp, 0);
1526 if (tdp)
1527 vrele(tdp);
1541 if (tdp)
1542 vrele(tdp);
1562 if (tdp)
1563 vrele(tdp);
1569 nd->nd_repstat = nfsvno_namei(nd, &tond, tdp, 0, &tnes, p, &tdirp);