Home
last modified time | relevance | path

Searched refs:ngx_align (Results 1 – 18 of 18) sorted by relevance

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_config.h103 #define ngx_align(d, a) (((d) + (a - 1)) & ~(a - 1)) macro
H A Dngx_palloc.h26 ngx_align((sizeof(ngx_pool_t) + 2 * sizeof(ngx_pool_large_t)), \
H A Dngx_hash.c249 (sizeof(void *) + ngx_align((name)->key.len + 2, sizeof(void *)))
354 test[i] = (u_short) (ngx_align(test[i], ngx_cacheline_size)); in ngx_hash_init()
/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2_huff_encode.c240 pending = ngx_align(pending, 8); in ngx_http_v2_huff_encode()
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_map_module.c196 mcf->hash_bucket_size = ngx_align(mcf->hash_bucket_size, in ngx_stream_map_block()
H A Dngx_stream_geo_module.c1241 ctx->data_size += ngx_align(sizeof(ngx_stream_variable_value_t) in ngx_stream_geo_value()
1438 len = ngx_align(sizeof(ngx_stream_variable_value_t) + vv->len, in ngx_stream_geo_include_binary_base()
H A Dngx_stream_core_module.c396 ngx_align(cmcf->variables_hash_bucket_size, ngx_cacheline_size); in ngx_stream_core_init_main_conf()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_map_module.c198 mcf->hash_bucket_size = ngx_align(mcf->hash_bucket_size, in ngx_http_map_block()
H A Dngx_http_referer_module.c391 conf->referer_hash_bucket_size = ngx_align(conf->referer_hash_bucket_size, in ngx_http_referer_merge_conf()
H A Dngx_http_geo_module.c1291 ctx->data_size += ngx_align(sizeof(ngx_http_variable_value_t) + value->len, in ngx_http_geo_value()
1511 len = ngx_align(sizeof(ngx_http_variable_value_t) + vv->len, in ngx_http_geo_include_binary_base()
H A Dngx_http_scgi_module.c1544 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_scgi_merge_loc_conf()
H A Dngx_http_uwsgi_module.c1805 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_uwsgi_merge_loc_conf()
H A Dngx_http_fastcgi_module.c3077 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_fastcgi_merge_loc_conf()
H A Dngx_http_grpc_module.c4310 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_grpc_merge_loc_conf()
H A Dngx_http_proxy_module.c3325 conf->headers_hash_bucket_size = ngx_align(conf->headers_hash_bucket_size, in ngx_http_proxy_merge_loc_conf()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_core_module.c3246 ngx_align(cmcf->server_names_hash_bucket_size, ngx_cacheline_size); in ngx_http_core_init_main_conf()
3253 ngx_align(cmcf->variables_hash_bucket_size, ngx_cacheline_size); in ngx_http_core_init_main_conf()
3538 conf->types_hash_bucket_size = ngx_align(conf->types_hash_bucket_size, in ngx_http_core_merge_loc_conf()
H A Dngx_http.c438 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_init_headers_in_hash()
H A Dngx_http_upstream.c858 ngx_align(r->cache->header_start + 256, 1024)); in ngx_http_upstream_cache()
6468 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_upstream_init_main_conf()