Lines Matching refs:rreq
120 struct p9_req_t *rreq; member
314 if ((!m->rreq) && (m->rc.offset == m->rc.capacity)) { in p9_read_work()
330 m->rreq = p9_tag_lookup(m->client, m->rc.tag); in p9_read_work()
331 if (!m->rreq || (m->rreq->status != REQ_STATUS_SENT)) { in p9_read_work()
338 if (m->rc.size > m->rreq->rc.capacity) { in p9_read_work()
341 m->rc.size, m->rc.tag, m->rreq->rc.capacity); in p9_read_work()
346 if (!m->rreq->rc.sdata) { in p9_read_work()
349 m->rc.tag, m->rreq); in p9_read_work()
350 p9_req_put(m->client, m->rreq); in p9_read_work()
351 m->rreq = NULL; in p9_read_work()
355 m->rc.sdata = m->rreq->rc.sdata; in p9_read_work()
363 if ((m->rreq) && (m->rc.offset == m->rc.capacity)) { in p9_read_work()
365 m->rreq->rc.size = m->rc.offset; in p9_read_work()
367 if (m->rreq->status == REQ_STATUS_SENT) { in p9_read_work()
368 list_del(&m->rreq->req_list); in p9_read_work()
369 p9_client_cb(m->client, m->rreq, REQ_STATUS_RCVD); in p9_read_work()
370 } else if (m->rreq->status == REQ_STATUS_FLSHD) { in p9_read_work()
386 p9_req_put(m->client, m->rreq); in p9_read_work()
387 m->rreq = NULL; in p9_read_work()
910 if (m->rreq) { in p9_conn_destroy()
911 p9_req_put(m->client, m->rreq); in p9_conn_destroy()
912 m->rreq = NULL; in p9_conn_destroy()