Lines Matching refs:proto_port

384     dport = app->proto_port;  in nxt_router_start_app_process_handler()
831 nxt_port_t *proto_port; in nxt_router_app_restart_handler() local
874 proto_port = app->proto_port; in nxt_router_app_restart_handler()
876 if (proto_port != NULL) { in nxt_router_app_restart_handler()
878 proto_port->pid); in nxt_router_app_restart_handler()
880 app->proto_port = NULL; in nxt_router_app_restart_handler()
881 proto_port->app = NULL; in nxt_router_app_restart_handler()
898 if (proto_port != NULL) { in nxt_router_app_restart_handler()
899 (void) nxt_port_socket_write(task, proto_port, NXT_PORT_MSG_QUIT, in nxt_router_app_restart_handler()
902 nxt_port_close(task, proto_port); in nxt_router_app_restart_handler()
904 nxt_port_use(task, proto_port, -1); in nxt_router_app_restart_handler()
2777 dport = app->proto_port; in nxt_router_app_rpc_create()
2863 nxt_assert(app->proto_port == NULL); in nxt_router_app_prefork_ready()
2868 app->proto_port = port; in nxt_router_app_prefork_ready()
4159 nxt_assert(app->proto_port == NULL); in nxt_router_app_port_ready()
4175 app->proto_port = port; in nxt_router_app_port_ready()
4508 if (port == app->proto_port) { in nxt_router_app_port_close()
4509 app->proto_port = NULL; in nxt_router_app_port_close()
4710 nxt_port_t *port, *proto_port; in nxt_router_free_app() local
4742 proto_port = app->proto_port; in nxt_router_free_app()
4744 if (proto_port != NULL) { in nxt_router_free_app()
4746 proto_port->pid); in nxt_router_free_app()
4748 app->proto_port = NULL; in nxt_router_free_app()
4749 proto_port->app = NULL; in nxt_router_free_app()
4754 if (proto_port != NULL) { in nxt_router_free_app()
4755 nxt_port_socket_write(task, proto_port, NXT_PORT_MSG_QUIT, in nxt_router_free_app()
4758 nxt_port_close(task, proto_port); in nxt_router_free_app()
4760 nxt_port_use(task, proto_port, -1); in nxt_router_free_app()
4763 nxt_assert(app->proto_port == NULL); in nxt_router_free_app()