Lines Matching refs:hlen
134 int hlen, tlen, olen;
271 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
273 * note that hlen + tlen == len, and tlen > 0.
275 hlen = n->m_len - off;
276 tlen = len - hlen;
285 if (hlen + olen < len) {
311 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
313 n->m_next->m_data -= hlen;
314 n->m_next->m_len += hlen;
315 bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
316 n->m_len -= hlen;
342 /* get hlen from <n, off> into <o, 0> */
343 o->m_len = hlen;
344 bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
345 n->m_len -= hlen;
346 /* get tlen from <n->m_next, 0> into <o, hlen> */