Lines Matching refs:pid

388     if (nxt_slow_path(port->pid != nxt_recv_msg_cmsg_pid(msg))) {  in nxt_main_start_process_handler()
533 port = nxt_runtime_port_find(rt, msg->port_msg.pid, in nxt_main_start_process_handler()
560 port = nxt_runtime_port_find(rt, msg->port_msg.pid, in nxt_main_process_created_handler()
573 if (nxt_slow_path(nxt_clone_credential_map(task, process->pid, in nxt_main_process_created_handler()
618 nxt_pid_t pid, ppid; in nxt_main_process_whoami_handler() local
642 pid = nxt_recv_msg_cmsg_pid(msg); in nxt_main_process_whoami_handler()
644 nxt_debug(task, "whoami: from %PI, parent %PI, fd %d", pid, ppid, in nxt_main_process_whoami_handler()
648 port = nxt_runtime_process_port_create(task, rt, pid, 0, in nxt_main_process_whoami_handler()
667 port = nxt_runtime_port_find(rt, pid, 0); in nxt_main_process_whoami_handler()
683 buf->mem.free = nxt_cpymem(buf->mem.free, &pid, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
887 nxt_pid_t pid; in nxt_main_process_sigchld_handler() local
900 pid = waitpid(-1, &status, WNOHANG); in nxt_main_process_sigchld_handler()
902 if (pid == -1) { in nxt_main_process_sigchld_handler()
918 nxt_debug(task, "waitpid(): %PI", pid); in nxt_main_process_sigchld_handler()
920 if (pid == 0) { in nxt_main_process_sigchld_handler()
927 pid, WTERMSIG(status), in nxt_main_process_sigchld_handler()
931 pid, WTERMSIG(status)); in nxt_main_process_sigchld_handler()
936 pid, WEXITSTATUS(status)); in nxt_main_process_sigchld_handler()
939 process = nxt_runtime_process_find(rt, pid); in nxt_main_process_sigchld_handler()
1037 port = nxt_runtime_port_find(task->thread->runtime, msg->port_msg.pid, in nxt_main_port_socket_handler()
1045 msg->port_msg.pid); in nxt_main_port_socket_handler()
1292 if (msg->port_msg.pid != rt->port_by_type[NXT_PROCESS_DISCOVERY]->pid) { in nxt_main_port_modules_handler()
1293 nxt_alert(task, "process %PI cannot send modules", msg->port_msg.pid); in nxt_main_port_modules_handler()
1302 port = nxt_runtime_port_find(task->thread->runtime, msg->port_msg.pid, in nxt_main_port_modules_handler()
1464 if (nxt_slow_path(msg->port_msg.pid != ctl_port->pid)) { in nxt_main_port_conf_store_handler()
1465 nxt_alert(task, "process %PI cannot store conf", msg->port_msg.pid); in nxt_main_port_conf_store_handler()
1590 port = nxt_runtime_port_find(task->thread->runtime, msg->port_msg.pid, in nxt_main_port_access_log_handler()