Searched refs:shpool (Results 1 - 12 of 12) sorted by relevance

/tldk/app/nginx/src/http/modules/
H A Dngx_http_upstream_zone_module.c18 ngx_slab_pool_t *shpool, ngx_http_upstream_srv_conf_t *uscf);
123 ngx_slab_pool_t *shpool; local
128 shpool = (ngx_slab_pool_t *) shm_zone->shm.addr;
133 peers = shpool->data;
151 shpool->log_ctx = ngx_slab_alloc(shpool, len);
152 if (shpool->log_ctx == NULL) {
156 ngx_sprintf(shpool->log_ctx, " in upstream zone \"%V\"%Z",
162 peersp = (ngx_http_upstream_rr_peers_t **) (void *) &shpool->data;
171 peers = ngx_http_upstream_zone_copy_peers(shpool, usc
185 ngx_http_upstream_zone_copy_peers(ngx_slab_pool_t *shpool, ngx_http_upstream_srv_conf_t *uscf) argument
[all...]
H A Dngx_http_limit_conn_module.c147 ngx_slab_pool_t *shpool; local
186 shpool = (ngx_slab_pool_t *) limits[i].shm_zone->shm.addr;
188 ngx_shmtx_lock(&shpool->mutex);
198 node = ngx_slab_alloc_locked(shpool, n);
201 ngx_shmtx_unlock(&shpool->mutex);
221 ngx_shmtx_unlock(&shpool->mutex);
237 ngx_shmtx_unlock(&shpool->mutex);
341 ngx_slab_pool_t *shpool; local
347 shpool = (ngx_slab_pool_t *) lccln->shm_zone->shm.addr;
351 ngx_shmtx_lock(&shpool
389 ngx_slab_pool_t *shpool; local
[all...]
H A Dngx_http_limit_req_module.c35 ngx_slab_pool_t *shpool; member in struct:__anon162
207 ngx_shmtx_lock(&ctx->shpool->mutex);
212 ngx_shmtx_unlock(&ctx->shpool->mutex);
245 ngx_shmtx_lock(&ctx->shpool->mutex);
249 ngx_shmtx_unlock(&ctx->shpool->mutex);
438 node = ngx_slab_alloc_locked(ctx->shpool, size);
443 node = ngx_slab_alloc_locked(ctx->shpool, size);
446 "could not allocate node%s", ctx->shpool->log_ctx);
507 ngx_shmtx_lock(&ctx->shpool->mutex);
522 ngx_shmtx_unlock(&ctx->shpool
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_upstream_zone_module.c18 ngx_slab_pool_t *shpool, ngx_stream_upstream_srv_conf_t *uscf);
120 ngx_slab_pool_t *shpool; local
125 shpool = (ngx_slab_pool_t *) shm_zone->shm.addr;
130 peers = shpool->data;
148 shpool->log_ctx = ngx_slab_alloc(shpool, len);
149 if (shpool->log_ctx == NULL) {
153 ngx_sprintf(shpool->log_ctx, " in upstream zone \"%V\"%Z",
159 peersp = (ngx_stream_upstream_rr_peers_t **) (void *) &shpool->data;
168 peers = ngx_stream_upstream_zone_copy_peers(shpool, usc
182 ngx_stream_upstream_zone_copy_peers(ngx_slab_pool_t *shpool, ngx_stream_upstream_srv_conf_t *uscf) argument
[all...]
H A Dngx_stream_upstream_round_robin.h63 ngx_slab_pool_t *shpool; member in struct:ngx_stream_upstream_rr_peers_s
85 if (peers->shpool) { \
91 if (peers->shpool) { \
97 if (peers->shpool) { \
104 if (peers->shpool) { \
110 if (peers->shpool) { \
H A Dngx_stream_limit_conn_module.c131 ngx_slab_pool_t *shpool; local
164 shpool = (ngx_slab_pool_t *) limits[i].shm_zone->shm.addr;
166 ngx_shmtx_lock(&shpool->mutex);
176 node = ngx_slab_alloc_locked(shpool, n);
179 ngx_shmtx_unlock(&shpool->mutex);
199 ngx_shmtx_unlock(&shpool->mutex);
215 ngx_shmtx_unlock(&shpool->mutex);
320 ngx_slab_pool_t *shpool; local
326 shpool = (ngx_slab_pool_t *) lccln->shm_zone->shm.addr;
330 ngx_shmtx_lock(&shpool
368 ngx_slab_pool_t *shpool; local
[all...]
H A Dngx_stream_upstream_round_robin.c717 if (peers->shpool) {
777 if (peers->shpool) {
805 ngx_shmtx_lock(&peers->shpool->mutex);
808 ngx_slab_free_locked(peers->shpool, peer->ssl_session);
811 peer->ssl_session = ngx_slab_alloc_locked(peers->shpool, len);
813 ngx_shmtx_unlock(&peers->shpool->mutex);
/tldk/app/nginx/src/http/
H A Dngx_http_upstream_round_robin.h65 ngx_slab_pool_t *shpool; member in struct:ngx_http_upstream_rr_peers_s
87 if (peers->shpool) { \
93 if (peers->shpool) { \
99 if (peers->shpool) { \
106 if (peers->shpool) { \
112 if (peers->shpool) { \
H A Dngx_http_file_cache.c115 cache->shpool = ocache->shpool;
127 cache->shpool = (ngx_slab_pool_t *) shm_zone->shm.addr;
130 cache->sh = cache->shpool->data;
136 cache->sh = ngx_slab_alloc(cache->shpool, sizeof(ngx_http_file_cache_sh_t));
141 cache->shpool->data = cache->sh;
160 cache->shpool->log_ctx = ngx_slab_alloc(cache->shpool, len);
161 if (cache->shpool->log_ctx == NULL) {
165 ngx_sprintf(cache->shpool
[all...]
H A Dngx_http_cache.h159 ngx_slab_pool_t *shpool; member in struct:ngx_http_file_cache_s
H A Dngx_http_upstream_round_robin.c685 if (peers->shpool) {
745 if (peers->shpool) {
773 ngx_shmtx_lock(&peers->shpool->mutex);
776 ngx_slab_free_locked(peers->shpool, peer->ssl_session);
779 peer->ssl_session = ngx_slab_alloc_locked(peers->shpool, len);
781 ngx_shmtx_unlock(&peers->shpool->mutex);
/tldk/app/nginx/src/event/
H A Dngx_event_openssl.c48 ngx_slab_pool_t *shpool, ngx_uint_t n);
2375 ngx_slab_pool_t *shpool; local
2383 shpool = (ngx_slab_pool_t *) shm_zone->shm.addr;
2386 shm_zone->data = shpool->data;
2390 cache = ngx_slab_alloc(shpool, sizeof(ngx_ssl_session_cache_t));
2395 shpool->data = cache;
2405 shpool->log_ctx = ngx_slab_alloc(shpool, len);
2406 if (shpool->log_ctx == NULL) {
2410 ngx_sprintf(shpool
2446 ngx_slab_pool_t *shpool; local
2599 ngx_slab_pool_t *shpool; local
2704 ngx_slab_pool_t *shpool; local
2783 ngx_ssl_expire_sessions(ngx_ssl_session_cache_t *cache, ngx_slab_pool_t *shpool, ngx_uint_t n) argument
[all...]

Completed in 12 milliseconds