Lines Matching full:last
355 struct os_mbuf *last; in os_mbuf_append() local
368 /* Scroll to last mbuf in the chain */ in os_mbuf_append()
369 last = om; in os_mbuf_append()
370 while (SLIST_NEXT(last, om_next) != NULL) { in os_mbuf_append()
371 last = SLIST_NEXT(last, om_next); in os_mbuf_append()
375 space = OS_MBUF_TRAILINGSPACE(last); 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()
405 SLIST_NEXT(last, om_next) = new; in os_mbuf_append()
406 last = new; in os_mbuf_append()
589 * calculating its length and finding the last mbuf. in os_mbuf_adj()
613 * Find the mbuf with last data, adjust its length, in os_mbuf_adj()
862 /* Point 'cur' to the last buffer in the first chain. */ in os_mbuf_concat()
896 struct os_mbuf *last; in os_mbuf_extend() local
903 /* Scroll to last mbuf in the chain */ in os_mbuf_extend()
904 last = om; in os_mbuf_extend()
905 while (SLIST_NEXT(last, om_next) != NULL) { in os_mbuf_extend()
906 last = SLIST_NEXT(last, om_next); in os_mbuf_extend()
909 if (OS_MBUF_TRAILINGSPACE(last) < len) { in os_mbuf_extend()
915 SLIST_NEXT(last, om_next) = newm; in os_mbuf_extend()
916 last = newm; in os_mbuf_extend()
919 data = last->om_data + last->om_len; in os_mbuf_extend()
920 last->om_len += len; in os_mbuf_extend()