Lines Matching refs:txb

155 static int	xnb_recv(netif_tx_back_ring_t *txb, domid_t otherend,
167 const netif_tx_back_ring_t *txb,
546 netif_tx_back_ring_t const* txb = in xnb_dump_rings() local
552 if ( !txb || !txb->sring || !rxb || !rxb->sring ) in xnb_dump_rings()
566 "req_cons", txb->req_cons, rxb->req_cons, in xnb_dump_rings()
567 "nr_ents", txb->nr_ents, rxb->nr_ents, in xnb_dump_rings()
568 "rsp_prod_pvt", txb->rsp_prod_pvt, rxb->rsp_prod_pvt, in xnb_dump_rings()
569 "sring", txb->sring, rxb->sring, in xnb_dump_rings()
570 "sring->req_prod", txb->sring->req_prod, rxb->sring->req_prod, in xnb_dump_rings()
571 "sring->req_event", txb->sring->req_event, rxb->sring->req_event, in xnb_dump_rings()
572 "sring->rsp_prod", txb->sring->rsp_prod, rxb->sring->rsp_prod, in xnb_dump_rings()
573 "sring->rsp_event", txb->sring->rsp_event, rxb->sring->rsp_event); in xnb_dump_rings()
1429 netif_tx_back_ring_t *txb; in xnb_intr() local
1434 txb = &xnb->ring_configs[XNB_RING_TYPE_TX].back_ring.tx_ring; in xnb_intr()
1439 req_prod_local = txb->sring->req_prod; in xnb_intr()
1446 err = xnb_recv(txb, xnb->otherend_id, &mbufc, ifp, in xnb_intr()
1455 RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(txb, notify); in xnb_intr()
1459 txb->sring->req_event = txb->req_cons + 1; in xnb_intr()
1461 } while (txb->sring->req_prod != req_prod_local) ; in xnb_intr()
1701 gnttab_copy_table gnttab, const netif_tx_back_ring_t *txb, in xnb_txpkt2gnttab() argument
1714 const netif_tx_request_t *txq = RING_GET_REQUEST(txb, r_idx); in xnb_txpkt2gnttab()
1807 xnb_recv(netif_tx_back_ring_t *txb, domid_t otherend, struct mbuf **mbufc, in xnb_recv() argument
1816 num_consumed = xnb_ring2pkt(&pkt, txb, txb->req_cons); in xnb_recv()
1829 xnb_txpkt2rsp(&pkt, txb, 1); in xnb_recv()
1830 txb->req_cons += num_consumed; in xnb_recv()
1844 xnb_txpkt2rsp(&pkt, txb, 1); in xnb_recv()
1851 nr_ents = xnb_txpkt2gnttab(&pkt, *mbufc, gnttab, txb, otherend); in xnb_recv()
1861 xnb_txpkt2rsp(&pkt, txb, 0); in xnb_recv()
1862 txb->req_cons += num_consumed; in xnb_recv()