Lines Matching defs:totlen
4924 m_devget(char *buf, int totlen, int off0, struct ifnet *ifp,
4934 epkt = cp + totlen;
4941 totlen -= 2 * sizeof (u_int16_t);
4947 m->m_pkthdr.len = totlen;
4950 while (totlen > 0) {
4959 len = MIN(totlen, epkt - cp);
4991 totlen -= len;
5229 int totlen = 0;
5238 * we don't bother to update "totlen" in the case of M_COPYBACK0_COW,
5248 totlen += mlen;
5272 totlen -= mlen;
5399 totlen += mlen;
5409 if (((m = *mp0)->m_flags & M_PKTHDR) && (m->m_pkthdr.len < totlen)) {
5411 m->m_pkthdr.len = totlen;