cycle 12 core/nginx.c static ngx_int_t ngx_add_inherited_sockets(ngx_cycle_t *cycle); cycle 14 core/nginx.c static ngx_int_t ngx_process_options(ngx_cycle_t *cycle); cycle 15 core/nginx.c static ngx_int_t ngx_save_argv(ngx_cycle_t *cycle, int argc, char *const *argv); cycle 16 core/nginx.c static void *ngx_core_module_create_conf(ngx_cycle_t *cycle); cycle 17 core/nginx.c static char *ngx_core_module_init_conf(ngx_cycle_t *cycle, void *conf); cycle 203 core/nginx.c ngx_cycle_t *cycle, init_cycle; cycle 330 core/nginx.c cycle = ngx_init_cycle(&init_cycle); cycle 331 core/nginx.c if (cycle == NULL) { cycle 343 core/nginx.c cycle->conf_file.data); cycle 350 core/nginx.c return ngx_signal_process(cycle, ngx_signal); cycle 353 core/nginx.c ngx_os_status(cycle->log); cycle 355 core/nginx.c ngx_cycle = cycle; cycle 357 core/nginx.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 365 core/nginx.c if (ngx_init_signals(cycle->log) != NGX_OK) { cycle 370 core/nginx.c if (ngx_daemon(cycle->log) != NGX_OK) { cycle 379 core/nginx.c if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) { cycle 383 core/nginx.c if (cycle->log->file->fd != ngx_stderr) { cycle 385 core/nginx.c if (ngx_set_stderr(cycle->log->file->fd) == NGX_FILE_ERROR) { cycle 386 core/nginx.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 394 core/nginx.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 402 core/nginx.c ngx_single_process_cycle(cycle); cycle 405 core/nginx.c ngx_master_process_cycle(cycle); cycle 413 core/nginx.c ngx_add_inherited_sockets(ngx_cycle_t *cycle) cycle 425 core/nginx.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, cycle 428 core/nginx.c if (ngx_array_init(&cycle->listening, cycle->pool, 10, cycle 439 core/nginx.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 448 core/nginx.c ls = ngx_array_push(&cycle->listening); cycle 461 core/nginx.c return ngx_set_inherited_sockets(cycle); cycle 466 core/nginx.c ngx_set_environment(ngx_cycle_t *cycle, ngx_uint_t *last) cycle 473 core/nginx.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 522 core/nginx.c env = ngx_alloc((*last + n + 1) * sizeof(char *), cycle->log); cycle 526 core/nginx.c env = ngx_palloc(cycle->pool, (n + 1) * sizeof(char *)); cycle 565 core/nginx.c ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv) cycle 582 core/nginx.c env = ngx_set_environment(cycle, &n); cycle 588 core/nginx.c + cycle->listening.nelts * (NGX_INT32_LEN + 1) + 2, cycle 589 core/nginx.c cycle->log); cycle 593 core/nginx.c ls = cycle->listening.elts; cycle 594 core/nginx.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 620 core/nginx.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cycle->log, 0, "env: %s", *e); cycle 627 core/nginx.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 630 core/nginx.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 641 core/nginx.c pid = ngx_execute(cycle, &ctx); cycle 645 core/nginx.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 783 core/nginx.c ngx_save_argv(ngx_cycle_t *cycle, int argc, char *const *argv) cycle 798 core/nginx.c ngx_argv = ngx_alloc((argc + 1) * sizeof(char *), cycle->log); cycle 806 core/nginx.c ngx_argv[i] = ngx_alloc(len, cycle->log); cycle 825 core/nginx.c ngx_process_options(ngx_cycle_t *cycle) cycle 835 core/nginx.c p = ngx_pnalloc(cycle->pool, len + 1); cycle 844 core/nginx.c cycle->conf_prefix.len = len; cycle 845 core/nginx.c cycle->conf_prefix.data = p; cycle 846 core/nginx.c cycle->prefix.len = len; cycle 847 core/nginx.c cycle->prefix.data = p; cycle 853 core/nginx.c p = ngx_pnalloc(cycle->pool, NGX_MAX_PATH); cycle 867 core/nginx.c cycle->conf_prefix.len = len; cycle 868 core/nginx.c cycle->conf_prefix.data = p; cycle 869 core/nginx.c cycle->prefix.len = len; cycle 870 core/nginx.c cycle->prefix.data = p; cycle 875 core/nginx.c ngx_str_set(&cycle->conf_prefix, NGX_CONF_PREFIX); cycle 877 core/nginx.c ngx_str_set(&cycle->conf_prefix, NGX_PREFIX); cycle 879 core/nginx.c ngx_str_set(&cycle->prefix, NGX_PREFIX); cycle 885 core/nginx.c cycle->conf_file.len = ngx_strlen(ngx_conf_file); cycle 886 core/nginx.c cycle->conf_file.data = ngx_conf_file; cycle 889 core/nginx.c ngx_str_set(&cycle->conf_file, NGX_CONF_PATH); cycle 892 core/nginx.c if (ngx_conf_full_name(cycle, &cycle->conf_file, 0) != NGX_OK) { cycle 896 core/nginx.c for (p = cycle->conf_file.data + cycle->conf_file.len - 1; cycle 897 core/nginx.c p > cycle->conf_file.data; cycle 901 core/nginx.c cycle->conf_prefix.len = p - ngx_cycle->conf_file.data + 1; cycle 902 core/nginx.c cycle->conf_prefix.data = ngx_cycle->conf_file.data; cycle 908 core/nginx.c cycle->conf_param.len = ngx_strlen(ngx_conf_params); cycle 909 core/nginx.c cycle->conf_param.data = ngx_conf_params; cycle 913 core/nginx.c cycle->log->log_level = NGX_LOG_INFO; cycle 921 core/nginx.c ngx_core_module_create_conf(ngx_cycle_t *cycle) cycle 925 core/nginx.c ccf = ngx_pcalloc(cycle->pool, sizeof(ngx_core_conf_t)); cycle 959 core/nginx.c if (ngx_array_init(&ccf->env, cycle->pool, 1, sizeof(ngx_str_t)) cycle 970 core/nginx.c ngx_core_module_init_conf(ngx_cycle_t *cycle, void *conf) cycle 987 core/nginx.c ngx_log_error(NGX_LOG_WARN, cycle->log, 0, cycle 1008 core/nginx.c if (ngx_conf_full_name(cycle, &ccf->pid, 0) != NGX_OK) { cycle 1014 core/nginx.c ccf->oldpid.data = ngx_pnalloc(cycle->pool, ccf->oldpid.len); cycle 1032 core/nginx.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1043 core/nginx.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1056 core/nginx.c if (ngx_conf_full_name(cycle, &ccf->lock_file, 0) != NGX_OK) { cycle 1063 core/nginx.c lock_file = cycle->old_cycle->lock_file; cycle 1072 core/nginx.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 1076 core/nginx.c cycle->lock_file.len = lock_file.len + 1; cycle 1079 core/nginx.c cycle->lock_file.data = ngx_pstrdup(cycle->pool, &lock_file); cycle 1080 core/nginx.c if (cycle->lock_file.data == NULL) { cycle 1085 core/nginx.c cycle->lock_file.len = ccf->lock_file.len + 1; cycle 1086 core/nginx.c cycle->lock_file.data = ngx_pnalloc(cycle->pool, cycle 1088 core/nginx.c if (cycle->lock_file.data == NULL) { cycle 1092 core/nginx.c ngx_memcpy(ngx_cpymem(cycle->lock_file.data, ccf->lock_file.data, cycle 16 core/ngx_conf_file.c static void ngx_conf_flush_files(ngx_cycle_t *cycle); cycle 70 core/ngx_conf_file.c param = &cf->cycle->conf_param; cycle 753 core/ngx_conf_file.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cycle 804 core/ngx_conf_file.c ngx_conf_full_name(ngx_cycle_t *cycle, ngx_str_t *name, ngx_uint_t conf_prefix) cycle 817 core/ngx_conf_file.c len = cycle->conf_prefix.len; cycle 818 core/ngx_conf_file.c prefix = cycle->conf_prefix.data; cycle 821 core/ngx_conf_file.c len = cycle->prefix.len; cycle 822 core/ngx_conf_file.c prefix = cycle->prefix.data; cycle 833 core/ngx_conf_file.c n = ngx_pnalloc(cycle->pool, len + name->len + 1); cycle 899 core/ngx_conf_file.c ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name) cycle 913 core/ngx_conf_file.c if (ngx_conf_full_name(cycle, &full, 0) != NGX_OK) { cycle 917 core/ngx_conf_file.c part = &cycle->open_files.part; cycle 941 core/ngx_conf_file.c file = ngx_list_push(&cycle->open_files); cycle 962 core/ngx_conf_file.c ngx_conf_flush_files(ngx_cycle_t *cycle) cycle 969 core/ngx_conf_file.c ngx_log_debug0(NGX_LOG_DEBUG_CORE, cycle->log, 0, "flush files"); cycle 971 core/ngx_conf_file.c part = &cycle->open_files.part; cycle 994 core/ngx_conf_file.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 999 core/ngx_conf_file.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 127 core/ngx_conf_file.h ngx_int_t (*init_module)(ngx_cycle_t *cycle); cycle 129 core/ngx_conf_file.h ngx_int_t (*init_process)(ngx_cycle_t *cycle); cycle 130 core/ngx_conf_file.h ngx_int_t (*init_thread)(ngx_cycle_t *cycle); cycle 131 core/ngx_conf_file.h void (*exit_thread)(ngx_cycle_t *cycle); cycle 132 core/ngx_conf_file.h void (*exit_process)(ngx_cycle_t *cycle); cycle 134 core/ngx_conf_file.h void (*exit_master)(ngx_cycle_t *cycle); cycle 149 core/ngx_conf_file.h void *(*create_conf)(ngx_cycle_t *cycle); cycle 150 core/ngx_conf_file.h char *(*init_conf)(ngx_cycle_t *cycle, void *conf); cycle 169 core/ngx_conf_file.h ngx_cycle_t *cycle; cycle 321 core/ngx_conf_file.h ngx_int_t ngx_conf_full_name(ngx_cycle_t *cycle, ngx_str_t *name, cycle 323 core/ngx_conf_file.h ngx_open_file_t *ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name); cycle 26 core/ngx_connection.c ls = ngx_array_push(&cf->cycle->listening); cycle 89 core/ngx_connection.c ngx_set_inherited_sockets(ngx_cycle_t *cycle) cycle 103 core/ngx_connection.c ls = cycle->listening.elts; cycle 104 core/ngx_connection.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 106 core/ngx_connection.c ls[i].sockaddr = ngx_palloc(cycle->pool, NGX_SOCKADDRLEN); cycle 113 core/ngx_connection.c ngx_log_error(NGX_LOG_CRIT, cycle->log, ngx_socket_errno, cycle 142 core/ngx_connection.c ngx_log_error(NGX_LOG_CRIT, cycle->log, ngx_socket_errno, cycle 149 core/ngx_connection.c ls[i].addr_text.data = ngx_pnalloc(cycle->pool, len); cycle 169 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 182 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 198 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 222 core/ngx_connection.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, err, cycle 232 core/ngx_connection.c ls[i].accept_filter = ngx_palloc(cycle->pool, 16); cycle 249 core/ngx_connection.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, ngx_errno, cycle 268 core/ngx_connection.c ngx_open_listening_sockets(ngx_cycle_t *cycle) cycle 282 core/ngx_connection.c log = cycle->log; cycle 291 core/ngx_connection.c ls = cycle->listening.elts; cycle 292 core/ngx_connection.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 409 core/ngx_connection.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 415 core/ngx_connection.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 463 core/ngx_connection.c ngx_configure_listening_sockets(ngx_cycle_t *cycle) cycle 475 core/ngx_connection.c ls = cycle->listening.elts; cycle 476 core/ngx_connection.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 485 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 496 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 508 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 523 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 535 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, cycle 554 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 560 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 581 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 608 core/ngx_connection.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 631 core/ngx_connection.c ngx_close_listening_sockets(ngx_cycle_t *cycle) cycle 644 core/ngx_connection.c ls = cycle->listening.elts; cycle 645 core/ngx_connection.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 674 core/ngx_connection.c ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 678 core/ngx_connection.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno, cycle 691 core/ngx_connection.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno, cycle 180 core/ngx_connection.h ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); cycle 181 core/ngx_connection.h ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); cycle 182 core/ngx_connection.h void ngx_configure_listening_sockets(ngx_cycle_t *cycle); cycle 183 core/ngx_connection.h void ngx_close_listening_sockets(ngx_cycle_t *cycle); cycle 14 core/ngx_cycle.c static ngx_int_t ngx_init_zone_pool(ngx_cycle_t *cycle, cycle 51 core/ngx_cycle.c ngx_cycle_t *cycle, **old; cycle 78 core/ngx_cycle.c cycle = ngx_pcalloc(pool, sizeof(ngx_cycle_t)); cycle 79 core/ngx_cycle.c if (cycle == NULL) { cycle 84 core/ngx_cycle.c cycle->pool = pool; cycle 85 core/ngx_cycle.c cycle->log = log; cycle 86 core/ngx_cycle.c cycle->new_log.log_level = NGX_LOG_ERR; cycle 87 core/ngx_cycle.c cycle->old_cycle = old_cycle; cycle 89 core/ngx_cycle.c cycle->conf_prefix.len = old_cycle->conf_prefix.len; cycle 90 core/ngx_cycle.c cycle->conf_prefix.data = ngx_pstrdup(pool, &old_cycle->conf_prefix); cycle 91 core/ngx_cycle.c if (cycle->conf_prefix.data == NULL) { cycle 96 core/ngx_cycle.c cycle->prefix.len = old_cycle->prefix.len; cycle 97 core/ngx_cycle.c cycle->prefix.data = ngx_pstrdup(pool, &old_cycle->prefix); cycle 98 core/ngx_cycle.c if (cycle->prefix.data == NULL) { cycle 103 core/ngx_cycle.c cycle->conf_file.len = old_cycle->conf_file.len; cycle 104 core/ngx_cycle.c cycle->conf_file.data = ngx_pnalloc(pool, old_cycle->conf_file.len + 1); cycle 105 core/ngx_cycle.c if (cycle->conf_file.data == NULL) { cycle 109 core/ngx_cycle.c ngx_cpystrn(cycle->conf_file.data, old_cycle->conf_file.data, cycle 112 core/ngx_cycle.c cycle->conf_param.len = old_cycle->conf_param.len; cycle 113 core/ngx_cycle.c cycle->conf_param.data = ngx_pstrdup(pool, &old_cycle->conf_param); cycle 114 core/ngx_cycle.c if (cycle->conf_param.data == NULL) { cycle 122 core/ngx_cycle.c cycle->pathes.elts = ngx_pcalloc(pool, n * sizeof(ngx_path_t *)); cycle 123 core/ngx_cycle.c if (cycle->pathes.elts == NULL) { cycle 128 core/ngx_cycle.c cycle->pathes.nelts = 0; cycle 129 core/ngx_cycle.c cycle->pathes.size = sizeof(ngx_path_t *); cycle 130 core/ngx_cycle.c cycle->pathes.nalloc = n; cycle 131 core/ngx_cycle.c cycle->pathes.pool = pool; cycle 144 core/ngx_cycle.c if (ngx_list_init(&cycle->open_files, pool, n, sizeof(ngx_open_file_t)) cycle 163 core/ngx_cycle.c if (ngx_list_init(&cycle->shared_memory, pool, n, sizeof(ngx_shm_zone_t)) cycle 172 core/ngx_cycle.c cycle->listening.elts = ngx_pcalloc(pool, n * sizeof(ngx_listening_t)); cycle 173 core/ngx_cycle.c if (cycle->listening.elts == NULL) { cycle 178 core/ngx_cycle.c cycle->listening.nelts = 0; cycle 179 core/ngx_cycle.c cycle->listening.size = sizeof(ngx_listening_t); cycle 180 core/ngx_cycle.c cycle->listening.nalloc = n; cycle 181 core/ngx_cycle.c cycle->listening.pool = pool; cycle 184 core/ngx_cycle.c ngx_queue_init(&cycle->reusable_connections_queue); cycle 187 core/ngx_cycle.c cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *)); cycle 188 core/ngx_cycle.c if (cycle->conf_ctx == NULL) { cycle 203 core/ngx_cycle.c cycle->hostname.len = ngx_strlen(hostname); cycle 205 core/ngx_cycle.c cycle->hostname.data = ngx_pnalloc(pool, cycle->hostname.len); cycle 206 core/ngx_cycle.c if (cycle->hostname.data == NULL) { cycle 211 core/ngx_cycle.c ngx_strlow(cycle->hostname.data, (u_char *) hostname, cycle->hostname.len); cycle 222 core/ngx_cycle.c rv = module->create_conf(cycle); cycle 227 core/ngx_cycle.c cycle->conf_ctx[ngx_modules[i]->index] = rv; cycle 250 core/ngx_cycle.c conf.ctx = cycle->conf_ctx; cycle 251 core/ngx_cycle.c conf.cycle = cycle; cycle 267 core/ngx_cycle.c if (ngx_conf_parse(&conf, &cycle->conf_file) != NGX_CONF_OK) { cycle 275 core/ngx_cycle.c cycle->conf_file.data); cycle 286 core/ngx_cycle.c if (module->init_conf(cycle, cycle->conf_ctx[ngx_modules[i]->index]) cycle 297 core/ngx_cycle.c return cycle; cycle 300 core/ngx_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 331 core/ngx_cycle.c if (ngx_test_lockfile(cycle->lock_file.data, log) != NGX_OK) { cycle 336 core/ngx_cycle.c if (ngx_create_pathes(cycle, ccf->user) != NGX_OK) { cycle 341 core/ngx_cycle.c if (cycle->new_log.file == NULL) { cycle 342 core/ngx_cycle.c cycle->new_log.file = ngx_conf_open_file(cycle, &error_log); cycle 343 core/ngx_cycle.c if (cycle->new_log.file == NULL) { cycle 350 core/ngx_cycle.c part = &cycle->open_files.part; cycle 394 core/ngx_cycle.c cycle->log = &cycle->new_log; cycle 395 core/ngx_cycle.c pool->log = &cycle->new_log; cycle 400 core/ngx_cycle.c part = &cycle->shared_memory.part; cycle 426 core/ngx_cycle.c shm_zone[i].shm.log = cycle->log; cycle 475 core/ngx_cycle.c if (ngx_init_zone_pool(cycle, &shm_zone[i]) != NGX_OK) { cycle 497 core/ngx_cycle.c nls = cycle->listening.elts; cycle 498 core/ngx_cycle.c for (n = 0; n < cycle->listening.nelts; n++) { cycle 560 core/ngx_cycle.c ls = cycle->listening.elts; cycle 561 core/ngx_cycle.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 576 core/ngx_cycle.c if (ngx_open_listening_sockets(cycle) != NGX_OK) { cycle 581 core/ngx_cycle.c ngx_configure_listening_sockets(cycle); cycle 587 core/ngx_cycle.c if (!ngx_use_stderr && cycle->log->file->fd != ngx_stderr) { cycle 589 core/ngx_cycle.c if (ngx_set_stderr(cycle->log->file->fd) == NGX_FILE_ERROR) { cycle 590 core/ngx_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 595 core/ngx_cycle.c pool->log = cycle->log; cycle 599 core/ngx_cycle.c if (ngx_modules[i]->init_module(cycle) != NGX_OK) { cycle 625 core/ngx_cycle.c part = &cycle->shared_memory.part; cycle 681 core/ngx_cycle.c ngx_log_error(NGX_LOG_WARN, cycle->log, 0, cycle 685 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno, cycle 735 core/ngx_cycle.c cycle->old_cycle = NULL; cycle 739 core/ngx_cycle.c return cycle; cycle 744 core/ngx_cycle.c ngx_temp_pool = ngx_create_pool(128, cycle->log); cycle 746 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 763 core/ngx_cycle.c ngx_cleaner_event.log = cycle->log; cycle 768 core/ngx_cycle.c ngx_temp_pool->log = cycle->log; cycle 781 core/ngx_cycle.c return cycle; cycle 796 core/ngx_cycle.c part = &cycle->open_files.part; cycle 826 core/ngx_cycle.c ls = cycle->listening.elts; cycle 827 core/ngx_cycle.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 922 core/ngx_cycle.c ngx_init_zone_pool(ngx_cycle_t *cycle, ngx_shm_zone_t *zn) cycle 935 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 951 core/ngx_cycle.c file = ngx_pnalloc(cycle->pool, cycle->lock_file.len + zn->shm.name.len); cycle 956 core/ngx_cycle.c (void) ngx_sprintf(file, "%V%V%Z", &cycle->lock_file, &zn->shm.name); cycle 1016 core/ngx_cycle.c ngx_delete_pidfile(ngx_cycle_t *cycle) cycle 1021 core/ngx_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 1026 core/ngx_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 1033 core/ngx_cycle.c ngx_signal_process(ngx_cycle_t *cycle, char *sig) cycle 1041 core/ngx_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "signal process started"); cycle 1043 core/ngx_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 1046 core/ngx_cycle.c file.log = cycle->log; cycle 1052 core/ngx_cycle.c ngx_log_error(NGX_LOG_ERR, cycle->log, ngx_errno, cycle 1060 core/ngx_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 1073 core/ngx_cycle.c ngx_log_error(NGX_LOG_ERR, cycle->log, 0, cycle 1079 core/ngx_cycle.c return ngx_os_signal_process(cycle, sig, pid); cycle 1116 core/ngx_cycle.c ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user) cycle 1124 core/ngx_cycle.c part = &cycle->open_files.part; cycle 1149 core/ngx_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 1154 core/ngx_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 1165 core/ngx_cycle.c ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 1170 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1182 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1187 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1195 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1200 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1212 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1216 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1225 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1230 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1240 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1250 core/ngx_cycle.c if (cycle->log->file->fd != STDERR_FILENO) { cycle 1251 core/ngx_cycle.c if (dup2(cycle->log->file->fd, STDERR_FILENO) == -1) { cycle 1252 core/ngx_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 1268 core/ngx_cycle.c part = &cf->cycle->shared_memory.part; cycle 1311 core/ngx_cycle.c shm_zone = ngx_list_push(&cf->cycle->shared_memory); cycle 1318 core/ngx_cycle.c shm_zone->shm.log = cf->cycle->log; cycle 1334 core/ngx_cycle.c ngx_cycle_t **cycle; cycle 1343 core/ngx_cycle.c cycle = ngx_old_cycles.elts; cycle 1346 core/ngx_cycle.c if (cycle[i] == NULL) { cycle 1352 core/ngx_cycle.c for (n = 0; n < cycle[i]->connection_n; n++) { cycle 1353 core/ngx_cycle.c if (cycle[i]->connections[n].fd != (ngx_socket_t) -1) { cycle 1369 core/ngx_cycle.c ngx_destroy_pool(cycle[i]->pool); cycle 1370 core/ngx_cycle.c cycle[i] = NULL; cycle 116 core/ngx_cycle.h #define ngx_is_init_cycle(cycle) (cycle->conf_ctx == NULL) cycle 121 core/ngx_cycle.h void ngx_delete_pidfile(ngx_cycle_t *cycle); cycle 122 core/ngx_cycle.h ngx_int_t ngx_signal_process(ngx_cycle_t *cycle, char *sig); cycle 123 core/ngx_cycle.h void ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user); cycle 124 core/ngx_cycle.h char **ngx_set_environment(ngx_cycle_t *cycle, ngx_uint_t *last); cycle 125 core/ngx_cycle.h ngx_pid_t ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv); cycle 266 core/ngx_file.c if (ngx_conf_full_name(cf->cycle, &path->name, 0) != NGX_OK) { cycle 320 core/ngx_file.c if (ngx_conf_full_name(cf->cycle, &(*path)->name, 0) != NGX_OK) { cycle 414 core/ngx_file.c p = cf->cycle->pathes.elts; cycle 415 core/ngx_file.c for (i = 0; i < cf->cycle->pathes.nelts; i++) { cycle 459 core/ngx_file.c p = ngx_array_push(&cf->cycle->pathes); cycle 471 core/ngx_file.c ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user) cycle 477 core/ngx_file.c path = cycle->pathes.elts; cycle 478 core/ngx_file.c for (i = 0; i < cycle->pathes.nelts; i++) { cycle 483 core/ngx_file.c ngx_log_error(NGX_LOG_EMERG, cycle->log, err, cycle 501 core/ngx_file.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 508 core/ngx_file.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 521 core/ngx_file.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 131 core/ngx_file.h ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); cycle 351 core/ngx_log.c ngx_log_create(ngx_cycle_t *cycle, ngx_str_t *name) cycle 355 core/ngx_log.c log = ngx_pcalloc(cycle->pool, sizeof(ngx_log_t)); cycle 360 core/ngx_log.c log->file = ngx_conf_open_file(cycle, name); cycle 428 core/ngx_log.c if (cf->cycle->new_log.file) { cycle 441 core/ngx_log.c cf->cycle->new_log.file = ngx_conf_open_file(cf->cycle, &name); cycle 442 core/ngx_log.c if (cf->cycle->new_log.file == NULL) { cycle 447 core/ngx_log.c cf->cycle->new_log.log_level = NGX_LOG_ERR; cycle 451 core/ngx_log.c cf->cycle->new_log.log_level = 0; cycle 453 core/ngx_log.c return ngx_log_set_levels(cf, &cf->cycle->new_log); cycle 199 core/ngx_log.h ngx_log_t *ngx_log_create(ngx_cycle_t *cycle, ngx_str_t *name); cycle 133 core/ngx_resolver.c r->event->log = &cf->cycle->new_log; cycle 140 core/ngx_resolver.c r->log = &cf->cycle->new_log; cycle 155 core/ngx_resolver.c uc->log = cf->cycle->new_log; cycle 15 event/modules/ngx_aio_module.c static ngx_int_t ngx_aio_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 16 event/modules/ngx_aio_module.c static void ngx_aio_done(ngx_cycle_t *cycle); cycle 22 event/modules/ngx_aio_module.c static ngx_int_t ngx_aio_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 77 event/modules/ngx_aio_module.c ngx_aio_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 79 event/modules/ngx_aio_module.c if (ngx_kqueue_module_ctx.actions.init(cycle, timer) == NGX_ERROR) { cycle 94 event/modules/ngx_aio_module.c ngx_aio_done(ngx_cycle_t *cycle) cycle 96 event/modules/ngx_aio_module.c ngx_kqueue_module_ctx.actions.done(cycle); cycle 165 event/modules/ngx_aio_module.c ngx_aio_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) cycle 167 event/modules/ngx_aio_module.c return ngx_kqueue_module_ctx.actions.process_events(cycle, timer, flags); cycle 35 event/modules/ngx_devpoll_module.c static ngx_int_t ngx_devpoll_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 36 event/modules/ngx_devpoll_module.c static void ngx_devpoll_done(ngx_cycle_t *cycle); cycle 43 event/modules/ngx_devpoll_module.c static ngx_int_t ngx_devpoll_process_events(ngx_cycle_t *cycle, cycle 46 event/modules/ngx_devpoll_module.c static void *ngx_devpoll_create_conf(ngx_cycle_t *cycle); cycle 47 event/modules/ngx_devpoll_module.c static char *ngx_devpoll_init_conf(ngx_cycle_t *cycle, void *conf); cycle 115 event/modules/ngx_devpoll_module.c ngx_devpoll_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 120 event/modules/ngx_devpoll_module.c dpcf = ngx_event_get_conf(cycle->conf_ctx, ngx_devpoll_module); cycle 126 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 136 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 149 event/modules/ngx_devpoll_module.c cycle->log); cycle 159 event/modules/ngx_devpoll_module.c cycle->log); cycle 173 event/modules/ngx_devpoll_module.c cycle->log); cycle 192 event/modules/ngx_devpoll_module.c ngx_devpoll_done(ngx_cycle_t *cycle) cycle 195 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 337 event/modules/ngx_devpoll_module.c ngx_devpoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 353 event/modules/ngx_devpoll_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 359 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 392 event/modules/ngx_devpoll_module.c ngx_log_error(level, cycle->log, err, "ioctl(DP_POLL) failed"); cycle 401 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 426 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 432 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 438 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 450 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 455 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 465 event/modules/ngx_devpoll_module.c ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 470 event/modules/ngx_devpoll_module.c ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 476 event/modules/ngx_devpoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 543 event/modules/ngx_devpoll_module.c ngx_devpoll_create_conf(ngx_cycle_t *cycle) cycle 547 event/modules/ngx_devpoll_module.c dpcf = ngx_palloc(cycle->pool, sizeof(ngx_devpoll_conf_t)); cycle 560 event/modules/ngx_devpoll_module.c ngx_devpoll_init_conf(ngx_cycle_t *cycle, void *conf) cycle 92 event/modules/ngx_epoll_module.c static ngx_int_t ngx_epoll_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 93 event/modules/ngx_epoll_module.c static void ngx_epoll_done(ngx_cycle_t *cycle); cycle 101 event/modules/ngx_epoll_module.c static ngx_int_t ngx_epoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 108 event/modules/ngx_epoll_module.c static void *ngx_epoll_create_conf(ngx_cycle_t *cycle); cycle 109 event/modules/ngx_epoll_module.c static char *ngx_epoll_init_conf(ngx_cycle_t *cycle, void *conf); cycle 212 event/modules/ngx_epoll_module.c ngx_epoll_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 216 event/modules/ngx_epoll_module.c epcf = ngx_event_get_conf(cycle->conf_ctx, ngx_epoll_module); cycle 219 event/modules/ngx_epoll_module.c ep = epoll_create(cycle->connection_n / 2); cycle 222 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 235 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 243 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 247 event/modules/ngx_epoll_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 253 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, -n, "io_setup() failed"); cycle 259 event/modules/ngx_epoll_module.c ngx_eventfd_event.log = cycle->log; cycle 263 event/modules/ngx_epoll_module.c ngx_eventfd_conn.log = cycle->log; cycle 269 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 283 event/modules/ngx_epoll_module.c cycle->log); cycle 308 event/modules/ngx_epoll_module.c ngx_epoll_done(ngx_cycle_t *cycle) cycle 311 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 320 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 514 event/modules/ngx_epoll_module.c ngx_epoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) cycle 527 event/modules/ngx_epoll_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 552 event/modules/ngx_epoll_module.c ngx_log_error(level, cycle->log, err, "epoll_wait() failed"); cycle 561 event/modules/ngx_epoll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 568 event/modules/ngx_epoll_module.c log = cycle->log; cycle 585 event/modules/ngx_epoll_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 591 event/modules/ngx_epoll_module.c log = c->log ? c->log : cycle->log; cycle 758 event/modules/ngx_epoll_module.c ngx_epoll_create_conf(ngx_cycle_t *cycle) cycle 762 event/modules/ngx_epoll_module.c epcf = ngx_palloc(cycle->pool, sizeof(ngx_epoll_conf_t)); cycle 774 event/modules/ngx_epoll_module.c ngx_epoll_init_conf(ngx_cycle_t *cycle, void *conf) cycle 98 event/modules/ngx_eventport_module.c static ngx_int_t ngx_eventport_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 99 event/modules/ngx_eventport_module.c static void ngx_eventport_done(ngx_cycle_t *cycle); cycle 104 event/modules/ngx_eventport_module.c static ngx_int_t ngx_eventport_process_events(ngx_cycle_t *cycle, cycle 107 event/modules/ngx_eventport_module.c static void *ngx_eventport_create_conf(ngx_cycle_t *cycle); cycle 108 event/modules/ngx_eventport_module.c static char *ngx_eventport_init_conf(ngx_cycle_t *cycle, void *conf); cycle 168 event/modules/ngx_eventport_module.c ngx_eventport_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 175 event/modules/ngx_eventport_module.c epcf = ngx_event_get_conf(cycle->conf_ctx, ngx_eventport_module); cycle 181 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 193 event/modules/ngx_eventport_module.c cycle->log); cycle 212 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 223 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 242 event/modules/ngx_eventport_module.c ngx_eventport_done(ngx_cycle_t *cycle) cycle 246 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 254 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 377 event/modules/ngx_eventport_module.c ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 398 event/modules/ngx_eventport_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 417 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 423 event/modules/ngx_eventport_module.c ngx_log_error(level, cycle->log, err, "port_getn() failed"); cycle 432 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 462 event/modules/ngx_eventport_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 469 event/modules/ngx_eventport_module.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 474 event/modules/ngx_eventport_module.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 480 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 564 event/modules/ngx_eventport_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 578 event/modules/ngx_eventport_module.c ngx_eventport_create_conf(ngx_cycle_t *cycle) cycle 582 event/modules/ngx_eventport_module.c epcf = ngx_palloc(cycle->pool, sizeof(ngx_eventport_conf_t)); cycle 594 event/modules/ngx_eventport_module.c ngx_eventport_init_conf(ngx_cycle_t *cycle, void *conf) cycle 18 event/modules/ngx_kqueue_module.c static ngx_int_t ngx_kqueue_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 19 event/modules/ngx_kqueue_module.c static void ngx_kqueue_done(ngx_cycle_t *cycle); cycle 26 event/modules/ngx_kqueue_module.c static ngx_int_t ngx_kqueue_process_changes(ngx_cycle_t *cycle, ngx_uint_t try); cycle 27 event/modules/ngx_kqueue_module.c static ngx_int_t ngx_kqueue_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 32 event/modules/ngx_kqueue_module.c static void *ngx_kqueue_create_conf(ngx_cycle_t *cycle); cycle 33 event/modules/ngx_kqueue_module.c static char *ngx_kqueue_init_conf(ngx_cycle_t *cycle, void *conf); cycle 116 event/modules/ngx_kqueue_module.c ngx_kqueue_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 124 event/modules/ngx_kqueue_module.c kcf = ngx_event_get_conf(cycle->conf_ctx, ngx_kqueue_module); cycle 130 event/modules/ngx_kqueue_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 137 event/modules/ngx_kqueue_module.c list_mutex = ngx_mutex_init(cycle->log, 0); cycle 142 event/modules/ngx_kqueue_module.c kevent_mutex = ngx_mutex_init(cycle->log, 0); cycle 158 event/modules/ngx_kqueue_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 170 event/modules/ngx_kqueue_module.c cycle->log); cycle 180 event/modules/ngx_kqueue_module.c cycle->log); cycle 195 event/modules/ngx_kqueue_module.c event_list = ngx_alloc(kcf->events * sizeof(struct kevent), cycle->log); cycle 219 event/modules/ngx_kqueue_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 250 event/modules/ngx_kqueue_module.c ngx_kqueue_done(ngx_cycle_t *cycle) cycle 253 event/modules/ngx_kqueue_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 490 event/modules/ngx_kqueue_module.c ngx_kqueue_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 501 event/modules/ngx_kqueue_module.c if (ngx_kqueue_process_changes(cycle, 0) == NGX_ERROR) { cycle 533 event/modules/ngx_kqueue_module.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 544 event/modules/ngx_kqueue_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 561 event/modules/ngx_kqueue_module.c ngx_log_error(level, cycle->log, err, "kevent() failed"); cycle 570 event/modules/ngx_kqueue_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 579 event/modules/ngx_kqueue_module.c ngx_kqueue_dump_event(cycle->log, &event_list[i]); cycle 582 event/modules/ngx_kqueue_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, event_list[i].data, cycle 615 event/modules/ngx_kqueue_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 669 event/modules/ngx_kqueue_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 693 event/modules/ngx_kqueue_module.c ngx_kqueue_process_changes(ngx_cycle_t *cycle, ngx_uint_t try) cycle 726 event/modules/ngx_kqueue_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 732 event/modules/ngx_kqueue_module.c cycle->log, err, "kevent() failed"); cycle 759 event/modules/ngx_kqueue_module.c ngx_kqueue_create_conf(ngx_cycle_t *cycle) cycle 763 event/modules/ngx_kqueue_module.c kcf = ngx_palloc(cycle->pool, sizeof(ngx_kqueue_conf_t)); cycle 776 event/modules/ngx_kqueue_module.c ngx_kqueue_init_conf(ngx_cycle_t *cycle, void *conf) cycle 12 event/modules/ngx_poll_module.c static ngx_int_t ngx_poll_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 13 event/modules/ngx_poll_module.c static void ngx_poll_done(ngx_cycle_t *cycle); cycle 18 event/modules/ngx_poll_module.c static ngx_int_t ngx_poll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 20 event/modules/ngx_poll_module.c static char *ngx_poll_init_conf(ngx_cycle_t *cycle, void *conf); cycle 67 event/modules/ngx_poll_module.c ngx_poll_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 76 event/modules/ngx_poll_module.c || cycle->old_cycle == NULL cycle 77 event/modules/ngx_poll_module.c || cycle->old_cycle->connection_n < cycle->connection_n) cycle 79 event/modules/ngx_poll_module.c list = ngx_alloc(sizeof(struct pollfd) * cycle->connection_n, cycle 80 event/modules/ngx_poll_module.c cycle->log); cycle 104 event/modules/ngx_poll_module.c ngx_poll_done(ngx_cycle_t *cycle) cycle 238 event/modules/ngx_poll_module.c ngx_poll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) cycle 250 event/modules/ngx_poll_module.c if (cycle->log->log_level & NGX_LOG_DEBUG_ALL) { cycle 252 event/modules/ngx_poll_module.c ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 259 event/modules/ngx_poll_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "poll timer: %M", timer); cycle 269 event/modules/ngx_poll_module.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 286 event/modules/ngx_poll_module.c ngx_log_error(level, cycle->log, err, "poll() failed"); cycle 295 event/modules/ngx_poll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 309 event/modules/ngx_poll_module.c ngx_log_debug4(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 314 event/modules/ngx_poll_module.c ngx_log_debug4(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 321 event/modules/ngx_poll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 327 event/modules/ngx_poll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 343 event/modules/ngx_poll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "unexpected event"); cycle 413 event/modules/ngx_poll_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "poll ready != events"); cycle 421 event/modules/ngx_poll_module.c ngx_poll_init_conf(ngx_cycle_t *cycle, void *conf) cycle 425 event/modules/ngx_poll_module.c ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module); cycle 433 event/modules/ngx_poll_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 46 event/modules/ngx_rtsig_module.c static ngx_int_t ngx_rtsig_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 47 event/modules/ngx_rtsig_module.c static void ngx_rtsig_done(ngx_cycle_t *cycle); cycle 51 event/modules/ngx_rtsig_module.c static ngx_int_t ngx_rtsig_process_events(ngx_cycle_t *cycle, cycle 53 event/modules/ngx_rtsig_module.c static ngx_int_t ngx_rtsig_process_overflow(ngx_cycle_t *cycle, cycle 56 event/modules/ngx_rtsig_module.c static void *ngx_rtsig_create_conf(ngx_cycle_t *cycle); cycle 57 event/modules/ngx_rtsig_module.c static char *ngx_rtsig_init_conf(ngx_cycle_t *cycle, void *conf); cycle 145 event/modules/ngx_rtsig_module.c ngx_rtsig_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 149 event/modules/ngx_rtsig_module.c rtscf = ngx_event_get_conf(cycle->conf_ctx, ngx_rtsig_module); cycle 158 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 168 event/modules/ngx_rtsig_module.c cycle->log); cycle 186 event/modules/ngx_rtsig_module.c ngx_rtsig_done(ngx_cycle_t *cycle) cycle 291 event/modules/ngx_rtsig_module.c ngx_rtsig_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) cycle 312 event/modules/ngx_rtsig_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 322 event/modules/ngx_rtsig_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, err, cycle 337 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 343 event/modules/ngx_rtsig_module.c cycle->log, err, "sigtimedwait() failed"); cycle 347 event/modules/ngx_rtsig_module.c ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 383 event/modules/ngx_rtsig_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 428 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 438 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 443 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 455 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 463 event/modules/ngx_rtsig_module.c ngx_rtsig_process_overflow(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 474 event/modules/ngx_rtsig_module.c ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 486 event/modules/ngx_rtsig_module.c if (overflow_current == cycle->connection_n) { cycle 490 event/modules/ngx_rtsig_module.c c = cycle->files[overflow_current++]; cycle 523 event/modules/ngx_rtsig_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 529 event/modules/ngx_rtsig_module.c cycle->log, 0, cycle 547 event/modules/ngx_rtsig_module.c c = cycle->files[overflow_list[i].fd]; cycle 626 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, errno, cycle 636 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, errno, cycle 648 event/modules/ngx_rtsig_module.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 651 event/modules/ngx_rtsig_module.c while (ngx_rtsig_process_events(cycle, 0, flags) == NGX_OK) cycle 664 event/modules/ngx_rtsig_module.c while (ngx_rtsig_process_events(cycle, 0, flags) == NGX_OK) { cycle 677 event/modules/ngx_rtsig_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 688 event/modules/ngx_rtsig_module.c ngx_rtsig_create_conf(ngx_cycle_t *cycle) cycle 692 event/modules/ngx_rtsig_module.c rtscf = ngx_palloc(cycle->pool, sizeof(ngx_rtsig_conf_t)); cycle 707 event/modules/ngx_rtsig_module.c ngx_rtsig_init_conf(ngx_cycle_t *cycle, void *conf) cycle 12 event/modules/ngx_select_module.c static ngx_int_t ngx_select_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 13 event/modules/ngx_select_module.c static void ngx_select_done(ngx_cycle_t *cycle); cycle 18 event/modules/ngx_select_module.c static ngx_int_t ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 20 event/modules/ngx_select_module.c static void ngx_select_repair_fd_sets(ngx_cycle_t *cycle); cycle 21 event/modules/ngx_select_module.c static char *ngx_select_init_conf(ngx_cycle_t *cycle, void *conf); cycle 74 event/modules/ngx_select_module.c ngx_select_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 85 event/modules/ngx_select_module.c || cycle->old_cycle == NULL cycle 86 event/modules/ngx_select_module.c || cycle->old_cycle->connection_n < cycle->connection_n) cycle 88 event/modules/ngx_select_module.c index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, cycle 89 event/modules/ngx_select_module.c cycle->log); cycle 115 event/modules/ngx_select_module.c ngx_select_done(ngx_cycle_t *cycle) cycle 210 event/modules/ngx_select_module.c ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 228 event/modules/ngx_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 233 event/modules/ngx_select_module.c if (cycle->log->log_level & NGX_LOG_DEBUG_ALL) { cycle 237 event/modules/ngx_select_module.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 241 event/modules/ngx_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 255 event/modules/ngx_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 269 event/modules/ngx_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 288 event/modules/ngx_select_module.c ngx_log_error(level, cycle->log, err, "select() failed"); cycle 291 event/modules/ngx_select_module.c ngx_select_repair_fd_sets(cycle); cycle 302 event/modules/ngx_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 319 event/modules/ngx_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 326 event/modules/ngx_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 345 event/modules/ngx_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 348 event/modules/ngx_select_module.c ngx_select_repair_fd_sets(cycle); cycle 356 event/modules/ngx_select_module.c ngx_select_repair_fd_sets(ngx_cycle_t *cycle) cycle 374 event/modules/ngx_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 392 event/modules/ngx_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 404 event/modules/ngx_select_module.c ngx_select_init_conf(ngx_cycle_t *cycle, void *conf) cycle 408 event/modules/ngx_select_module.c ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module); cycle 416 event/modules/ngx_select_module.c if (cycle->connection_n > FD_SETSIZE) { cycle 417 event/modules/ngx_select_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 425 event/modules/ngx_select_module.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 12 event/modules/ngx_win32_select_module.c static ngx_int_t ngx_select_init(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 13 event/modules/ngx_win32_select_module.c static void ngx_select_done(ngx_cycle_t *cycle); cycle 18 event/modules/ngx_win32_select_module.c static ngx_int_t ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 20 event/modules/ngx_win32_select_module.c static void ngx_select_repair_fd_sets(ngx_cycle_t *cycle); cycle 21 event/modules/ngx_win32_select_module.c static char *ngx_select_init_conf(ngx_cycle_t *cycle, void *conf); cycle 75 event/modules/ngx_win32_select_module.c ngx_select_init(ngx_cycle_t *cycle, ngx_msec_t timer) cycle 86 event/modules/ngx_win32_select_module.c || cycle->old_cycle == NULL cycle 87 event/modules/ngx_win32_select_module.c || cycle->old_cycle->connection_n < cycle->connection_n) cycle 89 event/modules/ngx_win32_select_module.c index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, cycle 90 event/modules/ngx_win32_select_module.c cycle->log); cycle 117 event/modules/ngx_win32_select_module.c ngx_select_done(ngx_cycle_t *cycle) cycle 217 event/modules/ngx_win32_select_module.c ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 228 event/modules/ngx_win32_select_module.c if (cycle->log->log_level & NGX_LOG_DEBUG_ALL) { cycle 232 event/modules/ngx_win32_select_module.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 247 event/modules/ngx_win32_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 275 event/modules/ngx_win32_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 279 event/modules/ngx_win32_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, "select() failed"); cycle 282 event/modules/ngx_win32_select_module.c ngx_select_repair_fd_sets(cycle); cycle 293 event/modules/ngx_win32_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 310 event/modules/ngx_win32_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 317 event/modules/ngx_win32_select_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 336 event/modules/ngx_win32_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 339 event/modules/ngx_win32_select_module.c ngx_select_repair_fd_sets(cycle); cycle 347 event/modules/ngx_win32_select_module.c ngx_select_repair_fd_sets(ngx_cycle_t *cycle) cycle 363 event/modules/ngx_win32_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 378 event/modules/ngx_win32_select_module.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 388 event/modules/ngx_win32_select_module.c ngx_select_init_conf(ngx_cycle_t *cycle, void *conf) cycle 392 event/modules/ngx_win32_select_module.c ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module); cycle 23 event/ngx_event.c static ngx_int_t ngx_event_module_init(ngx_cycle_t *cycle); cycle 24 event/ngx_event.c static ngx_int_t ngx_event_process_init(ngx_cycle_t *cycle); cycle 33 event/ngx_event.c static void *ngx_event_create_conf(ngx_cycle_t *cycle); cycle 34 event/ngx_event.c static char *ngx_event_init_conf(ngx_cycle_t *cycle, void *conf); cycle 199 event/ngx_event.c ngx_process_events_and_timers(ngx_cycle_t *cycle) cycle 226 event/ngx_event.c if (ngx_trylock_accept_mutex(cycle) == NGX_ERROR) { cycle 245 event/ngx_event.c (void) ngx_process_events(cycle, timer, flags); cycle 249 event/ngx_event.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 253 event/ngx_event.c ngx_event_process_posted(cycle, &ngx_posted_accept_events); cycle 264 event/ngx_event.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 269 event/ngx_event.c ngx_wakeup_worker_thread(cycle); cycle 272 event/ngx_event.c ngx_event_process_posted(cycle, &ngx_posted_events); cycle 426 event/ngx_event.c ngx_event_module_init(ngx_cycle_t *cycle) cycle 436 event/ngx_event.c cf = ngx_get_conf(cycle->conf_ctx, ngx_events_module); cycle 439 event/ngx_event.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 447 event/ngx_event.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, cycle 451 event/ngx_event.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 461 event/ngx_event.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 472 event/ngx_event.c ngx_log_error(NGX_LOG_WARN, cycle->log, 0, cycle 513 event/ngx_event.c shm.log = cycle->log; cycle 523 event/ngx_event.c if (ngx_shmtx_create(&ngx_accept_mutex, shared, cycle->lock_file.data) cycle 533 event/ngx_event.c ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 574 event/ngx_event.c ngx_event_process_init(ngx_cycle_t *cycle) cycle 584 event/ngx_event.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 585 event/ngx_event.c ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module); cycle 597 event/ngx_event.c ngx_posted_events_mutex = ngx_mutex_init(cycle->log, 0); cycle 603 event/ngx_event.c if (ngx_event_timer_init(cycle->log) == NGX_ERROR) { cycle 618 event/ngx_event.c if (module->actions.init(cycle, ngx_timer_resolution) != NGX_OK) { cycle 637 event/ngx_event.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 648 event/ngx_event.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 657 event/ngx_event.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 662 event/ngx_event.c cycle->files_n = (ngx_uint_t) rlmt.rlim_cur; cycle 664 event/ngx_event.c cycle->files = ngx_calloc(sizeof(ngx_connection_t *) * cycle->files_n, cycle 665 event/ngx_event.c cycle->log); cycle 666 event/ngx_event.c if (cycle->files == NULL) { cycle 673 event/ngx_event.c cycle->connections = cycle 674 event/ngx_event.c ngx_alloc(sizeof(ngx_connection_t) * cycle->connection_n, cycle->log); cycle 675 event/ngx_event.c if (cycle->connections == NULL) { cycle 679 event/ngx_event.c c = cycle->connections; cycle 681 event/ngx_event.c cycle->read_events = ngx_alloc(sizeof(ngx_event_t) * cycle->connection_n, cycle 682 event/ngx_event.c cycle->log); cycle 683 event/ngx_event.c if (cycle->read_events == NULL) { cycle 687 event/ngx_event.c rev = cycle->read_events; cycle 688 event/ngx_event.c for (i = 0; i < cycle->connection_n; i++) { cycle 697 event/ngx_event.c cycle->write_events = ngx_alloc(sizeof(ngx_event_t) * cycle->connection_n, cycle 698 event/ngx_event.c cycle->log); cycle 699 event/ngx_event.c if (cycle->write_events == NULL) { cycle 703 event/ngx_event.c wev = cycle->write_events; cycle 704 event/ngx_event.c for (i = 0; i < cycle->connection_n; i++) { cycle 712 event/ngx_event.c i = cycle->connection_n; cycle 719 event/ngx_event.c c[i].read = &cycle->read_events[i]; cycle 720 event/ngx_event.c c[i].write = &cycle->write_events[i]; cycle 730 event/ngx_event.c cycle->free_connections = next; cycle 731 event/ngx_event.c cycle->free_connection_n = cycle->connection_n; cycle 735 event/ngx_event.c ls = cycle->listening.elts; cycle 736 event/ngx_event.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 738 event/ngx_event.c c = ngx_get_connection(ls[i].fd, cycle->log); cycle 795 event/ngx_event.c iocpcf = ngx_event_get_conf(cycle->conf_ctx, ngx_iocp_module); cycle 916 event/ngx_event.c (*ctx)[ngx_modules[i]->ctx_index] = m->create_conf(cf->cycle); cycle 943 event/ngx_event.c rv = m->init_conf(cf->cycle, (*ctx)[ngx_modules[i]->ctx_index]); cycle 980 event/ngx_event.c cf->cycle->connection_n = ecf->connections; cycle 1002 event/ngx_event.c if (cf->cycle->old_cycle->conf_ctx) { cycle 1003 event/ngx_event.c old_ecf = ngx_event_get_conf(cf->cycle->old_cycle->conf_ctx, cycle 1116 event/ngx_event.c ngx_event_create_conf(ngx_cycle_t *cycle) cycle 1120 event/ngx_event.c ecf = ngx_palloc(cycle->pool, sizeof(ngx_event_conf_t)); cycle 1134 event/ngx_event.c if (ngx_array_init(&ecf->debug_connection, cycle->pool, 4, cycle 1147 event/ngx_event.c ngx_event_init_conf(ngx_cycle_t *cycle, void *conf) cycle 1230 event/ngx_event.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, "no events module found"); cycle 1235 event/ngx_event.c cycle->connection_n = ecf->connections; cycle 1257 event/ngx_event.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 1263 event/ngx_event.c ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, cycle 239 event/ngx_event.h ngx_int_t (*process_changes)(ngx_cycle_t *cycle, ngx_uint_t nowait); cycle 240 event/ngx_event.h ngx_int_t (*process_events)(ngx_cycle_t *cycle, ngx_msec_t timer, cycle 243 event/ngx_event.h ngx_int_t (*init)(ngx_cycle_t *cycle, ngx_msec_t timer); cycle 244 event/ngx_event.h void (*done)(ngx_cycle_t *cycle); cycle 493 event/ngx_event.h void *(*create_conf)(ngx_cycle_t *cycle); cycle 494 event/ngx_event.h char *(*init_conf)(ngx_cycle_t *cycle, void *conf); cycle 540 event/ngx_event.h ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle); cycle 544 event/ngx_event.h void ngx_process_events_and_timers(ngx_cycle_t *cycle); cycle 12 event/ngx_event_accept.c static ngx_int_t ngx_enable_accept_events(ngx_cycle_t *cycle); cycle 13 event/ngx_event_accept.c static ngx_int_t ngx_disable_accept_events(ngx_cycle_t *cycle); cycle 294 event/ngx_event_accept.c ngx_trylock_accept_mutex(ngx_cycle_t *cycle) cycle 298 event/ngx_event_accept.c ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 308 event/ngx_event_accept.c if (ngx_enable_accept_events(cycle) == NGX_ERROR) { cycle 319 event/ngx_event_accept.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 323 event/ngx_event_accept.c if (ngx_disable_accept_events(cycle) == NGX_ERROR) { cycle 335 event/ngx_event_accept.c ngx_enable_accept_events(ngx_cycle_t *cycle) cycle 341 event/ngx_event_accept.c ls = cycle->listening.elts; cycle 342 event/ngx_event_accept.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 364 event/ngx_event_accept.c ngx_disable_accept_events(ngx_cycle_t *cycle) cycle 370 event/ngx_event_accept.c ls = cycle->listening.elts; cycle 371 event/ngx_event_accept.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 41 event/ngx_event_openssl.c static void *ngx_openssl_create_conf(ngx_cycle_t *cycle); cycle 43 event/ngx_event_openssl.c static void ngx_openssl_exit(ngx_cycle_t *cycle); cycle 191 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, cert, 1) != NGX_OK) { cycle 204 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, key, 1) != NGX_OK) { cycle 235 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, cert, 1) != NGX_OK) { cycle 279 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, crl, 1) != NGX_OK) { cycle 454 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, file, 1) != NGX_OK) { cycle 2257 event/ngx_event_openssl.c ngx_openssl_create_conf(ngx_cycle_t *cycle) cycle 2261 event/ngx_event_openssl.c oscf = ngx_pcalloc(cycle->pool, sizeof(ngx_openssl_conf_t)); cycle 2317 event/ngx_event_openssl.c ngx_openssl_exit(ngx_cycle_t *cycle) cycle 21 event/ngx_event_posted.c ngx_event_process_posted(ngx_cycle_t *cycle, cycle 30 event/ngx_event_posted.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 47 event/ngx_event_posted.c ngx_wakeup_worker_thread(ngx_cycle_t *cycle) cycle 84 event/ngx_event_posted.c ngx_event_thread_process_posted(ngx_cycle_t *cycle) cycle 94 event/ngx_event_posted.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 103 event/ngx_event_posted.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 112 event/ngx_event_posted.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 157 event/ngx_event_posted.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 168 event/ngx_event_posted.c ngx_wakeup_worker_thread(ngx_cycle_t *cycle) cycle 61 event/ngx_event_posted.h void ngx_event_process_posted(ngx_cycle_t *cycle, cycle 63 event/ngx_event_posted.h void ngx_wakeup_worker_thread(ngx_cycle_t *cycle); cycle 66 event/ngx_event_posted.h ngx_int_t ngx_event_thread_process_posted(ngx_cycle_t *cycle); cycle 1102 http/modules/ngx_http_geo_module.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cycle 831 http/modules/ngx_http_log_module.c log->file = ngx_conf_open_file(cf->cycle, &ngx_http_access_log); cycle 896 http/modules/ngx_http_log_module.c log->file = ngx_conf_open_file(cf->cycle, &value[1]); cycle 902 http/modules/ngx_http_log_module.c if (ngx_conf_full_name(cf->cycle, &value[1], 0) != NGX_OK) { cycle 399 http/modules/ngx_http_map_module.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cycle 65 http/modules/ngx_http_userid_filter_module.c static ngx_int_t ngx_http_userid_init_worker(ngx_cycle_t *cycle); cycle 790 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_init_worker(ngx_cycle_t *cycle) cycle 94 http/modules/ngx_http_xslt_filter_module.c static void ngx_http_xslt_filter_exit(ngx_cycle_t *cycle); cycle 792 http/modules/ngx_http_xslt_filter_module.c if (ngx_conf_full_name(cf->cycle, &value[1], 0) != NGX_OK) { cycle 979 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_filter_exit(ngx_cycle_t *cycle) cycle 61 http/modules/perl/ngx_http_perl_module.c static ngx_int_t ngx_http_perl_init_worker(ngx_cycle_t *cycle); cycle 62 http/modules/perl/ngx_http_perl_module.c static void ngx_http_perl_exit(ngx_cycle_t *cycle); cycle 487 http/modules/perl/ngx_http_perl_module.c if (ngx_conf_full_name(cf->cycle, &m[i], 0) != NGX_OK) { cycle 497 http/modules/perl/ngx_http_perl_module.c if (ngx_set_environment(cf->cycle, NULL) == NULL) { cycle 556 http/modules/perl/ngx_http_perl_module.c if (ngx_set_environment(cf->cycle, NULL) == NULL) { cycle 1031 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_init_worker(ngx_cycle_t *cycle) cycle 1035 http/modules/perl/ngx_http_perl_module.c pmcf = ngx_http_cycle_get_module_main_conf(cycle, ngx_http_perl_module); cycle 1051 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_exit(ngx_cycle_t *cycle) cycle 1065 http/modules/perl/ngx_http_perl_module.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, cycle->log, 0, "perl term"); cycle 1752 http/ngx_http.c iocpcf = ngx_event_get_conf(cf->cycle->conf_ctx, ngx_iocp_module); cycle 67 http/ngx_http_config.h #define ngx_http_cycle_get_module_main_conf(cycle, module) \ cycle 68 http/ngx_http_config.h (cycle->conf_ctx[ngx_http_module.index] ? \ cycle 69 http/ngx_http_config.h ((ngx_http_conf_ctx_t *) cycle->conf_ctx[ngx_http_module.index]) \ cycle 2836 http/ngx_http_core_module.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cycle 3190 http/ngx_http_core_module.c if (ngx_conf_full_name(cf->cycle, &conf->root, 0) != NGX_OK) { cycle 3278 http/ngx_http_core_module.c conf->error_log = &cf->cycle->new_log; cycle 3691 http/ngx_http_core_module.c sn->name = cf->cycle->hostname; cycle 3819 http/ngx_http_core_module.c if (ngx_conf_full_name(cf->cycle, &clcf->root, 0) != NGX_OK) { cycle 4289 http/ngx_http_core_module.c clcf->error_log = ngx_log_create(cf->cycle, &value[1]); cycle 1544 http/ngx_http_file_cache.c if (ngx_conf_full_name(cf->cycle, &cache->path->name, 0) != NGX_OK) { cycle 137 http/ngx_http_script.c if (ngx_conf_full_name(ccv->cf->cycle, v, ccv->conf_prefix) != NGX_OK) { cycle 372 mail/ngx_mail.c ls->logp = &cf->cycle->new_log; cycle 188 mail/ngx_mail_core_module.c conf->server_name = cf->cycle->hostname; cycle 20 misc/ngx_google_perftools_module.c static void *ngx_google_perftools_create_conf(ngx_cycle_t *cycle); cycle 21 misc/ngx_google_perftools_module.c static ngx_int_t ngx_google_perftools_worker(ngx_cycle_t *cycle); cycle 66 misc/ngx_google_perftools_module.c ngx_google_perftools_create_conf(ngx_cycle_t *cycle) cycle 70 misc/ngx_google_perftools_module.c gptcf = ngx_pcalloc(cycle->pool, sizeof(ngx_google_perftools_conf_t)); cycle 86 misc/ngx_google_perftools_module.c ngx_google_perftools_worker(ngx_cycle_t *cycle) cycle 92 misc/ngx_google_perftools_module.c ngx_get_conf(cycle->conf_ctx, ngx_google_perftools_module); cycle 98 misc/ngx_google_perftools_module.c profile = ngx_alloc(gptcf->profiles.len + NGX_INT_T_LEN + 2, cycle->log); cycle 115 misc/ngx_google_perftools_module.c ngx_log_error(NGX_LOG_CRIT, cycle->log, ngx_errno, cycle 196 os/unix/ngx_channel.c ngx_add_channel_event(ngx_cycle_t *cycle, ngx_fd_t fd, ngx_int_t event, cycle 202 os/unix/ngx_channel.c c = ngx_get_connection(fd, cycle->log); cycle 208 os/unix/ngx_channel.c c->pool = cycle->pool; cycle 213 os/unix/ngx_channel.c rev->log = cycle->log; cycle 214 os/unix/ngx_channel.c wev->log = cycle->log; cycle 28 os/unix/ngx_channel.h ngx_int_t ngx_add_channel_event(ngx_cycle_t *cycle, ngx_fd_t fd, cycle 182 os/unix/ngx_freebsd_rfork_thread.c ngx_init_threads(int n, size_t size, ngx_cycle_t *cycle) cycle 196 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 206 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 215 os/unix/ngx_freebsd_rfork_thread.c ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 221 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 228 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 235 os/unix/ngx_freebsd_rfork_thread.c errnos = ngx_calloc(n * sizeof(int), cycle->log); cycle 242 os/unix/ngx_freebsd_rfork_thread.c tids = ngx_calloc((n + 1) * sizeof(ngx_tid_t), cycle->log); cycle 252 os/unix/ngx_freebsd_rfork_thread.c cycle->log); cycle 40 os/unix/ngx_os.h ngx_int_t ngx_os_signal_process(ngx_cycle_t *cycle, char *sig, ngx_int_t pid); cycle 22 os/unix/ngx_process.c static void ngx_execute_proc(ngx_cycle_t *cycle, void *data); cycle 85 os/unix/ngx_process.c ngx_spawn_process(ngx_cycle_t *cycle, ngx_spawn_proc_pt proc, void *data, cycle 103 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 117 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 122 os/unix/ngx_process.c ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 128 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 131 os/unix/ngx_process.c ngx_close_channel(ngx_processes[s].channel, cycle->log); cycle 136 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 139 os/unix/ngx_process.c ngx_close_channel(ngx_processes[s].channel, cycle->log); cycle 145 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 147 os/unix/ngx_process.c ngx_close_channel(ngx_processes[s].channel, cycle->log); cycle 152 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 154 os/unix/ngx_process.c ngx_close_channel(ngx_processes[s].channel, cycle->log); cycle 159 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 162 os/unix/ngx_process.c ngx_close_channel(ngx_processes[s].channel, cycle->log); cycle 167 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 170 os/unix/ngx_process.c ngx_close_channel(ngx_processes[s].channel, cycle->log); cycle 189 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 191 os/unix/ngx_process.c ngx_close_channel(ngx_processes[s].channel, cycle->log); cycle 196 os/unix/ngx_process.c proc(cycle, data); cycle 203 os/unix/ngx_process.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "start %s %P", name, pid); cycle 259 os/unix/ngx_process.c ngx_execute(ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx) cycle 261 os/unix/ngx_process.c return ngx_spawn_process(cycle, ngx_execute_proc, ctx, ctx->name, cycle 267 os/unix/ngx_process.c ngx_execute_proc(ngx_cycle_t *cycle, void *data) cycle 272 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 568 os/unix/ngx_process.c ngx_os_signal_process(ngx_cycle_t *cycle, char *name, ngx_int_t pid) cycle 578 os/unix/ngx_process.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 18 os/unix/ngx_process.h typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); cycle 61 os/unix/ngx_process.h ngx_pid_t ngx_spawn_process(ngx_cycle_t *cycle, cycle 63 os/unix/ngx_process.h ngx_pid_t ngx_execute(ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx); cycle 13 os/unix/ngx_process_cycle.c static void ngx_start_worker_processes(ngx_cycle_t *cycle, ngx_int_t n, cycle 15 os/unix/ngx_process_cycle.c static void ngx_start_cache_manager_processes(ngx_cycle_t *cycle, cycle 17 os/unix/ngx_process_cycle.c static void ngx_pass_open_channel(ngx_cycle_t *cycle, ngx_channel_t *ch); cycle 18 os/unix/ngx_process_cycle.c static void ngx_signal_worker_processes(ngx_cycle_t *cycle, int signo); cycle 19 os/unix/ngx_process_cycle.c static ngx_uint_t ngx_reap_children(ngx_cycle_t *cycle); cycle 20 os/unix/ngx_process_cycle.c static void ngx_master_process_exit(ngx_cycle_t *cycle); cycle 21 os/unix/ngx_process_cycle.c static void ngx_worker_process_cycle(ngx_cycle_t *cycle, void *data); cycle 22 os/unix/ngx_process_cycle.c static void ngx_worker_process_init(ngx_cycle_t *cycle, ngx_uint_t priority); cycle 23 os/unix/ngx_process_cycle.c static void ngx_worker_process_exit(ngx_cycle_t *cycle); cycle 26 os/unix/ngx_process_cycle.c static void ngx_wakeup_worker_threads(ngx_cycle_t *cycle); cycle 29 os/unix/ngx_process_cycle.c static void ngx_cache_manager_process_cycle(ngx_cycle_t *cycle, void *data); cycle 83 os/unix/ngx_process_cycle.c ngx_master_process_cycle(ngx_cycle_t *cycle) cycle 110 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 123 os/unix/ngx_process_cycle.c title = ngx_pnalloc(cycle->pool, size); cycle 134 os/unix/ngx_process_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 136 os/unix/ngx_process_cycle.c ngx_start_worker_processes(cycle, ccf->worker_processes, cycle 138 os/unix/ngx_process_cycle.c ngx_start_cache_manager_processes(cycle, 0); cycle 153 os/unix/ngx_process_cycle.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 162 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 167 os/unix/ngx_process_cycle.c ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "sigsuspend"); cycle 173 os/unix/ngx_process_cycle.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 178 os/unix/ngx_process_cycle.c ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "reap children"); cycle 180 os/unix/ngx_process_cycle.c live = ngx_reap_children(cycle); cycle 184 os/unix/ngx_process_cycle.c ngx_master_process_exit(cycle); cycle 200 os/unix/ngx_process_cycle.c ngx_signal_worker_processes(cycle, SIGKILL); cycle 202 os/unix/ngx_process_cycle.c ngx_signal_worker_processes(cycle, cycle 210 os/unix/ngx_process_cycle.c ngx_signal_worker_processes(cycle, cycle 213 os/unix/ngx_process_cycle.c ls = cycle->listening.elts; cycle 214 os/unix/ngx_process_cycle.c for (n = 0; n < cycle->listening.nelts; n++) { cycle 216 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno, cycle 221 os/unix/ngx_process_cycle.c cycle->listening.nelts = 0; cycle 230 os/unix/ngx_process_cycle.c ngx_start_worker_processes(cycle, ccf->worker_processes, cycle 232 os/unix/ngx_process_cycle.c ngx_start_cache_manager_processes(cycle, 0); cycle 238 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "reconfiguring"); cycle 240 os/unix/ngx_process_cycle.c cycle = ngx_init_cycle(cycle); cycle 241 os/unix/ngx_process_cycle.c if (cycle == NULL) { cycle 242 os/unix/ngx_process_cycle.c cycle = (ngx_cycle_t *) ngx_cycle; cycle 246 os/unix/ngx_process_cycle.c ngx_cycle = cycle; cycle 247 os/unix/ngx_process_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, cycle 249 os/unix/ngx_process_cycle.c ngx_start_worker_processes(cycle, ccf->worker_processes, cycle 251 os/unix/ngx_process_cycle.c ngx_start_cache_manager_processes(cycle, 1); cycle 253 os/unix/ngx_process_cycle.c ngx_signal_worker_processes(cycle, cycle 259 os/unix/ngx_process_cycle.c ngx_start_worker_processes(cycle, ccf->worker_processes, cycle 261 os/unix/ngx_process_cycle.c ngx_start_cache_manager_processes(cycle, 0); cycle 267 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "reopening logs"); cycle 268 os/unix/ngx_process_cycle.c ngx_reopen_files(cycle, ccf->user); cycle 269 os/unix/ngx_process_cycle.c ngx_signal_worker_processes(cycle, cycle 275 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "changing binary"); cycle 276 os/unix/ngx_process_cycle.c ngx_new_binary = ngx_exec_new_binary(cycle, ngx_argv); cycle 282 os/unix/ngx_process_cycle.c ngx_signal_worker_processes(cycle, cycle 290 os/unix/ngx_process_cycle.c ngx_single_process_cycle(ngx_cycle_t *cycle) cycle 294 os/unix/ngx_process_cycle.c if (ngx_set_environment(cycle, NULL) == NULL) { cycle 301 os/unix/ngx_process_cycle.c if (ngx_modules[i]->init_process(cycle) == NGX_ERROR) { cycle 309 os/unix/ngx_process_cycle.c ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "worker cycle"); cycle 311 os/unix/ngx_process_cycle.c ngx_process_events_and_timers(cycle); cycle 317 os/unix/ngx_process_cycle.c ngx_modules[i]->exit_process(cycle); cycle 321 os/unix/ngx_process_cycle.c ngx_master_process_exit(cycle); cycle 326 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "reconfiguring"); cycle 328 os/unix/ngx_process_cycle.c cycle = ngx_init_cycle(cycle); cycle 329 os/unix/ngx_process_cycle.c if (cycle == NULL) { cycle 330 os/unix/ngx_process_cycle.c cycle = (ngx_cycle_t *) ngx_cycle; cycle 334 os/unix/ngx_process_cycle.c ngx_cycle = cycle; cycle 339 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "reopening logs"); cycle 340 os/unix/ngx_process_cycle.c ngx_reopen_files(cycle, (ngx_uid_t) -1); cycle 347 os/unix/ngx_process_cycle.c ngx_start_worker_processes(ngx_cycle_t *cycle, ngx_int_t n, ngx_int_t type) cycle 352 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "start worker processes"); cycle 360 os/unix/ngx_process_cycle.c ngx_spawn_process(cycle, ngx_worker_process_cycle, NULL, cycle 367 os/unix/ngx_process_cycle.c ngx_pass_open_channel(cycle, &ch); cycle 373 os/unix/ngx_process_cycle.c ngx_start_cache_manager_processes(ngx_cycle_t *cycle, ngx_uint_t respawn) cycle 398 os/unix/ngx_process_cycle.c ngx_spawn_process(cycle, ngx_cache_manager_process_cycle, cycle 407 os/unix/ngx_process_cycle.c ngx_pass_open_channel(cycle, &ch); cycle 413 os/unix/ngx_process_cycle.c ngx_spawn_process(cycle, ngx_cache_manager_process_cycle, cycle 422 os/unix/ngx_process_cycle.c ngx_pass_open_channel(cycle, &ch); cycle 427 os/unix/ngx_process_cycle.c ngx_pass_open_channel(ngx_cycle_t *cycle, ngx_channel_t *ch) cycle 440 os/unix/ngx_process_cycle.c ngx_log_debug6(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 449 os/unix/ngx_process_cycle.c ch, sizeof(ngx_channel_t), cycle->log); cycle 455 os/unix/ngx_process_cycle.c ngx_signal_worker_processes(ngx_cycle_t *cycle, int signo) cycle 492 os/unix/ngx_process_cycle.c ngx_log_debug7(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 519 os/unix/ngx_process_cycle.c &ch, sizeof(ngx_channel_t), cycle->log) cycle 530 os/unix/ngx_process_cycle.c ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 535 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 555 os/unix/ngx_process_cycle.c ngx_reap_children(ngx_cycle_t *cycle) cycle 568 os/unix/ngx_process_cycle.c ngx_log_debug7(NGX_LOG_DEBUG_EVENT, cycle->log, 0, cycle 585 os/unix/ngx_process_cycle.c ngx_close_channel(ngx_processes[i].channel, cycle->log); cycle 601 os/unix/ngx_process_cycle.c ngx_log_debug3(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 608 os/unix/ngx_process_cycle.c &ch, sizeof(ngx_channel_t), cycle->log); cycle 617 os/unix/ngx_process_cycle.c if (ngx_spawn_process(cycle, ngx_processes[i].proc, cycle 622 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 633 os/unix/ngx_process_cycle.c ngx_pass_open_channel(cycle, &ch); cycle 642 os/unix/ngx_process_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, cycle 649 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 679 os/unix/ngx_process_cycle.c ngx_master_process_exit(ngx_cycle_t *cycle) cycle 683 os/unix/ngx_process_cycle.c ngx_delete_pidfile(cycle); cycle 685 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "exit"); cycle 689 os/unix/ngx_process_cycle.c ngx_modules[i]->exit_master(cycle); cycle 693 os/unix/ngx_process_cycle.c ngx_close_listening_sockets(cycle); cycle 710 os/unix/ngx_process_cycle.c ngx_destroy_pool(cycle->pool); cycle 717 os/unix/ngx_process_cycle.c ngx_worker_process_cycle(ngx_cycle_t *cycle, void *data) cycle 724 os/unix/ngx_process_cycle.c ngx_worker_process_init(cycle, 1); cycle 734 os/unix/ngx_process_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 737 os/unix/ngx_process_cycle.c if (ngx_init_threads(ngx_threads_n, ccf->thread_stack_size, cycle) cycle 746 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 754 os/unix/ngx_process_cycle.c ngx_threads[n].cv = ngx_cond_init(cycle->log); cycle 763 os/unix/ngx_process_cycle.c (void *) &ngx_threads[n], cycle->log) cycle 778 os/unix/ngx_process_cycle.c c = cycle->connections; cycle 780 os/unix/ngx_process_cycle.c for (i = 0; i < cycle->connection_n; i++) { cycle 792 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "exiting"); cycle 794 os/unix/ngx_process_cycle.c ngx_worker_process_exit(cycle); cycle 798 os/unix/ngx_process_cycle.c ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "worker cycle"); cycle 800 os/unix/ngx_process_cycle.c ngx_process_events_and_timers(cycle); cycle 803 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "exiting"); cycle 805 os/unix/ngx_process_cycle.c ngx_worker_process_exit(cycle); cycle 810 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, cycle 815 os/unix/ngx_process_cycle.c ngx_close_listening_sockets(cycle); cycle 822 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "reopening logs"); cycle 823 os/unix/ngx_process_cycle.c ngx_reopen_files(cycle, -1); cycle 830 os/unix/ngx_process_cycle.c ngx_worker_process_init(ngx_cycle_t *cycle, ngx_uint_t priority) cycle 839 os/unix/ngx_process_cycle.c if (ngx_set_environment(cycle, NULL) == NULL) { cycle 844 os/unix/ngx_process_cycle.c ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); cycle 848 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 858 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 869 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 881 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 890 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 897 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 903 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, cycle 913 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, cycle 917 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 929 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 937 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 947 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 955 os/unix/ngx_process_cycle.c ls = cycle->listening.elts; cycle 956 os/unix/ngx_process_cycle.c for (i = 0; i < cycle->listening.nelts; i++) { cycle 962 os/unix/ngx_process_cycle.c if (ngx_modules[i]->init_process(cycle) == NGX_ERROR) { cycle 984 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 990 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, cycle 998 os/unix/ngx_process_cycle.c if (ngx_add_channel_event(cycle, ngx_channel, NGX_READ_EVENT, cycle 1009 os/unix/ngx_process_cycle.c ngx_worker_process_exit(ngx_cycle_t *cycle) cycle 1017 os/unix/ngx_process_cycle.c ngx_wakeup_worker_threads(cycle); cycle 1022 os/unix/ngx_process_cycle.c ngx_modules[i]->exit_process(cycle); cycle 1027 os/unix/ngx_process_cycle.c c = cycle->connections; cycle 1028 os/unix/ngx_process_cycle.c for (i = 0; i < cycle->connection_n; i++) { cycle 1035 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, cycle 1043 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "aborting"); cycle 1063 os/unix/ngx_process_cycle.c ngx_destroy_pool(cycle->pool); cycle 1162 os/unix/ngx_process_cycle.c ngx_wakeup_worker_threads(ngx_cycle_t *cycle) cycle 1188 os/unix/ngx_process_cycle.c ngx_log_debug0(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 1192 os/unix/ngx_process_cycle.c ngx_done_events(cycle); cycle 1212 os/unix/ngx_process_cycle.c ngx_cycle_t *cycle; cycle 1214 os/unix/ngx_process_cycle.c cycle = (ngx_cycle_t *) ngx_cycle; cycle 1223 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 1228 os/unix/ngx_process_cycle.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 1233 os/unix/ngx_process_cycle.c tls = ngx_calloc(sizeof(ngx_core_tls_t), cycle->log); cycle 1240 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 1259 os/unix/ngx_process_cycle.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cycle->log, 0, cycle 1268 os/unix/ngx_process_cycle.c if (ngx_event_thread_process_posted(cycle) == NGX_ERROR) { cycle 1272 os/unix/ngx_process_cycle.c if (ngx_event_thread_process_posted(cycle) == NGX_ERROR) { cycle 1277 os/unix/ngx_process_cycle.c if (ngx_process_changes(cycle, 1) == NGX_ERROR) { cycle 1288 os/unix/ngx_process_cycle.c ngx_cache_manager_process_cycle(ngx_cycle_t *cycle, void *data) cycle 1295 os/unix/ngx_process_cycle.c cycle->connection_n = 512; cycle 1299 os/unix/ngx_process_cycle.c ngx_worker_process_init(cycle, 0); cycle 1301 os/unix/ngx_process_cycle.c ngx_close_listening_sockets(cycle); cycle 1306 os/unix/ngx_process_cycle.c ev.log = cycle->log; cycle 1318 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "exiting"); cycle 1324 os/unix/ngx_process_cycle.c ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "reopening logs"); cycle 1325 os/unix/ngx_process_cycle.c ngx_reopen_files(cycle, -1); cycle 1328 os/unix/ngx_process_cycle.c ngx_process_events_and_timers(cycle); cycle 1367 os/unix/ngx_process_cycle.c ngx_cycle_t *cycle; cycle 1369 os/unix/ngx_process_cycle.c cycle = (ngx_cycle_t *) ngx_cycle; cycle 1371 os/unix/ngx_process_cycle.c path = cycle->pathes.elts; cycle 1372 os/unix/ngx_process_cycle.c for (i = 0; i < cycle->pathes.nelts; i++) { cycle 36 os/unix/ngx_process_cycle.h void ngx_master_process_cycle(ngx_cycle_t *cycle); cycle 37 os/unix/ngx_process_cycle.h void ngx_single_process_cycle(ngx_cycle_t *cycle); cycle 47 os/unix/ngx_pthread_thread.c ngx_init_threads(int n, size_t size, ngx_cycle_t *cycle) cycle 56 os/unix/ngx_pthread_thread.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 64 os/unix/ngx_pthread_thread.c ngx_log_error(NGX_LOG_ALERT, cycle->log, err, cycle 95 os/unix/ngx_thread.h ngx_int_t ngx_init_threads(int n, size_t size, ngx_cycle_t *cycle);