Home
last modified time | relevance | path

Searched refs:nxt_pid (Results 1 – 23 of 23) sorted by relevance

/unit/src/
H A Dnxt_capability.c58 hdr.pid = nxt_pid; in nxt_capability_linux_get_version()
88 hdr.pid = nxt_pid; in nxt_capability_specific_set()
H A Dnxt_log_moderation.c54 mod->pid = nxt_pid; in nxt_log_moderate_allow()
89 msg = (mod->pid == nxt_pid); in nxt_log_moderate_timer_handler()
H A Dnxt_signal.c116 if (engine->signals->process == nxt_pid) { in nxt_signal_thread_start()
143 engine->signals->process = nxt_pid; in nxt_signal_thread_start()
H A Dnxt_app_log.c60 p = nxt_sprintf(p, end, id, &nxt_log_levels[level], nxt_pid, in nxt_log_time_handler()
63 p = nxt_sprintf(p, end, "[%V] %PI#%PT ", &nxt_log_levels[level], nxt_pid, in nxt_log_time_handler()
H A Dnxt_work_queue.c50 if (nxt_slow_path(nxt_pid != wq->pid)) { in nxt_work_queue_thread_assert()
51 wq->pid = nxt_pid; in nxt_work_queue_thread_assert()
68 wq->pid = nxt_pid; in nxt_work_queue_thread_adopt()
H A Dnxt_process.c50 nxt_pid_t nxt_pid; variable
256 nxt_ppid = nxt_pid; in nxt_process_child_fixup()
258 nxt_pid = nxt_getpid(); in nxt_process_child_fixup()
260 process->pid = nxt_pid; in nxt_process_child_fixup()
261 process->isolated_pid = nxt_pid; in nxt_process_child_fixup()
548 isolated_pid = nxt_pid; in nxt_process_whoami_ok()
551 nxt_pid = pid; in nxt_process_whoami_ok()
918 nxt_pid = getpid(); in nxt_process_daemon()
H A Dnxt_port_memory.c142 if (nxt_slow_path(hdr->src_pid != nxt_pid && hdr->dst_pid != nxt_pid)) { in nxt_port_mmap_buf_completion()
176 if (hdr->dst_pid == nxt_pid in nxt_port_mmap_buf_completion()
236 || hdr->dst_pid != nxt_pid)) in nxt_port_incoming_port_mmap()
240 hdr->dst_pid, nxt_pid); in nxt_port_incoming_port_mmap()
338 hdr->src_pid = nxt_pid; in nxt_port_new_port_mmap()
353 hdr->id, nxt_pid); in nxt_port_new_port_mmap()
377 nxt_pid, nxt_random(&task->thread->random)); in nxt_shm_open()
H A Dnxt_lib.c44 nxt_pid = getpid(); in nxt_lib_start()
H A Dnxt_port.c164 port->pid = nxt_pid; in nxt_port_enable()
214 if (process->pid == new_port->pid || process->pid == nxt_pid) { in nxt_port_send_new_port()
386 if (nxt_pid == process->pid) { in nxt_port_change_log_file()
472 if (p->pid == nxt_pid in nxt_port_remove_notify_others()
H A Dnxt_random.c101 key.value[2] ^= nxt_pid; in nxt_random_stir()
H A Dnxt_process.h227 NXT_EXPORT extern nxt_pid_t nxt_pid;
H A Dnxt_external.c81 my_port = nxt_runtime_port_find(rt, nxt_pid, 0); in nxt_external_start()
H A Dnxt_port_rpc.c397 msg.port_msg.pid = nxt_pid; in nxt_port_rpc_remove_peer()
509 msg.port_msg.pid = nxt_pid; in nxt_port_rpc_close()
H A Dnxt_mp.c213 if (nxt_slow_path(nxt_pid != mp->pid)) { in nxt_mp_thread_assert()
214 mp->pid = nxt_pid; in nxt_mp_thread_assert()
235 mp->pid = nxt_pid; in nxt_mp_thread_adopt()
H A Dnxt_file_cache.c166 qw->pid = nxt_pid; in nxt_file_cache_query_locked()
H A Dnxt_kqueue_engine.c181 engine->u.kqueue.pid = nxt_pid; in nxt_kqueue_create()
228 if (fd != -1 && engine->u.kqueue.pid == nxt_pid) { in nxt_kqueue_free()
H A Dnxt_cache.c274 qw->pid = nxt_pid; in nxt_cache_node_hold()
H A Dnxt_runtime.c244 if (nxt_pid != nxt_int_parse(pid, nxt_strlen(pid))) { in nxt_runtime_systemd_listen_sockets()
1379 length = nxt_sprintf(pid, pid + sizeof(pid), "%PI%n", nxt_pid) - pid; in nxt_runtime_pid_file_create()
H A Dnxt_main_process.c673 if (ppid != nxt_pid) { in nxt_main_process_whoami_handler()
703 port = nxt_runtime_process_port_create(task, rt, nxt_pid, 0, in nxt_main_process_port_create()
H A Dnxt_application.c1033 my_port = nxt_runtime_port_find(rt, nxt_pid, 0); in nxt_unit_default_init()
H A Dnxt_port_socket.c184 msg.port_msg.pid = nxt_pid; in nxt_port_socket_write2()
H A Dnxt_router.c876 shared_port = nxt_port_new(task, NXT_SHARED_PORT_ID, nxt_pid, in nxt_router_app_restart_handler()
1756 port = nxt_port_new(task, NXT_SHARED_PORT_ID, nxt_pid, in nxt_router_conf_create()
3397 port = nxt_port_new(task, nxt_port_get_next_id(), nxt_pid, in nxt_router_thread_start()
H A Dnxt_controller.c279 if (nxt_pid == main_pid && certs != NULL) { in nxt_controller_cert_cleanup()