Lines Matching refs:nreq

1120 	struct xbb_xen_req     *nreq;  in xbb_get_resources()  local
1123 nreq = NULL; in xbb_get_resources()
1146 nreq = xbb_get_req(xbb); in xbb_get_resources()
1147 if (nreq == NULL) in xbb_get_resources()
1162 nreq->reqlist = *reqlist; in xbb_get_resources()
1163 nreq->req_ring_idx = ring_idx; in xbb_get_resources()
1164 nreq->id = ring_req->id; in xbb_get_resources()
1165 nreq->operation = ring_req->operation; in xbb_get_resources()
1168 bcopy(ring_req, &nreq->ring_req_storage, sizeof(*ring_req)); in xbb_get_resources()
1169 nreq->ring_req = &nreq->ring_req_storage; in xbb_get_resources()
1171 nreq->ring_req = ring_req; in xbb_get_resources()
1174 binuptime(&nreq->ds_t0); in xbb_get_resources()
1175 devstat_start_transaction(xbb->xbb_stats_in, &nreq->ds_t0); in xbb_get_resources()
1176 STAILQ_INSERT_TAIL(&(*reqlist)->contig_req_list, nreq, links); in xbb_get_resources()
1192 if (nreq != NULL) in xbb_get_resources()
1193 xbb_release_req(xbb, nreq); in xbb_get_resources()
1316 struct xbb_xen_req *nreq; in xbb_complete_reqlist() local
1336 STAILQ_FOREACH(nreq, &reqlist->contig_req_list, links) { in xbb_complete_reqlist()
1340 xbb_queue_response(xbb, nreq, reqlist->status); in xbb_complete_reqlist()
1344 cur_sectors_sent = nreq->nr_512b_sectors; in xbb_complete_reqlist()
1355 /*then*/&nreq->ds_t0); in xbb_complete_reqlist()
1468 struct xbb_xen_req *nreq; in xbb_dispatch_io() local
1561 STAILQ_FOREACH(nreq, &reqlist->contig_req_list, links) { in xbb_dispatch_io()
1564 ring_req = nreq->ring_req; in xbb_dispatch_io()
1567 nreq->nr_pages = nseg; in xbb_dispatch_io()
1568 nreq->nr_512b_sectors = 0; in xbb_dispatch_io()
1625 nreq->nr_512b_sectors = nr_sects; in xbb_dispatch_io()
1629 if ((nreq->nr_512b_sectors & in xbb_dispatch_io()
1634 nreq->nr_512b_sectors << 9, in xbb_dispatch_io()