Lines Matching refs:totlen
110 int totlen) in rtwn_rx_copy_to_mbuf() argument
127 m = m_get2(totlen, M_NOWAIT, MT_DATA, M_PKTHDR); in rtwn_rx_copy_to_mbuf()
135 memcpy(mtod(m, uint8_t *), (uint8_t *)stat, totlen); in rtwn_rx_copy_to_mbuf()
136 m->m_pkthdr.len = m->m_len = totlen; in rtwn_rx_copy_to_mbuf()
157 int totlen, pktlen, infosz, min_len; in rtwn_rxeof_fragmented() local
188 totlen = sizeof(*stat) + infosz + pktlen; in rtwn_rxeof_fragmented()
191 data->m = m_getm(NULL, totlen, M_NOWAIT, MT_DATA); in rtwn_rxeof_fragmented()
210 min_len = min(totlen - uc->uc_rx_off, len); in rtwn_rxeof_fragmented()
215 if (uc->uc_rx_off == totlen) { in rtwn_rxeof_fragmented()
244 int totlen, pktlen, infosz; in rtwn_rxeof() local
264 totlen = sizeof(*stat) + infosz + pktlen; in rtwn_rxeof()
265 if (totlen > len) { in rtwn_rxeof()
268 __func__, totlen, len); in rtwn_rxeof()
273 m0 = m = rtwn_rx_copy_to_mbuf(sc, stat, totlen); in rtwn_rxeof()
275 m->m_nextpkt = rtwn_rx_copy_to_mbuf(sc, stat, totlen); in rtwn_rxeof()
281 totlen = rtwn_usb_align_rx(uc, totlen, len); in rtwn_rxeof()
282 buf += totlen; in rtwn_rxeof()
283 len -= totlen; in rtwn_rxeof()