Lines Matching refs:ring_req

341 	blkif_request_t		*ring_req;  member
1197 blkif_request_t *ring_req, RING_IDX ring_idx) in xbb_get_resources() argument
1234 nreqlist->operation = ring_req->operation; in xbb_get_resources()
1235 nreqlist->starting_sector_number = ring_req->sector_number; 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()
1256 (*reqlist)->nr_segments += ring_req->nr_segments; in xbb_get_resources()
1654 blkif_request_t *ring_req; in xbb_dispatch_io() local
1658 ring_req = nreq->ring_req; in xbb_dispatch_io()
1661 nseg = ring_req->nr_segments; in xbb_dispatch_io()
1677 sg = ring_req->seg; in xbb_dispatch_io()
1796 xbb_count_sects(blkif_request_t *ring_req) in xbb_count_sects() argument
1801 for (i = 0; i < ring_req->nr_segments; i++) { in xbb_count_sects()
1804 nsect = (int8_t)(ring_req->seg[i].last_sect - in xbb_count_sects()
1805 ring_req->seg[i].first_sect + 1); in xbb_count_sects()
1889 blkif_request_t *ring_req; in xbb_run_queue() local
1894 ring_req = RING_GET_REQUEST(&xbb->rings.native, in xbb_run_queue()
1905 ring_req = &ring_req_storage; in xbb_run_queue()
1916 ring_req = &ring_req_storage; in xbb_run_queue()
1935 && ((ring_req->sector_number != cur_sector) in xbb_run_queue()
1936 || (ring_req->operation != cur_operation) in xbb_run_queue()
1937 || ((ring_req->nr_segments + reqlist->nr_segments) > in xbb_run_queue()
1948 retval = xbb_get_resources(xbb, &reqlist, ring_req, in xbb_run_queue()
1975 cur_size = xbb_count_sects(ring_req); in xbb_run_queue()
1976 cur_sector = ring_req->sector_number + cur_size; in xbb_run_queue()
1978 cur_operation = ring_req->operation; in xbb_run_queue()