Lines Matching refs:limit
29 for (b = sb->buf; b != NULL && total < sb->limit; b = b->next) { in nxt_sendbuf_mem_coalesce0()
43 if (total + size > sb->limit) { in nxt_sendbuf_mem_coalesce0()
44 size = sb->limit - total; in nxt_sendbuf_mem_coalesce0()
99 for (b = sb->buf; b != NULL && total < sb->limit; b = b->next) { in nxt_sendbuf_mem_coalesce()
113 if (total + size > sb->limit) { in nxt_sendbuf_mem_coalesce()
114 size = sb->limit - total; in nxt_sendbuf_mem_coalesce()
182 if (total + size >= sb->limit) { in nxt_sendbuf_file_coalesce()
183 total = sb->limit; in nxt_sendbuf_file_coalesce()
212 size_t limit) in nxt_sendbuf_copy_coalesce() argument
258 n = c->io->send(c, bm->pos, nxt_min(size, limit)); in nxt_sendbuf_copy_coalesce()
284 return c->io->send(c, b->mem.pos, nxt_min(size, limit)); in nxt_sendbuf_copy_coalesce()