Lines Matching refs:rings
671 blkif_back_rings_t rings;
1312 resp = RING_GET_RESPONSE(&xbb->rings.native,
1313 xbb->rings.native.rsp_prod_pvt);
1317 RING_GET_RESPONSE(&xbb->rings.x86_32,
1318 xbb->rings.x86_32.rsp_prod_pvt);
1322 RING_GET_RESPONSE(&xbb->rings.x86_64,
1323 xbb->rings.x86_64.rsp_prod_pvt);
1336 xbb->rings.common.rsp_prod_pvt++;
1364 RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(&xbb->rings.common, *notify);
1366 if (xbb->rings.common.rsp_prod_pvt == xbb->rings.common.req_cons) {
1373 RING_FINAL_CHECK_FOR_REQUESTS(&xbb->rings.common, more_to_do);
1374 } else if (RING_HAS_UNCONSUMED_REQUESTS(&xbb->rings.common)) {
1826 blkif_back_rings_t *rings;
1834 rings = &xbb->rings;
1869 rp = rings->common.sring->req_prod;
1883 while (rings->common.req_cons != rp
1884 && RING_REQUEST_CONS_OVERFLOW(&rings->common,
1885 rings->common.req_cons) == 0){
1892 ring_req = RING_GET_REQUEST(&xbb->rings.native,
1893 rings->common.req_cons);
1900 &xbb->rings.x86_32, rings->common.req_cons);
1910 ring_req64 =RING_GET_REQUEST(&xbb->rings.x86_64,
1911 rings->common.req_cons);
1947 xbb->rings.common.req_cons);
1970 xbb->rings.common.req_cons++;
2951 BACK_RING_INIT(&xbb->rings.native, sring,
2959 BACK_RING_INIT(&xbb->rings.x86_32, sring_x86_32,
2967 BACK_RING_INIT(&xbb->rings.x86_64, sring_x86_64,
2991 DPRINTF("rings connected!\n");