Lines Matching refs:init

602     nxt_process_init_t  *init;  in nxt_proto_start_process_handler()  local
619 init = nxt_process_init(process); in nxt_proto_start_process_handler()
620 *init = nxt_app_process; in nxt_proto_start_process_handler()
631 init->start = nxt_app->start; in nxt_proto_start_process_handler()
633 init->name = (const char *) nxt_app_conf->name.start; in nxt_proto_start_process_handler()
646 init->siblings = &nxt_proto_children; in nxt_proto_start_process_handler()
961 nxt_process_init_t *init; in nxt_app_setup() local
965 init = nxt_process_init(process); in nxt_app_setup()
967 return init->start(task, &process->data); in nxt_app_setup()
1056 nxt_unit_default_init(nxt_task_t *task, nxt_unit_init_t *init, in nxt_unit_default_init() argument
1062 nxt_memzero(init, sizeof(nxt_unit_init_t)); in nxt_unit_default_init()
1081 init->ready_port.id.pid = proto_port->pid; in nxt_unit_default_init()
1082 init->ready_port.id.id = proto_port->id; in nxt_unit_default_init()
1083 init->ready_port.in_fd = -1; in nxt_unit_default_init()
1084 init->ready_port.out_fd = proto_port->pair[1]; in nxt_unit_default_init()
1086 init->ready_stream = my_port->process->stream; in nxt_unit_default_init()
1088 init->router_port.id.pid = router_port->pid; in nxt_unit_default_init()
1089 init->router_port.id.id = router_port->id; in nxt_unit_default_init()
1090 init->router_port.in_fd = -1; in nxt_unit_default_init()
1091 init->router_port.out_fd = router_port->pair[1]; in nxt_unit_default_init()
1093 init->read_port.id.pid = my_port->pid; in nxt_unit_default_init()
1094 init->read_port.id.id = my_port->id; in nxt_unit_default_init()
1095 init->read_port.in_fd = my_port->pair[0]; in nxt_unit_default_init()
1096 init->read_port.out_fd = my_port->pair[1]; in nxt_unit_default_init()
1098 init->shared_port_fd = conf->shared_port_fd; in nxt_unit_default_init()
1099 init->shared_queue_fd = conf->shared_queue_fd; in nxt_unit_default_init()
1101 init->log_fd = 2; in nxt_unit_default_init()
1103 init->shm_limit = conf->shm_limit; in nxt_unit_default_init()
1104 init->request_limit = conf->request_limit; in nxt_unit_default_init()