Lines Matching full:space
358 int space; in os_mbuf_append() local
375 space = OS_MBUF_TRAILINGSPACE(last); in os_mbuf_append()
378 * remaining space in that mbuf. in os_mbuf_append()
380 if (space > 0) { in os_mbuf_append()
381 if (space > remainder) { in os_mbuf_append()
382 space = remainder; in os_mbuf_append()
385 memcpy(OS_MBUF_DATA(last, uint8_t *) + last->om_len , data, space); in os_mbuf_append()
387 last->om_len += space; in os_mbuf_append()
388 data += space; in os_mbuf_append()
389 remainder -= space; in os_mbuf_append()
737 /* Fill the available space at the front of the head of the chain, as in os_mbuf_prepend()
753 /* The current head didn't have enough space; allocate a new head. */ in os_mbuf_prepend()
937 int space; in os_mbuf_pullup() local
968 space = OS_MBUF_TRAILINGSPACE(om2); in os_mbuf_pullup()
970 count = min(min(len, space), om->om_len); in os_mbuf_pullup()
975 space -= count; in os_mbuf_pullup()