Home
last modified time | relevance | path

Searched refs:shared_port (Results 1 – 3 of 3) sorted by last modified time

/unit/src/
H A Dnxt_router.c421 port_fd = app->shared_port->pair[0]; in nxt_router_start_app_process_handler()
422 queue_fd = app->shared_port->queue_fd; in nxt_router_start_app_process_handler()
865 nxt_port_read_close(shared_port); in nxt_router_app_restart_handler()
886 shared_port->app = app; in nxt_router_app_restart_handler()
888 old_shared_port = app->shared_port; in nxt_router_app_restart_handler()
891 app->shared_port = shared_port; in nxt_router_app_restart_handler()
1757 app->shared_port = port; in nxt_router_conf_create()
4776 if (app->shared_port != NULL) { in nxt_router_free_app()
4777 app->shared_port->app = NULL; in nxt_router_free_app()
4781 app->shared_port = NULL; in nxt_router_free_app()
[all …]
H A Dnxt_router.h149 nxt_port_t *shared_port; member
H A Dnxt_unit.c368 nxt_unit_port_t *shared_port; member
445 shared_port.out_fd = -1; in nxt_unit_init()
446 shared_port.data = NULL; in nxt_unit_init()
465 shared_port.in_fd = init->shared_port_fd; in nxt_unit_init()
550 lib->shared_port = nxt_unit_add_port(ctx, &shared_port, mem); in nxt_unit_init()
551 if (nxt_slow_path(lib->shared_port == NULL)) { in nxt_unit_init()
625 lib->shared_port = NULL; in nxt_unit_create()
773 if (nxt_fast_path(lib->shared_port != NULL)) { in nxt_unit_lib_release()
774 nxt_unit_port_release(lib->shared_port); in nxt_unit_lib_release()
4645 fds[1].fd = lib->shared_port->in_fd; in nxt_unit_read_buf()
[all …]