MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ngx_palloc

Function ngx_palloc

app/nginx-1.28.0/src/core/ngx_palloc.c:122–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122void *
123ngx_palloc(ngx_pool_t *pool, size_t size)
124{
125#if !(NGX_DEBUG_PALLOC)
126 if (size <= pool->max) {
127 return ngx_palloc_small(pool, size, 1);
128 }
129#endif
130
131 return ngx_palloc_large(pool, size);
132}
133
134
135void *

Callers 15

ngx_http_init_locationsFunction · 0.85
ngx_http_add_locationFunction · 0.85
ngx_http_server_namesFunction · 0.85
ngx_http_add_addrsFunction · 0.85
ngx_http_add_addrs6Function · 0.85
ngx_http_subrequestFunction · 0.85
ngx_http_cleanup_addFunction · 0.85
ngx_http_core_typeFunction · 0.85
ngx_http_core_set_aioFunction · 0.85

Calls 2

ngx_palloc_smallFunction · 0.85
ngx_palloc_largeFunction · 0.85

Tested by

no test coverage detected