/unit/src/ |
H A D | nxt_capability.c | 58 hdr.pid = nxt_pid; in nxt_capability_linux_get_version() 88 hdr.pid = nxt_pid; in nxt_capability_specific_set()
|
H A D | nxt_log_moderation.c | 54 mod->pid = nxt_pid; in nxt_log_moderate_allow() 89 msg = (mod->pid == nxt_pid); in nxt_log_moderate_timer_handler()
|
H A D | nxt_signal.c | 116 if (engine->signals->process == nxt_pid) { in nxt_signal_thread_start() 143 engine->signals->process = nxt_pid; in nxt_signal_thread_start()
|
H A D | nxt_app_log.c | 60 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 D | nxt_work_queue.c | 50 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 D | nxt_process.c | 50 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 D | nxt_port_memory.c | 142 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 D | nxt_lib.c | 44 nxt_pid = getpid(); in nxt_lib_start()
|
H A D | nxt_port.c | 164 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 D | nxt_random.c | 101 key.value[2] ^= nxt_pid; in nxt_random_stir()
|
H A D | nxt_process.h | 227 NXT_EXPORT extern nxt_pid_t nxt_pid;
|
H A D | nxt_external.c | 81 my_port = nxt_runtime_port_find(rt, nxt_pid, 0); in nxt_external_start()
|
H A D | nxt_port_rpc.c | 397 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 D | nxt_mp.c | 213 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 D | nxt_file_cache.c | 166 qw->pid = nxt_pid; in nxt_file_cache_query_locked()
|
H A D | nxt_kqueue_engine.c | 181 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 D | nxt_cache.c | 274 qw->pid = nxt_pid; in nxt_cache_node_hold()
|
H A D | nxt_runtime.c | 244 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 D | nxt_main_process.c | 673 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 D | nxt_application.c | 1033 my_port = nxt_runtime_port_find(rt, nxt_pid, 0); in nxt_unit_default_init()
|
H A D | nxt_port_socket.c | 184 msg.port_msg.pid = nxt_pid; in nxt_port_socket_write2()
|
H A D | nxt_router.c | 876 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 D | nxt_controller.c | 279 if (nxt_pid == main_pid && certs != NULL) { in nxt_controller_cert_cleanup()
|