Home
last modified time | relevance | path

Searched refs:blk_rings (Results 1 – 3 of 3) sorted by relevance

/drivers/block/xen-blkback/
Dblkback.c1084 union blkif_back_rings *blk_rings = &ring->blk_rings; in __do_block_io_op() local
1090 rc = blk_rings->common.req_cons; in __do_block_io_op()
1091 rp = blk_rings->common.sring->req_prod; in __do_block_io_op()
1094 if (RING_REQUEST_PROD_OVERFLOW(&blk_rings->common, rp)) { in __do_block_io_op()
1095 rc = blk_rings->common.rsp_prod_pvt; in __do_block_io_op()
1102 if (RING_REQUEST_CONS_OVERFLOW(&blk_rings->common, rc)) in __do_block_io_op()
1122 memcpy(&req, RING_GET_REQUEST(&blk_rings->native, rc), sizeof(req)); in __do_block_io_op()
1125 blkif_get_x86_32_req(&req, RING_GET_REQUEST(&blk_rings->x86_32, rc)); in __do_block_io_op()
1128 blkif_get_x86_64_req(&req, RING_GET_REQUEST(&blk_rings->x86_64, rc)); in __do_block_io_op()
1133 blk_rings->common.req_cons = ++rc; /* before make_response() */ in __do_block_io_op()
[all …]
Dxenbus.c219 BACK_RING_ATTACH(&ring->blk_rings.native, sring_native, in xen_blkif_map()
229 BACK_RING_ATTACH(&ring->blk_rings.x86_32, sring_x86_32, in xen_blkif_map()
239 BACK_RING_ATTACH(&ring->blk_rings.x86_64, sring_x86_64, in xen_blkif_map()
262 ring->blk_rings.common.sring = NULL; in xen_blkif_map()
299 if (ring->blk_rings.common.sring) { in xen_blkif_disconnect()
301 ring->blk_rings.common.sring = NULL; in xen_blkif_disconnect()
Dcommon.h255 union blkif_back_rings blk_rings; member