Lines Matching refs:nreq

1200 	struct xbb_xen_req     *nreq;  in xbb_get_resources()  local
1203 nreq = NULL; in xbb_get_resources()
1226 nreq = xbb_get_req(xbb); in xbb_get_resources()
1227 if (nreq == NULL) in xbb_get_resources()
1240 nreq->reqlist = *reqlist; in xbb_get_resources()
1241 nreq->req_ring_idx = ring_idx; in xbb_get_resources()
1242 nreq->id = ring_req->id; in xbb_get_resources()
1243 nreq->operation = ring_req->operation; in xbb_get_resources()
1246 bcopy(ring_req, &nreq->ring_req_storage, sizeof(*ring_req)); in xbb_get_resources()
1247 nreq->ring_req = &nreq->ring_req_storage; in xbb_get_resources()
1249 nreq->ring_req = ring_req; in xbb_get_resources()
1252 binuptime(&nreq->ds_t0); in xbb_get_resources()
1253 devstat_start_transaction(xbb->xbb_stats_in, &nreq->ds_t0); in xbb_get_resources()
1254 STAILQ_INSERT_TAIL(&(*reqlist)->contig_req_list, nreq, links); in xbb_get_resources()
1270 if (nreq != NULL) in xbb_get_resources()
1271 xbb_release_req(xbb, nreq); in xbb_get_resources()
1396 struct xbb_xen_req *nreq; in xbb_complete_reqlist() local
1416 STAILQ_FOREACH(nreq, &reqlist->contig_req_list, links) { in xbb_complete_reqlist()
1420 xbb_queue_response(xbb, nreq, reqlist->status); in xbb_complete_reqlist()
1424 cur_sectors_sent = nreq->nr_512b_sectors; in xbb_complete_reqlist()
1435 /*then*/&nreq->ds_t0); in xbb_complete_reqlist()
1560 struct xbb_xen_req *nreq; in xbb_dispatch_io() local
1653 STAILQ_FOREACH(nreq, &reqlist->contig_req_list, links) { in xbb_dispatch_io()
1658 ring_req = nreq->ring_req; in xbb_dispatch_io()
1659 req_ring_idx = nreq->req_ring_idx; in xbb_dispatch_io()
1662 nreq->nr_pages = nseg; in xbb_dispatch_io()
1663 nreq->nr_512b_sectors = 0; in xbb_dispatch_io()
1722 nreq->nr_512b_sectors = nr_sects; in xbb_dispatch_io()
1726 if ((nreq->nr_512b_sectors & in xbb_dispatch_io()
1731 nreq->nr_512b_sectors << 9, in xbb_dispatch_io()