Lines Matching refs:usring
597 xpvtap_user_ring_t *usring; in xpvtap_devmap() local
623 usring = &state->bt_user_ring; in xpvtap_devmap()
624 e = devmap_umem_setup(dhp, state->bt_dip, NULL, usring->ur_cookie, 0, in xpvtap_devmap()
644 xpvtap_user_ring_t *usring; in xpvtap_chpoll() local
667 usring = &state->bt_user_ring; in xpvtap_chpoll()
668 if (usring->ur_prod_polled != usring->ur_ring.req_prod_pvt) { in xpvtap_chpoll()
676 RING_PUSH_REQUESTS(&usring->ur_ring); in xpvtap_chpoll()
678 usring->ur_prod_polled = usring->ur_ring.sring->req_prod; in xpvtap_chpoll()
930 xpvtap_user_ring_t *usring; in xpvtap_user_ring_init() local
933 usring = &state->bt_user_ring; in xpvtap_user_ring_init()
936 usring->ur_sring = (blkif_sring_t *)ddi_umem_alloc(PAGESIZE, in xpvtap_user_ring_init()
937 DDI_UMEM_SLEEP, &usring->ur_cookie); in xpvtap_user_ring_init()
938 SHARED_RING_INIT(usring->ur_sring); in xpvtap_user_ring_init()
939 FRONT_RING_INIT(&usring->ur_ring, usring->ur_sring, PAGESIZE); in xpvtap_user_ring_init()
940 usring->ur_prod_polled = 0; in xpvtap_user_ring_init()