sring 1133 drivers/block/xen-blkback/blkback.c rp = blk_rings->common.sring->req_prod; sring 206 drivers/block/xen-blkback/xenbus.c struct blkif_sring *sring; sring 207 drivers/block/xen-blkback/xenbus.c sring = (struct blkif_sring *)ring->blk_ring; sring 208 drivers/block/xen-blkback/xenbus.c BACK_RING_INIT(&ring->blk_rings.native, sring, sring 237 drivers/block/xen-blkback/xenbus.c ring->blk_rings.common.sring = NULL; sring 277 drivers/block/xen-blkback/xenbus.c if (ring->blk_rings.common.sring) { sring 279 drivers/block/xen-blkback/xenbus.c ring->blk_rings.common.sring = NULL; sring 1335 drivers/block/xen-blkfront.c free_pages((unsigned long)rinfo->ring.sring, get_order(info->nr_ring_pages * XEN_PAGE_SIZE)); sring 1336 drivers/block/xen-blkfront.c rinfo->ring.sring = NULL; sring 1562 drivers/block/xen-blkfront.c rp = rinfo->ring.sring->rsp_prod; sring 1660 drivers/block/xen-blkfront.c rinfo->ring.sring->rsp_event = i + 1; sring 1673 drivers/block/xen-blkfront.c struct blkif_sring *sring; sring 1682 drivers/block/xen-blkfront.c sring = (struct blkif_sring *)__get_free_pages(GFP_NOIO | __GFP_HIGH, sring 1684 drivers/block/xen-blkfront.c if (!sring) { sring 1688 drivers/block/xen-blkfront.c SHARED_RING_INIT(sring); sring 1689 drivers/block/xen-blkfront.c FRONT_RING_INIT(&rinfo->ring, sring, ring_size); sring 1691 drivers/block/xen-blkfront.c err = xenbus_grant_ring(dev, rinfo->ring.sring, info->nr_ring_pages, gref); sring 1693 drivers/block/xen-blkfront.c free_pages((unsigned long)sring, get_order(ring_size)); sring 1694 drivers/block/xen-blkfront.c rinfo->ring.sring = NULL; sring 37 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c rp = evtchnl->u.req.ring.sring->rsp_prod; sring 74 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.ring.sring->rsp_event = i + 1; sring 129 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c page = (unsigned long)evtchnl->u.req.ring.sring; sring 180 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c struct xen_displif_sring *sring; sring 184 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c sring = (struct xen_displif_sring *)page; sring 185 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c SHARED_RING_INIT(sring); sring 186 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c FRONT_RING_INIT(&evtchnl->u.req.ring, sring, XEN_PAGE_SIZE); sring 188 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c ret = xenbus_grant_ring(xb_dev, sring, 1, &gref); sring 190 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.ring.sring = NULL; sring 205 drivers/net/wireless/ath/wil6210/debugfs.c struct wil_status_ring *sring) sring 208 drivers/net/wireless/ath/wil6210/debugfs.c int sring_idx = sring - wil->srings; sring 212 drivers/net/wireless/ath/wil6210/debugfs.c sring->is_rx ? "RX" : "TX", sring_idx); sring 213 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " pa = %pad\n", &sring->pa); sring 214 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " va = 0x%pK\n", sring->va); sring 215 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " size = %d\n", sring->size); sring 216 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " elem_size = %zu\n", sring->elem_size); sring 217 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " swhead = %d\n", sring->swhead); sring 229 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " hwtail = [0x%08x] -> ", sring->hwtail); sring 230 drivers/net/wireless/ath/wil6210/debugfs.c x = wmi_addr(wil, sring->hwtail); sring 237 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " desc_rdy_pol = %d\n", sring->desc_rdy_pol); sring 239 drivers/net/wireless/ath/wil6210/debugfs.c sring->invalid_buff_id_cnt); sring 241 drivers/net/wireless/ath/wil6210/debugfs.c if (sring->va && (sring->size <= (1 << WIL_RING_SIZE_ORDER_MAX))) { sring 244 drivers/net/wireless/ath/wil6210/debugfs.c for (i = 0; i < sring->size; i++) { sring 246 drivers/net/wireless/ath/wil6210/debugfs.c (u32 *)(sring->va + (sring->elem_size * i)); sring 250 drivers/net/wireless/ath/wil6210/debugfs.c if (i == sring->swhead) sring 1178 drivers/net/wireless/ath/wil6210/debugfs.c struct wil_status_ring *sring; sring 1188 drivers/net/wireless/ath/wil6210/debugfs.c sring = &wil->srings[sring_idx]; sring 1189 drivers/net/wireless/ath/wil6210/debugfs.c tx = !sring->is_rx; sring 1191 drivers/net/wireless/ath/wil6210/debugfs.c if (!sring->va) { sring 1196 drivers/net/wireless/ath/wil6210/debugfs.c if (status_msg_idx >= sring->size) { sring 1198 drivers/net/wireless/ath/wil6210/debugfs.c tx ? 'T' : 'R', status_msg_idx, sring->size); sring 1202 drivers/net/wireless/ath/wil6210/debugfs.c u = sring->va + (sring->elem_size * status_msg_idx); sring 187 drivers/net/wireless/ath/wil6210/netdev.c struct wil_status_ring *sring = &wil->srings[wil->tx_sring_idx]; sring 189 drivers/net/wireless/ath/wil6210/netdev.c if (!sring->va) sring 192 drivers/net/wireless/ath/wil6210/netdev.c tx_done = wil_tx_sring_handler(wil, sring); sring 71 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring) sring 76 drivers/net/wireless/ath/wil6210/txrx_edma.c if (!sring || !sring->va) sring 79 drivers/net/wireless/ath/wil6210/txrx_edma.c sz = sring->elem_size * sring->size; sring 82 drivers/net/wireless/ath/wil6210/txrx_edma.c sz, sring->va, &sring->pa); sring 84 drivers/net/wireless/ath/wil6210/txrx_edma.c dma_free_coherent(dev, sz, (void *)sring->va, sring->pa); sring 85 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->pa = 0; sring 86 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->va = NULL; sring 90 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring) sring 93 drivers/net/wireless/ath/wil6210/txrx_edma.c size_t sz = sring->elem_size * sring->size; sring 102 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->swhead = 0; sring 107 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->va = dma_alloc_coherent(dev, sz, &sring->pa, GFP_KERNEL); sring 108 drivers/net/wireless/ath/wil6210/txrx_edma.c if (!sring->va) sring 111 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_dbg_misc(wil, "status_ring[%d] 0x%p:%pad\n", sring->size, sring->va, sring 112 drivers/net/wireless/ath/wil6210/txrx_edma.c &sring->pa); sring 120 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring; sring 139 drivers/net/wireless/ath/wil6210/txrx_edma.c sring = &wil->srings[ring_id]; sring 141 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->is_rx = false; sring 142 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->size = status_ring_size; sring 143 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->elem_size = sizeof(struct wil_ring_tx_status); sring 144 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_sring_alloc(wil, sring); sring 152 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->desc_rdy_pol = 1; sring 157 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_free(wil, sring); sring 224 drivers/net/wireless/ath/wil6210/txrx_edma.c void wil_get_next_rx_status_msg(struct wil_status_ring *sring, u8 *dr_bit, sring 230 drivers/net/wireless/ath/wil6210/txrx_edma.c (sring->va + (sring->elem_size * sring->swhead)); sring 234 drivers/net/wireless/ath/wil6210/txrx_edma.c memcpy(msg, (void *)_msg, sring->elem_size); sring 237 drivers/net/wireless/ath/wil6210/txrx_edma.c static inline void wil_sring_advance_swhead(struct wil_status_ring *sring) sring 239 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->swhead = (sring->swhead + 1) % sring->size; sring 240 drivers/net/wireless/ath/wil6210/txrx_edma.c if (sring->swhead == 0) sring 241 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->desc_rdy_pol = 1 - sring->desc_rdy_pol; sring 359 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring = &wil->srings[ring_id]; sring 365 drivers/net/wireless/ath/wil6210/txrx_edma.c memset(&sring->rx_data, 0, sizeof(sring->rx_data)); sring 367 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->is_rx = true; sring 368 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->size = status_ring_size; sring 369 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->elem_size = elem_size; sring 370 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_sring_alloc(wil, sring); sring 378 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->desc_rdy_pol = 1; sring 382 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_free(wil, sring); sring 586 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring; sring 593 drivers/net/wireless/ath/wil6210/txrx_edma.c sring = &wil->srings[i]; sring 594 drivers/net/wireless/ath/wil6210/txrx_edma.c if (!sring->va) sring 597 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_get_next_rx_status_msg(sring, &dr_bit, msg); sring 600 drivers/net/wireless/ath/wil6210/txrx_edma.c if (dr_bit == sring->desc_rdy_pol) sring 864 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring) sring 872 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_ring_rx_data *rxdata = &sring->rx_data; sring 882 drivers/net/wireless/ath/wil6210/txrx_edma.c u16 sring_idx = sring - wil->srings; sring 888 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_get_next_rx_status_msg(sring, &dr_bit, msg); sring 891 drivers/net/wireless/ath/wil6210/txrx_edma.c if (dr_bit != sring->desc_rdy_pol) sring 903 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->swhead); sring 909 drivers/net/wireless/ath/wil6210/txrx_edma.c (sring->va + (sring->elem_size * sring->swhead)); sring 916 drivers/net/wireless/ath/wil6210/txrx_edma.c buff_id, sring->swhead); sring 917 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_rx_status_reset_buff_id(sring); sring 918 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_advance_swhead(sring); sring 919 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->invalid_buff_id_cnt++; sring 928 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_rx_status_reset_buff_id(sring); sring 932 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_advance_swhead(sring); sring 933 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->invalid_buff_id_cnt++; sring 937 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_rx_status_reset_buff_id(sring); sring 938 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_advance_swhead(sring); sring 962 drivers/net/wireless/ath/wil6210/txrx_edma.c cid, sring->swhead); sring 1062 drivers/net/wireless/ath/wil6210/txrx_edma.c memcpy(s, msg, sring->elem_size); sring 1071 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring; sring 1082 drivers/net/wireless/ath/wil6210/txrx_edma.c sring = &wil->srings[i]; sring 1083 drivers/net/wireless/ath/wil6210/txrx_edma.c if (unlikely(!sring->va)) { sring 1092 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_reap_rx_edma(wil, sring)))) { sring 1113 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, sring->hwtail, (sring->swhead - 1) % sring->size); sring 1144 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_get_next_tx_status_msg(struct wil_status_ring *sring, u8 *dr_bit, sring 1148 drivers/net/wireless/ath/wil6210/txrx_edma.c (sring->va + (sring->elem_size * sring->swhead)); sring 1161 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring) sring 1181 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_get_next_tx_status_msg(sring, &dr_bit, &msg); sring 1184 drivers/net/wireless/ath/wil6210/txrx_edma.c while (dr_bit == sring->desc_rdy_pol) { sring 1300 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, sring->hwtail, sring->swhead); sring 1302 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_advance_swhead(sring); sring 1304 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_get_next_tx_status_msg(sring, &dr_bit, &msg); sring 1313 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_w(wil, sring->hwtail, (sring->swhead - 1) % sring->size); sring 1593 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil_status_ring *sring = &wil->srings[wil->tx_sring_idx]; sring 1597 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_sring_free(wil, sring); sring 1600 drivers/net/wireless/ath/wil6210/txrx_edma.c static void wil_rx_data_free(struct wil_status_ring *sring) sring 1602 drivers/net/wireless/ath/wil6210/txrx_edma.c if (!sring) sring 1605 drivers/net/wireless/ath/wil6210/txrx_edma.c kfree_skb(sring->rx_data.skb); sring 1606 drivers/net/wireless/ath/wil6210/txrx_edma.c sring->rx_data.skb = NULL; sring 608 drivers/net/wireless/ath/wil6210/txrx_edma.h struct wil_status_ring *sring); sring 3705 drivers/net/wireless/ath/wil6210/wmi.c struct wil_status_ring *sring = &wil->srings[ring_id]; sring 3708 drivers/net/wireless/ath/wil6210/wmi.c .ring_size = cpu_to_le16(sring->size), sring 3721 drivers/net/wireless/ath/wil6210/wmi.c cmd.ring_cfg.ring_mem_base = cpu_to_le64(sring->pa); sring 3736 drivers/net/wireless/ath/wil6210/wmi.c sring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); sring 3781 drivers/net/wireless/ath/wil6210/wmi.c struct wil_status_ring *sring = &wil->srings[ring_id]; sring 3785 drivers/net/wireless/ath/wil6210/wmi.c .ring_size = cpu_to_le16(sring->size), sring 3800 drivers/net/wireless/ath/wil6210/wmi.c cmd.ring_cfg.ring_mem_base = cpu_to_le64(sring->pa); sring 3815 drivers/net/wireless/ath/wil6210/wmi.c sring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); sring 622 drivers/net/xen-netback/interface.c vif->ctrl.sring); sring 623 drivers/net/xen-netback/interface.c vif->ctrl.sring = NULL; sring 786 drivers/net/xen-netback/interface.c if (vif->ctrl.sring) { sring 788 drivers/net/xen-netback/interface.c vif->ctrl.sring); sring 789 drivers/net/xen-netback/interface.c vif->ctrl.sring = NULL; sring 809 drivers/net/xen-netback/netback.c if (queue->tx.sring->req_prod - queue->tx.req_cons > sring 814 drivers/net/xen-netback/netback.c queue->tx.sring->req_prod, queue->tx.req_cons, sring 1441 drivers/net/xen-netback/netback.c if (queue->tx.sring) sring 1443 drivers/net/xen-netback/netback.c queue->tx.sring); sring 1444 drivers/net/xen-netback/netback.c if (queue->rx.sring) sring 1446 drivers/net/xen-netback/netback.c queue->rx.sring); sring 1591 drivers/net/xen-netback/netback.c req_prod = vif->ctrl.sring->req_prod; sring 1610 drivers/net/xen-netback/netback.c vif->ctrl.sring->req_event = req_cons + 1; sring 53 drivers/net/xen-netback/rx.c prod = queue->rx.sring->req_prod; sring 59 drivers/net/xen-netback/rx.c queue->rx.sring->req_event = prod + 1; sring 65 drivers/net/xen-netback/rx.c } while (queue->rx.sring->req_prod != prod); sring 474 drivers/net/xen-netback/rx.c prod = queue->rx.sring->req_prod; sring 487 drivers/net/xen-netback/rx.c prod = queue->rx.sring->req_prod; sring 33 drivers/net/xen-netback/xenbus.c if (tx_ring->sring) { sring 34 drivers/net/xen-netback/xenbus.c struct xen_netif_tx_sring *sring = tx_ring->sring; sring 39 drivers/net/xen-netback/xenbus.c sring->req_prod, sring 40 drivers/net/xen-netback/xenbus.c sring->req_prod - sring->rsp_prod, sring 42 drivers/net/xen-netback/xenbus.c tx_ring->req_cons - sring->rsp_prod, sring 43 drivers/net/xen-netback/xenbus.c sring->req_event, sring 44 drivers/net/xen-netback/xenbus.c sring->req_event - sring->rsp_prod); sring 46 drivers/net/xen-netback/xenbus.c sring->rsp_prod, sring 48 drivers/net/xen-netback/xenbus.c tx_ring->rsp_prod_pvt - sring->rsp_prod, sring 49 drivers/net/xen-netback/xenbus.c sring->rsp_event, sring 50 drivers/net/xen-netback/xenbus.c sring->rsp_event - sring->rsp_prod); sring 61 drivers/net/xen-netback/xenbus.c if (rx_ring->sring) { sring 62 drivers/net/xen-netback/xenbus.c struct xen_netif_rx_sring *sring = rx_ring->sring; sring 66 drivers/net/xen-netback/xenbus.c sring->req_prod, sring 67 drivers/net/xen-netback/xenbus.c sring->req_prod - sring->rsp_prod, sring 69 drivers/net/xen-netback/xenbus.c rx_ring->req_cons - sring->rsp_prod, sring 70 drivers/net/xen-netback/xenbus.c sring->req_event, sring 71 drivers/net/xen-netback/xenbus.c sring->req_event - sring->rsp_prod); sring 73 drivers/net/xen-netback/xenbus.c sring->rsp_prod, sring 75 drivers/net/xen-netback/xenbus.c rx_ring->rsp_prod_pvt - sring->rsp_prod, sring 76 drivers/net/xen-netback/xenbus.c sring->rsp_event, sring 77 drivers/net/xen-netback/xenbus.c sring->rsp_event - sring->rsp_prod); sring 362 drivers/net/xen-netfront.c queue->rx.sring->rsp_event = queue->rx.rsp_cons + 1; sring 384 drivers/net/xen-netfront.c prod = queue->tx.sring->rsp_prod; sring 1008 drivers/net/xen-netfront.c rp = queue->rx.sring->rsp_prod; sring 1415 drivers/net/xen-netfront.c xennet_end_access(queue->tx_ring_ref, queue->tx.sring); sring 1416 drivers/net/xen-netfront.c xennet_end_access(queue->rx_ring_ref, queue->rx.sring); sring 1420 drivers/net/xen-netfront.c queue->tx.sring = NULL; sring 1421 drivers/net/xen-netfront.c queue->rx.sring = NULL; sring 1542 drivers/net/xen-netfront.c queue->rx.sring = NULL; sring 1543 drivers/net/xen-netfront.c queue->tx.sring = NULL; sring 328 drivers/scsi/xen-scsifront.c rp = info->ring.sring->rsp_prod; sring 340 drivers/scsi/xen-scsifront.c info->ring.sring->rsp_event = i + 1; sring 705 drivers/scsi/xen-scsifront.c struct vscsiif_sring *sring; sring 710 drivers/scsi/xen-scsifront.c sring = (struct vscsiif_sring *)__get_free_page(GFP_KERNEL); sring 711 drivers/scsi/xen-scsifront.c if (!sring) { sring 716 drivers/scsi/xen-scsifront.c SHARED_RING_INIT(sring); sring 717 drivers/scsi/xen-scsifront.c FRONT_RING_INIT(&info->ring, sring, PAGE_SIZE); sring 719 drivers/scsi/xen-scsifront.c err = xenbus_grant_ring(dev, sring, 1, &gref); sring 721 drivers/scsi/xen-scsifront.c free_page((unsigned long)sring); sring 756 drivers/scsi/xen-scsifront.c (unsigned long)info->ring.sring); sring 765 drivers/scsi/xen-scsifront.c (unsigned long)info->ring.sring); sring 40 drivers/xen/pvcalls-back.c struct xen_pvcalls_sring *sring; sring 945 drivers/xen/pvcalls-back.c (void **)&fedata->sring); sring 949 drivers/xen/pvcalls-back.c BACK_RING_INIT(&fedata->ring, fedata->sring, XEN_PAGE_SIZE * 1); sring 966 drivers/xen/pvcalls-back.c if (fedata->sring != NULL) sring 967 drivers/xen/pvcalls-back.c xenbus_unmap_ring_vfree(dev, fedata->sring); sring 1005 drivers/xen/pvcalls-back.c xenbus_unmap_ring_vfree(dev, fedata->sring); sring 1119 drivers/xen/pvcalls-front.c kfree(bedata->ring.sring); sring 1134 drivers/xen/pvcalls-front.c struct xen_pvcalls_sring *sring; sring 1177 drivers/xen/pvcalls-front.c sring = (struct xen_pvcalls_sring *) __get_free_page(GFP_KERNEL | sring 1179 drivers/xen/pvcalls-front.c if (!sring) sring 1181 drivers/xen/pvcalls-front.c SHARED_RING_INIT(sring); sring 1182 drivers/xen/pvcalls-front.c FRONT_RING_INIT(&bedata->ring, sring, XEN_PAGE_SIZE); sring 1204 drivers/xen/pvcalls-front.c virt_to_gfn((void *)sring), 0); sring 590 drivers/xen/xen-scsiback.c xenbus_unmap_ring_vfree(info->dev, info->ring.sring); sring 735 drivers/xen/xen-scsiback.c rp = ring->sring->req_prod; sring 819 drivers/xen/xen-scsiback.c struct vscsiif_sring *sring; sring 829 drivers/xen/xen-scsiback.c sring = (struct vscsiif_sring *)area; sring 830 drivers/xen/xen-scsiback.c BACK_RING_INIT(&info->ring, sring, PAGE_SIZE); sring 95 include/xen/interface/io/ring.h struct __name##_sring *sring; \ sring 103 include/xen/interface/io/ring.h struct __name##_sring *sring; \ sring 132 include/xen/interface/io/ring.h (_r)->sring = (_s); \ sring 139 include/xen/interface/io/ring.h (_r)->sring = (_s); \ sring 144 include/xen/interface/io/ring.h (_r)->sring = (_s); \ sring 151 include/xen/interface/io/ring.h (_r)->sring = (_s); \ sring 173 include/xen/interface/io/ring.h ((_r)->sring->rsp_prod - (_r)->rsp_cons) sring 177 include/xen/interface/io/ring.h unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \ sring 185 include/xen/interface/io/ring.h (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req)) sring 202 include/xen/interface/io/ring.h (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp)) sring 215 include/xen/interface/io/ring.h (_r)->sring->req_prod = (_r)->req_prod_pvt; \ sring 220 include/xen/interface/io/ring.h (_r)->sring->rsp_prod = (_r)->rsp_prod_pvt; \ sring 254 include/xen/interface/io/ring.h RING_IDX __old = (_r)->sring->req_prod; \ sring 257 include/xen/interface/io/ring.h (_r)->sring->req_prod = __new; \ sring 259 include/xen/interface/io/ring.h (_notify) = ((RING_IDX)(__new - (_r)->sring->req_event) < \ sring 264 include/xen/interface/io/ring.h RING_IDX __old = (_r)->sring->rsp_prod; \ sring 267 include/xen/interface/io/ring.h (_r)->sring->rsp_prod = __new; \ sring 269 include/xen/interface/io/ring.h (_notify) = ((RING_IDX)(__new - (_r)->sring->rsp_event) < \ sring 276 include/xen/interface/io/ring.h (_r)->sring->req_event = (_r)->req_cons + 1; \ sring 284 include/xen/interface/io/ring.h (_r)->sring->rsp_event = (_r)->rsp_cons + 1; \ sring 34 sound/xen/xen_snd_front_evtchnl.c rp = channel->u.req.ring.sring->rsp_prod; sring 84 sound/xen/xen_snd_front_evtchnl.c channel->u.req.ring.sring->rsp_event = i + 1; sring 153 sound/xen/xen_snd_front_evtchnl.c page = (unsigned long)channel->u.req.ring.sring; sring 233 sound/xen/xen_snd_front_evtchnl.c struct xen_sndif_sring *sring = (struct xen_sndif_sring *)page; sring 237 sound/xen/xen_snd_front_evtchnl.c SHARED_RING_INIT(sring); sring 238 sound/xen/xen_snd_front_evtchnl.c FRONT_RING_INIT(&channel->u.req.ring, sring, XEN_PAGE_SIZE); sring 240 sound/xen/xen_snd_front_evtchnl.c ret = xenbus_grant_ring(xb_dev, sring, 1, &gref); sring 242 sound/xen/xen_snd_front_evtchnl.c channel->u.req.ring.sring = NULL; sring 391 tools/io_uring/io_uring-bench.c struct io_sq_ring *sring = &s->sq_ring; sring 436 tools/io_uring/io_uring-bench.c sring->head = ptr + p.sq_off.head; sring 437 tools/io_uring/io_uring-bench.c sring->tail = ptr + p.sq_off.tail; sring 438 tools/io_uring/io_uring-bench.c sring->ring_mask = ptr + p.sq_off.ring_mask; sring 439 tools/io_uring/io_uring-bench.c sring->ring_entries = ptr + p.sq_off.ring_entries; sring 440 tools/io_uring/io_uring-bench.c sring->flags = ptr + p.sq_off.flags; sring 441 tools/io_uring/io_uring-bench.c sring->array = ptr + p.sq_off.array; sring 442 tools/io_uring/io_uring-bench.c sq_ring_mask = *sring->ring_mask;