Searched refs:nr_ring_pages (Results 1 – 3 of 3) sorted by relevance
160 __CONST_RING_SIZE(blkif, XEN_PAGE_SIZE * (info)->nr_ring_pages)209 unsigned int nr_ring_pages; member1298 for (i = 0; i < info->nr_ring_pages; i++) { in blkif_free_ring()1305 info->nr_ring_pages * XEN_PAGE_SIZE); in blkif_free_ring()1699 unsigned long ring_size = info->nr_ring_pages * XEN_PAGE_SIZE; in setup_blkring()1702 for (i = 0; i < info->nr_ring_pages; i++) in setup_blkring()1713 err = xenbus_grant_ring(dev, rinfo->ring.sring, info->nr_ring_pages, gref); in setup_blkring()1719 for (i = 0; i < info->nr_ring_pages; i++) in setup_blkring()1753 if (info->nr_ring_pages == 1) { in write_per_ring_nodes()1760 for (i = 0; i < info->nr_ring_pages; i++) { in write_per_ring_nodes()[all …]
326 WARN_ON(i != (XEN_BLKIF_REQS_PER_PAGE * blkif->nr_ring_pages)); in xen_blkif_disconnect()332 blkif->nr_ring_pages = 0; in xen_blkif_disconnect()987 nr_grefs = blkif->nr_ring_pages; in read_per_ring_refs()1123 blkif->nr_ring_pages = 1; in connect_ring()1126 blkif->nr_ring_pages = 1 << ring_page_order; in connect_ring()
318 unsigned int nr_ring_pages; member