Lines Matching defs:txhdr
2334 struct vtnet_tx_header *txhdr;
2346 while ((txhdr = virtqueue_drain(vq, &last)) != NULL) {
2348 m_freem(txhdr->vth_mbuf);
2349 uma_zfree(vtnet_tx_header_zone, txhdr);
2519 struct vtnet_tx_header *txhdr)
2533 error = sglist_append(sg, &txhdr->vth_uhdr, sc->vtnet_hdr_size);
2554 txhdr->vth_mbuf = m;
2555 error = virtqueue_enqueue(vq, txhdr, sg, sg->sg_nseg, 0);
2570 struct vtnet_tx_header *txhdr;
2578 txhdr = uma_zalloc(vtnet_tx_header_zone, flags | M_ZERO);
2579 if (txhdr == NULL) {
2590 hdr = &txhdr->vth_uhdr.hdr;
2609 error = vtnet_txq_enqueue_buf(txq, m_head, txhdr);
2612 uma_zfree(vtnet_tx_header_zone, txhdr);
2842 struct vtnet_tx_header *txhdr;
2850 while ((txhdr = virtqueue_dequeue(vq, NULL)) != NULL) {
2851 m = txhdr->vth_mbuf;
2860 uma_zfree(vtnet_tx_header_zone, txhdr);