Searched refs:ngx_align (Results 1 – 18 of 18) sorted by relevance
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_config.h | 103 #define ngx_align(d, a) (((d) + (a - 1)) & ~(a - 1)) macro
|
| H A D | ngx_palloc.h | 26 ngx_align((sizeof(ngx_pool_t) + 2 * sizeof(ngx_pool_large_t)), \
|
| H A D | ngx_hash.c | 249 (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 D | ngx_http_v2_huff_encode.c | 240 pending = ngx_align(pending, 8); in ngx_http_v2_huff_encode()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_map_module.c | 196 mcf->hash_bucket_size = ngx_align(mcf->hash_bucket_size, in ngx_stream_map_block()
|
| H A D | ngx_stream_geo_module.c | 1241 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 D | ngx_stream_core_module.c | 396 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 D | ngx_http_map_module.c | 198 mcf->hash_bucket_size = ngx_align(mcf->hash_bucket_size, in ngx_http_map_block()
|
| H A D | ngx_http_referer_module.c | 391 conf->referer_hash_bucket_size = ngx_align(conf->referer_hash_bucket_size, in ngx_http_referer_merge_conf()
|
| H A D | ngx_http_geo_module.c | 1291 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 D | ngx_http_scgi_module.c | 1544 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_scgi_merge_loc_conf()
|
| H A D | ngx_http_uwsgi_module.c | 1805 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_uwsgi_merge_loc_conf()
|
| H A D | ngx_http_fastcgi_module.c | 3077 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_fastcgi_merge_loc_conf()
|
| H A D | ngx_http_grpc_module.c | 4310 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_grpc_merge_loc_conf()
|
| H A D | ngx_http_proxy_module.c | 3325 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 D | ngx_http_core_module.c | 3246 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 D | ngx_http.c | 438 hash.bucket_size = ngx_align(64, ngx_cacheline_size); in ngx_http_init_headers_in_hash()
|
| H A D | ngx_http_upstream.c | 858 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()
|