cl                 49 core/ngx_buf.c     ngx_chain_t  *cl;
cl                 51 core/ngx_buf.c     cl = pool->chain;
cl                 53 core/ngx_buf.c     if (cl) {
cl                 54 core/ngx_buf.c         pool->chain = cl->next;
cl                 55 core/ngx_buf.c         return cl;
cl                 58 core/ngx_buf.c     cl = ngx_palloc(pool, sizeof(ngx_chain_t));
cl                 59 core/ngx_buf.c     if (cl == NULL) {
cl                 63 core/ngx_buf.c     return cl;
cl                 73 core/ngx_buf.c     ngx_chain_t  *chain, *cl, **ll;
cl                109 core/ngx_buf.c         cl = ngx_alloc_chain_link(pool);
cl                110 core/ngx_buf.c         if (cl == NULL) {
cl                114 core/ngx_buf.c         cl->buf = b;
cl                115 core/ngx_buf.c         *ll = cl;
cl                116 core/ngx_buf.c         ll = &cl->next;
cl                128 core/ngx_buf.c     ngx_chain_t  *cl, **ll;
cl                132 core/ngx_buf.c     for (cl = *chain; cl; cl = cl->next) {
cl                133 core/ngx_buf.c         ll = &cl->next;
cl                137 core/ngx_buf.c         cl = ngx_alloc_chain_link(pool);
cl                138 core/ngx_buf.c         if (cl == NULL) {
cl                142 core/ngx_buf.c         cl->buf = in->buf;
cl                143 core/ngx_buf.c         *ll = cl;
cl                144 core/ngx_buf.c         ll = &cl->next;
cl                157 core/ngx_buf.c     ngx_chain_t  *cl;
cl                160 core/ngx_buf.c         cl = *free;
cl                161 core/ngx_buf.c         *free = cl->next;
cl                162 core/ngx_buf.c         cl->next = NULL;
cl                163 core/ngx_buf.c         return cl;
cl                166 core/ngx_buf.c     cl = ngx_alloc_chain_link(p);
cl                167 core/ngx_buf.c     if (cl == NULL) {
cl                171 core/ngx_buf.c     cl->buf = ngx_calloc_buf(p);
cl                172 core/ngx_buf.c     if (cl->buf == NULL) {
cl                176 core/ngx_buf.c     cl->next = NULL;
cl                178 core/ngx_buf.c     return cl;
cl                186 core/ngx_buf.c     ngx_chain_t  *cl;
cl                192 core/ngx_buf.c         for (cl = *busy; cl->next; cl = cl->next) { /* void */ }
cl                194 core/ngx_buf.c         cl->next = *out;
cl                212 core/ngx_buf.c         cl = *busy;
cl                213 core/ngx_buf.c         *busy = cl->next;
cl                214 core/ngx_buf.c         cl->next = *free;
cl                215 core/ngx_buf.c         *free = cl;
cl                145 core/ngx_buf.h #define ngx_free_chain(pool, cl)                                             \
cl                146 core/ngx_buf.h     cl->next = pool->chain;                                                  \
cl                147 core/ngx_buf.h     pool->chain = cl
cl                 45 core/ngx_output_chain.c     ngx_chain_t  *cl, *out, **last_out;
cl                124 core/ngx_output_chain.c                 cl = ctx->in;
cl                125 core/ngx_output_chain.c                 ctx->in = cl->next;
cl                127 core/ngx_output_chain.c                 *last_out = cl;
cl                128 core/ngx_output_chain.c                 last_out = &cl->next;
cl                129 core/ngx_output_chain.c                 cl->next = NULL;
cl                148 core/ngx_output_chain.c                         cl = ctx->free;
cl                149 core/ngx_output_chain.c                         ctx->buf = cl->buf;
cl                150 core/ngx_output_chain.c                         ctx->free = cl->next;
cl                152 core/ngx_output_chain.c                         ngx_free_chain(ctx->pool, cl);
cl                184 core/ngx_output_chain.c             cl = ngx_alloc_chain_link(ctx->pool);
cl                185 core/ngx_output_chain.c             if (cl == NULL) {
cl                189 core/ngx_output_chain.c             cl->buf = ctx->buf;
cl                190 core/ngx_output_chain.c             cl->next = NULL;
cl                191 core/ngx_output_chain.c             *last_out = cl;
cl                192 core/ngx_output_chain.c             last_out = &cl->next;
cl                265 core/ngx_output_chain.c     ngx_chain_t  *cl, **ll;
cl                272 core/ngx_output_chain.c     for (cl = *chain; cl; cl = cl->next) {
cl                273 core/ngx_output_chain.c         ll = &cl->next;
cl                278 core/ngx_output_chain.c         cl = ngx_alloc_chain_link(pool);
cl                279 core/ngx_output_chain.c         if (cl == NULL) {
cl                308 core/ngx_output_chain.c             cl->buf = b;
cl                311 core/ngx_output_chain.c             cl->buf = buf;
cl                316 core/ngx_output_chain.c         cl->buf = in->buf;
cl                321 core/ngx_output_chain.c         cl->next = NULL;
cl                322 core/ngx_output_chain.c         *ll = cl;
cl                323 core/ngx_output_chain.c         ll = &cl->next;
cl                605 core/ngx_output_chain.c     ngx_chain_t       *cl;
cl                624 core/ngx_output_chain.c         cl = ngx_alloc_chain_link(ctx->pool);
cl                625 core/ngx_output_chain.c         if (cl == NULL) {
cl                629 core/ngx_output_chain.c         cl->buf = in->buf;
cl                630 core/ngx_output_chain.c         cl->next = NULL;
cl                631 core/ngx_output_chain.c         *ctx->last = cl;
cl                632 core/ngx_output_chain.c         ctx->last = &cl->next;
cl                638 core/ngx_output_chain.c     for (cl = ctx->out; cl; cl = cl->next) {
cl                641 core/ngx_output_chain.c         if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) {
cl                647 core/ngx_output_chain.c         size += ngx_buf_size(cl->buf);
cl                430 event/ngx_event.c     size_t               size, cl;
cl                493 event/ngx_event.c     cl = 128;
cl                495 event/ngx_event.c     size = cl            /* ngx_accept_mutex */
cl                496 event/ngx_event.c            + cl          /* ngx_connection_counter */
cl                497 event/ngx_event.c            + cl;         /* ngx_temp_number */
cl                501 event/ngx_event.c     size += cl           /* ngx_stat_accepted */
cl                502 event/ngx_event.c            + cl          /* ngx_stat_handled */
cl                503 event/ngx_event.c            + cl          /* ngx_stat_requests */
cl                504 event/ngx_event.c            + cl          /* ngx_stat_active */
cl                505 event/ngx_event.c            + cl          /* ngx_stat_reading */
cl                506 event/ngx_event.c            + cl;         /* ngx_stat_writing */
cl                529 event/ngx_event.c     ngx_connection_counter = (ngx_atomic_t *) (shared + 1 * cl);
cl                537 event/ngx_event.c     ngx_temp_number = (ngx_atomic_t *) (shared + 2 * cl);
cl                545 event/ngx_event.c     ngx_stat_accepted = (ngx_atomic_t *) (shared + 3 * cl);
cl                546 event/ngx_event.c     ngx_stat_handled = (ngx_atomic_t *) (shared + 4 * cl);
cl                547 event/ngx_event.c     ngx_stat_requests = (ngx_atomic_t *) (shared + 5 * cl);
cl                548 event/ngx_event.c     ngx_stat_active = (ngx_atomic_t *) (shared + 6 * cl);
cl                549 event/ngx_event.c     ngx_stat_reading = (ngx_atomic_t *) (shared + 7 * cl);
cl                550 event/ngx_event.c     ngx_stat_writing = (ngx_atomic_t *) (shared + 8 * cl);
cl                695 event/ngx_event_openssl.c ngx_ssl_recv_chain(ngx_connection_t *c, ngx_chain_t *cl)
cl                703 event/ngx_event_openssl.c     b = cl->buf;
cl                715 event/ngx_event_openssl.c                 cl = cl->next;
cl                717 event/ngx_event_openssl.c                 if (cl == NULL) {
cl                721 event/ngx_event_openssl.c                 b = cl->buf;
cl                142 event/ngx_event_openssl.h ssize_t ngx_ssl_recv_chain(ngx_connection_t *c, ngx_chain_t *cl);
cl                104 event/ngx_event_pipe.c     ngx_chain_t  *chain, *cl, *ln;
cl                304 event/ngx_event_pipe.c         cl = chain;
cl                307 event/ngx_event_pipe.c         while (cl && n > 0) {
cl                309 event/ngx_event_pipe.c             ngx_event_pipe_remove_shadow_links(cl->buf);
cl                311 event/ngx_event_pipe.c             size = cl->buf->end - cl->buf->last;
cl                314 event/ngx_event_pipe.c                 cl->buf->last = cl->buf->end;
cl                316 event/ngx_event_pipe.c                 /* STUB */ cl->buf->num = p->num++;
cl                318 event/ngx_event_pipe.c                 if (p->input_filter(p, cl->buf) == NGX_ERROR) {
cl                323 event/ngx_event_pipe.c                 ln = cl;
cl                324 event/ngx_event_pipe.c                 cl = cl->next;
cl                328 event/ngx_event_pipe.c                 cl->buf->last += n;
cl                333 event/ngx_event_pipe.c         if (cl) {
cl                334 event/ngx_event_pipe.c             for (ln = cl; ln->next; ln = ln->next) { /* void */ }
cl                337 event/ngx_event_pipe.c             p->free_raw_bufs = cl;
cl                343 event/ngx_event_pipe.c     for (cl = p->busy; cl; cl = cl->next) {
cl                348 event/ngx_event_pipe.c                        (cl->buf->shadow ? 1 : 0),
cl                349 event/ngx_event_pipe.c                        cl->buf->temporary, cl->buf->in_file,
cl                350 event/ngx_event_pipe.c                        cl->buf->start, cl->buf->pos,
cl                351 event/ngx_event_pipe.c                        cl->buf->last - cl->buf->pos,
cl                352 event/ngx_event_pipe.c                        cl->buf->file_pos,
cl                353 event/ngx_event_pipe.c                        cl->buf->file_last - cl->buf->file_pos);
cl                356 event/ngx_event_pipe.c     for (cl = p->out; cl; cl = cl->next) {
cl                361 event/ngx_event_pipe.c                        (cl->buf->shadow ? 1 : 0),
cl                362 event/ngx_event_pipe.c                        cl->buf->temporary, cl->buf->in_file,
cl                363 event/ngx_event_pipe.c                        cl->buf->start, cl->buf->pos,
cl                364 event/ngx_event_pipe.c                        cl->buf->last - cl->buf->pos,
cl                365 event/ngx_event_pipe.c                        cl->buf->file_pos,
cl                366 event/ngx_event_pipe.c                        cl->buf->file_last - cl->buf->file_pos);
cl                369 event/ngx_event_pipe.c     for (cl = p->in; cl; cl = cl->next) {
cl                374 event/ngx_event_pipe.c                        (cl->buf->shadow ? 1 : 0),
cl                375 event/ngx_event_pipe.c                        cl->buf->temporary, cl->buf->in_file,
cl                376 event/ngx_event_pipe.c                        cl->buf->start, cl->buf->pos,
cl                377 event/ngx_event_pipe.c                        cl->buf->last - cl->buf->pos,
cl                378 event/ngx_event_pipe.c                        cl->buf->file_pos,
cl                379 event/ngx_event_pipe.c                        cl->buf->file_last - cl->buf->file_pos);
cl                382 event/ngx_event_pipe.c     for (cl = p->free_raw_bufs; cl; cl = cl->next) {
cl                387 event/ngx_event_pipe.c                        (cl->buf->shadow ? 1 : 0),
cl                388 event/ngx_event_pipe.c                        cl->buf->temporary, cl->buf->in_file,
cl                389 event/ngx_event_pipe.c                        cl->buf->start, cl->buf->pos,
cl                390 event/ngx_event_pipe.c                        cl->buf->last - cl->buf->pos,
cl                391 event/ngx_event_pipe.c                        cl->buf->file_pos,
cl                392 event/ngx_event_pipe.c                        cl->buf->file_last - cl->buf->file_pos);
cl                408 event/ngx_event_pipe.c             for (cl = p->free_raw_bufs; cl; cl = cl->next) {
cl                409 event/ngx_event_pipe.c                 if (cl->buf->shadow == NULL) {
cl                410 event/ngx_event_pipe.c                     ngx_pfree(p->pool, cl->buf->start);
cl                433 event/ngx_event_pipe.c     ngx_chain_t       *out, **ll, *cl, file;
cl                452 event/ngx_event_pipe.c             for (cl = p->busy; cl; cl = cl->next) {
cl                453 event/ngx_event_pipe.c                 cl->buf->recycled = 0;
cl                460 event/ngx_event_pipe.c                 for (cl = p->out; cl; cl = cl->next) {
cl                461 event/ngx_event_pipe.c                     cl->buf->recycled = 0;
cl                478 event/ngx_event_pipe.c                 for (cl = p->in; cl; cl = cl->next) {
cl                479 event/ngx_event_pipe.c                     cl->buf->recycled = 0;
cl                525 event/ngx_event_pipe.c         for (cl = p->busy; cl; cl = cl->next) {
cl                527 event/ngx_event_pipe.c             if (cl->buf->recycled) {
cl                528 event/ngx_event_pipe.c                 if (prev == cl->buf->start) {
cl                532 event/ngx_event_pipe.c                 bsize += cl->buf->end - cl->buf->start;
cl                533 event/ngx_event_pipe.c                 prev = cl->buf->start;
cl                553 event/ngx_event_pipe.c                 cl = p->out;
cl                555 event/ngx_event_pipe.c                 if (cl->buf->recycled
cl                556 event/ngx_event_pipe.c                     && bsize + cl->buf->last - cl->buf->pos > p->busy_size)
cl                564 event/ngx_event_pipe.c                 ngx_event_pipe_free_shadow_raw_buf(&p->free_raw_bufs, cl->buf);
cl                567 event/ngx_event_pipe.c                 cl = p->in;
cl                571 event/ngx_event_pipe.c                                cl->buf->last_shadow,
cl                572 event/ngx_event_pipe.c                                cl->buf->pos,
cl                573 event/ngx_event_pipe.c                                cl->buf->last - cl->buf->pos);
cl                575 event/ngx_event_pipe.c                 if (cl->buf->recycled
cl                576 event/ngx_event_pipe.c                     && cl->buf->last_shadow
cl                577 event/ngx_event_pipe.c                     && bsize + cl->buf->last - cl->buf->pos > p->busy_size)
cl                582 event/ngx_event_pipe.c                         cl->next = NULL;
cl                585 event/ngx_event_pipe.c                             *ll = cl;
cl                587 event/ngx_event_pipe.c                             out = cl;
cl                595 event/ngx_event_pipe.c                 prev_last_shadow = cl->buf->last_shadow;
cl                603 event/ngx_event_pipe.c             if (cl->buf->recycled) {
cl                604 event/ngx_event_pipe.c                 bsize += cl->buf->last - cl->buf->pos;
cl                607 event/ngx_event_pipe.c             cl->next = NULL;
cl                610 event/ngx_event_pipe.c                 *ll = cl;
cl                612 event/ngx_event_pipe.c                 out = cl;
cl                614 event/ngx_event_pipe.c             ll = &cl->next;
cl                643 event/ngx_event_pipe.c         for (cl = p->free; cl; cl = cl->next) {
cl                645 event/ngx_event_pipe.c             if (cl->buf->temp_file) {
cl                652 event/ngx_event_pipe.c                 if (cl->buf->file_last == p->temp_file->offset) {
cl                661 event/ngx_event_pipe.c             if (cl->buf->last_shadow) {
cl                662 event/ngx_event_pipe.c                 if (ngx_event_pipe_add_free_buf(p, cl->buf->shadow) != NGX_OK) {
cl                666 event/ngx_event_pipe.c                 cl->buf->last_shadow = 0;
cl                669 event/ngx_event_pipe.c             cl->buf->shadow = NULL;
cl                682 event/ngx_event_pipe.c     ngx_chain_t  *cl, *tl, *next, *out, **ll, **last_free, fl;
cl                696 event/ngx_event_pipe.c         cl = out;
cl                703 event/ngx_event_pipe.c             bsize = cl->buf->last - cl->buf->pos;
cl                707 event/ngx_event_pipe.c                            cl->buf->start, cl->buf->pos, bsize);
cl                716 event/ngx_event_pipe.c             ll = &cl->next;
cl                717 event/ngx_event_pipe.c             cl = cl->next;
cl                719 event/ngx_event_pipe.c         } while (cl);
cl                727 event/ngx_event_pipe.c         if (cl) {
cl                728 event/ngx_event_pipe.c            p->in = cl;
cl                758 event/ngx_event_pipe.c     for (cl = out; cl; cl = next) {
cl                759 event/ngx_event_pipe.c         next = cl->next;
cl                760 event/ngx_event_pipe.c         cl->next = NULL;
cl                762 event/ngx_event_pipe.c         b = cl->buf;
cl                772 event/ngx_event_pipe.c             *p->last_out = cl;
cl                774 event/ngx_event_pipe.c             p->out = cl;
cl                776 event/ngx_event_pipe.c         p->last_out = &cl->next;
cl                808 event/ngx_event_pipe.c     ngx_chain_t  *cl;
cl                815 event/ngx_event_pipe.c         cl = p->free;
cl                816 event/ngx_event_pipe.c         b = cl->buf;
cl                817 event/ngx_event_pipe.c         p->free = cl->next;
cl                818 event/ngx_event_pipe.c         ngx_free_chain(p->pool, cl);
cl                834 event/ngx_event_pipe.c     cl = ngx_alloc_chain_link(p->pool);
cl                835 event/ngx_event_pipe.c     if (cl == NULL) {
cl                839 event/ngx_event_pipe.c     cl->buf = b;
cl                840 event/ngx_event_pipe.c     cl->next = NULL;
cl                845 event/ngx_event_pipe.c         *p->last_in = cl;
cl                847 event/ngx_event_pipe.c         p->in = cl;
cl                849 event/ngx_event_pipe.c     p->last_in = &cl->next;
cl                890 event/ngx_event_pipe.c     ngx_chain_t  *cl, **ll;
cl                900 event/ngx_event_pipe.c     for (cl = *free; cl; cl = cl->next) {
cl                901 event/ngx_event_pipe.c         if (cl->buf == s) {
cl                902 event/ngx_event_pipe.c             *ll = cl->next;
cl                906 event/ngx_event_pipe.c         if (cl->buf->shadow) {
cl                910 event/ngx_event_pipe.c         ll = &cl->next;
cl                918 event/ngx_event_pipe.c     ngx_chain_t  *cl;
cl                920 event/ngx_event_pipe.c     cl = ngx_alloc_chain_link(p->pool);
cl                921 event/ngx_event_pipe.c     if (cl == NULL) {
cl                929 event/ngx_event_pipe.c     cl->buf = b;
cl                932 event/ngx_event_pipe.c         p->free_raw_bufs = cl;
cl                933 event/ngx_event_pipe.c         cl->next = NULL;
cl                942 event/ngx_event_pipe.c         cl->next = p->free_raw_bufs;
cl                943 event/ngx_event_pipe.c         p->free_raw_bufs = cl;
cl                950 event/ngx_event_pipe.c     cl->next = p->free_raw_bufs->next;
cl                951 event/ngx_event_pipe.c     p->free_raw_bufs->next = cl;
cl                960 event/ngx_event_pipe.c     ngx_chain_t  *cl, *tl;
cl                964 event/ngx_event_pipe.c             cl = p->busy;
cl                968 event/ngx_event_pipe.c             cl = p->out;
cl                972 event/ngx_event_pipe.c             cl = p->in;
cl                979 event/ngx_event_pipe.c         while (cl) {
cl                980 event/ngx_event_pipe.c             if (cl->buf->last_shadow) {
cl                981 event/ngx_event_pipe.c                 if (ngx_event_pipe_add_free_buf(p, cl->buf->shadow) != NGX_OK) {
cl                985 event/ngx_event_pipe.c                 cl->buf->last_shadow = 0;
cl                988 event/ngx_event_pipe.c             cl->buf->shadow = NULL;
cl                989 event/ngx_event_pipe.c             tl = cl->next;
cl                990 event/ngx_event_pipe.c             cl->next = p->free;
cl                991 event/ngx_event_pipe.c             p->free = cl;
cl                992 event/ngx_event_pipe.c             cl = tl;
cl                184 http/modules/ngx_http_access_module.c         size_t  cl, ml, al;
cl                189 http/modules/ngx_http_access_module.c         cl = ngx_inet6_ntop(p, ct, NGX_INET6_ADDRSTRLEN);
cl                194 http/modules/ngx_http_access_module.c                        "access: %*s %*s %*s", cl, ct, ml, mt, al, at);
cl                133 http/modules/ngx_http_addition_filter_module.c     ngx_chain_t               *cl;
cl                169 http/modules/ngx_http_addition_filter_module.c     for (cl = in; cl; cl = cl->next) {
cl                170 http/modules/ngx_http_addition_filter_module.c         if (cl->buf->last_buf) {
cl                171 http/modules/ngx_http_addition_filter_module.c             cl->buf->last_buf = 0;
cl                172 http/modules/ngx_http_addition_filter_module.c             cl->buf->sync = 1;
cl                578 http/modules/ngx_http_autoindex_module.c     ngx_chain_t  *cl;
cl                594 http/modules/ngx_http_autoindex_module.c     cl = ngx_alloc_chain_link(ctx->pool);
cl                595 http/modules/ngx_http_autoindex_module.c     if (cl == NULL) {
cl                599 http/modules/ngx_http_autoindex_module.c     cl->buf = ctx->buf;
cl                600 http/modules/ngx_http_autoindex_module.c     cl->next = NULL;
cl                602 http/modules/ngx_http_autoindex_module.c     *ctx->last_out = cl;
cl                603 http/modules/ngx_http_autoindex_module.c     ctx->last_out = &cl->next;
cl                546 http/modules/ngx_http_charset_filter_module.c     ngx_chain_t             *cl, *out, **ll;
cl                560 http/modules/ngx_http_charset_filter_module.c         for (cl = in; cl; cl = cl->next) {
cl                561 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
cl                601 http/modules/ngx_http_charset_filter_module.c                 for (cl = ctx->busy; cl->next; cl = cl->next) { /* void */ }
cl                602 http/modules/ngx_http_charset_filter_module.c                 cl->next = out;
cl                608 http/modules/ngx_http_charset_filter_module.c             cl = ctx->busy;
cl                609 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
cl                615 http/modules/ngx_http_charset_filter_module.c             ctx->busy = cl->next;
cl                626 http/modules/ngx_http_charset_filter_module.c                 cl->next = ctx->free_buffers;
cl                627 http/modules/ngx_http_charset_filter_module.c                 ctx->free_buffers = cl;
cl                631 http/modules/ngx_http_charset_filter_module.c             cl->next = ctx->free_bufs;
cl                632 http/modules/ngx_http_charset_filter_module.c             ctx->free_bufs = cl;
cl                638 http/modules/ngx_http_charset_filter_module.c     for (cl = in; cl; cl = cl->next) {
cl                639 http/modules/ngx_http_charset_filter_module.c         (void) ngx_http_charset_recode(cl->buf, ctx->table);
cl                688 http/modules/ngx_http_charset_filter_module.c     ngx_chain_t  *out, *cl, **ll;
cl                747 http/modules/ngx_http_charset_filter_module.c             cl = ngx_http_charset_get_buffer(pool, ctx, size);
cl                748 http/modules/ngx_http_charset_filter_module.c             if (cl == NULL) {
cl                753 http/modules/ngx_http_charset_filter_module.c                 out->next = cl;
cl                756 http/modules/ngx_http_charset_filter_module.c                 out = cl;
cl                759 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
cl                834 http/modules/ngx_http_charset_filter_module.c     cl = ngx_http_charset_get_buffer(pool, ctx, size);
cl                835 http/modules/ngx_http_charset_filter_module.c     if (cl == NULL) {
cl                839 http/modules/ngx_http_charset_filter_module.c     out = cl;
cl                841 http/modules/ngx_http_charset_filter_module.c     b = cl->buf;
cl                870 http/modules/ngx_http_charset_filter_module.c     ll = &cl->next;
cl                881 http/modules/ngx_http_charset_filter_module.c             cl = ngx_http_charset_get_buffer(pool, ctx, size);
cl                882 http/modules/ngx_http_charset_filter_module.c             if (cl == NULL) {
cl                886 http/modules/ngx_http_charset_filter_module.c             *ll = cl;
cl                887 http/modules/ngx_http_charset_filter_module.c             ll = &cl->next;
cl                889 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
cl                967 http/modules/ngx_http_charset_filter_module.c     ngx_chain_t  *out, *cl, **ll;
cl               1029 http/modules/ngx_http_charset_filter_module.c     cl = ngx_http_charset_get_buffer(pool, ctx, size);
cl               1030 http/modules/ngx_http_charset_filter_module.c     if (cl == NULL) {
cl               1035 http/modules/ngx_http_charset_filter_module.c         out->next = cl;
cl               1038 http/modules/ngx_http_charset_filter_module.c         out = cl;
cl               1041 http/modules/ngx_http_charset_filter_module.c     ll = &cl->next;
cl               1043 http/modules/ngx_http_charset_filter_module.c     b = cl->buf;
cl               1057 http/modules/ngx_http_charset_filter_module.c             cl = ngx_http_charset_get_buffer(pool, ctx, size);
cl               1058 http/modules/ngx_http_charset_filter_module.c             if (cl == NULL) {
cl               1062 http/modules/ngx_http_charset_filter_module.c             *ll = cl;
cl               1063 http/modules/ngx_http_charset_filter_module.c             ll = &cl->next;
cl               1065 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
cl               1090 http/modules/ngx_http_charset_filter_module.c     ngx_chain_t  *cl;
cl               1092 http/modules/ngx_http_charset_filter_module.c     cl = ctx->free_bufs;
cl               1094 http/modules/ngx_http_charset_filter_module.c     if (cl) {
cl               1095 http/modules/ngx_http_charset_filter_module.c         ctx->free_bufs = cl->next;
cl               1097 http/modules/ngx_http_charset_filter_module.c         cl->buf->shadow = NULL;
cl               1098 http/modules/ngx_http_charset_filter_module.c         cl->next = NULL;
cl               1100 http/modules/ngx_http_charset_filter_module.c         return cl;
cl               1103 http/modules/ngx_http_charset_filter_module.c     cl = ngx_alloc_chain_link(pool);
cl               1104 http/modules/ngx_http_charset_filter_module.c     if (cl == NULL) {
cl               1108 http/modules/ngx_http_charset_filter_module.c     cl->buf = ngx_calloc_buf(pool);
cl               1109 http/modules/ngx_http_charset_filter_module.c     if (cl->buf == NULL) {
cl               1113 http/modules/ngx_http_charset_filter_module.c     cl->next = NULL;
cl               1115 http/modules/ngx_http_charset_filter_module.c     cl->buf->tag = (ngx_buf_tag_t) &ngx_http_charset_filter_module;
cl               1117 http/modules/ngx_http_charset_filter_module.c     return cl;
cl               1126 http/modules/ngx_http_charset_filter_module.c     ngx_chain_t  *cl, **ll;
cl               1128 http/modules/ngx_http_charset_filter_module.c     for (ll = &ctx->free_buffers, cl = ctx->free_buffers;
cl               1129 http/modules/ngx_http_charset_filter_module.c          cl;
cl               1130 http/modules/ngx_http_charset_filter_module.c          ll = &cl->next, cl = cl->next)
cl               1132 http/modules/ngx_http_charset_filter_module.c         b = cl->buf;
cl               1135 http/modules/ngx_http_charset_filter_module.c             *ll = cl->next;
cl               1136 http/modules/ngx_http_charset_filter_module.c             cl->next = NULL;
cl               1142 http/modules/ngx_http_charset_filter_module.c             return cl;
cl               1146 http/modules/ngx_http_charset_filter_module.c     cl = ngx_alloc_chain_link(pool);
cl               1147 http/modules/ngx_http_charset_filter_module.c     if (cl == NULL) {
cl               1151 http/modules/ngx_http_charset_filter_module.c     cl->buf = ngx_create_temp_buf(pool, size);
cl               1152 http/modules/ngx_http_charset_filter_module.c     if (cl->buf == NULL) {
cl               1156 http/modules/ngx_http_charset_filter_module.c     cl->next = NULL;
cl               1158 http/modules/ngx_http_charset_filter_module.c     cl->buf->temporary = 1;
cl               1159 http/modules/ngx_http_charset_filter_module.c     cl->buf->tag = (ngx_buf_tag_t) &ngx_http_charset_filter_module;
cl               1161 http/modules/ngx_http_charset_filter_module.c     return cl;
cl                 89 http/modules/ngx_http_chunked_filter_module.c     ngx_chain_t   out, tail, *cl, *tl, **ll;
cl                 99 http/modules/ngx_http_chunked_filter_module.c     cl = in;
cl                103 http/modules/ngx_http_chunked_filter_module.c                        "http chunk: %d", ngx_buf_size(cl->buf));
cl                105 http/modules/ngx_http_chunked_filter_module.c         size += ngx_buf_size(cl->buf);
cl                107 http/modules/ngx_http_chunked_filter_module.c         if (cl->buf->flush
cl                108 http/modules/ngx_http_chunked_filter_module.c             || cl->buf->sync
cl                109 http/modules/ngx_http_chunked_filter_module.c             || ngx_buf_in_memory(cl->buf)
cl                110 http/modules/ngx_http_chunked_filter_module.c             || cl->buf->in_file)
cl                117 http/modules/ngx_http_chunked_filter_module.c             tl->buf = cl->buf;
cl                122 http/modules/ngx_http_chunked_filter_module.c         if (cl->next == NULL) {
cl                126 http/modules/ngx_http_chunked_filter_module.c         cl = cl->next;
cl                149 http/modules/ngx_http_chunked_filter_module.c     if (cl->buf->last_buf) {
cl                160 http/modules/ngx_http_chunked_filter_module.c         cl->buf->last_buf = 0;
cl                696 http/modules/ngx_http_fastcgi_module.c     ngx_chain_t                  *cl, *body;
cl                829 http/modules/ngx_http_fastcgi_module.c     cl = ngx_alloc_chain_link(r->pool);
cl                830 http/modules/ngx_http_fastcgi_module.c     if (cl == NULL) {
cl                834 http/modules/ngx_http_fastcgi_module.c     cl->buf = b;
cl                997 http/modules/ngx_http_fastcgi_module.c         r->upstream->request_bufs = cl;
cl               1060 http/modules/ngx_http_fastcgi_module.c                 cl->next = ngx_alloc_chain_link(r->pool);
cl               1061 http/modules/ngx_http_fastcgi_module.c                 if (cl->next == NULL) {
cl               1065 http/modules/ngx_http_fastcgi_module.c                 cl = cl->next;
cl               1066 http/modules/ngx_http_fastcgi_module.c                 cl->buf = b;
cl               1083 http/modules/ngx_http_fastcgi_module.c                 cl->next = ngx_alloc_chain_link(r->pool);
cl               1084 http/modules/ngx_http_fastcgi_module.c                 if (cl->next == NULL) {
cl               1088 http/modules/ngx_http_fastcgi_module.c                 cl = cl->next;
cl               1089 http/modules/ngx_http_fastcgi_module.c                 cl->buf = b;
cl               1097 http/modules/ngx_http_fastcgi_module.c         r->upstream->request_bufs = cl;
cl               1109 http/modules/ngx_http_fastcgi_module.c     cl->next = NULL;
cl               1574 http/modules/ngx_http_fastcgi_module.c     ngx_chain_t             *cl;
cl               1720 http/modules/ngx_http_fastcgi_module.c         cl = ngx_alloc_chain_link(p->pool);
cl               1721 http/modules/ngx_http_fastcgi_module.c         if (cl == NULL) {
cl               1725 http/modules/ngx_http_fastcgi_module.c         cl->buf = b;
cl               1726 http/modules/ngx_http_fastcgi_module.c         cl->next = NULL;
cl               1729 http/modules/ngx_http_fastcgi_module.c             *p->last_in = cl;
cl               1731 http/modules/ngx_http_fastcgi_module.c             p->in = cl;
cl               1733 http/modules/ngx_http_fastcgi_module.c         p->last_in = &cl->next;
cl                317 http/modules/ngx_http_gzip_filter_module.c     ngx_chain_t          *cl;
cl                379 http/modules/ngx_http_gzip_filter_module.c         cl = NULL;
cl                381 http/modules/ngx_http_gzip_filter_module.c         ngx_chain_update_chains(&ctx->free, &ctx->busy, &cl,
cl                525 http/modules/ngx_http_gzip_filter_module.c     ngx_chain_t           *cl, **ll;
cl                536 http/modules/ngx_http_gzip_filter_module.c     for (cl = ctx->in; cl; cl = cl->next) {
cl                537 http/modules/ngx_http_gzip_filter_module.c         buffered += cl->buf->last - cl->buf->pos;
cl                538 http/modules/ngx_http_gzip_filter_module.c         ll = &cl->next;
cl                544 http/modules/ngx_http_gzip_filter_module.c         cl = ngx_alloc_chain_link(r->pool);
cl                545 http/modules/ngx_http_gzip_filter_module.c         if (cl == NULL) {
cl                571 http/modules/ngx_http_gzip_filter_module.c             cl->buf = buf;
cl                574 http/modules/ngx_http_gzip_filter_module.c             cl->buf = b;
cl                577 http/modules/ngx_http_gzip_filter_module.c         *ll = cl;
cl                578 http/modules/ngx_http_gzip_filter_module.c         ll = &cl->next;
cl                629 http/modules/ngx_http_gzip_filter_module.c     ngx_chain_t    *cl;
cl                642 http/modules/ngx_http_gzip_filter_module.c     cl = ngx_alloc_chain_link(r->pool);
cl                643 http/modules/ngx_http_gzip_filter_module.c     if (cl == NULL) {
cl                647 http/modules/ngx_http_gzip_filter_module.c     cl->buf = b;
cl                648 http/modules/ngx_http_gzip_filter_module.c     cl->next = ctx->out;
cl                649 http/modules/ngx_http_gzip_filter_module.c     ctx->out = cl;
cl                761 http/modules/ngx_http_gzip_filter_module.c     ngx_chain_t           *cl;
cl                802 http/modules/ngx_http_gzip_filter_module.c         cl = ngx_alloc_chain_link(r->pool);
cl                803 http/modules/ngx_http_gzip_filter_module.c         if (cl == NULL) {
cl                807 http/modules/ngx_http_gzip_filter_module.c         cl->buf = ctx->out_buf;
cl                808 http/modules/ngx_http_gzip_filter_module.c         cl->next = NULL;
cl                809 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
cl                810 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
cl                825 http/modules/ngx_http_gzip_filter_module.c         cl = ngx_alloc_chain_link(r->pool);
cl                826 http/modules/ngx_http_gzip_filter_module.c         if (cl == NULL) {
cl                830 http/modules/ngx_http_gzip_filter_module.c         cl->buf = ctx->out_buf;
cl                831 http/modules/ngx_http_gzip_filter_module.c         cl->next = NULL;
cl                832 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
cl                833 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
cl                851 http/modules/ngx_http_gzip_filter_module.c         cl = ngx_alloc_chain_link(r->pool);
cl                852 http/modules/ngx_http_gzip_filter_module.c         if (cl == NULL) {
cl                856 http/modules/ngx_http_gzip_filter_module.c         cl->buf = ctx->out_buf;
cl                857 http/modules/ngx_http_gzip_filter_module.c         cl->next = NULL;
cl                858 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
cl                859 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
cl                874 http/modules/ngx_http_gzip_filter_module.c     ngx_chain_t       *cl;
cl                890 http/modules/ngx_http_gzip_filter_module.c     cl = ngx_alloc_chain_link(r->pool);
cl                891 http/modules/ngx_http_gzip_filter_module.c     if (cl == NULL) {
cl                895 http/modules/ngx_http_gzip_filter_module.c     cl->buf = ctx->out_buf;
cl                896 http/modules/ngx_http_gzip_filter_module.c     cl->next = NULL;
cl                897 http/modules/ngx_http_gzip_filter_module.c     *ctx->last_out = cl;
cl                898 http/modules/ngx_http_gzip_filter_module.c     ctx->last_out = &cl->next;
cl                913 http/modules/ngx_http_gzip_filter_module.c         cl = ngx_alloc_chain_link(r->pool);
cl                914 http/modules/ngx_http_gzip_filter_module.c         if (cl == NULL) {
cl                918 http/modules/ngx_http_gzip_filter_module.c         cl->buf = b;
cl                919 http/modules/ngx_http_gzip_filter_module.c         cl->next = NULL;
cl                920 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
cl                921 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
cl               1014 http/modules/ngx_http_gzip_filter_module.c     ngx_chain_t  *cl;
cl               1016 http/modules/ngx_http_gzip_filter_module.c     for (cl = ctx->copied; cl; cl = cl->next) {
cl               1017 http/modules/ngx_http_gzip_filter_module.c         ngx_pfree(r->pool, cl->buf->start);
cl                436 http/modules/ngx_http_image_filter_module.c     ngx_chain_t                  *cl;
cl                452 http/modules/ngx_http_image_filter_module.c     for (cl = in; cl; cl = cl->next) {
cl                454 http/modules/ngx_http_image_filter_module.c         b = cl->buf;
cl                214 http/modules/ngx_http_memcached_module.c     ngx_chain_t                    *cl;
cl                238 http/modules/ngx_http_memcached_module.c     cl = ngx_alloc_chain_link(r->pool);
cl                239 http/modules/ngx_http_memcached_module.c     if (cl == NULL) {
cl                243 http/modules/ngx_http_memcached_module.c     cl->buf = b;
cl                244 http/modules/ngx_http_memcached_module.c     cl->next = NULL;
cl                246 http/modules/ngx_http_memcached_module.c     r->upstream->request_bufs = cl;
cl                404 http/modules/ngx_http_memcached_module.c     ngx_chain_t          *cl, **ll;
cl                432 http/modules/ngx_http_memcached_module.c     for (cl = u->out_bufs, ll = &u->out_bufs; cl; cl = cl->next) {
cl                433 http/modules/ngx_http_memcached_module.c         ll = &cl->next;
cl                436 http/modules/ngx_http_memcached_module.c     cl = ngx_chain_get_free_buf(ctx->request->pool, &u->free_bufs);
cl                437 http/modules/ngx_http_memcached_module.c     if (cl == NULL) {
cl                441 http/modules/ngx_http_memcached_module.c     cl->buf->flush = 1;
cl                442 http/modules/ngx_http_memcached_module.c     cl->buf->memory = 1;
cl                444 http/modules/ngx_http_memcached_module.c     *ll = cl;
cl                447 http/modules/ngx_http_memcached_module.c     cl->buf->pos = last;
cl                449 http/modules/ngx_http_memcached_module.c     cl->buf->last = b->last;
cl                450 http/modules/ngx_http_memcached_module.c     cl->buf->tag = u->output.tag;
cl                470 http/modules/ngx_http_memcached_module.c     cl->buf->last = last;
cl                840 http/modules/ngx_http_proxy_module.c     ngx_chain_t                  *cl, *body;
cl                967 http/modules/ngx_http_proxy_module.c     cl = ngx_alloc_chain_link(r->pool);
cl                968 http/modules/ngx_http_proxy_module.c     if (cl == NULL) {
cl                972 http/modules/ngx_http_proxy_module.c     cl->buf = b;
cl               1112 http/modules/ngx_http_proxy_module.c         u->request_bufs = cl;
cl               1122 http/modules/ngx_http_proxy_module.c             cl->next = ngx_alloc_chain_link(r->pool);
cl               1123 http/modules/ngx_http_proxy_module.c             if (cl->next == NULL) {
cl               1127 http/modules/ngx_http_proxy_module.c             cl = cl->next;
cl               1128 http/modules/ngx_http_proxy_module.c             cl->buf = b;
cl               1136 http/modules/ngx_http_proxy_module.c         u->request_bufs = cl;
cl               1139 http/modules/ngx_http_proxy_module.c     cl->next = NULL;
cl                627 http/modules/ngx_http_range_filter_module.c     ngx_chain_t       *out, *cl, **ll;
cl                634 http/modules/ngx_http_range_filter_module.c     for (cl = in; cl; cl = cl->next) {
cl                636 http/modules/ngx_http_range_filter_module.c         buf = cl->buf;
cl                647 http/modules/ngx_http_range_filter_module.c             *ll = cl;
cl                648 http/modules/ngx_http_range_filter_module.c             ll = &cl->next;
cl                689 http/modules/ngx_http_range_filter_module.c             *ll = cl;
cl                690 http/modules/ngx_http_range_filter_module.c             cl->next = NULL;
cl                695 http/modules/ngx_http_range_filter_module.c         *ll = cl;
cl                696 http/modules/ngx_http_range_filter_module.c         ll = &cl->next;
cl                517 http/modules/ngx_http_scgi_module.c     ngx_chain_t                  *cl, *body;
cl                628 http/modules/ngx_http_scgi_module.c     cl = ngx_alloc_chain_link(r->pool);
cl                629 http/modules/ngx_http_scgi_module.c     if (cl == NULL) {
cl                633 http/modules/ngx_http_scgi_module.c     cl->buf = b;
cl                732 http/modules/ngx_http_scgi_module.c         r->upstream->request_bufs = cl;
cl                742 http/modules/ngx_http_scgi_module.c             cl->next = ngx_alloc_chain_link(r->pool);
cl                743 http/modules/ngx_http_scgi_module.c             if (cl->next == NULL) {
cl                747 http/modules/ngx_http_scgi_module.c             cl = cl->next;
cl                748 http/modules/ngx_http_scgi_module.c             cl->buf = b;
cl                754 http/modules/ngx_http_scgi_module.c         r->upstream->request_bufs = cl;
cl                757 http/modules/ngx_http_scgi_module.c     cl->next = NULL;
cl                374 http/modules/ngx_http_ssi_filter_module.c     ngx_chain_t               *cl, **ll;
cl                474 http/modules/ngx_http_ssi_filter_module.c                             cl = ctx->free;
cl                476 http/modules/ngx_http_ssi_filter_module.c                             b = cl->buf;
cl                485 http/modules/ngx_http_ssi_filter_module.c                             cl = ngx_alloc_chain_link(r->pool);
cl                486 http/modules/ngx_http_ssi_filter_module.c                             if (cl == NULL) {
cl                490 http/modules/ngx_http_ssi_filter_module.c                             cl->buf = b;
cl                497 http/modules/ngx_http_ssi_filter_module.c                         *ctx->last_out = cl;
cl                498 http/modules/ngx_http_ssi_filter_module.c                         ctx->last_out = &cl->next;
cl                504 http/modules/ngx_http_ssi_filter_module.c                         cl = ctx->free;
cl                506 http/modules/ngx_http_ssi_filter_module.c                         b = cl->buf;
cl                514 http/modules/ngx_http_ssi_filter_module.c                         cl = ngx_alloc_chain_link(r->pool);
cl                515 http/modules/ngx_http_ssi_filter_module.c                         if (cl == NULL) {
cl                519 http/modules/ngx_http_ssi_filter_module.c                         cl->buf = b;
cl                542 http/modules/ngx_http_ssi_filter_module.c                     cl->next = NULL;
cl                543 http/modules/ngx_http_ssi_filter_module.c                     *ctx->last_out = cl;
cl                544 http/modules/ngx_http_ssi_filter_module.c                     ctx->last_out = &cl->next;
cl                565 http/modules/ngx_http_ssi_filter_module.c                         cl = ngx_alloc_chain_link(r->pool);
cl                566 http/modules/ngx_http_ssi_filter_module.c                         if (cl == NULL) {
cl                570 http/modules/ngx_http_ssi_filter_module.c                         cl->buf = b;
cl                571 http/modules/ngx_http_ssi_filter_module.c                         cl->next = NULL;
cl                585 http/modules/ngx_http_ssi_filter_module.c                         *ll = cl;
cl                657 http/modules/ngx_http_ssi_filter_module.c                         cl = ngx_alloc_chain_link(r->pool);
cl                658 http/modules/ngx_http_ssi_filter_module.c                         if (cl == NULL) {
cl                662 http/modules/ngx_http_ssi_filter_module.c                         cl->buf = b;
cl                663 http/modules/ngx_http_ssi_filter_module.c                         cl->next = NULL;
cl                700 http/modules/ngx_http_ssi_filter_module.c                         *ll = cl;
cl                813 http/modules/ngx_http_ssi_filter_module.c                 cl = ctx->free;
cl                815 http/modules/ngx_http_ssi_filter_module.c                 b = cl->buf;
cl                824 http/modules/ngx_http_ssi_filter_module.c                 cl = ngx_alloc_chain_link(r->pool);
cl                825 http/modules/ngx_http_ssi_filter_module.c                 if (cl == NULL) {
cl                829 http/modules/ngx_http_ssi_filter_module.c                 cl->buf = b;
cl                836 http/modules/ngx_http_ssi_filter_module.c             cl->next = NULL;
cl                837 http/modules/ngx_http_ssi_filter_module.c             *ctx->last_out = cl;
cl                838 http/modules/ngx_http_ssi_filter_module.c             ctx->last_out = &cl->next;
cl                846 http/modules/ngx_http_ssi_filter_module.c                     cl = ctx->free;
cl                848 http/modules/ngx_http_ssi_filter_module.c                     b = cl->buf;
cl                857 http/modules/ngx_http_ssi_filter_module.c                     cl = ngx_alloc_chain_link(r->pool);
cl                858 http/modules/ngx_http_ssi_filter_module.c                     if (cl == NULL) {
cl                862 http/modules/ngx_http_ssi_filter_module.c                     cl->buf = b;
cl                867 http/modules/ngx_http_ssi_filter_module.c                 cl->next = NULL;
cl                868 http/modules/ngx_http_ssi_filter_module.c                 *ctx->last_out = cl;
cl                869 http/modules/ngx_http_ssi_filter_module.c                 ctx->last_out = &cl->next;
cl                898 http/modules/ngx_http_ssi_filter_module.c     ngx_chain_t  *cl;
cl                902 http/modules/ngx_http_ssi_filter_module.c     for (cl = ctx->out; cl; cl = cl->next) {
cl                904 http/modules/ngx_http_ssi_filter_module.c                        "ssi out: %p %p", cl->buf, cl->buf->pos);
cl                905 http/modules/ngx_http_ssi_filter_module.c         if (cl->buf == b) {
cl                911 http/modules/ngx_http_ssi_filter_module.c         b = cl->buf;
cl                921 http/modules/ngx_http_ssi_filter_module.c         for (cl = ctx->busy; cl->next; cl = cl->next) { /* void */ }
cl                922 http/modules/ngx_http_ssi_filter_module.c         cl->next = ctx->out;
cl                930 http/modules/ngx_http_ssi_filter_module.c         cl = ctx->busy;
cl                931 http/modules/ngx_http_ssi_filter_module.c         b = cl->buf;
cl                941 http/modules/ngx_http_ssi_filter_module.c         ctx->busy = cl->next;
cl                946 http/modules/ngx_http_ssi_filter_module.c             cl->next = ctx->free;
cl                947 http/modules/ngx_http_ssi_filter_module.c             ctx->free = cl;
cl               1832 http/modules/ngx_http_ssi_filter_module.c     ngx_chain_t                 *cl, *tl, **ll, *out;
cl               1957 http/modules/ngx_http_ssi_filter_module.c                     cl = ctx->free;
cl               1959 http/modules/ngx_http_ssi_filter_module.c                     b = cl->buf;
cl               1967 http/modules/ngx_http_ssi_filter_module.c                     cl = ngx_alloc_chain_link(r->pool);
cl               1968 http/modules/ngx_http_ssi_filter_module.c                     if (cl == NULL) {
cl               1972 http/modules/ngx_http_ssi_filter_module.c                     cl->buf = b;
cl               1979 http/modules/ngx_http_ssi_filter_module.c                 *ll = cl;
cl               1980 http/modules/ngx_http_ssi_filter_module.c                 cl->next = NULL;
cl               1981 http/modules/ngx_http_ssi_filter_module.c                 ll = &cl->next;
cl               2103 http/modules/ngx_http_ssi_filter_module.c     ngx_chain_t                *cl;
cl               2212 http/modules/ngx_http_ssi_filter_module.c     cl = ngx_alloc_chain_link(r->pool);
cl               2213 http/modules/ngx_http_ssi_filter_module.c     if (cl == NULL) {
cl               2221 http/modules/ngx_http_ssi_filter_module.c     cl->buf = b;
cl               2222 http/modules/ngx_http_ssi_filter_module.c     cl->next = NULL;
cl               2223 http/modules/ngx_http_ssi_filter_module.c     *ctx->last_out = cl;
cl               2224 http/modules/ngx_http_ssi_filter_module.c     ctx->last_out = &cl->next;
cl                181 http/modules/ngx_http_sub_filter_module.c     ngx_chain_t               *cl;
cl                259 http/modules/ngx_http_sub_filter_module.c                         cl = ctx->free;
cl                261 http/modules/ngx_http_sub_filter_module.c                         b = cl->buf;
cl                270 http/modules/ngx_http_sub_filter_module.c                         cl = ngx_alloc_chain_link(r->pool);
cl                271 http/modules/ngx_http_sub_filter_module.c                         if (cl == NULL) {
cl                275 http/modules/ngx_http_sub_filter_module.c                         cl->buf = b;
cl                287 http/modules/ngx_http_sub_filter_module.c                     *ctx->last_out = cl;
cl                288 http/modules/ngx_http_sub_filter_module.c                     ctx->last_out = &cl->next;
cl                294 http/modules/ngx_http_sub_filter_module.c                     cl = ctx->free;
cl                296 http/modules/ngx_http_sub_filter_module.c                     b = cl->buf;
cl                304 http/modules/ngx_http_sub_filter_module.c                     cl = ngx_alloc_chain_link(r->pool);
cl                305 http/modules/ngx_http_sub_filter_module.c                     if (cl == NULL) {
cl                309 http/modules/ngx_http_sub_filter_module.c                     cl->buf = b;
cl                325 http/modules/ngx_http_sub_filter_module.c                 cl->next = NULL;
cl                326 http/modules/ngx_http_sub_filter_module.c                 *ctx->last_out = cl;
cl                327 http/modules/ngx_http_sub_filter_module.c                 ctx->last_out = &cl->next;
cl                351 http/modules/ngx_http_sub_filter_module.c             cl = ngx_alloc_chain_link(r->pool);
cl                352 http/modules/ngx_http_sub_filter_module.c             if (cl == NULL) {
cl                376 http/modules/ngx_http_sub_filter_module.c             cl->buf = b;
cl                377 http/modules/ngx_http_sub_filter_module.c             cl->next = NULL;
cl                378 http/modules/ngx_http_sub_filter_module.c             *ctx->last_out = cl;
cl                379 http/modules/ngx_http_sub_filter_module.c             ctx->last_out = &cl->next;
cl                389 http/modules/ngx_http_sub_filter_module.c                     cl = ctx->free;
cl                391 http/modules/ngx_http_sub_filter_module.c                     b = cl->buf;
cl                400 http/modules/ngx_http_sub_filter_module.c                     cl = ngx_alloc_chain_link(r->pool);
cl                401 http/modules/ngx_http_sub_filter_module.c                     if (cl == NULL) {
cl                405 http/modules/ngx_http_sub_filter_module.c                     cl->buf = b;
cl                410 http/modules/ngx_http_sub_filter_module.c                 cl->next = NULL;
cl                411 http/modules/ngx_http_sub_filter_module.c                 *ctx->last_out = cl;
cl                412 http/modules/ngx_http_sub_filter_module.c                 ctx->last_out = &cl->next;
cl                440 http/modules/ngx_http_sub_filter_module.c     ngx_chain_t  *cl;
cl                444 http/modules/ngx_http_sub_filter_module.c     for (cl = ctx->out; cl; cl = cl->next) {
cl                446 http/modules/ngx_http_sub_filter_module.c                        "sub out: %p %p", cl->buf, cl->buf->pos);
cl                447 http/modules/ngx_http_sub_filter_module.c         if (cl->buf == b) {
cl                453 http/modules/ngx_http_sub_filter_module.c         b = cl->buf;
cl                463 http/modules/ngx_http_sub_filter_module.c         for (cl = ctx->busy; cl->next; cl = cl->next) { /* void */ }
cl                464 http/modules/ngx_http_sub_filter_module.c         cl->next = ctx->out;
cl                472 http/modules/ngx_http_sub_filter_module.c         cl = ctx->busy;
cl                473 http/modules/ngx_http_sub_filter_module.c         b = cl->buf;
cl                483 http/modules/ngx_http_sub_filter_module.c         ctx->busy = cl->next;
cl                488 http/modules/ngx_http_sub_filter_module.c             cl->next = ctx->free;
cl                489 http/modules/ngx_http_sub_filter_module.c             ctx->free = cl;
cl                549 http/modules/ngx_http_uwsgi_module.c     ngx_chain_t                  *cl, *body;
cl                665 http/modules/ngx_http_uwsgi_module.c     cl = ngx_alloc_chain_link(r->pool);
cl                666 http/modules/ngx_http_uwsgi_module.c     if (cl == NULL) {
cl                670 http/modules/ngx_http_uwsgi_module.c     cl->buf = b;
cl                783 http/modules/ngx_http_uwsgi_module.c         r->upstream->request_bufs = cl;
cl                793 http/modules/ngx_http_uwsgi_module.c             cl->next = ngx_alloc_chain_link(r->pool);
cl                794 http/modules/ngx_http_uwsgi_module.c             if (cl->next == NULL) {
cl                798 http/modules/ngx_http_uwsgi_module.c             cl = cl->next;
cl                799 http/modules/ngx_http_uwsgi_module.c             cl->buf = b;
cl                805 http/modules/ngx_http_uwsgi_module.c         r->upstream->request_bufs = cl;
cl                808 http/modules/ngx_http_uwsgi_module.c     cl->next = NULL;
cl                209 http/modules/ngx_http_xslt_filter_module.c     ngx_chain_t                 *cl;
cl                225 http/modules/ngx_http_xslt_filter_module.c     for (cl = in; cl; cl = cl->next) {
cl                227 http/modules/ngx_http_xslt_filter_module.c         if (ngx_http_xslt_add_chunk(r, ctx, cl->buf) != NGX_OK) {
cl                242 http/modules/ngx_http_xslt_filter_module.c         if (cl->buf->last_buf || cl->buf->last_in_chain) {
cl                 34 http/ngx_http_request_body.c     ngx_chain_t               *cl, **next;
cl                209 http/ngx_http_request_body.c     cl = ngx_alloc_chain_link(r->pool);
cl                210 http/ngx_http_request_body.c     if (cl == NULL) {
cl                214 http/ngx_http_request_body.c     cl->buf = rb->buf;
cl                215 http/ngx_http_request_body.c     cl->next = NULL;
cl                225 http/ngx_http_request_body.c     *next = cl;
cl               1268 http/ngx_http_upstream.c     ngx_chain_t  *cl;
cl               1285 http/ngx_http_upstream.c     for (cl = u->request_bufs; cl; cl = cl->next) {
cl               1286 http/ngx_http_upstream.c         cl->buf->pos = cl->buf->start;
cl               1287 http/ngx_http_upstream.c         cl->buf->file_pos = 0;
cl               2481 http/ngx_http_upstream.c     ngx_chain_t          *cl, **ll;
cl               2486 http/ngx_http_upstream.c     for (cl = u->out_bufs, ll = &u->out_bufs; cl; cl = cl->next) {
cl               2487 http/ngx_http_upstream.c         ll = &cl->next;
cl               2490 http/ngx_http_upstream.c     cl = ngx_chain_get_free_buf(r->pool, &u->free_bufs);
cl               2491 http/ngx_http_upstream.c     if (cl == NULL) {
cl               2495 http/ngx_http_upstream.c     *ll = cl;
cl               2497 http/ngx_http_upstream.c     cl->buf->flush = 1;
cl               2498 http/ngx_http_upstream.c     cl->buf->memory = 1;
cl               2502 http/ngx_http_upstream.c     cl->buf->pos = b->last;
cl               2504 http/ngx_http_upstream.c     cl->buf->last = b->last;
cl               2505 http/ngx_http_upstream.c     cl->buf->tag = u->output.tag;
cl               1548 http/ngx_http_variables.c     ngx_chain_t  *cl;
cl               1559 http/ngx_http_variables.c     cl = r->request_body->bufs;
cl               1560 http/ngx_http_variables.c     buf = cl->buf;
cl               1562 http/ngx_http_variables.c     if (cl->next == NULL) {
cl               1572 http/ngx_http_variables.c     next = cl->next->buf;
cl                 52 http/ngx_http_write_filter_module.c     ngx_chain_t               *cl, *ln, **ll, *chain;
cl                 69 http/ngx_http_write_filter_module.c     for (cl = r->out; cl; cl = cl->next) {
cl                 70 http/ngx_http_write_filter_module.c         ll = &cl->next;
cl                 75 http/ngx_http_write_filter_module.c                        cl->buf->temporary, cl->buf->in_file,
cl                 76 http/ngx_http_write_filter_module.c                        cl->buf->start, cl->buf->pos,
cl                 77 http/ngx_http_write_filter_module.c                        cl->buf->last - cl->buf->pos,
cl                 78 http/ngx_http_write_filter_module.c                        cl->buf->file_pos,
cl                 79 http/ngx_http_write_filter_module.c                        cl->buf->file_last - cl->buf->file_pos);
cl                 82 http/ngx_http_write_filter_module.c         if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) {
cl                 86 http/ngx_http_write_filter_module.c                           cl->buf->temporary,
cl                 87 http/ngx_http_write_filter_module.c                           cl->buf->recycled,
cl                 88 http/ngx_http_write_filter_module.c                           cl->buf->in_file,
cl                 89 http/ngx_http_write_filter_module.c                           cl->buf->start,
cl                 90 http/ngx_http_write_filter_module.c                           cl->buf->pos,
cl                 91 http/ngx_http_write_filter_module.c                           cl->buf->last,
cl                 92 http/ngx_http_write_filter_module.c                           cl->buf->file,
cl                 93 http/ngx_http_write_filter_module.c                           cl->buf->file_pos,
cl                 94 http/ngx_http_write_filter_module.c                           cl->buf->file_last);
cl                101 http/ngx_http_write_filter_module.c         size += ngx_buf_size(cl->buf);
cl                103 http/ngx_http_write_filter_module.c         if (cl->buf->flush || cl->buf->recycled) {
cl                107 http/ngx_http_write_filter_module.c         if (cl->buf->last_buf) {
cl                115 http/ngx_http_write_filter_module.c         cl = ngx_alloc_chain_link(r->pool);
cl                116 http/ngx_http_write_filter_module.c         if (cl == NULL) {
cl                120 http/ngx_http_write_filter_module.c         cl->buf = ln->buf;
cl                121 http/ngx_http_write_filter_module.c         *ll = cl;
cl                122 http/ngx_http_write_filter_module.c         ll = &cl->next;
cl                127 http/ngx_http_write_filter_module.c                        cl->buf->temporary, cl->buf->in_file,
cl                128 http/ngx_http_write_filter_module.c                        cl->buf->start, cl->buf->pos,
cl                129 http/ngx_http_write_filter_module.c                        cl->buf->last - cl->buf->pos,
cl                130 http/ngx_http_write_filter_module.c                        cl->buf->file_pos,
cl                131 http/ngx_http_write_filter_module.c                        cl->buf->file_last - cl->buf->file_pos);
cl                134 http/ngx_http_write_filter_module.c         if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) {
cl                138 http/ngx_http_write_filter_module.c                           cl->buf->temporary,
cl                139 http/ngx_http_write_filter_module.c                           cl->buf->recycled,
cl                140 http/ngx_http_write_filter_module.c                           cl->buf->in_file,
cl                141 http/ngx_http_write_filter_module.c                           cl->buf->start,
cl                142 http/ngx_http_write_filter_module.c                           cl->buf->pos,
cl                143 http/ngx_http_write_filter_module.c                           cl->buf->last,
cl                144 http/ngx_http_write_filter_module.c                           cl->buf->file,
cl                145 http/ngx_http_write_filter_module.c                           cl->buf->file_pos,
cl                146 http/ngx_http_write_filter_module.c                           cl->buf->file_last);
cl                153 http/ngx_http_write_filter_module.c         size += ngx_buf_size(cl->buf);
cl                155 http/ngx_http_write_filter_module.c         if (cl->buf->flush || cl->buf->recycled) {
cl                159 http/ngx_http_write_filter_module.c         if (cl->buf->last_buf) {
cl                281 http/ngx_http_write_filter_module.c     for (cl = r->out; cl && cl != chain; /* void */) {
cl                282 http/ngx_http_write_filter_module.c         ln = cl;
cl                283 http/ngx_http_write_filter_module.c         cl = cl->next;
cl                 13 os/unix/ngx_aio_read_chain.c ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl)
cl                 27 os/unix/ngx_aio_read_chain.c     while (cl) {
cl                 35 os/unix/ngx_aio_read_chain.c         buf = cl->buf->last;
cl                 36 os/unix/ngx_aio_read_chain.c         prev = cl->buf->last;
cl                 41 os/unix/ngx_aio_read_chain.c         while (cl && prev == cl->buf->last) {
cl                 42 os/unix/ngx_aio_read_chain.c             size += cl->buf->end - cl->buf->last;
cl                 43 os/unix/ngx_aio_read_chain.c             prev = cl->buf->end;
cl                 44 os/unix/ngx_aio_read_chain.c             cl = cl->next;
cl                 19 os/unix/ngx_aio_write_chain.c     ngx_chain_t  *cl;
cl                 29 os/unix/ngx_aio_write_chain.c     cl = in;
cl                 31 os/unix/ngx_aio_write_chain.c     while (cl) {
cl                 33 os/unix/ngx_aio_write_chain.c         if (cl->buf->pos == cl->buf->last) {
cl                 34 os/unix/ngx_aio_write_chain.c             cl = cl->next;
cl                 41 os/unix/ngx_aio_write_chain.c             return cl;
cl                 44 os/unix/ngx_aio_write_chain.c         buf = cl->buf->pos;
cl                 50 os/unix/ngx_aio_write_chain.c         while (cl && prev == cl->buf->pos && send < limit) {
cl                 51 os/unix/ngx_aio_write_chain.c             if (ngx_buf_special(cl->buf)) {
cl                 55 os/unix/ngx_aio_write_chain.c             size = cl->buf->last - cl->buf->pos;
cl                 62 os/unix/ngx_aio_write_chain.c             prev = cl->buf->pos + size;
cl                 64 os/unix/ngx_aio_write_chain.c             cl = cl->next;
cl                 83 os/unix/ngx_aio_write_chain.c         for (cl = in; cl; cl = cl->next) {
cl                 85 os/unix/ngx_aio_write_chain.c             if (sent >= cl->buf->last - cl->buf->pos) {
cl                 86 os/unix/ngx_aio_write_chain.c                 sent -= cl->buf->last - cl->buf->pos;
cl                 87 os/unix/ngx_aio_write_chain.c                 cl->buf->pos = cl->buf->last;
cl                 92 os/unix/ngx_aio_write_chain.c             cl->buf->pos += sent;
cl                 98 os/unix/ngx_aio_write_chain.c     return cl;
cl                 50 os/unix/ngx_darwin_sendfile_chain.c     ngx_chain_t     *cl;
cl                105 os/unix/ngx_darwin_sendfile_chain.c         for (cl = in;
cl                106 os/unix/ngx_darwin_sendfile_chain.c              cl && header.nelts < IOV_MAX && send < limit;
cl                107 os/unix/ngx_darwin_sendfile_chain.c              cl = cl->next)
cl                109 os/unix/ngx_darwin_sendfile_chain.c             if (ngx_buf_special(cl->buf)) {
cl                113 os/unix/ngx_darwin_sendfile_chain.c             if (!ngx_buf_in_memory_only(cl->buf)) {
cl                117 os/unix/ngx_darwin_sendfile_chain.c             size = cl->buf->last - cl->buf->pos;
cl                123 os/unix/ngx_darwin_sendfile_chain.c             if (prev == cl->buf->pos) {
cl                132 os/unix/ngx_darwin_sendfile_chain.c                 iov->iov_base = (void *) cl->buf->pos;
cl                136 os/unix/ngx_darwin_sendfile_chain.c             prev = cl->buf->pos + (size_t) size;
cl                142 os/unix/ngx_darwin_sendfile_chain.c         if (cl && cl->buf->in_file && send < limit) {
cl                143 os/unix/ngx_darwin_sendfile_chain.c             file = cl->buf;
cl                148 os/unix/ngx_darwin_sendfile_chain.c                 size = cl->buf->file_last - cl->buf->file_pos;
cl                153 os/unix/ngx_darwin_sendfile_chain.c                     aligned = (cl->buf->file_pos + size + ngx_pagesize - 1)
cl                156 os/unix/ngx_darwin_sendfile_chain.c                     if (aligned <= cl->buf->file_last) {
cl                157 os/unix/ngx_darwin_sendfile_chain.c                         size = aligned - cl->buf->file_pos;
cl                163 os/unix/ngx_darwin_sendfile_chain.c                 fprev = cl->buf->file_pos + size;
cl                164 os/unix/ngx_darwin_sendfile_chain.c                 cl = cl->next;
cl                166 os/unix/ngx_darwin_sendfile_chain.c             } while (cl
cl                167 os/unix/ngx_darwin_sendfile_chain.c                      && cl->buf->in_file
cl                169 os/unix/ngx_darwin_sendfile_chain.c                      && file->file->fd == cl->buf->file->fd
cl                170 os/unix/ngx_darwin_sendfile_chain.c                      && fprev == cl->buf->file_pos);
cl                180 os/unix/ngx_darwin_sendfile_chain.c             while (cl && header.nelts < IOV_MAX && send < limit) {
cl                182 os/unix/ngx_darwin_sendfile_chain.c                 if (ngx_buf_special(cl->buf)) {
cl                183 os/unix/ngx_darwin_sendfile_chain.c                     cl = cl->next;
cl                187 os/unix/ngx_darwin_sendfile_chain.c                 if (!ngx_buf_in_memory_only(cl->buf)) {
cl                191 os/unix/ngx_darwin_sendfile_chain.c                 size = cl->buf->last - cl->buf->pos;
cl                197 os/unix/ngx_darwin_sendfile_chain.c                 if (prev == cl->buf->pos) {
cl                206 os/unix/ngx_darwin_sendfile_chain.c                     iov->iov_base = (void *) cl->buf->pos;
cl                210 os/unix/ngx_darwin_sendfile_chain.c                 prev = cl->buf->pos + (size_t) size;
cl                212 os/unix/ngx_darwin_sendfile_chain.c                 cl = cl->next;
cl                313 os/unix/ngx_darwin_sendfile_chain.c         for (cl = in; cl; cl = cl->next) {
cl                315 os/unix/ngx_darwin_sendfile_chain.c             if (ngx_buf_special(cl->buf)) {
cl                323 os/unix/ngx_darwin_sendfile_chain.c             size = ngx_buf_size(cl->buf);
cl                328 os/unix/ngx_darwin_sendfile_chain.c                 if (ngx_buf_in_memory(cl->buf)) {
cl                329 os/unix/ngx_darwin_sendfile_chain.c                     cl->buf->pos = cl->buf->last;
cl                332 os/unix/ngx_darwin_sendfile_chain.c                 if (cl->buf->in_file) {
cl                333 os/unix/ngx_darwin_sendfile_chain.c                     cl->buf->file_pos = cl->buf->file_last;
cl                339 os/unix/ngx_darwin_sendfile_chain.c             if (ngx_buf_in_memory(cl->buf)) {
cl                340 os/unix/ngx_darwin_sendfile_chain.c                 cl->buf->pos += (size_t) sent;
cl                343 os/unix/ngx_darwin_sendfile_chain.c             if (cl->buf->in_file) {
cl                344 os/unix/ngx_darwin_sendfile_chain.c                 cl->buf->file_pos += sent;
cl                356 os/unix/ngx_darwin_sendfile_chain.c             return cl;
cl                359 os/unix/ngx_darwin_sendfile_chain.c         if (send >= limit || cl == NULL) {
cl                360 os/unix/ngx_darwin_sendfile_chain.c             return cl;
cl                363 os/unix/ngx_darwin_sendfile_chain.c         in = cl;
cl                151 os/unix/ngx_files.c ngx_write_chain_to_file(ngx_file_t *file, ngx_chain_t *cl, off_t offset,
cl                162 os/unix/ngx_files.c     if (cl->next == NULL) {
cl                163 os/unix/ngx_files.c         return ngx_write_file(file, cl->buf->pos,
cl                164 os/unix/ngx_files.c                               (size_t) (cl->buf->last - cl->buf->pos),
cl                182 os/unix/ngx_files.c         while (cl && vec.nelts < IOV_MAX) {
cl                183 os/unix/ngx_files.c             if (prev == cl->buf->pos) {
cl                184 os/unix/ngx_files.c                 iov->iov_len += cl->buf->last - cl->buf->pos;
cl                192 os/unix/ngx_files.c                 iov->iov_base = (void *) cl->buf->pos;
cl                193 os/unix/ngx_files.c                 iov->iov_len = cl->buf->last - cl->buf->pos;
cl                196 os/unix/ngx_files.c             size += cl->buf->last - cl->buf->pos;
cl                197 os/unix/ngx_files.c             prev = cl->buf->last;
cl                198 os/unix/ngx_files.c             cl = cl->next;
cl                237 os/unix/ngx_files.c     } while (cl);
cl                 52 os/unix/ngx_freebsd_sendfile_chain.c     ngx_chain_t     *cl;
cl                109 os/unix/ngx_freebsd_sendfile_chain.c         for (cl = in;
cl                110 os/unix/ngx_freebsd_sendfile_chain.c              cl && header.nelts < IOV_MAX && send < limit;
cl                111 os/unix/ngx_freebsd_sendfile_chain.c              cl = cl->next)
cl                113 os/unix/ngx_freebsd_sendfile_chain.c             if (ngx_buf_special(cl->buf)) {
cl                117 os/unix/ngx_freebsd_sendfile_chain.c             if (!ngx_buf_in_memory_only(cl->buf)) {
cl                121 os/unix/ngx_freebsd_sendfile_chain.c             size = cl->buf->last - cl->buf->pos;
cl                127 os/unix/ngx_freebsd_sendfile_chain.c             if (prev == cl->buf->pos) {
cl                136 os/unix/ngx_freebsd_sendfile_chain.c                 iov->iov_base = (void *) cl->buf->pos;
cl                140 os/unix/ngx_freebsd_sendfile_chain.c             prev = cl->buf->pos + (size_t) size;
cl                146 os/unix/ngx_freebsd_sendfile_chain.c         if (cl && cl->buf->in_file && send < limit) {
cl                147 os/unix/ngx_freebsd_sendfile_chain.c             file = cl->buf;
cl                152 os/unix/ngx_freebsd_sendfile_chain.c                 size = cl->buf->file_last - cl->buf->file_pos;
cl                157 os/unix/ngx_freebsd_sendfile_chain.c                     aligned = (cl->buf->file_pos + size + ngx_pagesize - 1)
cl                160 os/unix/ngx_freebsd_sendfile_chain.c                     if (aligned <= cl->buf->file_last) {
cl                161 os/unix/ngx_freebsd_sendfile_chain.c                         size = aligned - cl->buf->file_pos;
cl                167 os/unix/ngx_freebsd_sendfile_chain.c                 fprev = cl->buf->file_pos + size;
cl                168 os/unix/ngx_freebsd_sendfile_chain.c                 cl = cl->next;
cl                170 os/unix/ngx_freebsd_sendfile_chain.c             } while (cl
cl                171 os/unix/ngx_freebsd_sendfile_chain.c                      && cl->buf->in_file
cl                173 os/unix/ngx_freebsd_sendfile_chain.c                      && file->file->fd == cl->buf->file->fd
cl                174 os/unix/ngx_freebsd_sendfile_chain.c                      && fprev == cl->buf->file_pos);
cl                185 os/unix/ngx_freebsd_sendfile_chain.c             while (cl && header.nelts < IOV_MAX && send < limit) {
cl                187 os/unix/ngx_freebsd_sendfile_chain.c                 if (ngx_buf_special(cl->buf)) {
cl                188 os/unix/ngx_freebsd_sendfile_chain.c                     cl = cl->next;
cl                192 os/unix/ngx_freebsd_sendfile_chain.c                 if (!ngx_buf_in_memory_only(cl->buf)) {
cl                196 os/unix/ngx_freebsd_sendfile_chain.c                 size = cl->buf->last - cl->buf->pos;
cl                202 os/unix/ngx_freebsd_sendfile_chain.c                 if (prev == cl->buf->pos) {
cl                211 os/unix/ngx_freebsd_sendfile_chain.c                     iov->iov_base = (void *) cl->buf->pos;
cl                215 os/unix/ngx_freebsd_sendfile_chain.c                 prev = cl->buf->pos + (size_t) size;
cl                217 os/unix/ngx_freebsd_sendfile_chain.c                 cl = cl->next;
cl                359 os/unix/ngx_freebsd_sendfile_chain.c         for (cl = in; cl; cl = cl->next) {
cl                361 os/unix/ngx_freebsd_sendfile_chain.c             if (ngx_buf_special(cl->buf)) {
cl                369 os/unix/ngx_freebsd_sendfile_chain.c             size = ngx_buf_size(cl->buf);
cl                374 os/unix/ngx_freebsd_sendfile_chain.c                 if (ngx_buf_in_memory(cl->buf)) {
cl                375 os/unix/ngx_freebsd_sendfile_chain.c                     cl->buf->pos = cl->buf->last;
cl                378 os/unix/ngx_freebsd_sendfile_chain.c                 if (cl->buf->in_file) {
cl                379 os/unix/ngx_freebsd_sendfile_chain.c                     cl->buf->file_pos = cl->buf->file_last;
cl                385 os/unix/ngx_freebsd_sendfile_chain.c             if (ngx_buf_in_memory(cl->buf)) {
cl                386 os/unix/ngx_freebsd_sendfile_chain.c                 cl->buf->pos += (size_t) sent;
cl                389 os/unix/ngx_freebsd_sendfile_chain.c             if (cl->buf->in_file) {
cl                390 os/unix/ngx_freebsd_sendfile_chain.c                 cl->buf->file_pos += sent;
cl                398 os/unix/ngx_freebsd_sendfile_chain.c             return cl;
cl                412 os/unix/ngx_freebsd_sendfile_chain.c             return cl;
cl                421 os/unix/ngx_freebsd_sendfile_chain.c             return cl;
cl                424 os/unix/ngx_freebsd_sendfile_chain.c         if (send >= limit || cl == NULL) {
cl                425 os/unix/ngx_freebsd_sendfile_chain.c             return cl;
cl                428 os/unix/ngx_freebsd_sendfile_chain.c         in = cl;
cl                 48 os/unix/ngx_linux_sendfile_chain.c     ngx_chain_t   *cl;
cl                 91 os/unix/ngx_linux_sendfile_chain.c         for (cl = in;
cl                 92 os/unix/ngx_linux_sendfile_chain.c              cl && header.nelts < IOV_MAX && send < limit;
cl                 93 os/unix/ngx_linux_sendfile_chain.c              cl = cl->next)
cl                 95 os/unix/ngx_linux_sendfile_chain.c             if (ngx_buf_special(cl->buf)) {
cl                100 os/unix/ngx_linux_sendfile_chain.c             if (!ngx_buf_in_memory(cl->buf) && !cl->buf->in_file) {
cl                104 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->temporary,
cl                105 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->recycled,
cl                106 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->in_file,
cl                107 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->start,
cl                108 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->pos,
cl                109 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->last,
cl                110 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->file,
cl                111 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->file_pos,
cl                112 os/unix/ngx_linux_sendfile_chain.c                               cl->buf->file_last);
cl                120 os/unix/ngx_linux_sendfile_chain.c             if (!ngx_buf_in_memory_only(cl->buf)) {
cl                124 os/unix/ngx_linux_sendfile_chain.c             size = cl->buf->last - cl->buf->pos;
cl                130 os/unix/ngx_linux_sendfile_chain.c             if (prev == cl->buf->pos) {
cl                139 os/unix/ngx_linux_sendfile_chain.c                 iov->iov_base = (void *) cl->buf->pos;
cl                143 os/unix/ngx_linux_sendfile_chain.c             prev = cl->buf->pos + (size_t) size;
cl                151 os/unix/ngx_linux_sendfile_chain.c             && cl
cl                152 os/unix/ngx_linux_sendfile_chain.c             && cl->buf->in_file)
cl                214 os/unix/ngx_linux_sendfile_chain.c         if (header.nelts == 0 && cl && cl->buf->in_file && send < limit) {
cl                215 os/unix/ngx_linux_sendfile_chain.c             file = cl->buf;
cl                220 os/unix/ngx_linux_sendfile_chain.c                 size = cl->buf->file_last - cl->buf->file_pos;
cl                225 os/unix/ngx_linux_sendfile_chain.c                     aligned = (cl->buf->file_pos + size + ngx_pagesize - 1)
cl                228 os/unix/ngx_linux_sendfile_chain.c                     if (aligned <= cl->buf->file_last) {
cl                229 os/unix/ngx_linux_sendfile_chain.c                         size = aligned - cl->buf->file_pos;
cl                235 os/unix/ngx_linux_sendfile_chain.c                 fprev = cl->buf->file_pos + size;
cl                236 os/unix/ngx_linux_sendfile_chain.c                 cl = cl->next;
cl                238 os/unix/ngx_linux_sendfile_chain.c             } while (cl
cl                239 os/unix/ngx_linux_sendfile_chain.c                      && cl->buf->in_file
cl                241 os/unix/ngx_linux_sendfile_chain.c                      && file->file->fd == cl->buf->file->fd
cl                242 os/unix/ngx_linux_sendfile_chain.c                      && fprev == cl->buf->file_pos);
cl                325 os/unix/ngx_linux_sendfile_chain.c         for (cl = in; cl; cl = cl->next) {
cl                327 os/unix/ngx_linux_sendfile_chain.c             if (ngx_buf_special(cl->buf)) {
cl                335 os/unix/ngx_linux_sendfile_chain.c             size = ngx_buf_size(cl->buf);
cl                340 os/unix/ngx_linux_sendfile_chain.c                 if (ngx_buf_in_memory(cl->buf)) {
cl                341 os/unix/ngx_linux_sendfile_chain.c                     cl->buf->pos = cl->buf->last;
cl                344 os/unix/ngx_linux_sendfile_chain.c                 if (cl->buf->in_file) {
cl                345 os/unix/ngx_linux_sendfile_chain.c                     cl->buf->file_pos = cl->buf->file_last;
cl                351 os/unix/ngx_linux_sendfile_chain.c             if (ngx_buf_in_memory(cl->buf)) {
cl                352 os/unix/ngx_linux_sendfile_chain.c                 cl->buf->pos += (size_t) sent;
cl                355 os/unix/ngx_linux_sendfile_chain.c             if (cl->buf->in_file) {
cl                356 os/unix/ngx_linux_sendfile_chain.c                 cl->buf->file_pos += sent;
cl                368 os/unix/ngx_linux_sendfile_chain.c             return cl;
cl                371 os/unix/ngx_linux_sendfile_chain.c         if (send >= limit || cl == NULL) {
cl                372 os/unix/ngx_linux_sendfile_chain.c             return cl;
cl                375 os/unix/ngx_linux_sendfile_chain.c         in = cl;
cl                 52 os/unix/ngx_os.h ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl);
cl                 55 os/unix/ngx_solaris_sendfilev_chain.c     ngx_chain_t    *cl;
cl                 96 os/unix/ngx_solaris_sendfilev_chain.c         for (cl = in; cl && vec.nelts < IOV_MAX && send < limit; cl = cl->next)
cl                 98 os/unix/ngx_solaris_sendfilev_chain.c             if (ngx_buf_special(cl->buf)) {
cl                102 os/unix/ngx_solaris_sendfilev_chain.c             if (ngx_buf_in_memory_only(cl->buf)) {
cl                105 os/unix/ngx_solaris_sendfilev_chain.c                 size = cl->buf->last - cl->buf->pos;
cl                111 os/unix/ngx_solaris_sendfilev_chain.c                 if (prev == cl->buf->pos) {
cl                122 os/unix/ngx_solaris_sendfilev_chain.c                     sfv->sfv_off = (off_t) (uintptr_t) cl->buf->pos;
cl                126 os/unix/ngx_solaris_sendfilev_chain.c                 prev = cl->buf->pos + (size_t) size;
cl                132 os/unix/ngx_solaris_sendfilev_chain.c                 size = cl->buf->file_last - cl->buf->file_pos;
cl                137 os/unix/ngx_solaris_sendfilev_chain.c                     aligned = (cl->buf->file_pos + size + ngx_pagesize - 1)
cl                140 os/unix/ngx_solaris_sendfilev_chain.c                     if (aligned <= cl->buf->file_last) {
cl                141 os/unix/ngx_solaris_sendfilev_chain.c                         size = aligned - cl->buf->file_pos;
cl                145 os/unix/ngx_solaris_sendfilev_chain.c                 if (fd == cl->buf->file->fd && fprev == cl->buf->file_pos) {
cl                154 os/unix/ngx_solaris_sendfilev_chain.c                     fd = cl->buf->file->fd;
cl                157 os/unix/ngx_solaris_sendfilev_chain.c                     sfv->sfv_off = cl->buf->file_pos;
cl                161 os/unix/ngx_solaris_sendfilev_chain.c                 fprev = cl->buf->file_pos + size;
cl                198 os/unix/ngx_solaris_sendfilev_chain.c         for (cl = in; cl; cl = cl->next) {
cl                200 os/unix/ngx_solaris_sendfilev_chain.c             if (ngx_buf_special(cl->buf)) {
cl                208 os/unix/ngx_solaris_sendfilev_chain.c             size = ngx_buf_size(cl->buf);
cl                213 os/unix/ngx_solaris_sendfilev_chain.c                 if (ngx_buf_in_memory(cl->buf)) {
cl                214 os/unix/ngx_solaris_sendfilev_chain.c                     cl->buf->pos = cl->buf->last;
cl                217 os/unix/ngx_solaris_sendfilev_chain.c                 if (cl->buf->in_file) {
cl                218 os/unix/ngx_solaris_sendfilev_chain.c                     cl->buf->file_pos = cl->buf->file_last;
cl                224 os/unix/ngx_solaris_sendfilev_chain.c             if (ngx_buf_in_memory(cl->buf)) {
cl                225 os/unix/ngx_solaris_sendfilev_chain.c                 cl->buf->pos += sent;
cl                228 os/unix/ngx_solaris_sendfilev_chain.c             if (cl->buf->in_file) {
cl                229 os/unix/ngx_solaris_sendfilev_chain.c                 cl->buf->file_pos += sent;
cl                241 os/unix/ngx_solaris_sendfilev_chain.c             return cl;
cl                244 os/unix/ngx_solaris_sendfilev_chain.c         if (send >= limit || cl == NULL) {
cl                245 os/unix/ngx_solaris_sendfilev_chain.c             return cl;
cl                248 os/unix/ngx_solaris_sendfilev_chain.c         in = cl;
cl                 28 os/unix/ngx_writev_chain.c     ngx_chain_t   *cl;
cl                 73 os/unix/ngx_writev_chain.c         for (cl = in; cl && vec.nelts < IOV_MAX && send < limit; cl = cl->next)
cl                 75 os/unix/ngx_writev_chain.c             if (ngx_buf_special(cl->buf)) {
cl                 80 os/unix/ngx_writev_chain.c             if (!ngx_buf_in_memory(cl->buf)) {
cl                 85 os/unix/ngx_writev_chain.c             size = cl->buf->last - cl->buf->pos;
cl                 91 os/unix/ngx_writev_chain.c             if (prev == cl->buf->pos) {
cl                100 os/unix/ngx_writev_chain.c                 iov->iov_base = (void *) cl->buf->pos;
cl                104 os/unix/ngx_writev_chain.c             prev = cl->buf->pos + size;
cl                141 os/unix/ngx_writev_chain.c         for (cl = in; cl; cl = cl->next) {
cl                143 os/unix/ngx_writev_chain.c             if (ngx_buf_special(cl->buf)) {
cl                151 os/unix/ngx_writev_chain.c             size = cl->buf->last - cl->buf->pos;
cl                155 os/unix/ngx_writev_chain.c                 cl->buf->pos = cl->buf->last;
cl                160 os/unix/ngx_writev_chain.c             cl->buf->pos += sent;
cl                171 os/unix/ngx_writev_chain.c             return cl;
cl                174 os/unix/ngx_writev_chain.c         if (send >= limit || cl == NULL) {
cl                175 os/unix/ngx_writev_chain.c             return cl;
cl                178 os/unix/ngx_writev_chain.c         in = cl;