Lines Matching defs:hlen
98 int hlen, tlen, olen;
188 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
190 * note that hlen + tlen == len, and tlen > 0.
192 hlen = n->m_len - off;
193 tlen = len - hlen;
202 if (hlen + olen < len) {
218 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
220 n->m_next->m_data -= hlen;
221 n->m_next->m_len += hlen;
222 bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
223 n->m_len -= hlen;
241 /* get hlen from <n, off> into <o, 0> */
242 o->m_len = hlen;
243 bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
244 n->m_len -= hlen;
245 /* get tlen from <n->m_next, 0> into <o, hlen> */