Lines Matching defs:space
78 &max_datalen, 0, "Minimum space left in mbuf after max_hdr");
421 M_SANITY_ACTION("m_data + m_len exeeds mbuf space");
742 /* Shortcut if enough free space in first/last mbuf. */
1155 int space;
1179 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
1181 count = min(min(max(len, max_protohdr), space), n->m_len);
1187 space -= count;
1219 * the amount of empty space before the data in the new mbuf to be specified
1232 int count, space;
1243 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
1245 count = min(min(max(len, max_protohdr), space), n->m_len);
1251 space -= count;
1497 * existing space.
1509 int remainder, space;
1514 space = M_TRAILINGSPACE(m);
1515 if (space > 0) {
1517 * Copy into available space.
1519 if (space > remainder)
1520 space = remainder;
1521 bcopy(cp, mtod(m, caddr_t) + m->m_len, space);
1522 m->m_len += space;
1523 cp += space, remainder -= space;
1527 * Allocate a new mbuf; could check space
2135 * Allocate new space to hold the copy...