Lines Matching refs:hlen
133 int hlen, tlen, olen;
270 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
272 * note that hlen + tlen == len, and tlen > 0.
274 hlen = n->m_len - off;
275 tlen = len - hlen;
284 if (hlen + olen < len) {
310 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
312 n->m_next->m_data -= hlen;
313 n->m_next->m_len += hlen;
314 bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
315 n->m_len -= hlen;
341 /* get hlen from <n, off> into <o, 0> */
342 o->m_len = hlen;
343 bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
344 n->m_len -= hlen;
345 /* get tlen from <n->m_next, 0> into <o, hlen> */