Home
last modified time | relevance | path

Searched refs:rem_len (Results 1 – 1 of 1) sorted by relevance

/lib/liblwip/src/core/
Dpbuf.c211 s32_t rem_len; /* remaining length */ in pbuf_alloc() local
269 rem_len = length - p->len; in pbuf_alloc()
271 while (rem_len > 0) { in pbuf_alloc()
286 LWIP_ASSERT("rem_len < max_u16_t", rem_len < 0xffff); in pbuf_alloc()
287 q->tot_len = (u16_t)rem_len; in pbuf_alloc()
289 q->len = LWIP_MIN((u16_t)rem_len, PBUF_POOL_BUFSIZE_ALIGNED); in pbuf_alloc()
298 rem_len -= q->len; in pbuf_alloc()
433 u16_t rem_len; /* remaining length */ in pbuf_realloc() local
453 rem_len = new_len; in pbuf_realloc()
456 while (rem_len > q->len) { in pbuf_realloc()
[all …]