Home
last modified time | relevance | path

Searched refs:main_port (Results 1 – 5 of 5) sorted by relevance

/unit/src/
H A Dnxt_process.c485 nxt_port_t *my_port, *main_port; in nxt_process_whoami() local
491 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_process_whoami()
493 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_whoami()
507 main_port->pid, process); in nxt_process_whoami()
509 nxt_mp_free(main_port->mem_pool, buf); in nxt_process_whoami()
514 fd = (process->parent_port != main_port) ? my_port->pair[1] : -1; in nxt_process_whoami()
522 nxt_mp_free(main_port->mem_pool, buf); in nxt_process_whoami()
590 nxt_port_t *my_port, *main_port; in nxt_process_send_created() local
598 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_process_send_created()
600 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_send_created()
[all …]
H A Dnxt_cert.c1068 nxt_port_t *main_port, *recv_port; in nxt_cert_store_get() local
1083 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_cert_store_get()
1092 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_CERT_GET, -1, in nxt_cert_store_get()
1195 nxt_port_t *main_port; in nxt_cert_store_delete() local
1205 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_cert_store_delete()
1207 (void) nxt_port_socket_write(task, main_port, NXT_PORT_MSG_CERT_DELETE, in nxt_cert_store_delete()
H A Dnxt_application.c162 nxt_port_t *main_port, *discovery_port; in nxt_discovery_start() local
174 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_discovery_start()
180 main_port->pid, NULL); in nxt_discovery_start()
186 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_MODULES, -1, in nxt_discovery_start()
H A Dnxt_router.c2549 nxt_port_t *main_port, *router_port; in nxt_router_listen_socket_rpc_create() local
2573 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_listen_socket_rpc_create()
2579 main_port->pid, rpc); in nxt_router_listen_socket_rpc_create()
2584 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_SOCKET, -1, in nxt_router_listen_socket_rpc_create()
3856 nxt_port_t *main_port, *router_port; in nxt_router_access_log_open() local
3873 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_access_log_open()
3884 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_ACCESS_LOG, -1, in nxt_router_access_log_open()
3986 nxt_port_t *main_port, *router_port; in nxt_router_access_log_reopen_handler() local
4021 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_access_log_reopen_handler()
4032 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_ACCESS_LOG, -1, in nxt_router_access_log_reopen_handler()
H A Dnxt_controller.c1910 nxt_port_t *main_port; in nxt_controller_conf_store() local
1915 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_controller_conf_store()
1942 (void) nxt_port_socket_write(task, main_port, in nxt_controller_conf_store()