Lines Matching refs:hlen
132 int hlen, tlen, olen;
269 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
271 * note that hlen + tlen == len, and tlen > 0.
273 hlen = n->m_len - off;
274 tlen = len - hlen;
283 if (hlen + olen < len) {
309 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
311 n->m_next->m_data -= hlen;
312 n->m_next->m_len += hlen;
313 bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
314 n->m_len -= hlen;
340 /* get hlen from <n, off> into <o, 0> */
341 o->m_len = hlen;
342 bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
343 n->m_len -= hlen;
344 /* get tlen from <n->m_next, 0> into <o, hlen> */