Searched refs:at_most (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/
H A Dbuffer_iocp.c170 evbuffer_launch_write(struct evbuffer *buf, ev_ssize_t at_most, argument
192 } else if (at_most < 0 || (size_t)at_most > buf->total_len) {
193 at_most = buf->total_len;
208 if ((size_t)at_most > chain->off) {
214 at_most -= chain->off;
216 b->len = (unsigned long)at_most;
244 evbuffer_launch_read(struct evbuffer *buf, size_t at_most, argument
267 if (_evbuffer_expand_fast(buf, at_most, MAX_WSABUFS) == -1)
271 nvecs = _evbuffer_read_setup_vecs(buf, at_most,
[all...]
H A Dbufferevent_async.c185 size_t at_most; local
199 at_most = evbuffer_get_length(bev->output);
204 if (at_most >= (size_t)limit && limit >= 0)
205 at_most = limit;
214 if (evbuffer_launch_write(bev->output, at_most,
220 beva->write_in_progress = at_most;
221 _bufferevent_decrement_write_buckets(&beva->bev, at_most);
231 size_t at_most; local
252 at_most = read_high - cur_size;
254 at_most
[all...]

Completed in 31 milliseconds