| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http_config.h | 56 (r)->main_conf[module.ctx_index] 57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index] 58 #define ngx_http_get_module_loc_conf(r, module) (r)->loc_conf[module.ctx_index] 62 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] 64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index] 66 ((ngx_http_conf_ctx_t *) cf->ctx)->loc_conf[module.ctx_index] 71 ->main_conf[module.ctx_index]: \
|
| H A D | ngx_http.c | 32 ngx_uint_t ctx_index); 35 ngx_uint_t ctx_index); 192 mi = cf->cycle->modules[m]->ctx_index; in ngx_http_block() 248 cmcf = ctx->main_conf[ngx_http_core_module.ctx_index]; in ngx_http_block() 257 mi = cf->cycle->modules[m]->ctx_index; in ngx_http_block() 562 ngx_http_module_t *module, ngx_uint_t ctx_index) in ngx_http_merge_servers() argument 607 module, ctx_index); in ngx_http_merge_servers() 648 rv = module->merge_loc_conf(cf, loc_conf[ctx_index], in ngx_http_merge_locations() 649 clcf->loc_conf[ctx_index]); in ngx_http_merge_locations() 655 module, ctx_index); in ngx_http_merge_locations() [all …]
|
| H A D | ngx_http.h | 75 #define ngx_http_get_module_ctx(r, module) (r)->ctx[module.ctx_index] 76 #define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c;
|
| H A D | ngx_http_special_response.c | 539 ctx = r->ctx[m->ctx_index]; in ngx_http_filter_finalize_request() 546 r->ctx[m->ctx_index] = ctx; in ngx_http_filter_finalize_request()
|
| H A D | ngx_http_upstream.h | 429 uscf->srv_conf[module.ctx_index]
|
| H A D | ngx_http_core_module.c | 2773 ctx->srv_conf[cf->cycle->modules[i]->ctx_index] = mconf; in ngx_http_core_server() 2782 ctx->loc_conf[cf->cycle->modules[i]->ctx_index] = mconf; in ngx_http_core_server() 2789 cscf = ctx->srv_conf[ngx_http_core_module.ctx_index]; in ngx_http_core_server() 2793 cmcf = ctx->main_conf[ngx_http_core_module.ctx_index]; in ngx_http_core_server() 2901 ctx->loc_conf[cf->cycle->modules[i]->ctx_index] = in ngx_http_core_location() 2903 if (ctx->loc_conf[cf->cycle->modules[i]->ctx_index] == NULL) { in ngx_http_core_location() 2909 clcf = ctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_core_location() 2994 pclcf = pctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_core_location() 4435 ctx->loc_conf[cf->cycle->modules[i]->ctx_index] = mconf; in ngx_http_core_limit_except() 4440 clcf = ctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_core_limit_except()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_module.c | 100 if (module->ctx_index != NGX_MODULE_UNSET_INDEX) { in ngx_count_modules() 104 if (module->ctx_index > max) { in ngx_count_modules() 105 max = module->ctx_index; in ngx_count_modules() 108 if (module->ctx_index == next) { in ngx_count_modules() 119 if (module->ctx_index > max) { in ngx_count_modules() 120 max = module->ctx_index; in ngx_count_modules() 123 next = module->ctx_index + 1; in ngx_count_modules() 142 if (module->ctx_index > max) { in ngx_count_modules() 143 max = module->ctx_index; in ngx_count_modules() 335 if (module->ctx_index == index) { in ngx_module_ctx_index() [all …]
|
| H A D | ngx_module.h | 223 ngx_uint_t ctx_index; member
|
| H A D | ngx_conf_file.c | 459 conf = confp[cf->cycle->modules[i]->ctx_index]; in ngx_conf_handler()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream.h | 260 #define ngx_stream_get_module_ctx(s, module) (s)->ctx[module.ctx_index] 261 #define ngx_stream_set_ctx(s, c, module) s->ctx[module.ctx_index] = c; 262 #define ngx_stream_delete_ctx(s, module) s->ctx[module.ctx_index] = NULL; 266 (s)->main_conf[module.ctx_index] 268 (s)->srv_conf[module.ctx_index] 271 ((ngx_stream_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] 273 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index] 278 ->main_conf[module.ctx_index]: \
|
| H A D | ngx_stream.c | 135 mi = cf->cycle->modules[m]->ctx_index; in ngx_stream_block() 185 cmcf = ctx->main_conf[ngx_stream_core_module.ctx_index]; in ngx_stream_block() 194 mi = cf->cycle->modules[m]->ctx_index; in ngx_stream_block() 490 cscf = addr->opt.ctx->srv_conf[ngx_stream_core_module.ctx_index]; in ngx_stream_optimize_servers()
|
| H A D | ngx_stream_upstream.h | 150 uscf->srv_conf[module.ctx_index]
|
| H A D | ngx_stream_core_module.c | 552 ctx->srv_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_stream_core_server() 558 cscf = ctx->srv_conf[ngx_stream_core_module.ctx_index]; in ngx_stream_core_server() 561 cmcf = ctx->main_conf[ngx_stream_core_module.ctx_index]; in ngx_stream_core_server()
|
| H A D | ngx_stream_upstream.c | 349 ctx->srv_conf[ngx_stream_upstream_module.ctx_index] = uscf; in ngx_stream_upstream() 366 ctx->srv_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_stream_upstream()
|
| /f-stack/app/nginx-1.16.1/src/mail/ |
| H A D | ngx_mail.h | 358 #define ngx_mail_get_module_ctx(s, module) (s)->ctx[module.ctx_index] 359 #define ngx_mail_set_ctx(s, c, module) s->ctx[module.ctx_index] = c; 360 #define ngx_mail_delete_ctx(s, module) s->ctx[module.ctx_index] = NULL; 364 (s)->main_conf[module.ctx_index] 365 #define ngx_mail_get_module_srv_conf(s, module) (s)->srv_conf[module.ctx_index] 368 ((ngx_mail_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] 370 ((ngx_mail_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
|
| H A D | ngx_mail.c | 127 mi = cf->cycle->modules[m]->ctx_index; in ngx_mail_block() 162 cmcf = ctx->main_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_block() 171 mi = cf->cycle->modules[m]->ctx_index; in ngx_mail_block() 329 cscf = addr->opt.ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_optimize_servers()
|
| H A D | ngx_mail_core_module.c | 272 ctx->srv_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_mail_core_server() 278 cscf = ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_core_server() 281 cmcf = ctx->main_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_core_server()
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event.c | 509 ecf = (*cf)[ngx_event_core_module.ctx_index]; in ngx_event_module_init() 696 if (cycle->modules[m]->ctx_index != ecf->use) { in ngx_event_process_init() 1042 (*ctx)[cf->cycle->modules[i]->ctx_index] = in ngx_events_block() 1044 if ((*ctx)[cf->cycle->modules[i]->ctx_index] == NULL) { in ngx_events_block() 1072 (*ctx)[cf->cycle->modules[i]->ctx_index]); in ngx_events_block() 1141 ecf->use = cf->cycle->modules[m]->ctx_index; in ngx_event_use() 1382 ngx_conf_init_uint_value(ecf->use, module->ctx_index); in ngx_event_core_init_conf()
|
| H A D | ngx_event.h | 554 (*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index]
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_rewrite_module.c | 569 ctx->loc_conf[cf->cycle->modules[i]->ctx_index] = mconf; in ngx_http_rewrite_if() 573 pclcf = pctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_rewrite_if() 575 clcf = ctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_rewrite_if() 600 nlcf = ctx->loc_conf[ngx_http_rewrite_module.ctx_index]; in ngx_http_rewrite_if()
|
| H A D | ngx_http_ssl_module.c | 1119 sscf = cscfp[s]->ctx->srv_conf[ngx_http_ssl_module.ctx_index]; in ngx_http_ssl_init() 1125 clcf = cscfp[s]->ctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_ssl_init() 1150 sscf = cscf->ctx->srv_conf[ngx_http_ssl_module.ctx_index]; in ngx_http_ssl_init()
|
| /f-stack/app/nginx-1.16.1/src/event/modules/ |
| H A D | ngx_poll_module.c | 410 if (ecf->use != ngx_poll_module.ctx_index) { in ngx_poll_init_conf()
|
| H A D | ngx_select_module.c | 417 if (ecf->use != ngx_select_module.ctx_index) { in ngx_select_init_conf()
|
| H A D | ngx_win32_select_module.c | 402 if (ecf->use != ngx_select_module.ctx_index) { in ngx_select_init_conf()
|
| H A D | ngx_win32_poll_module.c | 420 if (ecf->use != ngx_poll_module.ctx_index) { in ngx_poll_init_conf()
|