pool 296 core/nginx.c init_cycle.pool = ngx_create_pool(1024, log); pool 297 core/nginx.c if (init_cycle.pool == NULL) { pool 428 core/nginx.c if (ngx_array_init(&cycle->listening, cycle->pool, 10, pool 526 core/nginx.c env = ngx_palloc(cycle->pool, (n + 1) * sizeof(char *)); pool 835 core/nginx.c p = ngx_pnalloc(cycle->pool, len + 1); pool 853 core/nginx.c p = ngx_pnalloc(cycle->pool, NGX_MAX_PATH); pool 925 core/nginx.c ccf = ngx_pcalloc(cycle->pool, sizeof(ngx_core_conf_t)); pool 959 core/nginx.c if (ngx_array_init(&ccf->env, cycle->pool, 1, sizeof(ngx_str_t)) pool 1014 core/nginx.c ccf->oldpid.data = ngx_pnalloc(cycle->pool, ccf->oldpid.len); pool 1079 core/nginx.c cycle->lock_file.data = ngx_pstrdup(cycle->pool, &lock_file); pool 1086 core/nginx.c cycle->lock_file.data = ngx_pnalloc(cycle->pool, pool 1252 core/nginx.c mask = ngx_palloc(cf->pool, (cf->args->nelts - 1) * sizeof(long)); pool 29 core/ngx_array.c a->pool = p; pool 40 core/ngx_array.c p = a->pool; pool 65 core/ngx_array.c p = a->pool; pool 113 core/ngx_array.c p = a->pool; pool 20 core/ngx_array.h ngx_pool_t *pool; pool 31 core/ngx_array.h ngx_array_init(ngx_array_t *array, ngx_pool_t *pool, ngx_uint_t n, size_t size) pool 41 core/ngx_array.h array->pool = pool; pool 43 core/ngx_array.h array->elts = ngx_palloc(pool, n * size); pool 12 core/ngx_buf.c ngx_create_temp_buf(ngx_pool_t *pool, size_t size) pool 16 core/ngx_buf.c b = ngx_calloc_buf(pool); pool 21 core/ngx_buf.c b->start = ngx_palloc(pool, size); pool 47 core/ngx_buf.c ngx_alloc_chain_link(ngx_pool_t *pool) pool 51 core/ngx_buf.c cl = pool->chain; pool 54 core/ngx_buf.c pool->chain = cl->next; pool 58 core/ngx_buf.c cl = ngx_palloc(pool, sizeof(ngx_chain_t)); pool 68 core/ngx_buf.c ngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs) pool 75 core/ngx_buf.c p = ngx_palloc(pool, bufs->num * bufs->size); pool 84 core/ngx_buf.c b = ngx_calloc_buf(pool); pool 109 core/ngx_buf.c cl = ngx_alloc_chain_link(pool); pool 126 core/ngx_buf.c ngx_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain, ngx_chain_t *in) pool 137 core/ngx_buf.c cl = ngx_alloc_chain_link(pool); pool 100 core/ngx_buf.h ngx_pool_t *pool; pool 114 core/ngx_buf.h ngx_pool_t *pool; pool 137 core/ngx_buf.h ngx_buf_t *ngx_create_temp_buf(ngx_pool_t *pool, size_t size); pool 138 core/ngx_buf.h ngx_chain_t *ngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs); pool 141 core/ngx_buf.h #define ngx_alloc_buf(pool) ngx_palloc(pool, sizeof(ngx_buf_t)) pool 142 core/ngx_buf.h #define ngx_calloc_buf(pool) ngx_pcalloc(pool, sizeof(ngx_buf_t)) pool 144 core/ngx_buf.h ngx_chain_t *ngx_alloc_chain_link(ngx_pool_t *pool); pool 145 core/ngx_buf.h #define ngx_free_chain(pool, cl) \ pool 146 core/ngx_buf.h cl->next = pool->chain; \ pool 147 core/ngx_buf.h pool->chain = cl pool 154 core/ngx_buf.h ngx_int_t ngx_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain, pool 686 core/ngx_conf_file.c word->data = ngx_pnalloc(cf->pool, b->pos - start + 1); pool 786 core/ngx_conf_file.c file.data = ngx_pstrdup(cf->pool, &name); pool 833 core/ngx_conf_file.c n = ngx_pnalloc(cycle->pool, len + name->len + 1); pool 1120 core/ngx_conf_file.c *a = ngx_array_create(cf->pool, 4, sizeof(ngx_str_t)); pool 1157 core/ngx_conf_file.c *a = ngx_array_create(cf->pool, 4, sizeof(ngx_keyval_t)); pool 170 core/ngx_conf_file.h ngx_pool_t *pool; pool 33 core/ngx_connection.c sa = ngx_palloc(cf->pool, socklen); pool 66 core/ngx_connection.c ls->addr_text.data = ngx_pnalloc(cf->pool, len); pool 106 core/ngx_connection.c ls[i].sockaddr = ngx_palloc(cycle->pool, NGX_SOCKADDRLEN); pool 149 core/ngx_connection.c ls[i].addr_text.data = ngx_pnalloc(cycle->pool, len); pool 232 core/ngx_connection.c ls[i].accept_filter = ngx_palloc(cycle->pool, 16); pool 999 core/ngx_connection.c c->local_sockaddr = ngx_palloc(c->pool, len); pool 124 core/ngx_connection.h ngx_pool_t *pool; pool 50 core/ngx_cycle.c ngx_pool_t *pool; pool 72 core/ngx_cycle.c pool = ngx_create_pool(NGX_CYCLE_POOL_SIZE, log); pool 73 core/ngx_cycle.c if (pool == NULL) { pool 76 core/ngx_cycle.c pool->log = log; pool 78 core/ngx_cycle.c cycle = ngx_pcalloc(pool, sizeof(ngx_cycle_t)); pool 80 core/ngx_cycle.c ngx_destroy_pool(pool); pool 84 core/ngx_cycle.c cycle->pool = pool; pool 90 core/ngx_cycle.c cycle->conf_prefix.data = ngx_pstrdup(pool, &old_cycle->conf_prefix); pool 92 core/ngx_cycle.c ngx_destroy_pool(pool); pool 97 core/ngx_cycle.c cycle->prefix.data = ngx_pstrdup(pool, &old_cycle->prefix); pool 99 core/ngx_cycle.c ngx_destroy_pool(pool); pool 104 core/ngx_cycle.c cycle->conf_file.data = ngx_pnalloc(pool, old_cycle->conf_file.len + 1); pool 106 core/ngx_cycle.c ngx_destroy_pool(pool); pool 113 core/ngx_cycle.c cycle->conf_param.data = ngx_pstrdup(pool, &old_cycle->conf_param); pool 115 core/ngx_cycle.c ngx_destroy_pool(pool); pool 122 core/ngx_cycle.c cycle->pathes.elts = ngx_pcalloc(pool, n * sizeof(ngx_path_t *)); pool 124 core/ngx_cycle.c ngx_destroy_pool(pool); pool 131 core/ngx_cycle.c cycle->pathes.pool = pool; pool 144 core/ngx_cycle.c if (ngx_list_init(&cycle->open_files, pool, n, sizeof(ngx_open_file_t)) pool 147 core/ngx_cycle.c ngx_destroy_pool(pool); pool 163 core/ngx_cycle.c if (ngx_list_init(&cycle->shared_memory, pool, n, sizeof(ngx_shm_zone_t)) pool 166 core/ngx_cycle.c ngx_destroy_pool(pool); pool 172 core/ngx_cycle.c cycle->listening.elts = ngx_pcalloc(pool, n * sizeof(ngx_listening_t)); pool 174 core/ngx_cycle.c ngx_destroy_pool(pool); pool 181 core/ngx_cycle.c cycle->listening.pool = pool; pool 187 core/ngx_cycle.c cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *)); pool 189 core/ngx_cycle.c ngx_destroy_pool(pool); pool 196 core/ngx_cycle.c ngx_destroy_pool(pool); pool 205 core/ngx_cycle.c cycle->hostname.data = ngx_pnalloc(pool, cycle->hostname.len); pool 207 core/ngx_cycle.c ngx_destroy_pool(pool); pool 224 core/ngx_cycle.c ngx_destroy_pool(pool); pool 237 core/ngx_cycle.c conf.args = ngx_array_create(pool, 10, sizeof(ngx_str_t)); pool 239 core/ngx_cycle.c ngx_destroy_pool(pool); pool 245 core/ngx_cycle.c ngx_destroy_pool(pool); pool 252 core/ngx_cycle.c conf.pool = pool; pool 395 core/ngx_cycle.c pool->log = &cycle->new_log; pool 595 core/ngx_cycle.c pool->log = cycle->log; pool 734 core/ngx_cycle.c ngx_destroy_pool(old_cycle->pool); pool 760 core/ngx_cycle.c ngx_old_cycles.pool = ngx_temp_pool; pool 849 core/ngx_cycle.c ngx_destroy_pool(conf->pool); pool 951 core/ngx_cycle.c file = ngx_pnalloc(cycle->pool, cycle->lock_file.len + zn->shm.name.len); pool 1369 core/ngx_cycle.c ngx_destroy_pool(cycle[i]->pool); pool 38 core/ngx_cycle.h ngx_pool_t *pool; pool 112 core/ngx_cycle.h ngx_pool_t *pool; /* pcre's malloc() pool */ pool 22 core/ngx_file.c rc = ngx_create_temp_file(&tf->file, tf->path, tf->pool, pool 35 core/ngx_file.c return ngx_write_chain_to_file(&tf->file, chain, tf->offset, tf->pool); pool 40 core/ngx_file.c ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, ngx_pool_t *pool, pool 50 core/ngx_file.c file->name.data = ngx_pnalloc(pool, file->name.len + 1); pool 65 core/ngx_file.c cln = ngx_pool_cleanup_add(pool, sizeof(ngx_pool_cleanup_file_t)); pool 91 core/ngx_file.c clnf->log = pool->log; pool 253 core/ngx_file.c path = ngx_pcalloc(cf->pool, sizeof(ngx_path_t)); pool 313 core/ngx_file.c *path = ngx_palloc(cf->pool, sizeof(ngx_path_t)); pool 65 core/ngx_file.h ngx_pool_t *pool; pool 125 core/ngx_file.h ngx_pool_t *pool, ngx_uint_t persistent, ngx_uint_t clean, pool 262 core/ngx_hash.c ngx_log_error(NGX_LOG_EMERG, hinit->pool->log, 0, pool 270 core/ngx_hash.c test = ngx_alloc(hinit->max_size * sizeof(u_short), hinit->pool->log); pool 297 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, pool 314 core/ngx_hash.c ngx_log_error(NGX_LOG_EMERG, hinit->pool->log, 0, pool 352 core/ngx_hash.c hinit->hash = ngx_pcalloc(hinit->pool, sizeof(ngx_hash_wildcard_t) pool 363 core/ngx_hash.c buckets = ngx_pcalloc(hinit->pool, size * sizeof(ngx_hash_elt_t *)); pool 370 core/ngx_hash.c elts = ngx_palloc(hinit->pool, len + ngx_cacheline_size); pool 432 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, pool 443 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, pool 485 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, pool 509 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, pool 533 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, pool 561 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, pool 59 core/ngx_hash.h ngx_pool_t *pool; pool 77 core/ngx_hash.h ngx_pool_t *pool; pool 11 core/ngx_inet.c static ngx_int_t ngx_parse_unix_domain_url(ngx_pool_t *pool, ngx_url_t *u); pool 12 core/ngx_inet.c static ngx_int_t ngx_parse_inet_url(ngx_pool_t *pool, ngx_url_t *u); pool 13 core/ngx_inet.c static ngx_int_t ngx_parse_inet6_url(ngx_pool_t *pool, ngx_url_t *u); pool 451 core/ngx_inet.c ngx_parse_addr(ngx_pool_t *pool, ngx_addr_t *addr, u_char *text, size_t len) pool 483 core/ngx_inet.c addr->sockaddr = ngx_pcalloc(pool, len); pool 511 core/ngx_inet.c ngx_parse_url(ngx_pool_t *pool, ngx_url_t *u) pool 518 core/ngx_inet.c return ngx_parse_unix_domain_url(pool, u); pool 527 core/ngx_inet.c return ngx_parse_inet6_url(pool, u); pool 530 core/ngx_inet.c return ngx_parse_inet_url(pool, u); pool 535 core/ngx_inet.c ngx_parse_unix_domain_url(ngx_pool_t *pool, ngx_url_t *u) pool 579 core/ngx_inet.c u->addrs = ngx_pcalloc(pool, sizeof(ngx_addr_t)); pool 584 core/ngx_inet.c saun = ngx_pcalloc(pool, sizeof(struct sockaddr_un)); pool 613 core/ngx_inet.c ngx_parse_inet_url(ngx_pool_t *pool, ngx_url_t *u) pool 741 core/ngx_inet.c p = ngx_alloc(++len, pool->log); pool 778 core/ngx_inet.c if (ngx_inet_resolve_host(pool, u) != NGX_OK) { pool 787 core/ngx_inet.c ngx_parse_inet6_url(ngx_pool_t *pool, ngx_url_t *u) pool 897 core/ngx_inet.c ngx_inet_resolve_host(ngx_pool_t *pool, ngx_url_t *u) pool 914 core/ngx_inet.c host = ngx_alloc(u->host.len + 1, pool->log); pool 939 core/ngx_inet.c u->addrs = ngx_pcalloc(pool, i * sizeof(ngx_addr_t)); pool 948 core/ngx_inet.c sin = ngx_pcalloc(pool, sizeof(struct sockaddr_in)); pool 962 core/ngx_inet.c p = ngx_pnalloc(pool, len); pool 977 core/ngx_inet.c u->addrs = ngx_pcalloc(pool, sizeof(ngx_addr_t)); pool 982 core/ngx_inet.c sin = ngx_pcalloc(pool, sizeof(struct sockaddr_in)); pool 996 core/ngx_inet.c p = ngx_pnalloc(pool, u->host.len + sizeof(":65535") - 1); pool 113 core/ngx_inet.h ngx_int_t ngx_parse_addr(ngx_pool_t *pool, ngx_addr_t *addr, u_char *text, pool 115 core/ngx_inet.h ngx_int_t ngx_parse_url(ngx_pool_t *pool, ngx_url_t *u); pool 116 core/ngx_inet.h ngx_int_t ngx_inet_resolve_host(ngx_pool_t *pool, ngx_url_t *u); pool 12 core/ngx_list.c ngx_list_create(ngx_pool_t *pool, ngx_uint_t n, size_t size) pool 16 core/ngx_list.c list = ngx_palloc(pool, sizeof(ngx_list_t)); pool 21 core/ngx_list.c list->part.elts = ngx_palloc(pool, n * size); pool 31 core/ngx_list.c list->pool = pool; pool 49 core/ngx_list.c last = ngx_palloc(l->pool, sizeof(ngx_list_part_t)); pool 54 core/ngx_list.c last->elts = ngx_palloc(l->pool, l->nalloc * l->size); pool 29 core/ngx_list.h ngx_pool_t *pool; pool 33 core/ngx_list.h ngx_list_t *ngx_list_create(ngx_pool_t *pool, ngx_uint_t n, size_t size); pool 36 core/ngx_list.h ngx_list_init(ngx_list_t *list, ngx_pool_t *pool, ngx_uint_t n, size_t size) pool 38 core/ngx_list.h list->part.elts = ngx_palloc(pool, n * size); pool 48 core/ngx_list.h list->pool = pool; pool 355 core/ngx_log.c log = ngx_pcalloc(cycle->pool, sizeof(ngx_log_t)); pool 43 core/ngx_open_file_cache.c ngx_open_file_cache_init(ngx_pool_t *pool, ngx_uint_t max, time_t inactive) pool 48 core/ngx_open_file_cache.c cache = ngx_palloc(pool, sizeof(ngx_open_file_cache_t)); pool 62 core/ngx_open_file_cache.c cln = ngx_pool_cleanup_add(pool, 0); pool 131 core/ngx_open_file_cache.c ngx_open_file_info_t *of, ngx_pool_t *pool) pool 166 core/ngx_open_file_cache.c cln = ngx_pool_cleanup_add(pool, sizeof(ngx_pool_cleanup_file_t)); pool 171 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); pool 179 core/ngx_open_file_cache.c clnf->log = pool->log; pool 185 core/ngx_open_file_cache.c cln = ngx_pool_cleanup_add(pool, sizeof(ngx_open_file_cache_cleanup_t)); pool 206 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); pool 235 core/ngx_open_file_cache.c ngx_open_file_add_event(cache, file, of, pool->log); pool 246 core/ngx_open_file_cache.c ngx_log_debug4(NGX_LOG_DEBUG_CORE, pool->log, 0, pool 264 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); pool 311 core/ngx_open_file_cache.c ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno, pool 330 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); pool 339 core/ngx_open_file_cache.c ngx_expire_old_cached_files(cache, 0, pool->log); pool 342 core/ngx_open_file_cache.c file = ngx_alloc(sizeof(ngx_cached_open_file_t), pool->log); pool 348 core/ngx_open_file_cache.c file->name = ngx_alloc(name->len + 1, pool->log); pool 371 core/ngx_open_file_cache.c ngx_open_file_add_event(cache, file, of, pool->log); pool 406 core/ngx_open_file_cache.c ngx_log_debug5(NGX_LOG_DEBUG_CORE, pool->log, 0, pool 419 core/ngx_open_file_cache.c ofcln->log = pool->log; pool 438 core/ngx_open_file_cache.c ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno, pool 454 core/ngx_open_file_cache.c ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno, pool 111 core/ngx_open_file_cache.h ngx_open_file_cache_t *ngx_open_file_cache_init(ngx_pool_t *pool, pool 114 core/ngx_open_file_cache.h ngx_open_file_info_t *of, ngx_pool_t *pool); pool 31 core/ngx_output_chain.c static ngx_int_t ngx_output_chain_add_copy(ngx_pool_t *pool, pool 72 core/ngx_output_chain.c if (ngx_output_chain_add_copy(ctx->pool, &ctx->in, in) == NGX_ERROR) { pool 100 core/ngx_output_chain.c ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0, pool 152 core/ngx_output_chain.c ngx_free_chain(ctx->pool, cl); pool 184 core/ngx_output_chain.c cl = ngx_alloc_chain_link(ctx->pool); pool 262 core/ngx_output_chain.c ngx_output_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain, pool 278 core/ngx_output_chain.c cl = ngx_alloc_chain_link(pool); pool 293 core/ngx_output_chain.c b = ngx_calloc_buf(pool); pool 362 core/ngx_output_chain.c ctx->buf = ngx_create_temp_buf(ctx->pool, size); pool 418 core/ngx_output_chain.c b = ngx_calloc_buf(ctx->pool); pool 430 core/ngx_output_chain.c b->start = ngx_pmemalign(ctx->pool, size, (size_t) ctx->alignment); pool 436 core/ngx_output_chain.c b->start = ngx_palloc(ctx->pool, size); pool 515 core/ngx_output_chain.c ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, ngx_errno, pool 527 core/ngx_output_chain.c src->file_pos, ctx->pool); pool 551 core/ngx_output_chain.c ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, ngx_errno, pool 568 core/ngx_output_chain.c ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0, pool 624 core/ngx_output_chain.c cl = ngx_alloc_chain_link(ctx->pool); pool 11 core/ngx_palloc.c static void *ngx_palloc_block(ngx_pool_t *pool, size_t size); pool 12 core/ngx_palloc.c static void *ngx_palloc_large(ngx_pool_t *pool, size_t size); pool 44 core/ngx_palloc.c ngx_destroy_pool(ngx_pool_t *pool) pool 50 core/ngx_palloc.c for (c = pool->cleanup; c; c = c->next) { pool 52 core/ngx_palloc.c ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, pool 58 core/ngx_palloc.c for (l = pool->large; l; l = l->next) { pool 60 core/ngx_palloc.c ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, "free: %p", l->alloc); pool 74 core/ngx_palloc.c for (p = pool, n = pool->d.next; /* void */; p = n, n = n->d.next) { pool 75 core/ngx_palloc.c ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, pool->log, 0, pool 85 core/ngx_palloc.c for (p = pool, n = pool->d.next; /* void */; p = n, n = n->d.next) { pool 96 core/ngx_palloc.c ngx_reset_pool(ngx_pool_t *pool) pool 101 core/ngx_palloc.c for (l = pool->large; l; l = l->next) { pool 107 core/ngx_palloc.c pool->large = NULL; pool 109 core/ngx_palloc.c for (p = pool; p; p = p->d.next) { pool 116 core/ngx_palloc.c ngx_palloc(ngx_pool_t *pool, size_t size) pool 121 core/ngx_palloc.c if (size <= pool->max) { pool 123 core/ngx_palloc.c p = pool->current; pool 138 core/ngx_palloc.c return ngx_palloc_block(pool, size); pool 141 core/ngx_palloc.c return ngx_palloc_large(pool, size); pool 146 core/ngx_palloc.c ngx_pnalloc(ngx_pool_t *pool, size_t size) pool 151 core/ngx_palloc.c if (size <= pool->max) { pool 153 core/ngx_palloc.c p = pool->current; pool 168 core/ngx_palloc.c return ngx_palloc_block(pool, size); pool 171 core/ngx_palloc.c return ngx_palloc_large(pool, size); pool 176 core/ngx_palloc.c ngx_palloc_block(ngx_pool_t *pool, size_t size) pool 182 core/ngx_palloc.c psize = (size_t) (pool->d.end - (u_char *) pool); pool 184 core/ngx_palloc.c m = ngx_memalign(NGX_POOL_ALIGNMENT, psize, pool->log); pool 199 core/ngx_palloc.c current = pool->current; pool 209 core/ngx_palloc.c pool->current = current ? current : new; pool 216 core/ngx_palloc.c ngx_palloc_large(ngx_pool_t *pool, size_t size) pool 222 core/ngx_palloc.c p = ngx_alloc(size, pool->log); pool 229 core/ngx_palloc.c for (large = pool->large; large; large = large->next) { pool 240 core/ngx_palloc.c large = ngx_palloc(pool, sizeof(ngx_pool_large_t)); pool 247 core/ngx_palloc.c large->next = pool->large; pool 248 core/ngx_palloc.c pool->large = large; pool 255 core/ngx_palloc.c ngx_pmemalign(ngx_pool_t *pool, size_t size, size_t alignment) pool 260 core/ngx_palloc.c p = ngx_memalign(alignment, size, pool->log); pool 265 core/ngx_palloc.c large = ngx_palloc(pool, sizeof(ngx_pool_large_t)); pool 272 core/ngx_palloc.c large->next = pool->large; pool 273 core/ngx_palloc.c pool->large = large; pool 280 core/ngx_palloc.c ngx_pfree(ngx_pool_t *pool, void *p) pool 284 core/ngx_palloc.c for (l = pool->large; l; l = l->next) { pool 286 core/ngx_palloc.c ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, pool 300 core/ngx_palloc.c ngx_pcalloc(ngx_pool_t *pool, size_t size) pool 304 core/ngx_palloc.c p = ngx_palloc(pool, size); pool 78 core/ngx_palloc.h void ngx_destroy_pool(ngx_pool_t *pool); pool 79 core/ngx_palloc.h void ngx_reset_pool(ngx_pool_t *pool); pool 81 core/ngx_palloc.h void *ngx_palloc(ngx_pool_t *pool, size_t size); pool 82 core/ngx_palloc.h void *ngx_pnalloc(ngx_pool_t *pool, size_t size); pool 83 core/ngx_palloc.h void *ngx_pcalloc(ngx_pool_t *pool, size_t size); pool 84 core/ngx_palloc.h void *ngx_pmemalign(ngx_pool_t *pool, size_t size, size_t alignment); pool 85 core/ngx_palloc.h ngx_int_t ngx_pfree(ngx_pool_t *pool, void *p); pool 15 core/ngx_radix_tree.c ngx_radix_tree_create(ngx_pool_t *pool, ngx_int_t preallocate) pool 20 core/ngx_radix_tree.c tree = ngx_palloc(pool, sizeof(ngx_radix_tree_t)); pool 25 core/ngx_radix_tree.c tree->pool = pool; pool 277 core/ngx_radix_tree.c tree->start = ngx_pmemalign(tree->pool, ngx_pagesize, ngx_pagesize); pool 29 core/ngx_radix_tree.h ngx_pool_t *pool; pool 36 core/ngx_radix_tree.h ngx_radix_tree_t *ngx_radix_tree_create(ngx_pool_t *pool, pool 27 core/ngx_regex.c ngx_regex_malloc_init(ngx_pool_t *pool) pool 34 core/ngx_regex.c tls->pool = pool; pool 40 core/ngx_regex.c ngx_pcre_pool = pool; pool 52 core/ngx_regex.c tls->pool = NULL; pool 70 core/ngx_regex.c ngx_regex_malloc_init(rc->pool); pool 192 core/ngx_regex.c ngx_pool_t *pool; pool 198 core/ngx_regex.c pool = tls->pool; pool 201 core/ngx_regex.c pool = ngx_pcre_pool; pool 206 core/ngx_regex.c pool = ngx_pcre_pool; pool 210 core/ngx_regex.c if (pool) { pool 211 core/ngx_regex.c return ngx_palloc(pool, size); pool 26 core/ngx_regex.h ngx_pool_t *pool; pool 100 core/ngx_resolver.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 62 core/ngx_slab.c static ngx_slab_page_t *ngx_slab_alloc_pages(ngx_slab_pool_t *pool, pool 64 core/ngx_slab.c static void ngx_slab_free_pages(ngx_slab_pool_t *pool, ngx_slab_page_t *page, pool 66 core/ngx_slab.c static void ngx_slab_error(ngx_slab_pool_t *pool, ngx_uint_t level, pool 76 core/ngx_slab.c ngx_slab_init(ngx_slab_pool_t *pool) pool 94 core/ngx_slab.c pool->min_size = 1 << pool->min_shift; pool 96 core/ngx_slab.c p = (u_char *) pool + sizeof(ngx_slab_pool_t); pool 97 core/ngx_slab.c size = pool->end - p; pool 102 core/ngx_slab.c n = ngx_pagesize_shift - pool->min_shift; pool 116 core/ngx_slab.c pool->pages = (ngx_slab_page_t *) p; pool 118 core/ngx_slab.c pool->free.prev = 0; pool 119 core/ngx_slab.c pool->free.next = (ngx_slab_page_t *) p; pool 121 core/ngx_slab.c pool->pages->slab = pages; pool 122 core/ngx_slab.c pool->pages->next = &pool->free; pool 123 core/ngx_slab.c pool->pages->prev = (uintptr_t) &pool->free; pool 125 core/ngx_slab.c pool->start = (u_char *) pool 129 core/ngx_slab.c m = pages - (pool->end - pool->start) / ngx_pagesize; pool 132 core/ngx_slab.c pool->pages->slab = pages; pool 135 core/ngx_slab.c pool->log_ctx = &pool->zero; pool 136 core/ngx_slab.c pool->zero = '\0'; pool 141 core/ngx_slab.c ngx_slab_alloc(ngx_slab_pool_t *pool, size_t size) pool 145 core/ngx_slab.c ngx_shmtx_lock(&pool->mutex); pool 147 core/ngx_slab.c p = ngx_slab_alloc_locked(pool, size); pool 149 core/ngx_slab.c ngx_shmtx_unlock(&pool->mutex); pool 156 core/ngx_slab.c ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size) pool 168 core/ngx_slab.c page = ngx_slab_alloc_pages(pool, (size + ngx_pagesize - 1) pool 171 core/ngx_slab.c p = (page - pool->pages) << ngx_pagesize_shift; pool 172 core/ngx_slab.c p += (uintptr_t) pool->start; pool 181 core/ngx_slab.c if (size > pool->min_size) { pool 184 core/ngx_slab.c slot = shift - pool->min_shift; pool 187 core/ngx_slab.c size = pool->min_size; pool 188 core/ngx_slab.c shift = pool->min_shift; pool 195 core/ngx_slab.c slots = (ngx_slab_page_t *) ((u_char *) pool + sizeof(ngx_slab_pool_t)); pool 203 core/ngx_slab.c p = (page - pool->pages) << ngx_pagesize_shift; pool 204 core/ngx_slab.c bitmap = (uintptr_t *) (pool->start + p); pool 274 core/ngx_slab.c p = (page - pool->pages) << ngx_pagesize_shift; pool 276 core/ngx_slab.c p += (uintptr_t) pool->start; pool 316 core/ngx_slab.c p = (page - pool->pages) << ngx_pagesize_shift; pool 318 core/ngx_slab.c p += (uintptr_t) pool->start; pool 330 core/ngx_slab.c page = ngx_slab_alloc_pages(pool, 1); pool 334 core/ngx_slab.c p = (page - pool->pages) << ngx_pagesize_shift; pool 335 core/ngx_slab.c bitmap = (uintptr_t *) (pool->start + p); pool 358 core/ngx_slab.c p = ((page - pool->pages) << ngx_pagesize_shift) + s * n; pool 359 core/ngx_slab.c p += (uintptr_t) pool->start; pool 371 core/ngx_slab.c p = (page - pool->pages) << ngx_pagesize_shift; pool 372 core/ngx_slab.c p += (uintptr_t) pool->start; pool 384 core/ngx_slab.c p = (page - pool->pages) << ngx_pagesize_shift; pool 385 core/ngx_slab.c p += (uintptr_t) pool->start; pool 402 core/ngx_slab.c ngx_slab_free(ngx_slab_pool_t *pool, void *p) pool 404 core/ngx_slab.c ngx_shmtx_lock(&pool->mutex); pool 406 core/ngx_slab.c ngx_slab_free_locked(pool, p); pool 408 core/ngx_slab.c ngx_shmtx_unlock(&pool->mutex); pool 413 core/ngx_slab.c ngx_slab_free_locked(ngx_slab_pool_t *pool, void *p) pool 422 core/ngx_slab.c if ((u_char *) p < pool->start || (u_char *) p > pool->end) { pool 423 core/ngx_slab.c ngx_slab_error(pool, NGX_LOG_ALERT, "ngx_slab_free(): outside of pool"); pool 427 core/ngx_slab.c n = ((u_char *) p - pool->start) >> ngx_pagesize_shift; pool 428 core/ngx_slab.c page = &pool->pages[n]; pool 452 core/ngx_slab.c ((u_char *) pool + sizeof(ngx_slab_pool_t)); pool 453 core/ngx_slab.c slot = shift - pool->min_shift; pool 482 core/ngx_slab.c ngx_slab_free_pages(pool, page, 1); pool 502 core/ngx_slab.c ((u_char *) pool + sizeof(ngx_slab_pool_t)); pool 503 core/ngx_slab.c slot = ngx_slab_exact_shift - pool->min_shift; pool 518 core/ngx_slab.c ngx_slab_free_pages(pool, page, 1); pool 541 core/ngx_slab.c ((u_char *) pool + sizeof(ngx_slab_pool_t)); pool 542 core/ngx_slab.c slot = shift - pool->min_shift; pool 557 core/ngx_slab.c ngx_slab_free_pages(pool, page, 1); pool 571 core/ngx_slab.c ngx_slab_error(pool, NGX_LOG_ALERT, pool 577 core/ngx_slab.c ngx_slab_error(pool, NGX_LOG_ALERT, pool 582 core/ngx_slab.c n = ((u_char *) p - pool->start) >> ngx_pagesize_shift; pool 585 core/ngx_slab.c ngx_slab_free_pages(pool, &pool->pages[n], size); pool 604 core/ngx_slab.c ngx_slab_error(pool, NGX_LOG_ALERT, pool 611 core/ngx_slab.c ngx_slab_error(pool, NGX_LOG_ALERT, pool 621 core/ngx_slab.c ngx_slab_alloc_pages(ngx_slab_pool_t *pool, ngx_uint_t pages) pool 625 core/ngx_slab.c for (page = pool->free.next; page != &pool->free; page = page->next) { pool 663 core/ngx_slab.c ngx_slab_error(pool, NGX_LOG_CRIT, "ngx_slab_alloc() failed: no memory"); pool 670 core/ngx_slab.c ngx_slab_free_pages(ngx_slab_pool_t *pool, ngx_slab_page_t *page, pool 687 core/ngx_slab.c page->prev = (uintptr_t) &pool->free; pool 688 core/ngx_slab.c page->next = pool->free.next; pool 692 core/ngx_slab.c pool->free.next = page; pool 697 core/ngx_slab.c ngx_slab_error(ngx_slab_pool_t *pool, ngx_uint_t level, char *text) pool 699 core/ngx_slab.c ngx_log_error(level, ngx_cycle->log, 0, "%s%s", text, pool->log_ctx); pool 46 core/ngx_slab.h void ngx_slab_init(ngx_slab_pool_t *pool); pool 47 core/ngx_slab.h void *ngx_slab_alloc(ngx_slab_pool_t *pool, size_t size); pool 48 core/ngx_slab.h void *ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size); pool 49 core/ngx_slab.h void ngx_slab_free(ngx_slab_pool_t *pool, void *p); pool 50 core/ngx_slab.h void ngx_slab_free_locked(ngx_slab_pool_t *pool, void *p); pool 54 core/ngx_string.c ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src) pool 58 core/ngx_string.c dst = ngx_pnalloc(pool, src->len); pool 147 core/ngx_string.h u_char *ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src); pool 547 event/modules/ngx_devpoll_module.c dpcf = ngx_palloc(cycle->pool, sizeof(ngx_devpoll_conf_t)); pool 762 event/modules/ngx_epoll_module.c epcf = ngx_palloc(cycle->pool, sizeof(ngx_epoll_conf_t)); pool 582 event/modules/ngx_eventport_module.c epcf = ngx_palloc(cycle->pool, sizeof(ngx_eventport_conf_t)); pool 763 event/modules/ngx_kqueue_module.c kcf = ngx_palloc(cycle->pool, sizeof(ngx_kqueue_conf_t)); pool 692 event/modules/ngx_rtsig_module.c rtscf = ngx_palloc(cycle->pool, sizeof(ngx_rtsig_conf_t)); pool 896 event/ngx_event.c ctx = ngx_pcalloc(cf->pool, sizeof(void *)); pool 901 event/ngx_event.c *ctx = ngx_pcalloc(cf->pool, ngx_event_max_module * sizeof(void *)); pool 1120 event/ngx_event.c ecf = ngx_palloc(cycle->pool, sizeof(ngx_event_conf_t)); pool 1134 event/ngx_event.c if (ngx_array_init(&ecf->debug_connection, cycle->pool, 4, pool 124 event/ngx_event_accept.c c->pool = ngx_create_pool(ls->pool_size, ev->log); pool 125 event/ngx_event_accept.c if (c->pool == NULL) { pool 130 event/ngx_event_accept.c c->sockaddr = ngx_palloc(c->pool, socklen); pool 138 event/ngx_event_accept.c log = ngx_palloc(c->pool, sizeof(ngx_log_t)); pool 175 event/ngx_event_accept.c c->pool->log = log; pool 237 event/ngx_event_accept.c c->addr_text.data = ngx_pnalloc(c->pool, ls->addr_text_max_len); pool 412 event/ngx_event_accept.c if (c->pool) { pool 413 event/ngx_event_accept.c ngx_destroy_pool(c->pool); pool 487 event/ngx_event_openssl.c sc = ngx_pcalloc(c->pool, sizeof(ngx_ssl_connection_t)); pool 969 event/ngx_event_openssl.c buf = ngx_create_temp_buf(c->pool, NGX_SSL_BUFSIZE); pool 978 event/ngx_event_openssl.c buf->start = ngx_palloc(c->pool, NGX_SSL_BUFSIZE); pool 1165 event/ngx_event_openssl.c if (ngx_pfree(c->pool, c->ssl->buf->start) == NGX_OK) { pool 1965 event/ngx_event_openssl.c ngx_ssl_get_protocol(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 1973 event/ngx_event_openssl.c ngx_ssl_get_cipher_name(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 1981 event/ngx_event_openssl.c ngx_ssl_get_session_id(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 1997 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, 2 * len); pool 2015 event/ngx_event_openssl.c ngx_ssl_get_raw_certificate(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 2043 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); pool 2065 event/ngx_event_openssl.c ngx_ssl_get_certificate(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 2072 event/ngx_event_openssl.c if (ngx_ssl_get_raw_certificate(c, pool, &cert) != NGX_OK) { pool 2090 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); pool 2109 event/ngx_event_openssl.c ngx_ssl_get_subject_dn(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 2134 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); pool 2151 event/ngx_event_openssl.c ngx_ssl_get_issuer_dn(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 2176 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); pool 2193 event/ngx_event_openssl.c ngx_ssl_get_serial_number(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 2216 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); pool 2232 event/ngx_event_openssl.c ngx_ssl_get_client_verify(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s) pool 2261 event/ngx_event_openssl.c oscf = ngx_pcalloc(cycle->pool, sizeof(ngx_openssl_conf_t)); pool 119 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_protocol(ngx_connection_t *c, ngx_pool_t *pool, pool 121 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_cipher_name(ngx_connection_t *c, ngx_pool_t *pool, pool 123 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_session_id(ngx_connection_t *c, ngx_pool_t *pool, pool 125 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_raw_certificate(ngx_connection_t *c, ngx_pool_t *pool, pool 127 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_certificate(ngx_connection_t *c, ngx_pool_t *pool, pool 129 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_subject_dn(ngx_connection_t *c, ngx_pool_t *pool, pool 131 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_issuer_dn(ngx_connection_t *c, ngx_pool_t *pool, pool 133 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_serial_number(ngx_connection_t *c, ngx_pool_t *pool, pool 135 event/ngx_event_openssl.h ngx_int_t ngx_ssl_get_client_verify(ngx_connection_t *c, ngx_pool_t *pool, pool 187 event/ngx_event_pipe.c b = ngx_create_temp_buf(p->pool, p->bufs.size); pool 194 event/ngx_event_pipe.c chain = ngx_alloc_chain_link(p->pool); pool 325 event/ngx_event_pipe.c ngx_free_chain(p->pool, ln); pool 410 event/ngx_event_pipe.c ngx_pfree(p->pool, cl->buf->start); pool 780 event/ngx_event_pipe.c tl = ngx_alloc_chain_link(p->pool); pool 818 event/ngx_event_pipe.c ngx_free_chain(p->pool, cl); pool 821 event/ngx_event_pipe.c b = ngx_alloc_buf(p->pool); pool 834 event/ngx_event_pipe.c cl = ngx_alloc_chain_link(p->pool); pool 920 event/ngx_event_pipe.c cl = ngx_alloc_chain_link(p->pool); pool 76 event/ngx_event_pipe.h ngx_pool_t *pool; pool 279 http/modules/ngx_http_access_module.c alcf->rules6 = ngx_array_create(cf->pool, 4, pool 305 http/modules/ngx_http_access_module.c alcf->rules = ngx_array_create(cf->pool, 4, pool 331 http/modules/ngx_http_access_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_access_loc_conf_t)); pool 114 http/modules/ngx_http_addition_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_addition_ctx_t)); pool 213 http/modules/ngx_http_addition_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_addition_conf_t)); pool 265 http/modules/ngx_http_auth_basic_module.c pwd.data = ngx_pnalloc(r->pool, pwd.len + 1); pool 290 http/modules/ngx_http_auth_basic_module.c rc = ngx_crypt(r->pool, r->headers_in.passwd.data, passwd->data, pool 319 http/modules/ngx_http_auth_basic_module.c ctx = ngx_palloc(r->pool, sizeof(ngx_http_auth_basic_ctx_t)); pool 329 http/modules/ngx_http_auth_basic_module.c ctx->passwd.data = ngx_pstrdup(r->pool, passwd); pool 372 http/modules/ngx_http_auth_basic_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_auth_basic_loc_conf_t)); pool 433 http/modules/ngx_http_auth_basic_module.c basic = ngx_pnalloc(cf->pool, len); pool 17 http/modules/ngx_http_autoindex_module.c ngx_pool_t *pool; pool 149 http/modules/ngx_http_autoindex_module.c ngx_pool_t *pool; pool 224 http/modules/ngx_http_autoindex_module.c pool = r->pool; pool 226 http/modules/ngx_http_autoindex_module.c if (ngx_array_init(&entries, pool, 40, sizeof(ngx_http_autoindex_entry_t)) pool 292 http/modules/ngx_http_autoindex_module.c filename = ngx_pnalloc(pool, allocated); pool 333 http/modules/ngx_http_autoindex_module.c entry->name.data = ngx_pnalloc(pool, len + 1); pool 384 http/modules/ngx_http_autoindex_module.c b = ngx_create_temp_buf(r->pool, len); pool 589 http/modules/ngx_http_autoindex_module.c ctx->buf = ngx_create_temp_buf(ctx->pool, ctx->alloc_size); pool 594 http/modules/ngx_http_autoindex_module.c cl = ngx_alloc_chain_link(ctx->pool); pool 628 http/modules/ngx_http_autoindex_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_autoindex_loc_conf_t)); pool 424 http/modules/ngx_http_browser_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_browser_conf_t)); pool 560 http/modules/ngx_http_browser_module.c bcf->modern_browsers = ngx_array_create(cf->pool, 5, pool 646 http/modules/ngx_http_browser_module.c bcf->ancient_browsers = ngx_array_create(cf->pool, 4, pool 672 http/modules/ngx_http_browser_module.c bcf->modern_browser_value = ngx_palloc(cf->pool, pool 697 http/modules/ngx_http_browser_module.c bcf->ancient_browser_value = ngx_palloc(cf->pool, pool 99 http/modules/ngx_http_charset_filter_module.c static ngx_chain_t *ngx_http_charset_recode_from_utf8(ngx_pool_t *pool, pool 101 http/modules/ngx_http_charset_filter_module.c static ngx_chain_t *ngx_http_charset_recode_to_utf8(ngx_pool_t *pool, pool 104 http/modules/ngx_http_charset_filter_module.c static ngx_chain_t *ngx_http_charset_get_buf(ngx_pool_t *pool, pool 106 http/modules/ngx_http_charset_filter_module.c static ngx_chain_t *ngx_http_charset_get_buffer(ngx_pool_t *pool, pool 399 http/modules/ngx_http_charset_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_charset_ctx_t)); pool 514 http/modules/ngx_http_charset_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_charset_ctx_t)); pool 565 http/modules/ngx_http_charset_filter_module.c *ll = ngx_alloc_chain_link(r->pool); pool 579 http/modules/ngx_http_charset_filter_module.c *ll = ngx_http_charset_recode_to_utf8(r->pool, b, ctx); pool 582 http/modules/ngx_http_charset_filter_module.c *ll = ngx_http_charset_recode_from_utf8(r->pool, b, ctx); pool 680 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_recode_from_utf8(ngx_pool_t *pool, ngx_buf_t *buf, pool 703 http/modules/ngx_http_charset_filter_module.c out = ngx_http_charset_get_buf(pool, ctx); pool 747 http/modules/ngx_http_charset_filter_module.c cl = ngx_http_charset_get_buffer(pool, ctx, size); pool 765 http/modules/ngx_http_charset_filter_module.c out = ngx_alloc_chain_link(pool); pool 778 http/modules/ngx_http_charset_filter_module.c ngx_log_debug1(NGX_LOG_DEBUG_HTTP, pool->log, 0, pool 809 http/modules/ngx_http_charset_filter_module.c out = ngx_http_charset_get_buf(pool, ctx); pool 834 http/modules/ngx_http_charset_filter_module.c cl = ngx_http_charset_get_buffer(pool, ctx, size); pool 850 http/modules/ngx_http_charset_filter_module.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, pool->log, 0, pool 858 http/modules/ngx_http_charset_filter_module.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, pool->log, 0, pool 881 http/modules/ngx_http_charset_filter_module.c cl = ngx_http_charset_get_buffer(pool, ctx, size); pool 937 http/modules/ngx_http_charset_filter_module.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, pool->log, 0, pool 961 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_recode_to_utf8(ngx_pool_t *pool, ngx_buf_t *buf, pool 979 http/modules/ngx_http_charset_filter_module.c out = ngx_alloc_chain_link(pool); pool 999 http/modules/ngx_http_charset_filter_module.c out = ngx_http_charset_get_buf(pool, ctx); pool 1029 http/modules/ngx_http_charset_filter_module.c cl = ngx_http_charset_get_buffer(pool, ctx, size); pool 1057 http/modules/ngx_http_charset_filter_module.c cl = ngx_http_charset_get_buffer(pool, ctx, size); pool 1088 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_get_buf(ngx_pool_t *pool, ngx_http_charset_ctx_t *ctx) pool 1103 http/modules/ngx_http_charset_filter_module.c cl = ngx_alloc_chain_link(pool); pool 1108 http/modules/ngx_http_charset_filter_module.c cl->buf = ngx_calloc_buf(pool); pool 1122 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_get_buffer(ngx_pool_t *pool, ngx_http_charset_ctx_t *ctx, pool 1146 http/modules/ngx_http_charset_filter_module.c cl = ngx_alloc_chain_link(pool); pool 1151 http/modules/ngx_http_charset_filter_module.c cl->buf = ngx_create_temp_buf(pool, size); pool 1220 http/modules/ngx_http_charset_filter_module.c table->src2dst = ngx_pcalloc(cf->pool, 256 * NGX_UTF_LEN); pool 1225 http/modules/ngx_http_charset_filter_module.c table->dst2src = ngx_pcalloc(cf->pool, 256 * sizeof(void *)); pool 1230 http/modules/ngx_http_charset_filter_module.c dst2src = ngx_pcalloc(cf->pool, 256); pool 1252 http/modules/ngx_http_charset_filter_module.c table->src2dst = ngx_palloc(cf->pool, 256); pool 1257 http/modules/ngx_http_charset_filter_module.c table->dst2src = ngx_palloc(cf->pool, 256); pool 1365 http/modules/ngx_http_charset_filter_module.c dst2src = ngx_pcalloc(cf->pool, 256); pool 1489 http/modules/ngx_http_charset_filter_module.c mcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_charset_main_conf_t)); pool 1494 http/modules/ngx_http_charset_filter_module.c if (ngx_array_init(&mcf->charsets, cf->pool, 2, sizeof(ngx_http_charset_t)) pool 1500 http/modules/ngx_http_charset_filter_module.c if (ngx_array_init(&mcf->tables, cf->pool, 1, pool 1507 http/modules/ngx_http_charset_filter_module.c if (ngx_array_init(&mcf->recodes, cf->pool, 2, pool 1523 http/modules/ngx_http_charset_filter_module.c lcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_charset_loc_conf_t)); pool 1650 http/modules/ngx_http_charset_filter_module.c src = ngx_pcalloc(cf->pool, sizeof(u_char *) * mcf->charsets.nelts); pool 1661 http/modules/ngx_http_charset_filter_module.c dst = ngx_pcalloc(cf->pool, sizeof(u_char *) * mcf->charsets.nelts); pool 112 http/modules/ngx_http_chunked_filter_module.c tl = ngx_alloc_chain_link(r->pool); pool 130 http/modules/ngx_http_chunked_filter_module.c b = ngx_calloc_buf(r->pool); pool 137 http/modules/ngx_http_chunked_filter_module.c chunk = ngx_palloc(r->pool, sizeof("0000000000000000" CRLF) - 1); pool 150 http/modules/ngx_http_chunked_filter_module.c b = ngx_calloc_buf(r->pool); pool 176 http/modules/ngx_http_chunked_filter_module.c b = ngx_calloc_buf(r->pool); pool 1048 http/modules/ngx_http_dav_module.c r->headers_out.location = ngx_palloc(r->pool, sizeof(ngx_table_elt_t)); pool 1059 http/modules/ngx_http_dav_module.c location = ngx_pnalloc(r->pool, r->uri.len); pool 1084 http/modules/ngx_http_dav_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_dav_loc_conf_t)); pool 158 http/modules/ngx_http_degradation_module.c dmcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_degradation_main_conf_t)); pool 172 http/modules/ngx_http_degradation_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_degradation_loc_conf_t)); pool 562 http/modules/ngx_http_fastcgi_module.c f = ngx_pcalloc(r->pool, sizeof(ngx_http_fastcgi_ctx_t)); pool 595 http/modules/ngx_http_fastcgi_module.c u->pipe = ngx_pcalloc(r->pool, sizeof(ngx_event_pipe_t)); pool 630 http/modules/ngx_http_fastcgi_module.c if (ngx_parse_url(r->pool, &url) != NGX_OK) { pool 641 http/modules/ngx_http_fastcgi_module.c u->resolved = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_resolved_t)); pool 740 http/modules/ngx_http_fastcgi_module.c ignored = ngx_palloc(r->pool, flcf->header_params * sizeof(void *)); pool 764 http/modules/ngx_http_fastcgi_module.c lowcase_key = ngx_pnalloc(r->pool, allocated); pool 824 http/modules/ngx_http_fastcgi_module.c b = ngx_create_temp_buf(r->pool, size); pool 829 http/modules/ngx_http_fastcgi_module.c cl = ngx_alloc_chain_link(r->pool); pool 1016 http/modules/ngx_http_fastcgi_module.c b = ngx_alloc_buf(r->pool); pool 1060 http/modules/ngx_http_fastcgi_module.c cl->next = ngx_alloc_chain_link(r->pool); pool 1068 http/modules/ngx_http_fastcgi_module.c b = ngx_create_temp_buf(r->pool, pool 1083 http/modules/ngx_http_fastcgi_module.c cl->next = ngx_alloc_chain_link(r->pool); pool 1388 http/modules/ngx_http_fastcgi_module.c p = ngx_pnalloc(r->pool, size); pool 1416 http/modules/ngx_http_fastcgi_module.c h->lowcase_key = ngx_pnalloc(r->pool, h->key.len); pool 1426 http/modules/ngx_http_fastcgi_module.c h->key.data = ngx_pnalloc(r->pool, pool 1547 http/modules/ngx_http_fastcgi_module.c f->split_parts = ngx_array_create(r->pool, 1, pool 1702 http/modules/ngx_http_fastcgi_module.c b = ngx_alloc_buf(p->pool); pool 1720 http/modules/ngx_http_fastcgi_module.c cl = ngx_alloc_chain_link(p->pool); pool 1946 http/modules/ngx_http_fastcgi_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_fastcgi_loc_conf_t)); pool 2302 http/modules/ngx_http_fastcgi_module.c conf->params_source = ngx_array_create(cf->pool, 6, pool 2317 http/modules/ngx_http_fastcgi_module.c conf->params_len = ngx_array_create(cf->pool, 64, 1); pool 2322 http/modules/ngx_http_fastcgi_module.c conf->params = ngx_array_create(cf->pool, 512, 1); pool 2454 http/modules/ngx_http_fastcgi_module.c hash.pool = cf->pool; pool 2496 http/modules/ngx_http_fastcgi_module.c v->data = ngx_pnalloc(r->pool, v->len); pool 2544 http/modules/ngx_http_fastcgi_module.c f = ngx_pcalloc(r->pool, sizeof(ngx_http_fastcgi_ctx_t)); pool 2588 http/modules/ngx_http_fastcgi_module.c f = ngx_pcalloc(r->pool, sizeof(ngx_http_fastcgi_ctx_t)); pool 2683 http/modules/ngx_http_fastcgi_module.c rc.pool = cf->pool; pool 112 http/modules/ngx_http_flv_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) pool 193 http/modules/ngx_http_flv_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 207 http/modules/ngx_http_flv_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 212 http/modules/ngx_http_flv_module.c b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t)); pool 40 http/modules/ngx_http_geo_module.c ngx_pool_t *pool; pool 298 http/modules/ngx_http_geo_module.c ngx_pool_t *pool; pool 306 http/modules/ngx_http_geo_module.c geo = ngx_palloc(cf->pool, sizeof(ngx_http_geo_ctx_t)); pool 335 http/modules/ngx_http_geo_module.c pool = ngx_create_pool(16384, cf->log); pool 336 http/modules/ngx_http_geo_module.c if (pool == NULL) { pool 349 http/modules/ngx_http_geo_module.c ctx.pool = cf->pool; pool 356 http/modules/ngx_http_geo_module.c cf->pool = pool; pool 379 http/modules/ngx_http_geo_module.c ctx.high.low[i] = ngx_palloc(cf->pool, len + sizeof(void *)); pool 408 http/modules/ngx_http_geo_module.c ngx_destroy_pool(pool); pool 412 http/modules/ngx_http_geo_module.c ctx.tree = ngx_radix_tree_create(cf->pool, -1); pool 424 http/modules/ngx_http_geo_module.c ngx_destroy_pool(pool); pool 505 http/modules/ngx_http_geo_module.c ngx_reset_pool(cf->pool); pool 511 http/modules/ngx_http_geo_module.c ngx_reset_pool(cf->pool); pool 550 http/modules/ngx_http_geo_module.c ctx->high.low = ngx_pcalloc(ctx->pool, pool 897 http/modules/ngx_http_geo_module.c ctx->tree = ngx_radix_tree_create(ctx->pool, -1); pool 990 http/modules/ngx_http_geo_module.c val = ngx_palloc(ctx->pool, sizeof(ngx_http_variable_value_t)); pool 996 http/modules/ngx_http_geo_module.c val->data = ngx_pstrdup(ctx->pool, value); pool 1033 http/modules/ngx_http_geo_module.c ctx->proxies = ngx_array_create(ctx->pool, 4, sizeof(ngx_in_cidr_t)); pool 1213 http/modules/ngx_http_geo_module.c base = ngx_palloc(ctx->pool, size); pool 1332 http/modules/ngx_http_geo_module.c fm.log = ctx->pool->log; pool 233 http/modules/ngx_http_geoip_module.c v->data = ngx_pnalloc(r->pool, len); pool 284 http/modules/ngx_http_geoip_module.c v->data = ngx_pnalloc(r->pool, len); pool 319 http/modules/ngx_http_geoip_module.c v->data = ngx_pnalloc(r->pool, NGX_INT64_LEN + 5); pool 348 http/modules/ngx_http_geoip_module.c v->data = ngx_pnalloc(r->pool, NGX_INT64_LEN); pool 410 http/modules/ngx_http_geoip_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_geoip_conf_t)); pool 415 http/modules/ngx_http_geoip_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 282 http/modules/ngx_http_gzip_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_gzip_ctx_t)); pool 366 http/modules/ngx_http_gzip_filter_module.c if (ngx_chain_add_copy(r->pool, &ctx->in, in) != NGX_OK) { pool 471 http/modules/ngx_http_gzip_filter_module.c ngx_pfree(r->pool, ctx->preallocated); pool 544 http/modules/ngx_http_gzip_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 560 http/modules/ngx_http_gzip_filter_module.c buf = ngx_create_temp_buf(r->pool, size); pool 597 http/modules/ngx_http_gzip_filter_module.c ctx->preallocated = ngx_palloc(r->pool, ctx->allocated); pool 633 http/modules/ngx_http_gzip_filter_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 642 http/modules/ngx_http_gzip_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 736 http/modules/ngx_http_gzip_filter_module.c ctx->out_buf = ngx_create_temp_buf(r->pool, conf->bufs.size); pool 802 http/modules/ngx_http_gzip_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 825 http/modules/ngx_http_gzip_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 851 http/modules/ngx_http_gzip_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 888 http/modules/ngx_http_gzip_filter_module.c ngx_pfree(r->pool, ctx->preallocated); pool 890 http/modules/ngx_http_gzip_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 906 http/modules/ngx_http_gzip_filter_module.c b = ngx_create_temp_buf(r->pool, 8); pool 913 http/modules/ngx_http_gzip_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 992 http/modules/ngx_http_gzip_filter_module.c p = ngx_palloc(ctx->request->pool, items * size); pool 1017 http/modules/ngx_http_gzip_filter_module.c ngx_pfree(r->pool, cl->buf->start); pool 1058 http/modules/ngx_http_gzip_filter_module.c v->data = ngx_pnalloc(r->pool, NGX_INT32_LEN + 3); pool 1089 http/modules/ngx_http_gzip_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_gzip_conf_t)); pool 132 http/modules/ngx_http_gzip_static_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) pool 219 http/modules/ngx_http_gzip_static_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 224 http/modules/ngx_http_gzip_static_module.c b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t)); pool 259 http/modules/ngx_http_gzip_static_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_gzip_static_conf_t)); pool 209 http/modules/ngx_http_headers_filter_module.c if (ngx_array_init(&r->headers_out.cache_control, r->pool, pool 251 http/modules/ngx_http_headers_filter_module.c expires->value.data = ngx_pnalloc(r->pool, len); pool 287 http/modules/ngx_http_headers_filter_module.c cc->value.data = ngx_pnalloc(r->pool, pool 331 http/modules/ngx_http_headers_filter_module.c if (ngx_array_init(&r->headers_out.cache_control, r->pool, pool 407 http/modules/ngx_http_headers_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_headers_conf_t)); pool 567 http/modules/ngx_http_headers_filter_module.c hcf->headers = ngx_array_create(cf->pool, 1, pool 224 http/modules/ngx_http_image_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_image_filter_ctx_t)); pool 442 http/modules/ngx_http_image_filter_module.c ctx->image = ngx_palloc(r->pool, ctx->length); pool 539 http/modules/ngx_http_image_filter_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 566 http/modules/ngx_http_image_filter_module.c b->pos = ngx_pnalloc(r->pool, len); pool 590 http/modules/ngx_http_image_filter_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 943 http/modules/ngx_http_image_filter_module.c ngx_pfree(r->pool, ctx->image); pool 949 http/modules/ngx_http_image_filter_module.c cln = ngx_pool_cleanup_add(r->pool, 0); pool 955 http/modules/ngx_http_image_filter_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 1138 http/modules/ngx_http_image_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_image_filter_conf_t)); pool 1250 http/modules/ngx_http_image_filter_module.c imcf->acv = ngx_palloc(cf->pool, pool 1296 http/modules/ngx_http_image_filter_module.c imcf->wcv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); pool 1324 http/modules/ngx_http_image_filter_module.c imcf->hcv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); pool 1378 http/modules/ngx_http_image_filter_module.c imcf->jqcv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); pool 212 http/modules/ngx_http_index_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) pool 255 http/modules/ngx_http_index_module.c uri.data = ngx_pnalloc(r->pool, uri.len); pool 299 http/modules/ngx_http_index_module.c if (ngx_open_cached_file(clcf->open_file_cache, &dir, &of, r->pool) pool 367 http/modules/ngx_http_index_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_index_loc_conf_t)); pool 393 http/modules/ngx_http_index_module.c conf->indices = ngx_array_create(cf->pool, 1, sizeof(ngx_http_index_t)); pool 449 http/modules/ngx_http_index_module.c ilcf->indices = ngx_array_create(cf->pool, 2, sizeof(ngx_http_index_t)); pool 546 http/modules/ngx_http_limit_req_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_req_conf_t)); pool 662 http/modules/ngx_http_limit_req_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_req_ctx_t)); pool 170 http/modules/ngx_http_limit_zone_module.c cln = ngx_pool_cleanup_add(r->pool, sizeof(ngx_http_limit_zone_cleanup_t)); pool 399 http/modules/ngx_http_limit_zone_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_zone_conf_t)); pool 452 http/modules/ngx_http_limit_zone_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_zone_ctx_t)); pool 293 http/modules/ngx_http_log_module.c line = ngx_pnalloc(r->pool, len); pool 397 http/modules/ngx_http_log_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) pool 444 http/modules/ngx_http_log_module.c if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool) pool 744 http/modules/ngx_http_log_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_log_main_conf_t)); pool 749 http/modules/ngx_http_log_module.c if (ngx_array_init(&conf->formats, cf->pool, 4, sizeof(ngx_http_log_fmt_t)) pool 764 http/modules/ngx_http_log_module.c fmt->ops = ngx_array_create(cf->pool, 16, sizeof(ngx_http_log_op_t)); pool 778 http/modules/ngx_http_log_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_log_loc_conf_t)); pool 821 http/modules/ngx_http_log_module.c conf->logs = ngx_array_create(cf->pool, 2, sizeof(ngx_http_log_t)); pool 878 http/modules/ngx_http_log_module.c llcf->logs = ngx_array_create(cf->pool, 2, sizeof(ngx_http_log_t)); pool 906 http/modules/ngx_http_log_module.c log->script = ngx_pcalloc(cf->pool, sizeof(ngx_http_log_script_t)); pool 985 http/modules/ngx_http_log_module.c log->file->buffer = ngx_palloc(cf->pool, buf); pool 1028 http/modules/ngx_http_log_module.c fmt->flushes = ngx_array_create(cf->pool, 4, sizeof(ngx_int_t)); pool 1033 http/modules/ngx_http_log_module.c fmt->ops = ngx_array_create(cf->pool, 16, sizeof(ngx_http_log_op_t)); pool 1203 http/modules/ngx_http_log_module.c p = ngx_pnalloc(cf->pool, len); pool 1319 http/modules/ngx_http_log_module.c llcf->open_file_cache = ngx_open_file_cache_init(cf->pool, max, inactive); pool 1346 http/modules/ngx_http_log_module.c if (ngx_array_init(&a, cf->pool, 1, sizeof(ngx_str_t)) != NGX_OK) { pool 160 http/modules/ngx_http_map_module.c mcf = ngx_palloc(cf->pool, sizeof(ngx_http_map_conf_t)); pool 180 http/modules/ngx_http_map_module.c ngx_pool_t *pool; pool 199 http/modules/ngx_http_map_module.c map = ngx_pcalloc(cf->pool, sizeof(ngx_http_map_ctx_t)); pool 228 http/modules/ngx_http_map_module.c pool = ngx_create_pool(16384, cf->log); pool 229 http/modules/ngx_http_map_module.c if (pool == NULL) { pool 233 http/modules/ngx_http_map_module.c ctx.keys.pool = cf->pool; pool 234 http/modules/ngx_http_map_module.c ctx.keys.temp_pool = pool; pool 237 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 241 http/modules/ngx_http_map_module.c ctx.values_hash = ngx_pcalloc(pool, sizeof(ngx_array_t) * ctx.keys.hsize); pool 243 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 247 http/modules/ngx_http_map_module.c if (ngx_array_init(&ctx.var_values, cf->pool, 2, pool 251 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 256 http/modules/ngx_http_map_module.c if (ngx_array_init(&ctx.regexes, cf->pool, 2, sizeof(ngx_http_map_regex_t)) pool 259 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 269 http/modules/ngx_http_map_module.c cf->pool = pool; pool 279 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 290 http/modules/ngx_http_map_module.c hash.pool = cf->pool; pool 299 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 311 http/modules/ngx_http_map_module.c hash.temp_pool = pool; pool 317 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 331 http/modules/ngx_http_map_module.c hash.temp_pool = pool; pool 337 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 353 http/modules/ngx_http_map_module.c ngx_destroy_pool(pool); pool 426 http/modules/ngx_http_map_module.c var = ngx_palloc(ctx->keys.pool, sizeof(ngx_http_variable_value_t)); pool 470 http/modules/ngx_http_map_module.c if (ngx_array_init(&ctx->values_hash[key], cf->pool, 4, pool 478 http/modules/ngx_http_map_module.c var = ngx_palloc(ctx->keys.pool, sizeof(ngx_http_variable_value_t)); pool 484 http/modules/ngx_http_map_module.c var->data = ngx_pstrdup(ctx->keys.pool, &value[1]); pool 186 http/modules/ngx_http_memcached_module.c ctx = ngx_palloc(r->pool, sizeof(ngx_http_memcached_ctx_t)); pool 233 http/modules/ngx_http_memcached_module.c b = ngx_create_temp_buf(r->pool, len); pool 238 http/modules/ngx_http_memcached_module.c cl = ngx_alloc_chain_link(r->pool); pool 436 http/modules/ngx_http_memcached_module.c cl = ngx_chain_get_free_buf(ctx->request->pool, &u->free_bufs); pool 500 http/modules/ngx_http_memcached_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_memcached_loc_conf_t)); pool 564 http/modules/ngx_http_proxy_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_proxy_ctx_t)); pool 608 http/modules/ngx_http_proxy_module.c u->pipe = ngx_pcalloc(r->pool, sizeof(ngx_event_pipe_t)); pool 679 http/modules/ngx_http_proxy_module.c if (ngx_parse_url(r->pool, &url) != NGX_OK) { pool 690 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(r->pool, url.uri.len + 1); pool 710 http/modules/ngx_http_proxy_module.c u->resolved = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_resolved_t)); pool 798 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(r->pool, len); pool 962 http/modules/ngx_http_proxy_module.c b = ngx_create_temp_buf(r->pool, len); pool 967 http/modules/ngx_http_proxy_module.c cl = ngx_alloc_chain_link(r->pool); pool 1115 http/modules/ngx_http_proxy_module.c b = ngx_alloc_buf(r->pool); pool 1122 http/modules/ngx_http_proxy_module.c cl->next = ngx_alloc_chain_link(r->pool); pool 1225 http/modules/ngx_http_proxy_module.c u->headers_in.status_line.data = ngx_pnalloc(r->pool, len); pool 1270 http/modules/ngx_http_proxy_module.c h->key.data = ngx_pnalloc(r->pool, pool 1444 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(r->pool, v->len); pool 1479 http/modules/ngx_http_proxy_module.c v->data = ngx_pnalloc(r->connection->pool, NGX_SIZE_T_LEN); pool 1536 http/modules/ngx_http_proxy_module.c data = ngx_pnalloc(r->pool, len); pool 1586 http/modules/ngx_http_proxy_module.c data = ngx_pnalloc(r->pool, len); pool 1635 http/modules/ngx_http_proxy_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_proxy_loc_conf_t)); pool 1967 http/modules/ngx_http_proxy_module.c conf->redirects = ngx_array_create(cf->pool, 1, pool 1987 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(cf->pool, pr->redirect.len); pool 2069 http/modules/ngx_http_proxy_module.c conf->headers_source = ngx_array_create(cf->pool, 4, pool 2133 http/modules/ngx_http_proxy_module.c conf->headers_source = ngx_array_create(cf->pool, 4, pool 2140 http/modules/ngx_http_proxy_module.c conf->headers_set_len = ngx_array_create(cf->pool, 64, 1); pool 2145 http/modules/ngx_http_proxy_module.c conf->headers_set = ngx_array_create(cf->pool, 512, 1); pool 2334 http/modules/ngx_http_proxy_module.c hash.pool = cf->pool; pool 2507 http/modules/ngx_http_proxy_module.c plcf->redirects = ngx_array_create(cf->pool, 1, pool 2543 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(cf->pool, pr->redirect.len); pool 2749 http/modules/ngx_http_proxy_module.c plcf->upstream.ssl = ngx_pcalloc(cf->pool, sizeof(ngx_ssl_t)); pool 2763 http/modules/ngx_http_proxy_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 143 http/modules/ngx_http_random_index_module.c if (ngx_array_init(&names, r->pool, 32, sizeof(ngx_str_t)) != NGX_OK) { pool 182 http/modules/ngx_http_random_index_module.c filename = ngx_pnalloc(r->pool, allocated); pool 222 http/modules/ngx_http_random_index_module.c name->data = ngx_pnalloc(r->pool, len); pool 247 http/modules/ngx_http_random_index_module.c uri.data = ngx_pnalloc(r->pool, uri.len); pool 277 http/modules/ngx_http_random_index_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_random_index_loc_conf_t)); pool 184 http/modules/ngx_http_range_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_range_filter_ctx_t)); pool 189 http/modules/ngx_http_range_filter_module.c if (ngx_array_init(&ctx->ranges, r->pool, 1, sizeof(ngx_http_range_t)) pool 358 http/modules/ngx_http_range_filter_module.c content_range->value.data = ngx_pnalloc(r->pool, pool 403 http/modules/ngx_http_range_filter_module.c ctx->boundary_header.data = ngx_pnalloc(r->pool, len); pool 448 http/modules/ngx_http_range_filter_module.c ngx_pnalloc(r->pool, pool 478 http/modules/ngx_http_range_filter_module.c ngx_pnalloc(r->pool, 3 * NGX_OFF_T_LEN + 2 + 4); pool 522 http/modules/ngx_http_range_filter_module.c content_range->value.data = ngx_pnalloc(r->pool, pool 737 http/modules/ngx_http_range_filter_module.c b = ngx_calloc_buf(r->pool); pool 746 http/modules/ngx_http_range_filter_module.c hcl = ngx_alloc_chain_link(r->pool); pool 756 http/modules/ngx_http_range_filter_module.c b = ngx_calloc_buf(r->pool); pool 765 http/modules/ngx_http_range_filter_module.c rcl = ngx_alloc_chain_link(r->pool); pool 775 http/modules/ngx_http_range_filter_module.c b = ngx_calloc_buf(r->pool); pool 796 http/modules/ngx_http_range_filter_module.c dcl = ngx_alloc_chain_link(r->pool); pool 811 http/modules/ngx_http_range_filter_module.c b = ngx_calloc_buf(r->pool); pool 819 http/modules/ngx_http_range_filter_module.c b->pos = ngx_pnalloc(r->pool, sizeof(CRLF "--") - 1 + NGX_ATOMIC_T_LEN pool 830 http/modules/ngx_http_range_filter_module.c hcl = ngx_alloc_chain_link(r->pool); pool 252 http/modules/ngx_http_realip_module.c cln = ngx_pool_cleanup_add(r->pool, sizeof(ngx_http_realip_ctx_t)); pool 262 http/modules/ngx_http_realip_module.c rc = ngx_parse_addr(c->pool, &addr, ip, len); pool 273 http/modules/ngx_http_realip_module.c p = ngx_pnalloc(c->pool, len); pool 333 http/modules/ngx_http_realip_module.c rlcf->from = ngx_array_create(cf->pool, 2, pool 403 http/modules/ngx_http_realip_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_realip_loc_conf_t)); pool 231 http/modules/ngx_http_referer_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_referer_conf_t)); pool 283 http/modules/ngx_http_referer_module.c hash.pool = cf->pool; pool 382 http/modules/ngx_http_referer_module.c rlcf->keys->pool = cf->pool; pool 383 http/modules/ngx_http_referer_module.c rlcf->keys->temp_pool = cf->pool; pool 479 http/modules/ngx_http_referer_module.c u = ngx_palloc(cf->pool, sizeof(ngx_str_t)); pool 522 http/modules/ngx_http_referer_module.c rlcf->regex = ngx_array_create(cf->pool, 2, sizeof(ngx_regex_elt_t)); pool 546 http/modules/ngx_http_referer_module.c rc.pool = cf->pool; pool 148 http/modules/ngx_http_rewrite_module.c e = ngx_pcalloc(r->pool, sizeof(ngx_http_script_engine_t)); pool 153 http/modules/ngx_http_rewrite_module.c e->sp = ngx_pcalloc(r->pool, pool 221 http/modules/ngx_http_rewrite_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_rewrite_loc_conf_t)); pool 306 http/modules/ngx_http_rewrite_module.c regex = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 441 http/modules/ngx_http_rewrite_module.c ret = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 503 http/modules/ngx_http_rewrite_module.c code = ngx_http_script_start_code(cf->pool, &lcf->codes, sizeof(uintptr_t)); pool 530 http/modules/ngx_http_rewrite_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); pool 539 http/modules/ngx_http_rewrite_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 705 http/modules/ngx_http_rewrite_module.c code = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 722 http/modules/ngx_http_rewrite_module.c code = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 737 http/modules/ngx_http_rewrite_module.c regex = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 788 http/modules/ngx_http_rewrite_module.c fop = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 866 http/modules/ngx_http_rewrite_module.c var_code = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 925 http/modules/ngx_http_rewrite_module.c vhcode = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 938 http/modules/ngx_http_rewrite_module.c vcode = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 963 http/modules/ngx_http_rewrite_module.c val = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 983 http/modules/ngx_http_rewrite_module.c complex = ngx_http_script_start_code(cf->pool, &lcf->codes, pool 384 http/modules/ngx_http_scgi_module.c status = ngx_pcalloc(r->pool, sizeof(ngx_http_status_t)); pool 417 http/modules/ngx_http_scgi_module.c u->pipe = ngx_pcalloc(r->pool, sizeof(ngx_event_pipe_t)); pool 452 http/modules/ngx_http_scgi_module.c if (ngx_parse_url(r->pool, &url) != NGX_OK) { pool 463 http/modules/ngx_http_scgi_module.c u->resolved = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_resolved_t)); pool 564 http/modules/ngx_http_scgi_module.c ignored = ngx_palloc(r->pool, scf->header_params * sizeof(void *)); pool 588 http/modules/ngx_http_scgi_module.c lowcase_key = ngx_pnalloc(r->pool, allocated); pool 623 http/modules/ngx_http_scgi_module.c b = ngx_create_temp_buf(r->pool, NGX_SIZE_T_LEN + 1 + len + 1); pool 628 http/modules/ngx_http_scgi_module.c cl = ngx_alloc_chain_link(r->pool); pool 735 http/modules/ngx_http_scgi_module.c b = ngx_alloc_buf(r->pool); pool 742 http/modules/ngx_http_scgi_module.c cl->next = ngx_alloc_chain_link(r->pool); pool 825 http/modules/ngx_http_scgi_module.c u->headers_in.status_line.data = ngx_pnalloc(r->pool, len); pool 872 http/modules/ngx_http_scgi_module.c h->key.data = ngx_pnalloc(r->pool, pool 993 http/modules/ngx_http_scgi_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_scgi_loc_conf_t)); pool 1309 http/modules/ngx_http_scgi_module.c conf->params_source = ngx_array_create(cf->pool, 6, pool 1324 http/modules/ngx_http_scgi_module.c conf->params_len = ngx_array_create(cf->pool, 64, 1); pool 1329 http/modules/ngx_http_scgi_module.c conf->params = ngx_array_create(cf->pool, 512, 1); pool 1467 http/modules/ngx_http_scgi_module.c hash.pool = cf->pool; pool 141 http/modules/ngx_http_secure_link_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_secure_link_ctx_t)); pool 297 http/modules/ngx_http_secure_link_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_secure_link_conf_t)); pool 121 http/modules/ngx_http_split_clients_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_split_clients_ctx_t)); pool 150 http/modules/ngx_http_split_clients_module.c if (ngx_array_init(&ctx->parts, cf->pool, 2, pool 332 http/modules/ngx_http_ssi_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_ssi_ctx_t)); pool 349 http/modules/ngx_http_ssi_filter_module.c ctx->params.pool = r->pool; pool 398 http/modules/ngx_http_ssi_filter_module.c if (ngx_chain_add_copy(r->pool, &ctx->in, in) != NGX_OK) { pool 480 http/modules/ngx_http_ssi_filter_module.c b = ngx_calloc_buf(r->pool); pool 485 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 509 http/modules/ngx_http_ssi_filter_module.c b = ngx_alloc_buf(r->pool); pool 514 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 550 http/modules/ngx_http_ssi_filter_module.c b = ngx_create_temp_buf(r->pool, pool 565 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 651 http/modules/ngx_http_ssi_filter_module.c b = ngx_create_temp_buf(r->pool, len); pool 657 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 819 http/modules/ngx_http_ssi_filter_module.c b = ngx_calloc_buf(r->pool); pool 824 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 852 http/modules/ngx_http_ssi_filter_module.c b = ngx_calloc_buf(r->pool); pool 857 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 1125 http/modules/ngx_http_ssi_filter_module.c ctx->command.data = ngx_pnalloc(r->pool, pool 1192 http/modules/ngx_http_ssi_filter_module.c ctx->param->key.data = ngx_pnalloc(r->pool, pool 1203 http/modules/ngx_http_ssi_filter_module.c ctx->param->value.data = ngx_pnalloc(r->pool, pool 1382 http/modules/ngx_http_ssi_filter_module.c value = ngx_pnalloc(r->pool, ctx->param->value.len + 1); pool 1600 http/modules/ngx_http_ssi_filter_module.c data = ngx_pnalloc(r->pool, len); pool 1638 http/modules/ngx_http_ssi_filter_module.c if (ngx_array_init(&lengths, r->pool, 8, sizeof(size_t *)) != NGX_OK) { pool 1642 http/modules/ngx_http_ssi_filter_module.c if (ngx_array_init(&values, r->pool, 8, sizeof(u_char *)) != NGX_OK) { pool 1797 http/modules/ngx_http_ssi_filter_module.c p = ngx_pnalloc(r->pool, len + ((flags & NGX_HTTP_SSI_ADD_ZERO) ? 1 : 0)); pool 1942 http/modules/ngx_http_ssi_filter_module.c psr = ngx_palloc(r->pool, sizeof(ngx_http_post_subrequest_t)); pool 1962 http/modules/ngx_http_ssi_filter_module.c b = ngx_alloc_buf(r->pool); pool 1967 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 1998 http/modules/ngx_http_ssi_filter_module.c psr = ngx_palloc(r->pool, sizeof(ngx_http_post_subrequest_t)); pool 2009 http/modules/ngx_http_ssi_filter_module.c mctx->variables = ngx_list_create(r->pool, 4, pool 2176 http/modules/ngx_http_ssi_filter_module.c p = ngx_pnalloc(r->pool, value->len + len); pool 2191 http/modules/ngx_http_ssi_filter_module.c p = ngx_pnalloc(r->pool, value->len + len); pool 2207 http/modules/ngx_http_ssi_filter_module.c b = ngx_calloc_buf(r->pool); pool 2212 http/modules/ngx_http_ssi_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 2240 http/modules/ngx_http_ssi_filter_module.c ctx->timefmt.data = ngx_pnalloc(r->pool, value->len + 1); pool 2270 http/modules/ngx_http_ssi_filter_module.c mctx->variables = ngx_list_create(r->pool, 4, pool 2463 http/modules/ngx_http_ssi_filter_module.c rgc.pool = r->pool; pool 2557 http/modules/ngx_http_ssi_filter_module.c mctx->blocks = ngx_array_create(r->pool, 4, pool 2615 http/modules/ngx_http_ssi_filter_module.c v->data = ngx_pnalloc(r->pool, NGX_TIME_T_LEN); pool 2637 http/modules/ngx_http_ssi_filter_module.c v->data = ngx_pnalloc(r->pool, v->len); pool 2693 http/modules/ngx_http_ssi_filter_module.c smcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_main_conf_t)); pool 2698 http/modules/ngx_http_ssi_filter_module.c smcf->commands.pool = cf->pool; pool 2721 http/modules/ngx_http_ssi_filter_module.c hash.pool = cf->pool; pool 2740 http/modules/ngx_http_ssi_filter_module.c slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_loc_conf_t)); pool 13 http/modules/ngx_http_ssl_module.c ngx_pool_t *pool, ngx_str_t *s); pool 257 http/modules/ngx_http_ssl_module.c if (handler(r->connection, r->pool, &s) != NGX_OK) { pool 303 http/modules/ngx_http_ssl_module.c sscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssl_srv_conf_t)); pool 418 http/modules/ngx_http_ssl_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 97 http/modules/ngx_http_static_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) pool 142 http/modules/ngx_http_static_module.c r->headers_out.location = ngx_palloc(r->pool, sizeof(ngx_table_elt_t)); pool 159 http/modules/ngx_http_static_module.c location = ngx_pnalloc(r->pool, len); pool 224 http/modules/ngx_http_static_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 229 http/modules/ngx_http_static_module.c b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t)); pool 95 http/modules/ngx_http_stub_status_module.c b = ngx_create_temp_buf(r->pool, size); pool 145 http/modules/ngx_http_sub_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_sub_ctx_t)); pool 150 http/modules/ngx_http_sub_filter_module.c ctx->saved.data = ngx_pnalloc(r->pool, slcf->match.len); pool 155 http/modules/ngx_http_sub_filter_module.c ctx->looked.data = ngx_pnalloc(r->pool, slcf->match.len); pool 213 http/modules/ngx_http_sub_filter_module.c if (ngx_chain_add_copy(r->pool, &ctx->in, in) != NGX_OK) { pool 265 http/modules/ngx_http_sub_filter_module.c b = ngx_calloc_buf(r->pool); pool 270 http/modules/ngx_http_sub_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 278 http/modules/ngx_http_sub_filter_module.c b->pos = ngx_pnalloc(r->pool, ctx->saved.len); pool 299 http/modules/ngx_http_sub_filter_module.c b = ngx_alloc_buf(r->pool); pool 304 http/modules/ngx_http_sub_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 346 http/modules/ngx_http_sub_filter_module.c b = ngx_calloc_buf(r->pool); pool 351 http/modules/ngx_http_sub_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 395 http/modules/ngx_http_sub_filter_module.c b = ngx_calloc_buf(r->pool); pool 400 http/modules/ngx_http_sub_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 658 http/modules/ngx_http_sub_filter_module.c slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_sub_loc_conf_t)); pool 99 http/modules/ngx_http_upstream_ip_hash_module.c iphp = ngx_palloc(r->pool, sizeof(ngx_http_upstream_ip_hash_peer_data_t)); pool 300 http/modules/ngx_http_userid_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_userid_ctx_t)); pool 382 http/modules/ngx_http_userid_filter_module.c cookie = ngx_pnalloc(r->pool, len); pool 552 http/modules/ngx_http_userid_filter_module.c v->data = ngx_pnalloc(r->pool, v->len); pool 596 http/modules/ngx_http_userid_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_userid_conf_t)); pool 670 http/modules/ngx_http_userid_filter_module.c new = ngx_pnalloc(cf->pool, sizeof("; domain=") - 1 + domain->len); pool 692 http/modules/ngx_http_userid_filter_module.c new = ngx_pnalloc(cf->pool, sizeof("; path=") - 1 + path->len); pool 417 http/modules/ngx_http_uwsgi_module.c status = ngx_pcalloc(r->pool, sizeof(ngx_http_status_t)); pool 450 http/modules/ngx_http_uwsgi_module.c u->pipe = ngx_pcalloc(r->pool, sizeof(ngx_event_pipe_t)); pool 485 http/modules/ngx_http_uwsgi_module.c if (ngx_parse_url(r->pool, &url) != NGX_OK) { pool 496 http/modules/ngx_http_uwsgi_module.c u->resolved = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_resolved_t)); pool 592 http/modules/ngx_http_uwsgi_module.c ignored = ngx_palloc(r->pool, uwcf->header_params * sizeof(void *)); pool 616 http/modules/ngx_http_uwsgi_module.c lowcase_key = ngx_pnalloc(r->pool, allocated); pool 660 http/modules/ngx_http_uwsgi_module.c b = ngx_create_temp_buf(r->pool, len + 4); pool 665 http/modules/ngx_http_uwsgi_module.c cl = ngx_alloc_chain_link(r->pool); pool 786 http/modules/ngx_http_uwsgi_module.c b = ngx_alloc_buf(r->pool); pool 793 http/modules/ngx_http_uwsgi_module.c cl->next = ngx_alloc_chain_link(r->pool); pool 875 http/modules/ngx_http_uwsgi_module.c u->headers_in.status_line.data = ngx_pnalloc(r->pool, len); pool 922 http/modules/ngx_http_uwsgi_module.c h->key.data = ngx_pnalloc(r->pool, pool 1043 http/modules/ngx_http_uwsgi_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_uwsgi_loc_conf_t)); pool 1367 http/modules/ngx_http_uwsgi_module.c conf->params_source = ngx_array_create(cf->pool, 6, pool 1382 http/modules/ngx_http_uwsgi_module.c conf->params_len = ngx_array_create(cf->pool, 64, 1); pool 1387 http/modules/ngx_http_uwsgi_module.c conf->params = ngx_array_create(cf->pool, 512, 1); pool 1518 http/modules/ngx_http_uwsgi_module.c hash.pool = cf->pool; pool 192 http/modules/ngx_http_xslt_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_xslt_filter_ctx_t)); pool 287 http/modules/ngx_http_xslt_filter_module.c cln = ngx_pool_cleanup_add(r->pool, 0); pool 462 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&ctx->params, r->pool, 4 * 2 + 1, sizeof(char *)) pool 525 http/modules/ngx_http_xslt_filter_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 732 http/modules/ngx_http_xslt_filter_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 777 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&xlcf->sheets, cf->pool, 1, pool 806 http/modules/ngx_http_xslt_filter_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 838 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&sheet->params, cf->pool, n - 2, pool 887 http/modules/ngx_http_xslt_filter_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_xslt_filter_main_conf_t)); pool 892 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&conf->dtd_files, cf->pool, 1, pool 899 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&conf->sheet_files, cf->pool, 1, pool 915 http/modules/ngx_http_xslt_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_xslt_filter_loc_conf_t)); pool 194 http/modules/perl/ngx_http_perl_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_perl_ctx_t)); pool 308 http/modules/perl/ngx_http_perl_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_perl_ctx_t)); pool 370 http/modules/perl/ngx_http_perl_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_perl_ctx_t)); pool 416 http/modules/perl/ngx_http_perl_module.c asv = ngx_pcalloc(r->pool, (i + 1) * sizeof(SV *)); pool 460 http/modules/perl/ngx_http_perl_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 470 http/modules/perl/ngx_http_perl_module.c pmcf->modules = ngx_array_create(cf->pool, 1, sizeof(ngx_str_t)); pool 579 http/modules/perl/ngx_http_perl_module.c embedding = ngx_palloc(cf->pool, (4 + n) * sizeof(char *)); pool 718 http/modules/perl/ngx_http_perl_module.c rv->data = ngx_pnalloc(r->pool, n_a); pool 794 http/modules/perl/ngx_http_perl_module.c pmcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_perl_main_conf_t)); pool 876 http/modules/perl/ngx_http_perl_module.c plcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_perl_loc_conf_t)); pool 984 http/modules/perl/ngx_http_perl_module.c pv = ngx_palloc(cf->pool, sizeof(ngx_http_perl_variable_t)); pool 131 http/ngx_http.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); pool 153 http/ngx_http.c ctx->main_conf = ngx_pcalloc(cf->pool, pool 165 http/ngx_http.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 176 http/ngx_http.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 352 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) pool 359 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) pool 366 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) pool 373 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) pool 380 http/ngx_http.c cf->pool, 2, sizeof(ngx_http_handler_pt)) pool 387 http/ngx_http.c cf->pool, 4, sizeof(ngx_http_handler_pt)) pool 394 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) pool 434 http/ngx_http.c hash.pool = cf->pool; pool 467 http/ngx_http.c ph = ngx_pcalloc(cf->pool, pool 743 http/ngx_http.c clcfp = ngx_palloc(cf->pool, pool 769 http/ngx_http.c clcfp = ngx_palloc(cf->pool, pool 1079 http/ngx_http.c node = ngx_palloc(cf->pool, pool 1469 http/ngx_http.c ha.pool = cf->pool; pool 1516 http/ngx_http.c hash.pool = cf->pool; pool 1572 http/ngx_http.c addr->regex = ngx_palloc(cf->pool, regex * sizeof(ngx_http_server_name_t)); pool 1683 http/ngx_http.c hport = ngx_pcalloc(cf->pool, sizeof(ngx_http_port_t)); pool 1792 http/ngx_http.c hport->addrs = ngx_pcalloc(cf->pool, pool 1822 http/ngx_http.c vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); pool 1853 http/ngx_http.c hport->addrs = ngx_pcalloc(cf->pool, pool 1883 http/ngx_http.c vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); pool 1996 http/ngx_http.c hash.pool = cf->pool; pool 2026 http/ngx_http.c hash.pool = cf->pool; pool 212 http/ngx_http_busy_lock.c bl = ngx_pcalloc(cf->pool, sizeof(ngx_http_busy_lock_t)); pool 219 http/ngx_http_busy_lock.c bl->mutex = ngx_pcalloc(cf->pool, sizeof(ngx_event_mutex_t)); pool 96 http/ngx_http_copy_filter_module.c ctx = ngx_pcalloc(r->pool, sizeof(ngx_output_chain_ctx_t)); pool 113 http/ngx_http_copy_filter_module.c ctx->pool = r->pool; pool 178 http/ngx_http_copy_filter_module.c n = ngx_file_aio_read(file, &e->aio_preload, 1, offset, r->pool); pool 263 http/ngx_http_copy_filter_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_copy_filter_conf_t)); pool 978 http/ngx_http_core_module.c p = ngx_pnalloc(r->pool, len); pool 1273 http/ngx_http_core_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) pool 1306 http/ngx_http_core_module.c r->uri.data = ngx_pnalloc(r->pool, r->uri.len); pool 1651 http/ngx_http_core_module.c lowcase = ngx_pnalloc(r->pool, len); pool 1697 http/ngx_http_core_module.c exten = ngx_pnalloc(r->pool, r->exten.len); pool 1804 http/ngx_http_core_module.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 1887 http/ngx_http_core_module.c path->data = ngx_pnalloc(r->pool, path->len); pool 1979 http/ngx_http_core_module.c auth.data = ngx_pnalloc(r->pool, auth.len + 1); pool 2185 http/ngx_http_core_module.c sr = ngx_pcalloc(r->pool, sizeof(ngx_http_request_t)); pool 2195 http/ngx_http_core_module.c sr->ctx = ngx_pcalloc(r->pool, sizeof(void *) * ngx_http_max_module); pool 2200 http/ngx_http_core_module.c if (ngx_list_init(&sr->headers_out.headers, r->pool, 20, pool 2212 http/ngx_http_core_module.c sr->pool = r->pool; pool 2258 http/ngx_http_core_module.c pr = ngx_palloc(r->pool, sizeof(ngx_http_postponed_request_t)); pool 2410 http/ngx_http_core_module.c cln = ngx_palloc(r->pool, sizeof(ngx_http_cleanup_t)); pool 2416 http/ngx_http_core_module.c cln->data = ngx_palloc(r->pool, size); pool 2451 http/ngx_http_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); pool 2461 http/ngx_http_core_module.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 2468 http/ngx_http_core_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 2574 http/ngx_http_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); pool 2583 http/ngx_http_core_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 2804 http/ngx_http_core_module.c clcf->types = ngx_array_create(cf->pool, 64, sizeof(ngx_hash_key_t)); pool 2845 http/ngx_http_core_module.c content_type = ngx_palloc(cf->pool, sizeof(ngx_str_t)); pool 2898 http/ngx_http_core_module.c cmcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_core_main_conf_t)); pool 2903 http/ngx_http_core_module.c if (ngx_array_init(&cmcf->servers, cf->pool, 4, pool 2961 http/ngx_http_core_module.c cscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_core_srv_conf_t)); pool 3055 http/ngx_http_core_module.c conf->server_name.data = ngx_pstrdup(cf->pool, &name); pool 3069 http/ngx_http_core_module.c clcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_core_loc_conf_t)); pool 3222 http/ngx_http_core_module.c types_hash.pool = cf->pool; pool 3238 http/ngx_http_core_module.c conf->types = ngx_array_create(cf->pool, 4, sizeof(ngx_hash_key_t)); pool 3264 http/ngx_http_core_module.c types_hash.pool = cf->pool; pool 3450 http/ngx_http_core_module.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { pool 3915 http/ngx_http_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); pool 3924 http/ngx_http_core_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 4012 http/ngx_http_core_module.c clcf->error_pages = ngx_array_create(cf->pool, 4, pool 4138 http/ngx_http_core_module.c tf = ngx_pcalloc(cf->pool, cf->args->nelts * sizeof(ngx_http_try_file_t)); pool 4267 http/ngx_http_core_module.c clcf->open_file_cache = ngx_open_file_cache_init(cf->pool, max, inactive); pool 4378 http/ngx_http_core_module.c if (ngx_inet_resolve_host(cf->pool, &u) != NGX_OK) { pool 4408 http/ngx_http_core_module.c clcf->gzip_disable = ngx_array_create(cf->pool, 2, pool 4419 http/ngx_http_core_module.c rc.pool = cf->pool; pool 153 http/ngx_http_file_cache.c c = ngx_pcalloc(r->pool, sizeof(ngx_http_cache_t)); pool 158 http/ngx_http_file_cache.c if (ngx_array_init(&c->keys, r->pool, 4, sizeof(ngx_str_t)) != NGX_OK) { pool 182 http/ngx_http_file_cache.c cln = ngx_pool_cleanup_add(r->pool, 0); pool 256 http/ngx_http_file_cache.c cln = ngx_pool_cleanup_add(r->pool, 0); pool 326 http/ngx_http_file_cache.c if (ngx_open_cached_file(clcf->open_file_cache, &c->file.name, &of, r->pool) pool 353 http/ngx_http_file_cache.c c->buf = ngx_create_temp_buf(r->pool, c->body_start); pool 465 http/ngx_http_file_cache.c n = ngx_file_aio_read(&c->file, c->buf->pos, c->body_start, 0, r->pool); pool 628 http/ngx_http_file_cache.c c->file.name.data = ngx_pnalloc(r->pool, c->file.name.len + 1); pool 871 http/ngx_http_file_cache.c b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); pool 876 http/ngx_http_file_cache.c b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t)); pool 1520 http/ngx_http_file_cache.c cache = ngx_pcalloc(cf->pool, sizeof(ngx_http_file_cache_t)); pool 1525 http/ngx_http_file_cache.c cache->path = ngx_pcalloc(cf->pool, sizeof(ngx_path_t)); pool 1702 http/ngx_http_file_cache.c *a = ngx_array_create(cf->pool, 1, sizeof(ngx_http_cache_valid_t)); pool 1799 http/ngx_http_file_cache.c *a = ngx_array_create(cf->pool, 1, sizeof(ngx_http_complex_value_t)); pool 438 http/ngx_http_header_filter_module.c b = ngx_create_temp_buf(r->pool, len); pool 1598 http/ngx_http_parse.c ngx_log_debug2(NGX_LOG_DEBUG_HTTP, headers->pool->log, 0, pool 149 http/ngx_http_postpone_filter_module.c pr = ngx_palloc(r->pool, sizeof(ngx_http_postponed_request_t)); pool 162 http/ngx_http_postpone_filter_module.c if (ngx_chain_add_copy(r->pool, &pr->out, in) == NGX_OK) { pool 187 http/ngx_http_request.c ctx = ngx_palloc(c->pool, sizeof(ngx_http_log_ctx_t)); pool 275 http/ngx_http_request.c hc = ngx_pcalloc(c->pool, sizeof(ngx_http_connection_t)); pool 294 http/ngx_http_request.c r = ngx_pcalloc(c->pool, sizeof(ngx_http_request_t)); pool 440 http/ngx_http_request.c c->buffer = ngx_create_temp_buf(c->pool, pool 452 http/ngx_http_request.c r->pool = ngx_create_pool(cscf->request_pool_size, c->log); pool 453 http/ngx_http_request.c if (r->pool == NULL) { pool 459 http/ngx_http_request.c if (ngx_list_init(&r->headers_out.headers, r->pool, 20, pool 463 http/ngx_http_request.c ngx_destroy_pool(r->pool); pool 468 http/ngx_http_request.c r->ctx = ngx_pcalloc(r->pool, sizeof(void *) * ngx_http_max_module); pool 470 http/ngx_http_request.c ngx_destroy_pool(r->pool); pool 477 http/ngx_http_request.c r->variables = ngx_pcalloc(r->pool, cmcf->variables.nelts pool 480 http/ngx_http_request.c ngx_destroy_pool(r->pool); pool 738 http/ngx_http_request.c r->uri.data = ngx_pnalloc(r->pool, r->uri.len + 1); pool 873 http/ngx_http_request.c if (ngx_list_init(&r->headers_in.headers, r->pool, 20, pool 882 http/ngx_http_request.c if (ngx_array_init(&r->headers_in.cookies, r->pool, 2, pool 1049 http/ngx_http_request.c h->lowcase_key = ngx_pnalloc(r->pool, h->key.len); pool 1221 http/ngx_http_request.c hc->busy = ngx_palloc(r->connection->pool, pool 1228 http/ngx_http_request.c b = ngx_create_temp_buf(r->connection->pool, pool 1701 http/ngx_http_request.c *host = ngx_pnalloc(r->pool, last) ; pool 1848 http/ngx_http_request.c pr = ngx_palloc(r->pool, sizeof(ngx_http_posted_request_t)); pool 2427 http/ngx_http_request.c hc->free = ngx_palloc(c->pool, pool 2490 http/ngx_http_request.c if (ngx_pfree(c->pool, r) == NGX_OK) { pool 2496 http/ngx_http_request.c if (ngx_pfree(c->pool, b->start) == NGX_OK) { pool 2515 http/ngx_http_request.c ngx_pfree(c->pool, hc->free[i]->start); pool 2527 http/ngx_http_request.c ngx_pfree(c->pool, hc->busy[i]->start); pool 2653 http/ngx_http_request.c b->pos = ngx_palloc(c->pool, size); pool 2840 http/ngx_http_request.c b = ngx_calloc_buf(r->pool); pool 2939 http/ngx_http_request.c if (r->pool == NULL) { pool 2996 http/ngx_http_request.c ngx_destroy_pool(r->pool); pool 3021 http/ngx_http_request.c ngx_pool_t *pool; pool 3043 http/ngx_http_request.c pool = c->pool; pool 3047 http/ngx_http_request.c ngx_destroy_pool(pool); pool 367 http/ngx_http_request.h ngx_pool_t *pool; pool 50 http/ngx_http_request_body.c rb = ngx_pcalloc(r->pool, sizeof(ngx_http_request_body_t)); pool 67 http/ngx_http_request_body.c tf = ngx_pcalloc(r->pool, sizeof(ngx_temp_file_t)); pool 75 http/ngx_http_request_body.c tf->pool = r->pool; pool 87 http/ngx_http_request_body.c if (ngx_create_temp_file(&tf->file, tf->path, tf->pool, pool 119 http/ngx_http_request_body.c b = ngx_calloc_buf(r->pool); pool 130 http/ngx_http_request_body.c rb->bufs = ngx_alloc_chain_link(r->pool); pool 204 http/ngx_http_request_body.c rb->buf = ngx_create_temp_buf(r->pool, size); pool 209 http/ngx_http_request_body.c cl = ngx_alloc_chain_link(r->pool); pool 356 http/ngx_http_request_body.c b = ngx_calloc_buf(r->pool); pool 395 http/ngx_http_request_body.c tf = ngx_pcalloc(r->pool, sizeof(ngx_temp_file_t)); pool 405 http/ngx_http_request_body.c tf->pool = r->pool; pool 86 http/ngx_http_script.c value->data = ngx_pnalloc(r->pool, len); pool 156 http/ngx_http_script.c if (ngx_array_init(&flushes, ccv->cf->pool, n, sizeof(ngx_uint_t)) pool 166 http/ngx_http_script.c if (ngx_array_init(&lengths, ccv->cf->pool, n, 1) != NGX_OK) { pool 177 http/ngx_http_script.c if (ngx_array_init(&values, ccv->cf->pool, n, 1) != NGX_OK) { pool 229 http/ngx_http_script.c *cv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); pool 291 http/ngx_http_script.c *a = ngx_array_create(cf->pool, 1, sizeof(ngx_http_complex_value_t)); pool 520 http/ngx_http_script.c value->data = ngx_pnalloc(r->pool, len); pool 562 http/ngx_http_script.c *sc->flushes = ngx_array_create(sc->cf->pool, n, sizeof(ngx_uint_t)); pool 573 http/ngx_http_script.c *sc->lengths = ngx_array_create(sc->cf->pool, n, 1); pool 587 http/ngx_http_script.c *sc->values = ngx_array_create(sc->cf->pool, n, 1); pool 645 http/ngx_http_script.c ngx_http_script_start_code(ngx_pool_t *pool, ngx_array_t **codes, size_t size) pool 648 http/ngx_http_script.c *codes = ngx_array_create(pool, 256, 1); pool 1052 http/ngx_http_script.c e->buf.data = ngx_pnalloc(r->pool, e->buf.len); pool 1506 http/ngx_http_script.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) pool 1627 http/ngx_http_script.c e->buf.data = ngx_pnalloc(e->request->pool, len); pool 226 http/ngx_http_script.h void *ngx_http_script_start_code(ngx_pool_t *pool, ngx_array_t **codes, pool 660 http/ngx_http_special_response.c b = ngx_calloc_buf(r->pool); pool 672 http/ngx_http_special_response.c b = ngx_calloc_buf(r->pool); pool 686 http/ngx_http_special_response.c b = ngx_calloc_buf(r->pool); pool 754 http/ngx_http_special_response.c b = ngx_create_temp_buf(r->pool, size); pool 382 http/ngx_http_upstream.c u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); pool 498 http/ngx_http_upstream.c u->output.pool = r->pool; pool 504 http/ngx_http_upstream.c u->writer.pool = r->pool; pool 508 http/ngx_http_upstream.c r->upstream_states = ngx_array_create(r->pool, 1, pool 793 http/ngx_http_upstream.c if (ngx_list_init(&u->headers_in.headers, r->pool, 8, pool 1128 http/ngx_http_upstream.c c->pool = r->pool; pool 1158 http/ngx_http_upstream.c u->output.free = ngx_alloc_chain_link(r->pool); pool 1276 http/ngx_http_upstream.c if (ngx_list_init(&u->headers_in.headers, r->pool, 8, pool 1295 http/ngx_http_upstream.c u->output.free = ngx_alloc_chain_link(r->pool); pool 1477 http/ngx_http_upstream.c u->buffer.start = ngx_palloc(r->pool, u->conf->buffer_size); pool 1491 http/ngx_http_upstream.c if (ngx_list_init(&u->headers_in.headers, r->pool, 8, pool 2042 http/ngx_http_upstream.c ngx_pool_run_cleanup_file(r->pool, r->request_body->temp_file->file.fd); pool 2120 http/ngx_http_upstream.c ngx_pool_run_cleanup_file(r->pool, r->cache->file.fd); pool 2211 http/ngx_http_upstream.c p->pool = r->pool; pool 2216 http/ngx_http_upstream.c p->temp_file = ngx_pcalloc(r->pool, sizeof(ngx_temp_file_t)); pool 2225 http/ngx_http_upstream.c p->temp_file->pool = r->pool; pool 2239 http/ngx_http_upstream.c p->preread_bufs = ngx_alloc_chain_link(r->pool); pool 2253 http/ngx_http_upstream.c p->buf_to_file = ngx_calloc_buf(r->pool); pool 2490 http/ngx_http_upstream.c cl = ngx_chain_get_free_buf(r->pool, &u->free_bufs); pool 2715 http/ngx_http_upstream.c tf = ngx_pcalloc(r->pool, sizeof(ngx_temp_file_t)); pool 2723 http/ngx_http_upstream.c tf->pool = r->pool; pool 2726 http/ngx_http_upstream.c if (ngx_create_temp_file(&tf->file, tf->path, tf->pool, pool 3089 http/ngx_http_upstream.c if (ngx_array_init(pa, r->pool, 2, sizeof(ngx_table_elt_t *)) != NGX_OK) pool 3352 http/ngx_http_upstream.c if (ngx_array_init(pa, r->pool, 2, sizeof(ngx_table_elt_t *)) != NGX_OK) pool 3666 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); pool 3727 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); pool 3793 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); pool 3861 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); pool 3973 http/ngx_http_upstream.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); pool 3983 http/ngx_http_upstream.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 3995 http/ngx_http_upstream.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); pool 4064 http/ngx_http_upstream.c uscf->servers = ngx_array_create(cf->pool, 4, pool 4085 http/ngx_http_upstream.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { pool 4200 http/ngx_http_upstream.c if (ngx_parse_url(cf->pool, u) != NGX_OK) { pool 4259 http/ngx_http_upstream.c uscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_srv_conf_t)); pool 4272 http/ngx_http_upstream.c uscf->servers = ngx_array_create(cf->pool, 1, pool 4312 http/ngx_http_upstream.c *paddr = ngx_palloc(cf->pool, sizeof(ngx_addr_t)); pool 4319 http/ngx_http_upstream.c rc = ngx_parse_addr(cf->pool, *paddr, value[1].data, value[1].len); pool 4440 http/ngx_http_upstream.c hash->pool = cf->pool; pool 4452 http/ngx_http_upstream.c umcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_main_conf_t)); pool 4457 http/ngx_http_upstream.c if (ngx_array_init(&umcf->upstreams, cf->pool, 4, pool 4518 http/ngx_http_upstream.c hash.pool = cf->pool; pool 42 http/ngx_http_upstream_round_robin.c peers = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_rr_peers_t) pool 94 http/ngx_http_upstream_round_robin.c backup = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_rr_peers_t) pool 149 http/ngx_http_upstream_round_robin.c if (ngx_inet_resolve_host(cf->pool, &u) != NGX_OK) { pool 161 http/ngx_http_upstream_round_robin.c peers = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_rr_peers_t) pool 211 http/ngx_http_upstream_round_robin.c rrp = ngx_palloc(r->pool, sizeof(ngx_http_upstream_rr_peer_data_t)); pool 230 http/ngx_http_upstream_round_robin.c rrp->tried = ngx_pcalloc(r->pool, n * sizeof(uintptr_t)); pool 264 http/ngx_http_upstream_round_robin.c rrp = ngx_palloc(r->pool, sizeof(ngx_http_upstream_rr_peer_data_t)); pool 272 http/ngx_http_upstream_round_robin.c peers = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_rr_peers_t) pool 297 http/ngx_http_upstream_round_robin.c p = ngx_pnalloc(r->pool, len); pool 305 http/ngx_http_upstream_round_robin.c sin = ngx_pcalloc(r->pool, sizeof(struct sockaddr_in)); pool 336 http/ngx_http_upstream_round_robin.c rrp->tried = ngx_pcalloc(r->pool, n * sizeof(uintptr_t)); pool 297 http/ngx_http_variables.c v = ngx_palloc(cf->pool, sizeof(ngx_http_variable_t)); pool 303 http/ngx_http_variables.c v->name.data = ngx_pnalloc(cf->pool, name->len); pool 344 http/ngx_http_variables.c if (ngx_array_init(&cmcf->variables, cf->pool, 4, pool 369 http/ngx_http_variables.c v->name.data = ngx_pnalloc(cf->pool, name->len); pool 460 http/ngx_http_variables.c vv = ngx_palloc(r->pool, sizeof(ngx_http_variable_value_t)); pool 470 http/ngx_http_variables.c vv = ngx_palloc(r->pool, sizeof(ngx_http_variable_value_t)); pool 576 http/ngx_http_variables.c v->data = ngx_pnalloc(r->pool, NGX_SIZE_T_LEN); pool 677 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, len); pool 959 http/ngx_http_variables.c v->data = ngx_pnalloc(r->pool, sizeof("65535") - 1); pool 1001 http/ngx_http_variables.c s.data = ngx_pnalloc(r->pool, s.len); pool 1037 http/ngx_http_variables.c v->data = ngx_pnalloc(r->pool, sizeof("65535") - 1); pool 1190 http/ngx_http_variables.c v->data = ngx_pnalloc(r->pool, len); pool 1306 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, NGX_OFF_T_LEN); pool 1357 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, NGX_OFF_T_LEN); pool 1418 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, pool 1477 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, sizeof("timeout=") - 1 + NGX_TIME_T_LEN); pool 1575 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, len); pool 1648 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, NGX_INT64_LEN); pool 1730 http/ngx_http_variables.c rc->pool = cf->pool; pool 1737 http/ngx_http_variables.c re = ngx_pcalloc(cf->pool, sizeof(ngx_http_regex_t)); pool 1754 http/ngx_http_variables.c rv = ngx_palloc(rc->pool, n * sizeof(ngx_http_regex_variable_t)); pool 1805 http/ngx_http_variables.c r->captures = ngx_palloc(r->pool, len * sizeof(int)); pool 1877 http/ngx_http_variables.c cmcf->variables_keys->pool = cf->pool; pool 1878 http/ngx_http_variables.c cmcf->variables_keys->temp_pool = cf->pool; pool 2006 http/ngx_http_variables.c hash.pool = cf->pool; pool 115 http/ngx_http_write_filter_module.c cl = ngx_alloc_chain_link(r->pool); pool 284 http/ngx_http_write_filter_module.c ngx_free_chain(r->pool, ln); pool 93 mail/ngx_mail.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_mail_conf_ctx_t)); pool 114 mail/ngx_mail.c ctx->main_conf = ngx_pcalloc(cf->pool, pool 126 mail/ngx_mail.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); pool 380 mail/ngx_mail.c mport = ngx_palloc(cf->pool, sizeof(ngx_mail_port_t)); pool 430 mail/ngx_mail.c mport->addrs = ngx_pcalloc(cf->pool, pool 450 mail/ngx_mail.c p = ngx_pnalloc(cf->pool, len); pool 478 mail/ngx_mail.c mport->addrs = ngx_pcalloc(cf->pool, pool 498 mail/ngx_mail.c p = ngx_pnalloc(cf->pool, len); pool 57 mail/ngx_mail_auth_http_module.c ngx_pool_t *pool; pool 73 mail/ngx_mail_auth_http_module.c ngx_pool_t *pool, ngx_mail_auth_http_conf_t *ahcf); pool 74 mail/ngx_mail_auth_http_module.c static ngx_int_t ngx_mail_auth_http_escape(ngx_pool_t *pool, ngx_str_t *text, pool 155 mail/ngx_mail_auth_http_module.c ngx_pool_t *pool; pool 161 mail/ngx_mail_auth_http_module.c pool = ngx_create_pool(2048, s->connection->log); pool 162 mail/ngx_mail_auth_http_module.c if (pool == NULL) { pool 167 mail/ngx_mail_auth_http_module.c ctx = ngx_pcalloc(pool, sizeof(ngx_mail_auth_http_ctx_t)); pool 169 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(pool); pool 174 mail/ngx_mail_auth_http_module.c ctx->pool = pool; pool 178 mail/ngx_mail_auth_http_module.c ctx->request = ngx_mail_auth_http_create_request(s, pool, ahcf); pool 180 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 201 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 207 mail/ngx_mail_auth_http_module.c ctx->peer.connection->pool = s->connection->pool; pool 246 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 257 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 274 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 309 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 315 mail/ngx_mail_auth_http_module.c ctx->response = ngx_create_temp_buf(ctx->pool, 1024); pool 318 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 340 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 428 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 532 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(s->connection->pool, size); pool 535 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 597 mail/ngx_mail_auth_http_module.c s->login.data = ngx_pnalloc(s->connection->pool, s->login.len); pool 600 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 618 mail/ngx_mail_auth_http_module.c s->passwd.data = ngx_pnalloc(s->connection->pool, pool 622 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 656 mail/ngx_mail_auth_http_module.c ctx->errcode.data = ngx_pnalloc(s->connection->pool, pool 660 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 696 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(s->connection->pool, ctx->err.len); pool 699 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 715 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 733 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 751 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 762 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 767 mail/ngx_mail_auth_http_module.c peer = ngx_pcalloc(s->connection->pool, sizeof(ngx_addr_t)); pool 769 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 776 mail/ngx_mail_auth_http_module.c sin = ngx_pcalloc(s->connection->pool, sizeof(struct sockaddr_in)); pool 778 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 791 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 804 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 816 mail/ngx_mail_auth_http_module.c peer->name.data = ngx_pnalloc(s->connection->pool, len); pool 818 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 831 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 847 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 1114 mail/ngx_mail_auth_http_module.c ngx_destroy_pool(ctx->pool); pool 1129 mail/ngx_mail_auth_http_module.c ngx_mail_auth_http_create_request(ngx_mail_session_t *s, ngx_pool_t *pool, pool 1137 mail/ngx_mail_auth_http_module.c if (ngx_mail_auth_http_escape(pool, &s->login, &login) != NGX_OK) { pool 1141 mail/ngx_mail_auth_http_module.c if (ngx_mail_auth_http_escape(pool, &s->passwd, &passwd) != NGX_OK) { pool 1168 mail/ngx_mail_auth_http_module.c b = ngx_create_temp_buf(pool, len); pool 1270 mail/ngx_mail_auth_http_module.c ngx_mail_auth_http_escape(ngx_pool_t *pool, ngx_str_t *text, ngx_str_t *escaped) pool 1284 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(pool, escaped->len); pool 1302 mail/ngx_mail_auth_http_module.c ahcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_auth_http_conf_t)); pool 1355 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(cf->pool, len); pool 1397 mail/ngx_mail_auth_http_module.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { pool 1434 mail/ngx_mail_auth_http_module.c ahcf->headers = ngx_array_create(cf->pool, 1, sizeof(ngx_table_elt_t)); pool 121 mail/ngx_mail_core_module.c cmcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_core_main_conf_t)); pool 126 mail/ngx_mail_core_module.c if (ngx_array_init(&cmcf->servers, cf->pool, 4, pool 133 mail/ngx_mail_core_module.c if (ngx_array_init(&cmcf->listen, cf->pool, 4, sizeof(ngx_mail_listen_t)) pool 148 mail/ngx_mail_core_module.c cscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_core_srv_conf_t)); pool 216 mail/ngx_mail_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_mail_conf_ctx_t)); pool 226 mail/ngx_mail_core_module.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); pool 303 mail/ngx_mail_core_module.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { pool 515 mail/ngx_mail_core_module.c if (ngx_inet_resolve_host(cf->pool, &u) != NGX_OK) { pool 117 mail/ngx_mail_handler.c s = ngx_pcalloc(c->pool, sizeof(ngx_mail_session_t)); pool 134 mail/ngx_mail_handler.c ctx = ngx_palloc(c->pool, sizeof(ngx_mail_log_ctx_t)); pool 280 mail/ngx_mail_handler.c s->ctx = ngx_pcalloc(c->pool, sizeof(void *) * ngx_mail_max_module); pool 296 mail/ngx_mail_handler.c s->salt.data = ngx_pnalloc(c->pool, pool 348 mail/ngx_mail_handler.c plain.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len)); pool 405 mail/ngx_mail_handler.c s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len)); pool 435 mail/ngx_mail_handler.c s->passwd.data = ngx_pnalloc(c->pool, pool 464 mail/ngx_mail_handler.c p = ngx_pnalloc(c->pool, len + ngx_base64_encoded_length(s->salt.len) + 2); pool 496 mail/ngx_mail_handler.c s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[0].len)); pool 696 mail/ngx_mail_handler.c ngx_pool_t *pool; pool 718 mail/ngx_mail_handler.c pool = c->pool; pool 722 mail/ngx_mail_handler.c ngx_destroy_pool(pool); pool 77 mail/ngx_mail_imap_handler.c if (ngx_array_init(&s->args, c->pool, 2, sizeof(ngx_str_t)) pool 86 mail/ngx_mail_imap_handler.c s->buffer = ngx_create_temp_buf(c->pool, iscf->client_buffer_size); pool 255 mail/ngx_mail_imap_handler.c s->tagged_line.data = ngx_pnalloc(c->pool, s->tagged_line.len); pool 313 mail/ngx_mail_imap_handler.c s->login.data = ngx_pnalloc(c->pool, s->login.len); pool 321 mail/ngx_mail_imap_handler.c s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); pool 117 mail/ngx_mail_imap_module.c iscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_imap_srv_conf_t)); pool 124 mail/ngx_mail_imap_module.c if (ngx_array_init(&iscf->capabilities, cf->pool, 4, sizeof(ngx_str_t)) pool 187 mail/ngx_mail_imap_module.c p = ngx_pnalloc(cf->pool, size); pool 220 mail/ngx_mail_imap_module.c p = ngx_pnalloc(cf->pool, size); pool 237 mail/ngx_mail_imap_module.c p = ngx_pnalloc(cf->pool, size); pool 49 mail/ngx_mail_pop3_handler.c s->out.data = ngx_pnalloc(c->pool, sizeof(pop3_greeting) + s->salt.len); pool 97 mail/ngx_mail_pop3_handler.c if (ngx_array_init(&s->args, c->pool, 2, sizeof(ngx_str_t)) pool 104 mail/ngx_mail_pop3_handler.c s->buffer = ngx_create_temp_buf(c->pool, 128); pool 294 mail/ngx_mail_pop3_handler.c s->login.data = ngx_pnalloc(c->pool, s->login.len); pool 321 mail/ngx_mail_pop3_handler.c s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); pool 414 mail/ngx_mail_pop3_handler.c s->login.data = ngx_pnalloc(c->pool, s->login.len); pool 422 mail/ngx_mail_pop3_handler.c s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); pool 116 mail/ngx_mail_pop3_module.c pscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_pop3_srv_conf_t)); pool 121 mail/ngx_mail_pop3_module.c if (ngx_array_init(&pscf->capabilities, cf->pool, 4, sizeof(ngx_str_t)) pool 186 mail/ngx_mail_pop3_module.c p = ngx_pnalloc(cf->pool, size); pool 216 mail/ngx_mail_pop3_module.c p = ngx_pnalloc(cf->pool, size); pool 239 mail/ngx_mail_pop3_module.c p = ngx_pnalloc(cf->pool, stls_only_size); pool 135 mail/ngx_mail_proxy_module.c p = ngx_pcalloc(s->connection->pool, sizeof(ngx_mail_proxy_ctx_t)); pool 160 mail/ngx_mail_proxy_module.c p->upstream.connection->pool = s->connection->pool; pool 167 mail/ngx_mail_proxy_module.c s->proxy->buffer = ngx_create_temp_buf(s->connection->pool, pool 256 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 275 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 371 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 390 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 410 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 507 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 544 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 576 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 600 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 620 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); pool 1059 mail/ngx_mail_proxy_module.c pcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_proxy_conf_t)); pool 129 mail/ngx_mail_smtp_handler.c s->host.data = ngx_pstrdup(c->pool, &ctx->name); pool 366 mail/ngx_mail_smtp_handler.c if (ngx_array_init(&s->args, c->pool, 2, sizeof(ngx_str_t)) == NGX_ERROR) { pool 373 mail/ngx_mail_smtp_handler.c s->buffer = ngx_create_temp_buf(c->pool, sscf->client_buffer_size); pool 534 mail/ngx_mail_smtp_handler.c s->smtp_helo.data = ngx_pnalloc(c->pool, arg[0].len); pool 698 mail/ngx_mail_smtp_handler.c s->smtp_from.data = ngx_pnalloc(c->pool, l.len); pool 751 mail/ngx_mail_smtp_handler.c s->smtp_to.data = ngx_pnalloc(c->pool, l.len); pool 117 mail/ngx_mail_smtp_module.c sscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_smtp_srv_conf_t)); pool 125 mail/ngx_mail_smtp_module.c if (ngx_array_init(&sscf->capabilities, cf->pool, 4, sizeof(ngx_str_t)) pool 165 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); pool 180 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); pool 220 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); pool 268 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); pool 288 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); pool 154 mail/ngx_mail_ssl_module.c scf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_ssl_conf_t)); pool 259 mail/ngx_mail_ssl_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); pool 70 misc/ngx_google_perftools_module.c gptcf = ngx_pcalloc(cycle->pool, sizeof(ngx_google_perftools_conf_t)); pool 208 os/unix/ngx_channel.c c->pool = cycle->pool; pool 82 os/unix/ngx_darwin_sendfile_chain.c header.pool = c->pool; pool 87 os/unix/ngx_darwin_sendfile_chain.c trailer.pool = c->pool; pool 40 os/unix/ngx_file_aio_read.c ngx_pool_t *pool) pool 53 os/unix/ngx_file_aio_read.c aio = ngx_pcalloc(pool, sizeof(ngx_event_aio_t)); pool 152 os/unix/ngx_files.c ngx_pool_t *pool) pool 171 os/unix/ngx_files.c vec.pool = pool; pool 106 os/unix/ngx_files.h off_t offset, ngx_pool_t *pool); pool 331 os/unix/ngx_files.h off_t offset, ngx_pool_t *pool); pool 86 os/unix/ngx_freebsd_sendfile_chain.c header.pool = c->pool; pool 91 os/unix/ngx_freebsd_sendfile_chain.c trailer.pool = c->pool; pool 28 os/unix/ngx_linux_aio_read.c ngx_pool_t *pool) pool 42 os/unix/ngx_linux_aio_read.c aio = ngx_pcalloc(pool, sizeof(ngx_event_aio_t)); pool 75 os/unix/ngx_linux_sendfile_chain.c header.pool = c->pool; pool 123 os/unix/ngx_process_cycle.c title = ngx_pnalloc(cycle->pool, size); pool 710 os/unix/ngx_process_cycle.c ngx_destroy_pool(cycle->pool); pool 1063 os/unix/ngx_process_cycle.c ngx_destroy_pool(cycle->pool); pool 64 os/unix/ngx_readv_chain.c vec.pool = c->pool; pool 188 os/unix/ngx_readv_chain.c vec.pool = c->pool; pool 81 os/unix/ngx_solaris_sendfilev_chain.c vec.pool = c->pool; pool 26 os/unix/ngx_user.c ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) pool 46 os/unix/ngx_user.c *encrypted = ngx_pnalloc(pool, len); pool 53 os/unix/ngx_user.c ngx_log_error(NGX_LOG_CRIT, pool->log, err, "crypt_r() failed"); pool 61 os/unix/ngx_user.c ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) pool 84 os/unix/ngx_user.c *encrypted = ngx_pnalloc(pool, len); pool 101 os/unix/ngx_user.c ngx_log_error(NGX_LOG_CRIT, pool->log, err, "crypt() failed"); pool 19 os/unix/ngx_user.h ngx_int_t ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, pool 61 os/unix/ngx_writev_chain.c vec.pool = c->pool;