Lines Matching defs:txc

835 	struct vioif_tx_context *txc;
840 txc = netq->netq_ctx;
842 if (__predict_false(!pcq_put(txc->txc_intrq, m))) {
1035 struct vioif_tx_context *txc;
1056 txc = netq->netq_ctx;
1057 evcnt_attach_dynamic(&txc->txc_defrag_failed,
1457 struct vioif_tx_context *txc;
1462 txc = NULL;
1504 txc = kmem_zalloc(sizeof(*txc), KM_SLEEP);
1505 netq->netq_ctx = (void *)txc;
1506 txc->txc_deferred_transmit = softint_establish(softint_flags,
1508 if (txc->txc_deferred_transmit == NULL) {
1514 txc->txc_link_active = VIOIF_IS_LINK_ACTIVE(sc);
1515 txc->txc_no_free_slots = false;
1516 txc->txc_intrq = pcq_create(vq->vq_num, KM_SLEEP);
1529 if (txc != NULL) {
1530 if (txc->txc_deferred_transmit != NULL)
1531 softint_disestablish(txc->txc_deferred_transmit);
1532 if (txc->txc_intrq != NULL)
1533 pcq_destroy(txc->txc_intrq);
1534 kmem_free(txc, sizeof(txc));
1556 struct vioif_tx_context *txc;
1573 txc = netq->netq_ctx;
1575 softint_disestablish(txc->txc_deferred_transmit);
1576 pcq_destroy(txc->txc_intrq);
1577 kmem_free(txc, sizeof(*txc));
1980 struct vioif_tx_context *txc;
1991 txc = netq->netq_ctx;
1993 if (!txc->txc_link_active ||
1994 txc->txc_no_free_slots)
2001 txc->txc_no_free_slots = true;
2008 m = pcq_get(txc->txc_intrq);
2031 txc->txc_defrag_failed.ev_count++;
2117 struct vioif_tx_context *txc;
2125 txc = netq->netq_ctx;
2145 txc->txc_no_free_slots = false;
2185 struct vioif_tx_context *txc = netq->netq_ctx;
2197 if (txc->txc_no_free_slots && ndeq > 0) {
2198 txc->txc_no_free_slots = false;
2199 softint_schedule(txc->txc_deferred_transmit);
2222 softint_schedule(txc->txc_deferred_transmit);
2725 struct vioif_tx_context *txc;
2743 txc = netq->netq_ctx;
2744 txc->txc_link_active = active;