Lines Matching refs:txs
188 netif_tx_sring_t* txs; member
346 xnb_unit_pvt.txs = malloc(PAGE_SIZE, M_XENNETBACK, M_WAITOK|M_ZERO); in setup_pvt_data()
347 if (xnb_unit_pvt.txs != NULL) { in setup_pvt_data()
348 SHARED_RING_INIT(xnb_unit_pvt.txs); in setup_pvt_data()
349 BACK_RING_INIT(&xnb_unit_pvt.txb, xnb_unit_pvt.txs, PAGE_SIZE); in setup_pvt_data()
350 FRONT_RING_INIT(&xnb_unit_pvt.txf, xnb_unit_pvt.txs, PAGE_SIZE); in setup_pvt_data()
375 if (xnb_unit_pvt.txs != NULL) { in teardown_pvt_data()
376 free(xnb_unit_pvt.txs, M_XENNETBACK); in teardown_pvt_data()
608 xnb_unit_pvt.txs->req_prod = rsize - 2; in xnb_ring2pkt_wraps()
609 xnb_unit_pvt.txs->req_event = rsize - 1; in xnb_ring2pkt_wraps()
610 xnb_unit_pvt.txs->rsp_prod = rsize - 2; in xnb_ring2pkt_wraps()
611 xnb_unit_pvt.txs->rsp_event = rsize - 1; in xnb_ring2pkt_wraps()
651 netif_tx_sring_t txs_backup = *xnb_unit_pvt.txs; in xnb_txpkt2rsp_emptypkt()
660 memcmp(&txs_backup, xnb_unit_pvt.txs, sizeof(txs_backup)) == 0); in xnb_txpkt2rsp_emptypkt()
690 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_1req()
729 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_extra()
788 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_long()
850 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_invalid()
888 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_error()
911 xnb_unit_pvt.txs->req_prod = rsize - 2; in xnb_txpkt2rsp_wraps()
912 xnb_unit_pvt.txs->req_event = rsize - 1; in xnb_txpkt2rsp_wraps()
913 xnb_unit_pvt.txs->rsp_prod = rsize - 2; in xnb_txpkt2rsp_wraps()
914 xnb_unit_pvt.txs->rsp_event = rsize - 1; in xnb_txpkt2rsp_wraps()
946 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_wraps()