796: }
797: n->m_len = min(len, m->m_len - off);
798: if (m->m_flags & M_EXT) {
809: n->m_len = M_TRAILINGSPACE(n);
810: n->m_len = min(n->m_len, len);
811: n->m_len = min(n->m_len, m->m_len - off);
812: memcpy(mtod(n, void *), mtod(m, char *) + off,
913: panic("m_copydata: m == NULL, len %d", len);
914: count = min(m->m_len - off, len);
915: memcpy(cp, mtod(m, char *) + off, count);
1064: do {
1065: count = min(min(max(len, max_protohdr), space), n->m_len);
1066: memcpy(mtod(m, char *) + m->m_len, mtod(n, void *),
1114: do {
1115: count = min(min(max(len, max_protohdr), space), n->m_len);
1116: memcpy(mtod(m, char *) + m->m_len, mtod(n, void *),
1249: }
1250: len = min(totlen, epkt - cp);
1251: if (len >= MINCLSIZE) {
1257: }
1258: m->m_len = len = min(len, MCLBYTES);
1259: } else {
1414: if (tspace > 0) {
1415: tspace = min(tspace, off + len);
1416: KASSERT(tspace > 0);
1417: memset(mtod(m, char *) + m->m_len, 0,
1418: min(off, tspace));
1419: m->m_len += tspace;
1437: n->m_len = 0;
1438: n->m_len = min(M_TRAILINGSPACE(n), off + len);
1439: memset(mtod(n, char *), 0, min(n->m_len, off));
1440: m->m_next = n;
1523: n->m_type == m->m_type && eatlen > 0) {
1524: mlen = min(eatlen, m->m_len);
1525: if (datap) {
1540: }
1541: mlen = min(mlen, len);
1542: if (flags & M_COPYBACK0_COPYBACK) {
1607: KASSERT(m != NULL);
1608: count = min(m->m_len - off, len);
1609: