Lines Matching defs:txbuf
331 static void bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp);
335 bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp)
341 txbuf->copy_len = 0;
342 pbuf = DMA_VPTR(txbuf->buf);
346 ASSERT(txbuf->copy_len + mblen <=
350 txbuf->copy_len += mblen;
368 sw_txbuf_t *txbuf;
421 txbuf = txbuf_item->item;
422 ASSERT(txbuf->copy_len != 0);
423 (void) ddi_dma_sync(txbuf->buf.dma_hdl, 0,
424 txbuf->copy_len, DDI_DMA_SYNC_FORDEV);
435 hw_sbd_p->host_buf_addr = txbuf->buf.cookie.dmac_laddress;
436 hw_sbd_p->len = txbuf->copy_len;
487 sw_txbuf_t *txbuf;
511 txbuf = txbuf_item->item;
512 bge_send_copy(bgep, txbuf, mp);
517 ASSERT(txbuf->copy_len >= sizeof (struct ether_header));
518 pbuf = DMA_VPTR(txbuf->buf);
525 txbuf->copy_len -= VLAN_TAGSZ;