Lines Matching refs:last_with_datap
292 struct evbuffer_chain **ch = buf->last_with_datap; in evbuffer_free_trailing_empty_chains()
312 if (*buf->last_with_datap == NULL) { in evbuffer_chain_insert()
314 EVUTIL_ASSERT(buf->last_with_datap == &buf->first); in evbuffer_chain_insert()
322 buf->last_with_datap = chp; in evbuffer_chain_insert()
371 buffer->last_with_datap = &buffer->first; in evbuffer_new()
708 if (!*buf->last_with_datap) in advance_last_with_data()
711 while ((*buf->last_with_datap)->next && (*buf->last_with_datap)->next->off) { in advance_last_with_data()
712 buf->last_with_datap = &(*buf->last_with_datap)->next; in advance_last_with_data()
748 firstchainp = buf->last_with_datap; in evbuffer_commit_space()
772 buf->last_with_datap = chainp; in evbuffer_commit_space()
800 dst->last_with_datap = &(dst)->first; in ZERO_CHAIN()
821 pinned = src->last_with_datap; in PRESERVE_PINNED()
833 EVUTIL_ASSERT(pinned == src->last_with_datap); in PRESERVE_PINNED()
840 *src->last_with_datap = tmp; in PRESERVE_PINNED()
845 src->last = *src->last_with_datap; in PRESERVE_PINNED()
865 src->last_with_datap = &src->first; in RESTORE_PINNED()
875 if (src->last_with_datap == &src->first) in COPY_CHAIN()
876 dst->last_with_datap = &dst->first; in COPY_CHAIN()
878 dst->last_with_datap = src->last_with_datap; in COPY_CHAIN()
894 if (src->last_with_datap == &src->first) in APPEND_CHAIN()
895 dst->last_with_datap = chp; in APPEND_CHAIN()
897 dst->last_with_datap = src->last_with_datap; in APPEND_CHAIN()
950 if (*dst->last_with_datap == NULL) { in PREPEND_CHAIN()
951 if (src->last_with_datap == &(src)->first) in PREPEND_CHAIN()
952 dst->last_with_datap = &dst->first; in PREPEND_CHAIN()
954 dst->last_with_datap = src->last_with_datap; in PREPEND_CHAIN()
955 } else if (dst->last_with_datap == &dst->first) { in PREPEND_CHAIN()
956 dst->last_with_datap = &src->last->next; in PREPEND_CHAIN()
1133 if (chain == *buf->last_with_datap) { in evbuffer_drain()
1134 buf->last_with_datap = &buf->first; in evbuffer_drain()
1136 if (&chain->next == buf->last_with_datap) in evbuffer_drain()
1137 buf->last_with_datap = &buf->first; in evbuffer_drain()
1292 EVUTIL_ASSERT(chain != *src->last_with_datap); in evbuffer_remove_buffer()
1296 if (src->last_with_datap == &chain->next) in evbuffer_remove_buffer()
1297 src->last_with_datap = &src->first; in evbuffer_remove_buffer()
1415 last_with_data = *buf->last_with_datap; in evbuffer_pullup()
1424 if (&chain->next == buf->last_with_datap) in evbuffer_pullup()
1441 buf->last_with_datap = &buf->first; in evbuffer_pullup()
1444 buf->last_with_datap = &buf->first->next; in evbuffer_pullup()
1446 buf->last_with_datap = &buf->first; in evbuffer_pullup()
1740 if (*buf->last_with_datap == NULL) { in evbuffer_add()
1743 chain = *buf->last_with_datap; in evbuffer_add()
1880 if (buf->last_with_datap == &buf->first) in evbuffer_prepend()
1881 buf->last_with_datap = &tmp->next; in evbuffer_prepend()
1934 chainp = buf->last_with_datap; in evbuffer_expand_singlechain()
2065 for (chain = *buf->last_with_datap; chain; chain = chain->next) { in evbuffer_expand_fast_()
2068 EVUTIL_ASSERT(chain == *buf->last_with_datap); in evbuffer_expand_fast_()
2108 chain = *buf->last_with_datap; in evbuffer_expand_fast_()
2132 buf->last = *buf->last_with_datap; in evbuffer_expand_fast_()
2133 (*buf->last_with_datap)->next = NULL; in evbuffer_expand_fast_()
2140 buf->last_with_datap = &buf->first; in evbuffer_expand_fast_()
2142 (*buf->last_with_datap)->next = tmp; in evbuffer_expand_fast_()
2229 firstchainp = buf->last_with_datap; in evbuffer_read_setup_vecs_()
2381 buf->last_with_datap = chainp; in evbuffer_read()