Searched refs:proto_port (Results 1 – 4 of 4) sorted by relevance
70 nxt_port_t *my_port, *proto_port, *router_port; in nxt_external_start() local79 proto_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_external_start()83 if (nxt_slow_path(proto_port == NULL || my_port == NULL in nxt_external_start()89 rc = nxt_external_fd_no_cloexec(task, proto_port->pair[1]); in nxt_external_start()129 proto_port->pid, proto_port->id, proto_port->pair[1], in nxt_external_start()
409 dport = app->proto_port; in nxt_router_start_app_process_handler()899 proto_port = app->proto_port; in nxt_router_app_restart_handler()901 if (proto_port != NULL) { in nxt_router_app_restart_handler()3035 dport = app->proto_port; in nxt_router_app_rpc_create()3126 app->proto_port = port; in nxt_router_app_prefork_ready()4804 app->proto_port = NULL; in nxt_router_app_port_close()5037 proto_port = app->proto_port; in nxt_router_free_app()5039 if (proto_port != NULL) { in nxt_router_free_app()5043 app->proto_port = NULL; in nxt_router_free_app()5044 proto_port->app = NULL; in nxt_router_free_app()[all …]
1115 nxt_port_t *my_port, *proto_port, *router_port; in nxt_unit_default_init() local1122 proto_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_unit_default_init()1123 if (nxt_slow_path(proto_port == NULL)) { in nxt_unit_default_init()1137 init->ready_port.id.pid = proto_port->pid; in nxt_unit_default_init()1138 init->ready_port.id.id = proto_port->id; in nxt_unit_default_init()1140 init->ready_port.out_fd = proto_port->pair[1]; in nxt_unit_default_init()
154 nxt_port_t *proto_port; member