Lines Matching refs:proto_port

410     dport = app->proto_port;  in nxt_router_start_app_process_handler()
857 nxt_port_t *proto_port; in nxt_router_app_restart_handler() local
900 proto_port = app->proto_port; in nxt_router_app_restart_handler()
902 if (proto_port != NULL) { in nxt_router_app_restart_handler()
904 proto_port->pid); in nxt_router_app_restart_handler()
906 app->proto_port = NULL; in nxt_router_app_restart_handler()
907 proto_port->app = NULL; in nxt_router_app_restart_handler()
924 if (proto_port != NULL) { in nxt_router_app_restart_handler()
925 (void) nxt_port_socket_write(task, proto_port, NXT_PORT_MSG_QUIT, in nxt_router_app_restart_handler()
928 nxt_port_close(task, proto_port); in nxt_router_app_restart_handler()
930 nxt_port_use(task, proto_port, -1); in nxt_router_app_restart_handler()
3031 dport = app->proto_port; in nxt_router_app_rpc_create()
3117 nxt_assert(app->proto_port == NULL); in nxt_router_app_prefork_ready()
3122 app->proto_port = port; in nxt_router_app_prefork_ready()
4450 nxt_assert(app->proto_port == NULL); in nxt_router_app_port_ready()
4466 app->proto_port = port; in nxt_router_app_port_ready()
4799 if (port == app->proto_port) { in nxt_router_app_port_close()
4800 app->proto_port = NULL; in nxt_router_app_port_close()
5001 nxt_port_t *port, *proto_port; in nxt_router_free_app() local
5033 proto_port = app->proto_port; in nxt_router_free_app()
5035 if (proto_port != NULL) { in nxt_router_free_app()
5037 proto_port->pid); in nxt_router_free_app()
5039 app->proto_port = NULL; in nxt_router_free_app()
5040 proto_port->app = NULL; in nxt_router_free_app()
5045 if (proto_port != NULL) { in nxt_router_free_app()
5046 nxt_port_socket_write(task, proto_port, NXT_PORT_MSG_QUIT, in nxt_router_free_app()
5049 nxt_port_close(task, proto_port); in nxt_router_free_app()
5051 nxt_port_use(task, proto_port, -1); in nxt_router_free_app()
5054 nxt_assert(app->proto_port == NULL); in nxt_router_free_app()