Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/block/xen-blkback/
Dblkback.c1189 union blkif_back_rings *blk_rings = &ring->blk_rings; in __do_block_io_op() local
1195 rc = blk_rings->common.req_cons; in __do_block_io_op()
1196 rp = blk_rings->common.sring->req_prod; in __do_block_io_op()
1199 if (RING_REQUEST_PROD_OVERFLOW(&blk_rings->common, rp)) { in __do_block_io_op()
1200 rc = blk_rings->common.rsp_prod_pvt; in __do_block_io_op()
1207 if (RING_REQUEST_CONS_OVERFLOW(&blk_rings->common, rc)) in __do_block_io_op()
1227 memcpy(&req, RING_GET_REQUEST(&blk_rings->native, rc), sizeof(req)); in __do_block_io_op()
1230 blkif_get_x86_32_req(&req, RING_GET_REQUEST(&blk_rings->x86_32, rc)); in __do_block_io_op()
1233 blkif_get_x86_64_req(&req, RING_GET_REQUEST(&blk_rings->x86_64, rc)); in __do_block_io_op()
1238 blk_rings->common.req_cons = ++rc; /* before make_response() */ in __do_block_io_op()
[all …]
Dxenbus.c220 BACK_RING_ATTACH(&ring->blk_rings.native, sring_native, in xen_blkif_map()
230 BACK_RING_ATTACH(&ring->blk_rings.x86_32, sring_x86_32, in xen_blkif_map()
240 BACK_RING_ATTACH(&ring->blk_rings.x86_64, sring_x86_64, in xen_blkif_map()
263 ring->blk_rings.common.sring = NULL; in xen_blkif_map()
300 if (ring->blk_rings.common.sring) { in xen_blkif_disconnect()
302 ring->blk_rings.common.sring = NULL; in xen_blkif_disconnect()
Dcommon.h255 union blkif_back_rings blk_rings; member