Home
last modified time | relevance | path

Searched refs:my_port (Results 1 – 3 of 3) sorted by relevance

/unit/src/
H A Dnxt_external.c70 nxt_port_t *my_port, *proto_port, *router_port; in nxt_external_start() local
81 my_port = nxt_runtime_port_find(rt, nxt_pid, 0); in nxt_external_start()
83 if (nxt_slow_path(proto_port == NULL || my_port == NULL in nxt_external_start()
99 rc = nxt_external_fd_no_cloexec(task, my_port->pair[0]); in nxt_external_start()
104 rc = nxt_external_fd_no_cloexec(task, my_port->pair[1]); in nxt_external_start()
128 NXT_VERSION, my_port->process->stream, in nxt_external_start()
131 my_port->pid, my_port->id, my_port->pair[0], in nxt_external_start()
132 my_port->pair[1], in nxt_external_start()
H A Dnxt_process.c485 nxt_port_t *my_port, *main_port; in nxt_process_whoami() local
490 my_port = nxt_process_port_first(process); in nxt_process_whoami()
493 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_whoami()
504 stream = nxt_port_rpc_register_handler(task, my_port, in nxt_process_whoami()
517 fd, stream, my_port->id, buf); in nxt_process_whoami()
521 nxt_port_rpc_cancel(task, my_port, stream); in nxt_process_whoami()
590 nxt_port_t *my_port, *main_port; in nxt_process_send_created() local
597 my_port = nxt_process_port_first(process); in nxt_process_send_created()
600 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_send_created()
602 stream = nxt_port_rpc_register_handler(task, my_port, in nxt_process_send_created()
[all …]
H A Dnxt_application.c1016 nxt_port_t *my_port, *proto_port, *router_port; in nxt_unit_default_init() local
1033 my_port = nxt_runtime_port_find(rt, nxt_pid, 0); in nxt_unit_default_init()
1034 if (nxt_slow_path(my_port == NULL)) { in nxt_unit_default_init()
1043 init->ready_stream = my_port->process->stream; in nxt_unit_default_init()
1050 init->read_port.id.pid = my_port->pid; in nxt_unit_default_init()
1051 init->read_port.id.id = my_port->id; in nxt_unit_default_init()
1052 init->read_port.in_fd = my_port->pair[0]; in nxt_unit_default_init()
1053 init->read_port.out_fd = my_port->pair[1]; in nxt_unit_default_init()