Lines Matching refs:chainp
674 struct evbuffer_chain *chain, **chainp; in evbuffer_reserve_space() local
694 &chainp, 0); in evbuffer_reserve_space()
707 struct evbuffer_chain **chainp = buf->last_with_datap; in advance_last_with_data() local
711 if (!*chainp) in advance_last_with_data()
714 while ((*chainp)->next) { in advance_last_with_data()
715 chainp = &(*chainp)->next; in advance_last_with_data()
716 if ((*chainp)->off) in advance_last_with_data()
717 buf->last_with_datap = chainp; in advance_last_with_data()
727 struct evbuffer_chain *chain, **firstchainp, **chainp; in evbuffer_commit_space() local
772 chainp = firstchainp; in evbuffer_commit_space()
774 (*chainp)->off += vec[i].iov_len; in evbuffer_commit_space()
777 buf->last_with_datap = chainp; in evbuffer_commit_space()
779 chainp = &(*chainp)->next; in evbuffer_commit_space()
1939 struct evbuffer_chain *chain, **chainp; in evbuffer_expand_singlechain() local
1943 chainp = buf->last_with_datap; in evbuffer_expand_singlechain()
1948 if (*chainp && CHAIN_SPACE_LEN(*chainp) == 0) in evbuffer_expand_singlechain()
1949 chainp = &(*chainp)->next; in evbuffer_expand_singlechain()
1953 chain = *chainp; in evbuffer_expand_singlechain()
2024 EVUTIL_ASSERT(*chainp == chain); in evbuffer_expand_singlechain()
2025 result = *chainp = tmp; in evbuffer_expand_singlechain()
2225 struct evbuffer_chain ***chainp, int exact) in evbuffer_read_setup_vecs_() argument
2256 *chainp = firstchainp; in evbuffer_read_setup_vecs_()
2284 struct evbuffer_chain **chainp; in evbuffer_read() local
2318 NUM_READ_IOVEC, &chainp, 1); in evbuffer_read()
2324 &chainp, 1); in evbuffer_read()
2382 size_t space = (size_t) CHAIN_SPACE_LEN(*chainp); in evbuffer_read()
2388 (*chainp)->off += space; in evbuffer_read()
2391 (*chainp)->off += remaining; in evbuffer_read()
2392 buf->last_with_datap = chainp; in evbuffer_read()
2395 chainp = &(*chainp)->next; in evbuffer_read()