Lines Matching defs:mtail
1633 ptnet_rx_slot(struct mbuf *mtail, uint8_t *nmbuf, unsigned int nmbuf_len)
1635 uint8_t *mdata = mtod(mtail, uint8_t *) + mtail->m_len;
1640 if (mtail->m_len == MCLBYTES) {
1648 mtail->m_next = mf;
1649 mtail = mf;
1650 mdata = mtod(mtail, uint8_t *);
1651 mtail->m_len = 0;
1654 copy = MCLBYTES - mtail->m_len;
1664 mtail->m_len += copy;
1667 return mtail;
1697 struct mbuf *mhead, *mtail;
1762 mhead = mtail = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
1772 mtail->m_len = 0;
1781 mtail = ptnet_rx_slot(mtail, nmbuf, nmbuf_len);
1782 if (unlikely(!mtail)) {