Lines Matching refs:init

132 nxt_process_init_start(nxt_task_t *task, nxt_process_init_t init)  in nxt_process_init_start()  argument
148 process->name = init.name; in nxt_process_init_start()
152 *pinit = init; in nxt_process_init_start()
170 nxt_process_init_t *init; in nxt_process_start() local
172 init = nxt_process_init(process); in nxt_process_start()
174 port = nxt_port_new(task, 0, 0, init->type); in nxt_process_start()
193 if (init->prefork) { in nxt_process_start()
194 ret = init->prefork(task, process, tmp_mp); in nxt_process_start()
251 nxt_process_init_t *init; in nxt_process_child_fixup() local
254 init = nxt_process_init(process); in nxt_process_child_fixup()
266 ptype = init->type; in nxt_process_child_fixup()
299 if (init->siblings != NULL) { in nxt_process_child_fixup()
300 nxt_queue_each(p, init->siblings, nxt_process_t, link) { in nxt_process_child_fixup()
391 nxt_process_init_t *init; in nxt_process_setup() local
395 init = nxt_process_init(process); in nxt_process_setup()
406 rt->type = init->type; in nxt_process_setup()
411 engine->signals->sigev = init->signals; in nxt_process_setup()
457 nxt_process_init_t *init; in nxt_process_do_start() local
461 init = nxt_process_init(process); in nxt_process_do_start()
464 nxt_port_enable(task, port, init->port_handlers); in nxt_process_do_start()
466 ret = init->setup(task, process); in nxt_process_do_start()
484 ret = init->start(task, &process->data); in nxt_process_do_start()
655 nxt_process_init_t *init; in nxt_process_created_ok() local
661 init = nxt_process_init(process); in nxt_process_created_ok()
675 ret = init->start(task, &process->data); in nxt_process_created_ok()
695 nxt_process_init_t *init; in nxt_process_created_error() local
698 init = nxt_process_init(process); in nxt_process_created_error()
700 nxt_alert(task, "%s failed to start", init->name); in nxt_process_created_error()