Home
last modified time | relevance | path

Searched refs:sring (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dring.h115 struct __name##_sring *sring; \
123 struct __name##_sring *sring; \
157 (_r)->sring = (_s); \
164 (_r)->sring = (_s); \
169 (_r)->sring = (_s); \
176 (_r)->sring = (_s); \
198 ((_r)->sring->rsp_prod - (_r)->rsp_cons)
202 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
210 ((((_r)->sring->req_prod - (_r)->req_cons) < \
218 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
[all …]
/illumos-gate/usr/src/uts/common/xen/sys/
H A Dxendev.h248 comif_sring_t *sring; member
259 comif_sring_t *sring; member
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c2052 (FRONT_RING(_ringp)->sring->ring + \
2055 (BACK_RING(_ringp)->sring->ring + \
2095 ddi_get32(ringp->xr_acc_hdl, &frp->sring->rsp_prod)); in xvdi_ring_has_incomp_request()
2106 ddi_get32(ringp->xr_acc_hdl, &frp->sring->rsp_prod)); in xvdi_ring_has_unconsumed_responses()
2130 ddi_put32(ringp->xr_acc_hdl, &brp->sring->req_event, in xvdi_ring_get_request()
2153 old = ddi_get32(ringp->xr_acc_hdl, &frp->sring->req_prod); in xvdi_ring_push_request()
2155 ddi_put32(ringp->xr_acc_hdl, &frp->sring->req_prod, new); in xvdi_ring_push_request()
2179 ddi_put32(ringp->xr_acc_hdl, &frp->sring->rsp_event, in xvdi_ring_get_response()
2204 ddi_put32(ringp->xr_acc_hdl, &brp->sring->rsp_prod, new); in xvdi_ring_push_response()
2238 xfrp->sring = (comif_sring_t *)ringp->xr_vaddr; in xvdi_ring_init_front_ring()
[all …]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c718 SHARED_RING_INIT(xnfp->xnf_tx_ring.sring); in xnf_setup_rings()
721 xnfp->xnf_tx_ring.sring, PAGESIZE); in xnf_setup_rings()
741 SHARED_RING_INIT(xnfp->xnf_rx_ring.sring); in xnf_setup_rings()
744 xnfp->xnf_rx_ring.sring, PAGESIZE); in xnf_setup_rings()
1103 xnfp->xnf_rx_ring.sring->rsp_event = in xnf_attach()
1104 xnfp->xnf_tx_ring.sring->rsp_event = 1; in xnf_attach()
1435 prod = xnfp->xnf_tx_ring.sring->rsp_prod; in xnf_tx_clean_ring()
2091 xnfp->xnf_rx_ring.sring->rsp_event = in xnf_intr()
2517 prod = xnfp->xnf_rx_ring.sring->rsp_prod; in xnf_rx_collect()
H A Dxnb.c636 ((((_r)->sring->req_prod - loop) < \
638 ((_r)->sring->req_prod - loop) : \
1363 end = xnbp->xnb_tx_ring.sring->req_prod; in xnb_from_peer()
H A Dxpvtap.c679 usring->ur_prod_polled = usring->ur_ring.sring->req_prod; in xpvtap_chpoll()