Lines Matching refs:rings
83 if (!blkif->rings || !blkif->rings[0].irq || !blkif->vbd.bdev) in xen_update_blkif_status()
109 ring = &blkif->rings[i]; in xen_update_blkif_status()
123 ring = &blkif->rings[i]; in xen_update_blkif_status()
133 blkif->rings = kcalloc(blkif->nr_rings, sizeof(struct xen_blkif_ring), in xen_blkif_alloc_rings()
135 if (!blkif->rings) in xen_blkif_alloc_rings()
139 struct xen_blkif_ring *ring = &blkif->rings[r]; in xen_blkif_alloc_rings()
268 struct xen_blkif_ring *ring = &blkif->rings[r]; in xen_blkif_disconnect()
332 kfree(blkif->rings); in xen_blkif_disconnect()
333 blkif->rings = NULL; in xen_blkif_disconnect()
383 if (!blkif->rings) \
387 struct xen_blkif_ring *ring = &blkif->rings[i]; \
1140 return read_per_ring_refs(&blkif->rings[0], dev->otherend); in connect_ring()
1152 err = read_per_ring_refs(&blkif->rings[i], xspath); in connect_ring()