Lines Matching refs:copylen
1512 int copylen; in sadb_strip() local
1533 copylen = ((uint8_t *)ext) - (target + in sadb_strip()
1536 ovbcopy(((uint8_t *)ext - copylen), target, in sadb_strip()
1537 copylen); in sadb_strip()
1538 target += copylen; in sadb_strip()
1555 copylen = ((uint8_t *)ext) - (target + in sadb_strip()
1557 if (copylen != 0) in sadb_strip()
1558 ovbcopy(((uint8_t *)ext - copylen), target, copylen); in sadb_strip()
7350 int copylen; local
7354 copylen = MBLKL(mp);
7355 if (copylen > 256)
7356 copylen = 256;
7357 new_mp = allocb_tmpl(hlen + copylen +
7367 new_mp->b_wptr = new_mp->b_rptr + copylen;
7368 bcopy(mp->b_rptr, new_mp->b_rptr, copylen);
7370 if ((mp->b_rptr += copylen) >= mp->b_wptr) {
7433 int copylen; local
7442 copylen = MBLKL(mp);
7443 if (copylen > 256)
7444 copylen = 256;
7445 if (copylen < hdr_len)
7446 copylen = hdr_len;
7447 new_mp = allocb_tmpl(hlen + copylen +
7456 new_mp->b_wptr = new_mp->b_rptr + copylen;
7457 bcopy(mp->b_rptr, new_mp->b_rptr, copylen);
7459 if ((mp->b_rptr += copylen) >= mp->b_wptr) {