Home | History | Annotate | Download | only in pci

Lines Matching defs:txc

836 	struct vioif_tx_context *txc;
841 txc = netq->netq_ctx;
843 if (__predict_false(!pcq_put(txc->txc_intrq, m))) {
844 txc->txc_pcq_full.ev_count++;
1037 struct vioif_tx_context *txc;
1058 txc = netq->netq_ctx;
1059 evcnt_attach_dynamic(&txc->txc_defrag_failed,
1062 evcnt_attach_dynamic(&txc->txc_pcq_full,
1462 struct vioif_tx_context *txc;
1467 txc = NULL;
1509 txc = kmem_zalloc(sizeof(*txc), KM_SLEEP);
1510 netq->netq_ctx = (void *)txc;
1511 txc->txc_deferred_transmit = softint_establish(softint_flags,
1513 if (txc->txc_deferred_transmit == NULL) {
1519 txc->txc_link_active = VIOIF_IS_LINK_ACTIVE(sc);
1520 txc->txc_no_free_slots = false;
1521 txc->txc_intrq = pcq_create(vq->vq_num, KM_SLEEP);
1534 if (txc != NULL) {
1535 if (txc->txc_deferred_transmit != NULL)
1536 softint_disestablish(txc->txc_deferred_transmit);
1537 if (txc->txc_intrq != NULL)
1538 pcq_destroy(txc->txc_intrq);
1539 kmem_free(txc, sizeof(*txc));
1561 struct vioif_tx_context *txc;
1578 txc = netq->netq_ctx;
1580 softint_disestablish(txc->txc_deferred_transmit);
1581 pcq_destroy(txc->txc_intrq);
1582 kmem_free(txc, sizeof(*txc));
1985 struct vioif_tx_context *txc;
1996 txc = netq->netq_ctx;
1998 if (!txc->txc_link_active ||
1999 txc->txc_no_free_slots)
2006 txc->txc_no_free_slots = true;
2013 m = pcq_get(txc->txc_intrq);
2036 txc->txc_defrag_failed.ev_count++;
2122 struct vioif_tx_context *txc;
2130 txc = netq->netq_ctx;
2150 txc->txc_no_free_slots = false;
2190 struct vioif_tx_context *txc = netq->netq_ctx;
2202 if (txc->txc_no_free_slots && ndeq > 0) {
2203 txc->txc_no_free_slots = false;
2204 softint_schedule(txc->txc_deferred_transmit);
2227 softint_schedule(txc->txc_deferred_transmit);
2730 struct vioif_tx_context *txc;
2748 txc = netq->netq_ctx;
2749 txc->txc_link_active = active;