Lines Matching refs:rq
217 struct ncp_request_reply *rq; in __ncptcp_try_send() local
222 rq = server->tx.creq; in __ncptcp_try_send()
223 if (!rq) in __ncptcp_try_send()
227 memcpy(iovc, rq->tx_ciov, rq->tx_iovlen * sizeof(iov[0])); in __ncptcp_try_send()
228 result = do_send(server->ncp_sock, iovc, rq->tx_iovlen, in __ncptcp_try_send()
229 rq->tx_totallen, MSG_NOSIGNAL | MSG_DONTWAIT); in __ncptcp_try_send()
236 __ncp_abort_request(server, rq, result); in __ncptcp_try_send()
239 if (result >= rq->tx_totallen) { in __ncptcp_try_send()
240 server->rcv.creq = rq; in __ncptcp_try_send()
244 rq->tx_totallen -= result; in __ncptcp_try_send()
245 iov = rq->tx_ciov; in __ncptcp_try_send()
249 rq->tx_iovlen--; in __ncptcp_try_send()
253 rq->tx_ciov = iov; in __ncptcp_try_send()