Home
last modified time | relevance | path

Searched refs:main_port (Results 1 – 6 of 6) sorted by path

/unit/src/
H A Dnxt_application.c169 nxt_port_t *main_port, *discovery_port; in nxt_discovery_start() local
181 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_discovery_start()
187 main_port->pid, NULL); in nxt_discovery_start()
193 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_MODULES, -1, in nxt_discovery_start()
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_controller.c2079 nxt_port_t *main_port; in nxt_controller_conf_store() local
2084 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_controller_conf_store()
2111 (void) nxt_port_socket_write(task, main_port, in nxt_controller_conf_store()
H A Dnxt_process.c509 nxt_port_t *my_port, *main_port; in nxt_process_whoami() local
515 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_process_whoami()
517 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_whoami()
531 main_port->pid, process); in nxt_process_whoami()
533 nxt_mp_free(main_port->mem_pool, buf); in nxt_process_whoami()
538 fd = (process->parent_port != main_port) ? my_port->pair[1] : -1; in nxt_process_whoami()
546 nxt_mp_free(main_port->mem_pool, buf); in nxt_process_whoami()
614 nxt_port_t *my_port, *main_port; in nxt_process_send_created() local
622 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_process_send_created()
624 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_send_created()
[all …]
H A Dnxt_router.c2632 nxt_port_t *main_port, *router_port; in nxt_router_listen_socket_rpc_create() local
2656 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_listen_socket_rpc_create()
2662 main_port->pid, rpc); in nxt_router_listen_socket_rpc_create()
2667 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_SOCKET, -1, in nxt_router_listen_socket_rpc_create()
H A Dnxt_router_access_log.c205 nxt_port_t *main_port, *router_port; in nxt_router_access_log_open() local
222 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_access_log_open()
233 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_ACCESS_LOG, -1, in nxt_router_access_log_open()
335 nxt_port_t *main_port, *router_port; in nxt_router_access_log_reopen_handler() local
370 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_access_log_reopen_handler()
381 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_ACCESS_LOG, -1, in nxt_router_access_log_reopen_handler()