Lines Matching refs:max_chunks
72 * By default, a bufq can hold up to `max_chunks * chunk_size` number
73 * of bytes. When `max_chunks` are used (in the `head` list) and the
83 * limit and use more than `max_chunks`. However it will report that it
100 size_t max_chunks; /* max `head` chunks to use */
107 * more bytes than can be hold in `max_chunks` is refused and will return
111 * Make `max_chunks` a "soft" limit. A bufq will report that it is "full"
112 * when `max_chunks` are used, but allows writing beyond this limit.
121 * Initialize a buffer queue that can hold up to `max_chunks` buffers
123 * more bytes than can be held in `max_chunks`.
125 void Curl_bufq_init(struct bufq *q, size_t chunk_size, size_t max_chunks);
128 * Initialize a buffer queue that can hold up to `max_chunks` buffers
132 size_t max_chunks, int opts);
135 size_t max_chunks, int opts);