Lines Matching refs:totlen
1186 m_devget(char *buf, int totlen, int off, struct ifnet *ifp, in m_devget() argument
1196 while (totlen > 0) { in m_devget()
1198 if (totlen + off >= MINCLSIZE) { in m_devget()
1206 if (m && totlen + off + max_linkhdr <= MHLEN) { in m_devget()
1214 m->m_pkthdr.len = totlen; in m_devget()
1216 if (totlen + off >= MINCLSIZE) { in m_devget()
1233 m->m_len = len = min(totlen, len); in m_devget()
1241 totlen -= len; in m_devget()
1279 int totlen = 0; in m_copyback() local
1285 totlen += mlen; in m_copyback()
1310 totlen += mlen; in m_copyback()
1322 out: if (((m = m0)->m_flags & M_PKTHDR) && (m->m_pkthdr.len < totlen)) in m_copyback()
1323 m->m_pkthdr.len = totlen; in m_copyback()