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