Lines Matching defs:totlen
112 int totlen)
129 m = m_get2(totlen, M_NOWAIT, MT_DATA, M_PKTHDR);
137 memcpy(mtod(m, uint8_t *), (uint8_t *)stat, totlen);
138 m->m_pkthdr.len = m->m_len = totlen;
159 int totlen, pktlen, infosz, min_len;
190 totlen = sizeof(*stat) + infosz + pktlen;
193 data->m = m_getm(NULL, totlen, M_NOWAIT, MT_DATA);
212 min_len = min(totlen - uc->uc_rx_off, len);
217 if (uc->uc_rx_off == totlen) {
246 int totlen, pktlen, infosz;
266 totlen = sizeof(*stat) + infosz + pktlen;
267 if (totlen > len) {
269 "%s: frame is fragmented (totlen %d len %d)\n",
270 __func__, totlen, len);
275 m0 = m = rtwn_rx_copy_to_mbuf(sc, stat, totlen);
277 m->m_nextpkt = rtwn_rx_copy_to_mbuf(sc, stat, totlen);
283 totlen = rtwn_usb_align_rx(uc, totlen, len);
284 buf += totlen;
285 len -= totlen;