Lines Matching defs:txhdr
1966 struct vtnet_tx_header *txhdr;
1972 while ((txhdr = virtqueue_drain(vq, &last)) != NULL) {
1973 m_freem(txhdr->vth_mbuf);
1974 uma_zfree(vtnet_tx_header_zone, txhdr);
2131 struct vtnet_tx_header *txhdr)
2145 error = sglist_append(sg, &txhdr->vth_uhdr, sc->vtnet_hdr_size);
2163 txhdr->vth_mbuf = m;
2164 error = virtqueue_enqueue(vq, txhdr, sg, sg->sg_nseg, 0);
2179 struct vtnet_tx_header *txhdr;
2187 txhdr = uma_zalloc(vtnet_tx_header_zone, M_NOWAIT | M_ZERO);
2188 if (txhdr == NULL) {
2199 hdr = &txhdr->vth_uhdr.hdr;
2218 error = vtnet_txq_enqueue_buf(txq, m_head, txhdr);
2223 uma_zfree(vtnet_tx_header_zone, txhdr);
2454 struct vtnet_tx_header *txhdr;
2469 while ((txhdr = virtqueue_dequeue(vq, NULL)) != NULL) {
2470 m = txhdr->vth_mbuf;
2479 uma_zfree(vtnet_tx_header_zone, txhdr);