Lines Matching refs:hlen
102 int hlen, tlen, olen;
190 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
192 * note that hlen + tlen == len, and tlen > 0.
194 hlen = n->m_len - off;
195 tlen = len - hlen;
204 if (hlen + olen < len) {
220 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
222 n->m_next->m_data -= hlen;
223 n->m_next->m_len += hlen;
224 bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
225 n->m_len -= hlen;
243 /* get hlen from <n, off> into <o, 0> */
244 o->m_len = hlen;
245 bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
246 n->m_len -= hlen;
247 /* get tlen from <n->m_next, 0> into <o, hlen> */