Lines Matching refs:rq
1499 struct nfsreq *rq;
1556 TAILQ_FOREACH(rq, &nfs_reqq, r_chain) {
1557 if (rq->r_nmp == nmp) {
1558 lck_mtx_lock(&rq->r_mtx);
1559 if (!rq->r_error && !rq->r_nmrep.nmc_mhead && !(rq->r_flags & R_MUSTRESEND)) {
1560 rq->r_flags |= R_MUSTRESEND;
1561 rq->r_rtt = -1;
1562 wakeup(rq);
1563 if ((rq->r_flags & (R_ASYNC|R_ASYNCWAIT|R_SENDING)) == R_ASYNC)
1564 nfs_asyncio_resend(rq);
1566 lck_mtx_unlock(&rq->r_mtx);
1616 struct nfsreq *rq;
1627 TAILQ_FOREACH(rq, &nfs_reqq, r_chain) {
1628 if (rq->r_nmp == nmp) {
1629 lck_mtx_lock(&rq->r_mtx);
1630 if (!rq->r_error && !rq->r_nmrep.nmc_mhead && !(rq->r_flags & R_MUSTRESEND)) {
1631 rq->r_flags |= R_MUSTRESEND;
1632 rq->r_rtt = -1;
1633 wakeup(rq);
1634 if ((rq->r_flags & (R_ASYNC|R_ASYNCWAIT|R_SENDING)) == R_ASYNC)
1635 nfs_asyncio_resend(rq);
1637 lck_mtx_unlock(&rq->r_mtx);
4157 struct nfsreq rq, *req = &rq;
4204 struct nfsreq rq, *req = &rq;