Lines Matching refs:mp
337 static void bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp);
341 bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp)
349 for (bp = mp; bp != NULL; bp = bp->b_cont) {
492 bge_ring_tx(void *arg, mblk_t *mp)
505 ASSERT(mp->b_next == NULL);
516 return (mp);
520 * Copy all mp fragments to the pkt buffer
523 bge_send_copy(bgep, txbuf, mp);
543 mac_hcksum_get(mp, NULL, NULL, NULL, NULL, &pflags);
570 srp->pushed_bytes += MBLKL(mp);
575 freemsg(mp);
580 bge_send(bge_t *bgep, mblk_t *mp)
586 return (bge_ring_tx(ring, mp));
617 bge_m_tx(void *arg, mblk_t *mp)
622 BGE_TRACE(("bge_m_tx($%p, $%p)", arg, (void *)mp));
624 ASSERT(mp != NULL);
631 freemsgchain(mp);
632 mp = NULL;
635 while (mp != NULL) {
636 next = mp->b_next;
637 mp->b_next = NULL;
639 if ((mp = bge_send(bgep, mp)) != NULL) {
640 mp->b_next = next;
644 mp = next;
648 return (mp);