Home
last modified time | relevance | path

Searched refs:cycle (Results 1 – 25 of 220) sorted by relevance

123456789

/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_process_cycle.c264 cycle = ngx_init_cycle(cycle); in ngx_master_process_cycle()
331 cycle->modules[i]->exit_process(cycle); in ngx_single_process_cycle_loop()
342 cycle = ngx_init_cycle(cycle); in ngx_single_process_cycle_loop()
348 ngx_cycle = cycle; in ngx_single_process_cycle_loop()
402 if (cycle->modules[i]->init_process(cycle) == NGX_ERROR) { in ngx_single_process_cycle()
421 cycle->modules[i]->exit_process(cycle); in ngx_single_process_cycle()
432 cycle = ngx_init_cycle(cycle); in ngx_single_process_cycle()
866 cycle->modules[i]->exit_master(cycle); in ngx_master_process_exit()
1188 if (cycle->modules[i]->init_process(cycle) == NGX_ERROR) { in ngx_worker_process_init()
1242 cycle->modules[i]->exit_process(cycle); in ngx_worker_process_exit()
[all …]
H A Dngx_process.c23 static void ngx_execute_proc(ngx_cycle_t *cycle, void *data);
105 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_spawn_process()
119 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, in ngx_spawn_process()
124 ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, in ngx_spawn_process()
130 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, in ngx_spawn_process()
138 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, in ngx_spawn_process()
191 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, in ngx_spawn_process()
199 proc(cycle, data); in ngx_spawn_process()
262 ngx_execute(ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx) in ngx_execute() argument
270 ngx_execute_proc(ngx_cycle_t *cycle, void *data) in ngx_execute_proc() argument
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_module.c43 ngx_cycle_modules(ngx_cycle_t *cycle) in ngx_cycle_modules() argument
50 cycle->modules = ngx_pcalloc(cycle->pool, (ngx_max_module + 1) in ngx_cycle_modules()
52 if (cycle->modules == NULL) { in ngx_cycle_modules()
66 ngx_init_modules(ngx_cycle_t *cycle) in ngx_init_modules() argument
72 if (cycle->modules[i]->init_module(cycle) != NGX_OK) { in ngx_init_modules()
94 module = cycle->modules[i]; in ngx_count_modules()
133 if (cycle->old_cycle && cycle->old_cycle->modules) { in ngx_count_modules()
150 cycle->modules_used = 1; in ngx_count_modules()
252 cf->cycle->modules_n++; in ngx_add_module()
302 if (cycle->old_cycle && cycle->old_cycle->modules) { in ngx_module_index()
[all …]
H A Dngx_cycle.c76 if (cycle == NULL) { in ngx_init_cycle()
81 cycle->pool = pool; in ngx_init_cycle()
82 cycle->log = log; in ngx_init_cycle()
135 ngx_rbtree_init(&cycle->config_dump_rbtree, &cycle->config_dump_sentinel, in ngx_init_cycle()
207 cycle->hostname.data = ngx_pnalloc(pool, cycle->hostname.len); in ngx_init_cycle()
235 cycle->conf_ctx[cycle->modules[i]->index] = rv; in ngx_init_cycle()
259 conf.cycle = cycle; in ngx_init_cycle()
306 return cycle; in ngx_init_cycle()
400 cycle->log = &cycle->new_log; in ngx_init_cycle()
764 return cycle; in ngx_init_cycle()
[all …]
H A Dnginx.c312 if (cycle == NULL) { in main()
351 ngx_os_status(cycle->log); in main()
353 ngx_cycle = cycle; in main()
487 if (ngx_array_init(&cycle->listening, cycle->pool, 10, in ngx_add_inherited_sockets()
693 ls = cycle->listening.elts; in ngx_exec_new_binary()
999 if (ngx_conf_full_name(cycle, &cycle->conf_file, 0) != NGX_OK) { in ngx_process_options()
1003 for (p = cycle->conf_file.data + cycle->conf_file.len - 1; in ngx_process_options()
1008 cycle->conf_prefix.len = p - cycle->conf_file.data + 1; in ngx_process_options()
1009 cycle->conf_prefix.data = cycle->conf_file.data; in ngx_process_options()
1184 cycle->lock_file.data = ngx_pstrdup(cycle->pool, &lock_file); in ngx_core_module_init_conf()
[all …]
H A Dngx_connection.c70 ls = ngx_array_push(&cf->cycle->listening); in ngx_create_listening()
161 ls = ngx_array_push(&cycle->listening); in ngx_clone_listening()
177 ngx_set_inherited_sockets(ngx_cycle_t *cycle) in ngx_set_inherited_sockets() argument
196 ls = cycle->listening.elts; in ngx_set_inherited_sockets()
467 log = cycle->log; in ngx_open_listening_sockets()
476 ls = cycle->listening.elts; in ngx_open_listening_sockets()
780 ls = cycle->listening.elts; in ngx_configure_listening_sockets()
1099 ls = cycle->listening.elts; in ngx_close_listening_sockets()
1162 cycle->listening.nelts = 0; in ngx_close_listening_sockets()
1376 ngx_drain_connections(ngx_cycle_t *cycle) argument
[all …]
H A Dngx_module.h240 ngx_int_t (*init_module)(ngx_cycle_t *cycle);
242 ngx_int_t (*init_process)(ngx_cycle_t *cycle);
243 ngx_int_t (*init_thread)(ngx_cycle_t *cycle);
244 void (*exit_thread)(ngx_cycle_t *cycle);
245 void (*exit_process)(ngx_cycle_t *cycle);
247 void (*exit_master)(ngx_cycle_t *cycle);
262 void *(*create_conf)(ngx_cycle_t *cycle);
263 char *(*init_conf)(ngx_cycle_t *cycle, void *conf);
268 ngx_int_t ngx_cycle_modules(ngx_cycle_t *cycle);
269 ngx_int_t ngx_init_modules(ngx_cycle_t *cycle);
[all …]
H A Dngx_cycle.h128 #define ngx_is_init_cycle(cycle) (cycle->conf_ctx == NULL) argument
133 void ngx_delete_pidfile(ngx_cycle_t *cycle);
134 ngx_int_t ngx_signal_process(ngx_cycle_t *cycle, char *sig);
135 void ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user);
136 char **ngx_set_environment(ngx_cycle_t *cycle, ngx_uint_t *last);
137 ngx_pid_t ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv);
141 void ngx_set_shutdown_timer(ngx_cycle_t *cycle);
H A Dngx_thread_pool.c56 static void *ngx_thread_pool_create_conf(ngx_cycle_t *cycle);
60 static void ngx_thread_pool_exit_worker(ngx_cycle_t *cycle);
398 ngx_thread_pool_create_conf(ngx_cycle_t *cycle) in ngx_thread_pool_create_conf() argument
407 if (ngx_array_init(&tcf->pools, cycle->pool, 4, in ngx_thread_pool_create_conf()
419 ngx_thread_pool_init_conf(ngx_cycle_t *cycle, void *conf) in ngx_thread_pool_init_conf() argument
444 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, in ngx_thread_pool_init_conf()
528 tp = ngx_thread_pool_get(cf->cycle, name); in ngx_thread_pool_add()
558 ngx_thread_pool_get(ngx_cycle_t *cycle, ngx_str_t *name) in ngx_thread_pool_get() argument
583 ngx_thread_pool_init_worker(ngx_cycle_t *cycle) in ngx_thread_pool_init_worker() argument
607 if (ngx_thread_pool_init(tpp[i], cycle->log, cycle->pool) != NGX_OK) { in ngx_thread_pool_init_worker()
[all …]
H A Dngx_regex.c23 static ngx_int_t ngx_regex_module_init(ngx_cycle_t *cycle);
25 static void *ngx_regex_create_conf(ngx_cycle_t *cycle);
26 static char *ngx_regex_init_conf(ngx_cycle_t *cycle, void *conf);
287 ngx_regex_module_init(ngx_cycle_t *cycle) in ngx_regex_module_init() argument
313 cln = ngx_pool_cleanup_add(cycle->pool, 0); in ngx_regex_module_init()
324 ngx_regex_malloc_init(cycle->pool); in ngx_regex_module_init()
344 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_regex_module_init()
358 ngx_log_error(NGX_LOG_INFO, cycle->log, 0, in ngx_regex_module_init()
375 ngx_regex_create_conf(ngx_cycle_t *cycle) in ngx_regex_create_conf() argument
379 rcf = ngx_pcalloc(cycle->pool, sizeof(ngx_regex_conf_t)); in ngx_regex_create_conf()
[all …]
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event.c458 if (cycle->connection_n < cycle->listening.nelts + 1) { in ngx_event_init_conf()
468 cycle->connection_n, cycle->listening.nelts); in ngx_event_init_conf()
578 shm.log = cycle->log; in ngx_event_module_init()
756 cycle->files = ngx_calloc(sizeof(ngx_connection_t *) * cycle->files_n * 2, in ngx_event_process_init()
759 cycle->files = ngx_calloc(sizeof(ngx_connection_t *) * cycle->files_n, in ngx_event_process_init()
779 cycle->connections = in ngx_event_process_init()
780 ngx_alloc(sizeof(ngx_connection_t) * cycle->connection_n, cycle->log); in ngx_event_process_init()
785 c = cycle->connections; in ngx_event_process_init()
787 cycle->read_events = ngx_alloc(sizeof(ngx_event_t) * cycle->connection_n, in ngx_event_process_init()
799 cycle->write_events = ngx_alloc(sizeof(ngx_event_t) * cycle->connection_n, in ngx_event_process_init()
[all …]
/f-stack/app/nginx-1.16.1/src/event/modules/
H A Dngx_select_module.c14 static void ngx_select_done(ngx_cycle_t *cycle);
77 ngx_select_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_select_init() argument
88 || cycle->old_cycle == NULL in ngx_select_init()
89 || cycle->old_cycle->connection_n < cycle->connection_n) in ngx_select_init()
92 cycle->log); in ngx_select_init()
118 ngx_select_done(ngx_cycle_t *cycle) in ngx_select_done() argument
296 ngx_select_repair_fd_sets(cycle); in ngx_select_process_events()
309 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_select_process_events()
354 ngx_select_repair_fd_sets(cycle); in ngx_select_process_events()
363 ngx_select_repair_fd_sets(ngx_cycle_t *cycle) in ngx_select_repair_fd_sets() argument
[all …]
H A Dngx_win32_select_module.c14 static void ngx_select_done(ngx_cycle_t *cycle);
21 static void ngx_select_repair_fd_sets(ngx_cycle_t *cycle);
77 ngx_select_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_select_init() argument
88 || cycle->old_cycle == NULL in ngx_select_init()
89 || cycle->old_cycle->connection_n < cycle->connection_n) in ngx_select_init()
92 cycle->log); in ngx_select_init()
119 ngx_select_done(ngx_cycle_t *cycle) in ngx_select_done() argument
287 ngx_select_repair_fd_sets(cycle); in ngx_select_process_events()
298 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_select_process_events()
347 ngx_select_repair_fd_sets(cycle); in ngx_select_process_events()
[all …]
H A Dngx_win32_poll_module.c15 static void ngx_poll_done(ngx_cycle_t *cycle);
70 ngx_poll_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_poll_init() argument
80 || cycle->old_cycle == NULL in ngx_poll_init()
81 || cycle->old_cycle->connection_n < cycle->connection_n) in ngx_poll_init()
84 cycle->log); in ngx_poll_init()
97 cycle->log); in ngx_poll_init()
122 ngx_poll_done(ngx_cycle_t *cycle) in ngx_poll_done() argument
274 if (cycle->log->log_level & NGX_LOG_DEBUG_ALL) { in ngx_poll_process_events()
306 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_poll_process_events()
414 ngx_poll_init_conf(ngx_cycle_t *cycle, void *conf) in ngx_poll_init_conf() argument
[all …]
H A Dngx_poll_module.c14 static void ngx_poll_done(ngx_cycle_t *cycle);
68 ngx_poll_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_poll_init() argument
77 || cycle->old_cycle == NULL in ngx_poll_init()
78 || cycle->old_cycle->connection_n < cycle->connection_n) in ngx_poll_init()
81 cycle->log); in ngx_poll_init()
105 ngx_poll_done(ngx_cycle_t *cycle) in ngx_poll_done() argument
251 if (cycle->log->log_level & NGX_LOG_DEBUG_ALL) { in ngx_poll_process_events()
270 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, in ngx_poll_process_events()
296 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_poll_process_events()
318 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_poll_process_events()
[all …]
H A Dngx_epoll_module.c110 static void ngx_epoll_test_rdhup(ngx_cycle_t *cycle);
112 static void ngx_epoll_done(ngx_cycle_t *cycle);
286 ngx_eventfd_event.log = cycle->log; in ngx_epoll_aio_init()
290 ngx_eventfd_conn.log = cycle->log; in ngx_epoll_aio_init()
330 ep = epoll_create(cycle->connection_n / 2); in ngx_epoll_init()
345 ngx_epoll_aio_init(cycle, epcf); in ngx_epoll_init()
349 ngx_epoll_test_rdhup(cycle); in ngx_epoll_init()
359 cycle->log); in ngx_epoll_init()
465 ngx_epoll_test_rdhup(ngx_cycle_t *cycle) in ngx_epoll_test_rdhup() argument
530 ngx_epoll_done(ngx_cycle_t *cycle) in ngx_epoll_done() argument
[all …]
H A Dngx_devpoll_module.c39 static void ngx_devpoll_done(ngx_cycle_t *cycle);
49 static void *ngx_devpoll_create_conf(ngx_cycle_t *cycle);
118 ngx_devpoll_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_devpoll_init() argument
152 cycle->log); in ngx_devpoll_init()
162 cycle->log); in ngx_devpoll_init()
176 cycle->log); in ngx_devpoll_init()
195 ngx_devpoll_done(ngx_cycle_t *cycle) in ngx_devpoll_done() argument
357 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, in ngx_devpoll_process_events()
405 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_devpoll_process_events()
535 ngx_devpoll_create_conf(ngx_cycle_t *cycle) in ngx_devpoll_create_conf() argument
[all …]
H A Dngx_eventport_module.c140 static void ngx_eventport_done(ngx_cycle_t *cycle);
211 ngx_eventport_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_eventport_init() argument
230 notify_event.log = cycle->log; in ngx_eventport_init()
239 cycle->log); in ngx_eventport_init()
286 ngx_eventport_done(ngx_cycle_t *cycle) in ngx_eventport_done() argument
458 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, in ngx_eventport_process_events()
477 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_eventport_process_events()
492 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_eventport_process_events()
614 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_eventport_process_events()
626 ngx_eventport_create_conf(ngx_cycle_t *cycle) in ngx_eventport_create_conf() argument
[all …]
H A Dngx_ff_host_event_module.c36 static void * ngx_ff_host_event_create_conf(ngx_cycle_t *cycle);
37 static char * ngx_ff_host_event_init_conf(ngx_cycle_t *cycle,
44 static ngx_int_t ngx_ff_epoll_process_events(ngx_cycle_t *cycle,
82 ngx_ff_host_event_create_conf(ngx_cycle_t *cycle) in ngx_ff_host_event_create_conf() argument
94 ngx_ff_host_event_init_conf(ngx_cycle_t *cycle, void *conf) in ngx_ff_host_event_init_conf() argument
103 ngx_ff_epoll_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_ff_epoll_init() argument
131 ngx_ff_epoll_done(ngx_cycle_t *cycle) in ngx_ff_epoll_done() argument
134 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, in ngx_ff_epoll_done()
324 ngx_ff_epoll_process_events(ngx_cycle_t *cycle, in ngx_ff_epoll_process_events() argument
364 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_ff_epoll_process_events()
[all …]
H A Dngx_kqueue_module.c23 static void ngx_kqueue_done(ngx_cycle_t *cycle);
38 static void *ngx_kqueue_create_conf(ngx_cycle_t *cycle);
122 ngx_kqueue_init(ngx_cycle_t *cycle, ngx_msec_t timer) in ngx_kqueue_init() argument
174 cycle->log); in ngx_kqueue_init()
273 ngx_kqueue_done(ngx_cycle_t *cycle) in ngx_kqueue_done() argument
550 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, in ngx_kqueue_process_events()
563 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, in ngx_kqueue_process_events()
593 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_kqueue_process_events()
678 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, in ngx_kqueue_process_events()
721 ngx_kqueue_create_conf(ngx_cycle_t *cycle) in ngx_kqueue_create_conf() argument
[all …]
/f-stack/app/nginx-1.16.1/src/misc/
H A Dngx_google_perftools_module.c21 static void *ngx_google_perftools_create_conf(ngx_cycle_t *cycle);
22 static ngx_int_t ngx_google_perftools_worker(ngx_cycle_t *cycle);
67 ngx_google_perftools_create_conf(ngx_cycle_t *cycle) in ngx_google_perftools_create_conf() argument
71 gptcf = ngx_pcalloc(cycle->pool, sizeof(ngx_google_perftools_conf_t)); in ngx_google_perftools_create_conf()
87 ngx_google_perftools_worker(ngx_cycle_t *cycle) in ngx_google_perftools_worker() argument
93 ngx_get_conf(cycle->conf_ctx, ngx_google_perftools_module); in ngx_google_perftools_worker()
99 profile = ngx_alloc(gptcf->profiles.len + NGX_INT_T_LEN + 2, cycle->log); in ngx_google_perftools_worker()
116 ngx_log_error(NGX_LOG_CRIT, cycle->log, ngx_errno, in ngx_google_perftools_worker()
/f-stack/dpdk/app/test/
H A Dtest_member_perf.c51 unsigned int cycle; member
94 hashtest_key_lens[params->cycle]); in shuffle_input_keys()
96 hashtest_key_lens[params->cycle]); in shuffle_input_keys()
129 params->key_size = hashtest_key_lens[cycle]; in setup_keys_and_data()
130 params->cycle = cycle; in setup_keys_and_data()
240 false_data[type][params->cycle] = 0; in timed_lookups()
259 false_data[type][params->cycle]++; in timed_lookups()
279 false_data_bulk[type][params->cycle] = 0; in timed_lookups_bulk()
324 false_data_multi[type][params->cycle] = 0; in timed_lookups_multimatch()
445 false_hit[type][params->cycle] = 0; in timed_miss_lookup()
[all …]
H A Dtest_efd_perf.c57 unsigned int cycle; member
94 memcpy(temp_key, keys[i], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
97 memcpy(keys[i], keys[swap_idx], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
100 memcpy(keys[swap_idx], temp_key, hashtest_key_lens[params->cycle]); in shuffle_input_keys()
123 params->key_size = hashtest_key_lens[cycle]; in setup_keys_and_data()
124 params->cycle = cycle; in setup_keys_and_data()
191 cycles[params->cycle][ADD] = time_taken / KEYS_TO_ADD; in timed_adds()
224 cycles[params->cycle][LOOKUP] = time_taken / NUM_LOOKUPS; in timed_lookups()
268 cycles[params->cycle][LOOKUP_MULTI] = time_taken / NUM_LOOKUPS; in timed_lookups_multi()
297 cycles[params->cycle][DELETE] = time_taken / KEYS_TO_ADD; in timed_deletes()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/input/
H A Dpwm-vibrator.txt4 strength increases based on the duty cycle of the enable PWM channel
5 (100% duty cycle meaning strongest vibration, 0% meaning no vibration).
8 driven at fixed duty cycle. If available this is can be used to increase
18 - direction-duty-cycle-ns: Duty cycle of the direction PWM channel in
64 direction-duty-cycle-ns = <1000000000>;
/f-stack/freebsd/contrib/device-tree/Bindings/regulator/
H A Dpwm-regulator.txt7 predefined voltage <=> duty-cycle values must be
10 Intermediary duty-cycle values which would normally
19 appropriate duty-cycle values. This allows for a much
22 assumption that a %50 duty-cycle value will cause the
35 Second cell is duty-cycle in percent (%)
38 - pwm-dutycycle-unit: Integer value encoding the duty cycle unit. If not
46 Duty cycle values are expressed in pwm-dutycycle-unit.
71 * Inverted PWM logic, and the duty cycle range is limited

123456789