Lines Matching refs:sring
33 if (tx_ring->sring) { in xenvif_read_io_ring()
34 struct xen_netif_tx_sring *sring = tx_ring->sring; in xenvif_read_io_ring() local
39 sring->req_prod, in xenvif_read_io_ring()
40 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring()
42 tx_ring->req_cons - sring->rsp_prod, in xenvif_read_io_ring()
43 sring->req_event, in xenvif_read_io_ring()
44 sring->req_event - sring->rsp_prod); in xenvif_read_io_ring()
46 sring->rsp_prod, in xenvif_read_io_ring()
48 tx_ring->rsp_prod_pvt - sring->rsp_prod, in xenvif_read_io_ring()
49 sring->rsp_event, in xenvif_read_io_ring()
50 sring->rsp_event - sring->rsp_prod); in xenvif_read_io_ring()
61 if (rx_ring->sring) { in xenvif_read_io_ring()
62 struct xen_netif_rx_sring *sring = rx_ring->sring; in xenvif_read_io_ring() local
66 sring->req_prod, in xenvif_read_io_ring()
67 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring()
69 rx_ring->req_cons - sring->rsp_prod, in xenvif_read_io_ring()
70 sring->req_event, in xenvif_read_io_ring()
71 sring->req_event - sring->rsp_prod); in xenvif_read_io_ring()
73 sring->rsp_prod, in xenvif_read_io_ring()
75 rx_ring->rsp_prod_pvt - sring->rsp_prod, in xenvif_read_io_ring()
76 sring->rsp_event, in xenvif_read_io_ring()
77 sring->rsp_event - sring->rsp_prod); in xenvif_read_io_ring()