pid 43 daemons/attrd/pacemaker-attrd.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 48 daemons/attrd/pacemaker-attrd.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); pid 248 daemons/attrd/pacemaker-attrd.c client->name = crm_strdup_printf("%s.%d", value?value:"unknown", client->pid); pid 239 daemons/based/based_callbacks.c cib_client->name = pcmk__itoa(cib_client->pid); pid 254 daemons/based/based_callbacks.c pcmk__client_name(cib_client), cib_client->pid, pid 371 daemons/based/based_io.c cib_diskwrite_complete(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) pid 381 daemons/based/based_io.c crm_trace("Disk write [%d] succeeded", (int) pid); pid 384 daemons/based/based_io.c crm_err("%s: process %d exited %d", errmsg, (int) pid, exitcode); pid 388 daemons/based/based_io.c errmsg, (int) pid, signo, strsignal(signo), pid 407 daemons/based/based_io.c int pid = 0; pid 418 daemons/based/based_io.c pid = fork(); pid 419 daemons/based/based_io.c if (pid < 0) { pid 425 daemons/based/based_io.c if (pid) { pid 427 daemons/based/based_io.c mainloop_child_add(pid, 0, "disk-writer", NULL, cib_diskwrite_complete); pid 239 daemons/based/pacemaker-based.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 244 daemons/based/pacemaker-based.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); pid 30 daemons/controld/controld_corosync.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 34 daemons/controld/controld_corosync.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); pid 79 daemons/controld/controld_throttle.c pid_t pid = pcmk__procfs_pid_of("pacemaker-based"); pid 81 daemons/controld/controld_throttle.c return pid? crm_strdup_printf("/proc/%lld/stat", (long long) pid) : NULL; pid 165 daemons/controld/controld_throttle.c int rc = 0, pid = 0, ppid = 0, pgrp = 0, session = 0, tty_nr = 0, tpgid = 0; pid 169 daemons/controld/controld_throttle.c &pid, comm, &state, pid 91 daemons/execd/execd_alerts.c action->pid, action->rc, cb_data->client_id); pid 95 daemons/execd/execd_alerts.c action->pid, cb_data->client_id); pid 825 daemons/execd/execd_commands.c cmd->last_pid = action->pid; pid 34 daemons/execd/remoted_pidone.c pid_t pid = 0; pid 43 daemons/execd/remoted_pidone.c pid = waitpid(-1, &status, WNOHANG); pid 44 daemons/execd/remoted_pidone.c if (pid == main_pid) { pid 51 daemons/execd/remoted_pidone.c } while (pid > 0); pid 90 daemons/execd/remoted_proxy.c client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id); pid 413 daemons/execd/remoted_proxy.c ipc_client->id, ipc_client->pid); pid 67 daemons/fenced/fenced_commands.c static void st_child_done(int pid, const pcmk__action_result_t *result, pid 82 daemons/fenced/fenced_commands.c int pid; pid 106 daemons/fenced/fenced_commands.c void (*done_cb) (int pid, const pcmk__action_result_t *result, pid 336 daemons/fenced/fenced_commands.c fork_cb(int pid, void *user_data) pid 347 daemons/fenced/fenced_commands.c cmd->action, pid, pid 1090 daemons/fenced/fenced_commands.c void (*done_cb) (int pid, pid 1123 daemons/fenced/fenced_commands.c status_search_cb(int pid, const pcmk__action_result_t *result, void *user_data) pid 1172 daemons/fenced/fenced_commands.c dynamic_list_search_cb(int pid, const pcmk__action_result_t *result, pid 2360 daemons/fenced/fenced_commands.c int pid, const char *next, bool op_merged) pid 2386 daemons/fenced/fenced_commands.c if (pid != 0) { pid 2387 daemons/fenced/fenced_commands.c g_string_append_printf(msg, "[%d] ", pid); pid 2424 daemons/fenced/fenced_commands.c char *prefix = crm_strdup_printf("%s[%d]", cmd->device, pid); pid 2442 daemons/fenced/fenced_commands.c int pid, bool merged) pid 2449 daemons/fenced/fenced_commands.c log_async_result(cmd, result, pid, NULL, merged); pid 2520 daemons/fenced/fenced_commands.c st_child_done(int pid, const pcmk__action_result_t *result, void *user_data) pid 2568 daemons/fenced/fenced_commands.c log_async_result(cmd, result, pid, next_device->id, false); pid 2575 daemons/fenced/fenced_commands.c send_async_reply(cmd, result, pid, false); pid 2623 daemons/fenced/fenced_commands.c send_async_reply(cmd_other, result, pid, true); pid 131 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", value, c->pid); pid 196 daemons/fenced/pacemaker-fenced.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 201 daemons/fenced/pacemaker-fenced.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); pid 60 daemons/pacemakerd/pcmkd_messages.c shutdown_complete_state_reported_to = c->pid; pid 132 daemons/pacemakerd/pcmkd_messages.c if (shutdown_complete_state_reported_to == client->pid) { pid 27 daemons/pacemakerd/pcmkd_subdaemons.c pid_t pid; pid 113 daemons/pacemakerd/pcmkd_subdaemons.c static void pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode); pid 136 daemons/pacemakerd/pcmkd_subdaemons.c (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[next_child].pid), pid 151 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid), pid 164 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid), pid 196 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); pid 203 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); pid 209 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); pid 231 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid == PCMK__SPECIAL_PID) { pid 234 daemons/pacemakerd/pcmkd_subdaemons.c } else if (child->pid != 0) { pid 243 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) pid 251 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, signo, strsignal(signo), pid 258 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); pid 263 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); pid 270 daemons/pacemakerd/pcmkd_subdaemons.c crm_emerg("%s[%d] instructed the machine to reset", name, pid); pid 279 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); pid 290 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = 0; pid 342 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid != 0) { pid 346 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid == PCMK__SPECIAL_PID) { pid 370 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid); pid 377 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = 0; pid 463 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = fork(); pid 464 daemons/pacemakerd/pcmkd_subdaemons.c CRM_ASSERT(child->pid != -1); pid 466 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid > 0) { pid 468 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); pid 471 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, child->name, pid 573 daemons/pacemakerd/pcmkd_subdaemons.c && (child->pid <= 0 || child->pid == PCMK__SPECIAL_PID)) { pid 599 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid <= 0) { pid 605 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = ipc_pid; pid 606 daemons/pacemakerd/pcmkd_subdaemons.c } else if ((ipc_pid != 0) && (child->pid != ipc_pid)) { pid 623 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, child->name); pid 646 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = ipc_pid; pid 650 daemons/pacemakerd/pcmkd_subdaemons.c } else if ((child->pid == 0) && (ret == EINVAL)) { pid 726 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[i].pid == PCMK__SPECIAL_PID) { pid 765 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].pid)); pid 775 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].pid)); pid 784 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].pid), pid 812 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[i].pid != 0) { pid 843 daemons/pacemakerd/pcmkd_subdaemons.c if (!pcmk_children[i].needs_retry || pcmk_children[i].pid != 0) { pid 865 daemons/pacemakerd/pcmkd_subdaemons.c if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) { pid 867 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); pid 871 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid <= 0) { pid 877 daemons/pacemakerd/pcmkd_subdaemons.c if (kill(child->pid, signal) == 0) { pid 879 daemons/pacemakerd/pcmkd_subdaemons.c child->name, signal, (long long) child->pid); pid 883 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid, signal, strerror(errno)); pid 158 include/crm/cluster.h char *pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *msg, pid 204 include/crm/common/internal.h int pcmk__pid_active(pid_t pid, const char *daemon); pid 206 include/crm/common/internal.h int pcmk__read_pidfile(const char *filename, pid_t *pid); pid 208 include/crm/common/internal.h const char *expected_name, pid_t *pid); pid 137 include/crm/common/ipc_internal.h unsigned int pid; pid 157 include/crm/common/mainloop.h void mainloop_child_add(pid_t pid, pid 161 include/crm/common/mainloop.h void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)); pid 163 include/crm/common/mainloop.h void mainloop_child_add_with_flags(pid_t pid, pid 168 include/crm/common/mainloop.h void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)); pid 176 include/crm/common/mainloop.h gboolean mainloop_child_kill(pid_t pid); pid 70 include/crm/fencing/internal.h void (*done) (int pid, pid 73 include/crm/fencing/internal.h void (*fork_cb) (int pid, void *user_data)); pid 158 include/crm/services.h int pid; // Process ID of child pid 48 lib/cluster/cpg.c uint32_t pid; pid 371 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 383 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 395 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 411 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 418 lib/cluster/cpg.c msg->id, msg_type2text(msg->sender.type), msg->sender.pid, pid 441 lib/cluster/cpg.c pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *content, pid 453 lib/cluster/cpg.c crm_err("Nodeid mismatch from %d.%d: claimed nodeid=%u", nodeid, pid, msg->sender.id); pid 539 lib/cluster/cpg.c msg->sender.pid, (int)sizeof(pcmk__cpg_msg_t), pid 655 lib/cluster/cpg.c cpg_peer->nodeid, cpg_peer->pid, pid 664 lib/cluster/cpg.c cpg_peer->pid, cpgreason2str(cpg_peer->reason)); pid 669 lib/cluster/cpg.c cpg_peer->nodeid, cpg_peer->pid, pid 670 lib/cluster/cpg.c cpgreason2str(cpg_peer->reason), (*rival)->pid); pid 719 lib/cluster/cpg.c joined_list[i].pid, cpgreason2str(joined_list[i].reason)); pid 726 lib/cluster/cpg.c && member_list[i].pid != getpid()) { pid 729 lib/cluster/cpg.c groupName->value, counter, member_list[i].pid); pid 734 lib/cluster/cpg.c member_list[i].nodeid, member_list[i].pid); pid 984 lib/cluster/cpg.c msg->sender.pid = local_pid; pid 1384 lib/common/ipc_client.c found_pid = ucred.pid; found_uid = ucred.uid; found_gid = ucred.gid; pid 1393 lib/common/ipc_client.c found_pid = sockpeercred.pid; pid 183 lib/common/ipc_server.c client->pid = pcmk__client_pid(c); pid 261 lib/common/ipc_server.c client->id, client->pid, uid_client, gid_client); pid 526 lib/common/ipc_server.c header->qb.id, c->ipcs, c->pid, (long long) qb_rc); pid 529 lib/common/ipc_server.c header->qb.id, c->ipcs, c->pid, (long long) qb_rc, pid 538 lib/common/ipc_server.c sent, queue_len, c->ipcs, c->pid, pid 552 lib/common/ipc_server.c CRM_XS " %p", c->pid, queue_len, c->ipcs); pid 555 lib/common/ipc_server.c CRM_XS " %p", c->pid, queue_len, c->ipcs); pid 694 lib/common/ipc_server.c crm_trace("Sending the original to %p[%d]", c->ipcs, c->pid); pid 700 lib/common/ipc_server.c crm_trace("Sending a copy to %p[%d]", c->ipcs, c->pid); pid 724 lib/common/ipc_server.c header->qb.id, c->pid, pcmk_rc_str(rc), pid 729 lib/common/ipc_server.c header->qb.id, (long long) qb_rc, c->ipcs, c->pid); pid 767 lib/common/ipc_server.c c->pid, pcmk_rc_str(rc), rc); pid 406 lib/common/logging.c pid_t pid = getpid(); pid 411 lib/common/logging.c (unsigned long) pid); pid 772 lib/common/logging.c pid_t pid = getpid(); pid 825 lib/common/logging.c set_format_string(lpc, crm_system_name, pid, nodename); pid 31 lib/common/mainloop.c pid_t pid; pid 40 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode); pid 1038 lib/common/mainloop.c return child->pid; pid 1084 lib/common/mainloop.c crm_debug("Kill pid %d only. leave group intact.", child->pid); pid 1085 lib/common/mainloop.c rc = kill(child->pid, SIGKILL); pid 1087 lib/common/mainloop.c crm_debug("Kill pid %d's group", child->pid); pid 1088 lib/common/mainloop.c rc = kill(-child->pid, SIGKILL); pid 1093 lib/common/mainloop.c crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid); pid 1108 lib/common/mainloop.c crm_warn("%s process (PID %d) will not die!", child->desc, (int)child->pid); pid 1119 lib/common/mainloop.c crm_debug("%s process (PID %d) timed out", child->desc, (int)child->pid); pid 1135 lib/common/mainloop.c rc = waitpid(child->pid, &status, flags); pid 1138 lib/common/mainloop.c child->pid, child->desc); pid 1141 lib/common/mainloop.c } else if (rc != child->pid) { pid 1154 lib/common/mainloop.c child->pid, child->desc, pcmk_rc_str(errno)); pid 1159 lib/common/mainloop.c child->pid, child->desc, exitcode); pid 1164 lib/common/mainloop.c child->pid, child->desc, signo, strsignal(signo)); pid 1170 lib/common/mainloop.c child->pid, child->desc); pid 1175 lib/common/mainloop.c child->pid, child->desc); pid 1180 lib/common/mainloop.c child->callback(child, child->pid, core, signo, exitcode); pid 1195 lib/common/mainloop.c child->pid); pid 1216 lib/common/mainloop.c mainloop_child_kill(pid_t pid) pid 1227 lib/common/mainloop.c if (pid == child->pid) { pid 1244 lib/common/mainloop.c match->pid); pid 1272 lib/common/mainloop.c mainloop_child_add_with_flags(pid_t pid, int timeout, const char *desc, void *privatedata, enum mainloop_child_flags flags, pid 1273 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)) pid 1278 lib/common/mainloop.c child->pid = pid; pid 1303 lib/common/mainloop.c mainloop_child_add(pid_t pid, int timeout, const char *desc, void *privatedata, pid 1304 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)) pid 1306 lib/common/mainloop.c mainloop_child_add_with_flags(pid, timeout, desc, privatedata, 0, callback); pid 23 lib/common/pid.c pcmk__pid_active(pid_t pid, const char *daemon) pid 45 lib/common/pid.c if (pid <= 0) { pid 49 lib/common/pid.c rc = kill(pid, 0); pid 55 lib/common/pid.c if (last_asked_pid != pid) { pid 57 lib/common/pid.c (long long) pid, strerror(errno)); pid 58 lib/common/pid.c last_asked_pid = pid; pid 71 lib/common/pid.c (long long) pid); pid 78 lib/common/pid.c int rc = kill(pid,0); /* check once again - filter out races */ pid 84 lib/common/pid.c if (last_asked_pid != pid) { pid 92 lib/common/pid.c last_asked_pid = pid; pid 132 lib/common/pid.c pcmk__read_pidfile(const char *filename, pid_t *pid) pid 140 lib/common/pid.c CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL); pid 163 lib/common/pid.c *pid = (pid_t) pid_read; pid 187 lib/common/pid.c const char *expected_name, pid_t *pid) pid 192 lib/common/pid.c if (pid) { pid 193 lib/common/pid.c *pid = pidfile_pid; pid 40 lib/common/procfs.c pcmk__procfs_process_info(struct dirent *entry, char *name, pid_t *pid) pid 56 lib/common/procfs.c if (pid) { pid 57 lib/common/procfs.c *pid = (pid_t) local_pid; pid 115 lib/common/procfs.c pid_t pid = 0; pid 125 lib/common/procfs.c if ((pcmk__procfs_process_info(entry, entry_name, &pid) == pcmk_rc_ok) pid 127 lib/common/procfs.c && (pcmk__pid_active(pid, NULL) == pcmk_rc_ok)) { pid 129 lib/common/procfs.c crm_info("Found %s active as process %lld", name, (long long) pid); pid 132 lib/common/procfs.c pid = 0; pid 135 lib/common/procfs.c return pid; pid 328 lib/common/utils.c pid_t pid = 0; pid 334 lib/common/utils.c pid = fork(); pid 335 lib/common/utils.c switch (pid) { pid 347 lib/common/utils.c "%s:%d : %s", function, pid, file, line, assert_condition); pid 350 lib/common/utils.c if (waitpid(pid, &status, 0) == pid) { pid 357 lib/common/utils.c "(SIGCHLD is probably ignored)", pid); pid 360 lib/common/utils.c pid, pcmk_rc_str(errno)); pid 395 lib/common/utils.c pid_t pid; pid 398 lib/common/utils.c rc = pcmk__pidfile_matches(pidfile, 1, name, &pid); pid 401 lib/common/utils.c name, (long long) pid, pidfile); pid 403 lib/common/utils.c name, (long long) pid, pidfile); pid 407 lib/common/utils.c pid = fork(); pid 408 lib/common/utils.c if (pid < 0) { pid 413 lib/common/utils.c } else if (pid > 0) { pid 37 lib/fencing/st_actions.c void (*done_cb) (int pid, const pcmk__action_result_t *result, pid 39 lib/fencing/st_actions.c void (*fork_cb) (int pid, void *user_data); pid 49 lib/fencing/st_actions.c int pid; pid 54 lib/fencing/st_actions.c static void log_action(stonith_action_t *action, pid_t pid); pid 74 lib/fencing/st_actions.c log_action(stonith_action_t *action, pid_t pid) pid 81 lib/fencing/st_actions.c char *prefix = crm_strdup_printf("%s[%d] stderr:", action->agent, pid); pid 515 lib/fencing/st_actions.c log_action(action, action->pid); pid 527 lib/fencing/st_actions.c action->done_cb(action->pid, &(action->result), action->userdata); pid 539 lib/fencing/st_actions.c action->pid = svc_action->pid; pid 543 lib/fencing/st_actions.c (action->fork_cb) (svc_action->pid, action->userdata); pid 550 lib/fencing/st_actions.c action->pid, action->action); pid 647 lib/fencing/st_actions.c void (*done) (int pid, pid 650 lib/fencing/st_actions.c void (*fork_cb) (int pid, void *user_data)) pid 689 lib/services/services.c if (op->pid != 0) { pid 691 lib/services/services.c id, op->pid); pid 692 lib/services/services.c cancelled = mainloop_child_kill(op->pid); pid 694 lib/services/services.c crm_err("Termination of %s[%d] failed", id, op->pid); pid 746 lib/services/services.c if (op->pid || inflight_systemd_or_upstart(op)) { pid 783 lib/services/services.c if (dup->pid != 0) { pid 533 lib/services/services_linux.c op->pid = 0; pid 570 lib/services/services_linux.c op->id, op->pid, (is_stderr? "stdout" : "stderr")); pid 585 lib/services/services_linux.c char *prefix = crm_strdup_printf("%s[%d] error output", op->id, op->pid); pid 652 lib/services/services_linux.c async_action_complete(mainloop_child_t *p, pid_t pid, int core, int signo, pid 658 lib/services/services_linux.c CRM_CHECK(op->pid == pid, pid 673 lib/services/services_linux.c crm_debug("%s[%d] exited with status %d", op->id, op->pid, exitcode); pid 682 lib/services/services_linux.c kind, op->id, op->pid, pcmk__readable_interval(op->timeout)); pid 693 lib/services/services_linux.c op->id, op->pid, signo, strsignal(signo)); pid 698 lib/services/services_linux.c op->id, op->pid, signo, strsignal(signo)); pid 1042 lib/services/services_linux.c crm_trace("Waiting for %s[%d]", op->id, op->pid); pid 1058 lib/services/services_linux.c wait_rc = waitpid(op->pid, &status, WNOHANG); pid 1068 lib/services/services_linux.c op->id, op->pid, wait_reason); pid 1081 lib/services/services_linux.c CRM_XS " source=poll", op->id, op->pid, wait_reason); pid 1089 lib/services/services_linux.c crm_trace("Stopped waiting for %s[%d]", op->id, op->pid); pid 1103 lib/services/services_linux.c op->id, op->pid, op->timeout); pid 1112 lib/services/services_linux.c if ((wait_rc == 0) && (waitpid(op->pid, &status, WNOHANG) == 0)) { pid 1113 lib/services/services_linux.c if (kill(op->pid, SIGKILL)) { pid 1115 lib/services/services_linux.c op->id, op->pid, pcmk_rc_str(errno)); pid 1118 lib/services/services_linux.c while ((waitpid(op->pid, &status, 0) == (pid_t) -1) pid 1127 lib/services/services_linux.c crm_info("%s[%d] exited with status %d", op->id, op->pid, op->rc); pid 1136 lib/services/services_linux.c op->id, op->pid, signo, strsignal(signo)); pid 1140 lib/services/services_linux.c crm_warn("%s[%d] dumped core", op->id, op->pid); pid 1229 lib/services/services_linux.c op->pid = fork(); pid 1230 lib/services/services_linux.c switch (op->pid) { pid 1336 lib/services/services_linux.c crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid); pid 1337 lib/services/services_linux.c mainloop_child_add_with_flags(op->pid, op->timeout, op->id, op, pid 46 maint/gnulib/lib/forkpty.c int master, slave, pid; pid 51 maint/gnulib/lib/forkpty.c switch (pid = fork ()) pid 69 maint/gnulib/lib/forkpty.c return pid; pid 72 maint/gnulib/lib/get_ppid_of.c get_ppid_of (pid_t pid) pid 82 maint/gnulib/lib/get_ppid_of.c sprintf (filename, "/proc/%u/status", (unsigned int) pid); pid 123 maint/gnulib/lib/get_ppid_of.c sprintf (filename, "/proc/%u/status", (unsigned int) pid); pid 160 maint/gnulib/lib/get_ppid_of.c sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid); pid 198 maint/gnulib/lib/get_ppid_of.c sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid); pid 224 maint/gnulib/lib/get_ppid_of.c { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, sizeof (struct kinfo_proc), 1 }; pid 241 maint/gnulib/lib/get_ppid_of.c if (proc_pidinfo (pid, PROC_PIDT_SHORTBSDINFO, 0, &info, sizeof (info)) pid 254 maint/gnulib/lib/get_ppid_of.c if (proc_pidinfo (pid, PROC_PIDTBSDINFO, 0, &info, 128) == 128) pid 266 maint/gnulib/lib/get_ppid_of.c if (getprocs64 (&procs, sizeof procs, NULL, 0, &pid, 1) > 0) pid 274 maint/gnulib/lib/get_ppid_of.c if (pstat_getproc (&status, sizeof status, 0, pid) > 0) pid 285 maint/gnulib/lib/get_ppid_of.c if (__pstat_getproc64 (status64, sizeof status64, 0, pid) > 0) pid 297 maint/gnulib/lib/get_ppid_of.c sprintf (filename, "/proc/pinfo/%u", pid); pid 313 maint/gnulib/lib/get_ppid_of.c (struct external_pinfo *) cygwin_internal (CW_GETPINFO, pid); pid 321 maint/gnulib/lib/get_ppid_of.c if (pid == getpid ()) pid 341 maint/gnulib/lib/get_ppid_of.c pid_t pid = (arg != NULL ? atoi (arg) : getpid ()); pid 342 maint/gnulib/lib/get_ppid_of.c pid_t parent = get_ppid_of (pid); pid 343 maint/gnulib/lib/get_ppid_of.c printf ("PID=%lu PPID=%lu\n", (unsigned long) pid, (unsigned long) parent); pid 29 maint/gnulib/lib/get_ppid_of.h extern pid_t get_ppid_of (pid_t pid); pid 80 maint/gnulib/lib/get_progname_of.c get_progname_of (pid_t pid) pid 92 maint/gnulib/lib/get_progname_of.c sprintf (filename, "/proc/%u/exe", (unsigned int) pid); pid 113 maint/gnulib/lib/get_progname_of.c sprintf (filename, "/proc/%u/cmdline", (unsigned int) pid); pid 145 maint/gnulib/lib/get_progname_of.c sprintf (filename, "/proc/%u/file", (unsigned int) pid); pid 166 maint/gnulib/lib/get_progname_of.c sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid); pid 209 maint/gnulib/lib/get_progname_of.c sprintf (filename, "/proc/%u/path/a.out", (unsigned int) pid); pid 231 maint/gnulib/lib/get_progname_of.c sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid); pid 264 maint/gnulib/lib/get_progname_of.c { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, sizeof (struct kinfo_proc), 1 }; pid 281 maint/gnulib/lib/get_progname_of.c if (proc_pidinfo (pid, PROC_PIDT_SHORTBSDINFO, 0, &info, sizeof (info)) pid 294 maint/gnulib/lib/get_progname_of.c if (proc_pidinfo (pid, PROC_PIDTBSDINFO, 0, &info, 128) == 128) pid 306 maint/gnulib/lib/get_progname_of.c if (getprocs64 (&procs, sizeof procs, NULL, 0, &pid, 1) > 0) pid 315 maint/gnulib/lib/get_progname_of.c if (pstat_getproc (&status, sizeof status, 0, pid) > 0) pid 351 maint/gnulib/lib/get_progname_of.c if (__pstat_getproc64 (status64, sizeof status64, 0, pid) > 0) pid 392 maint/gnulib/lib/get_progname_of.c sprintf (filename, "/proc/pinfo/%u", pid); pid 420 maint/gnulib/lib/get_progname_of.c (struct external_pinfo *) cygwin_internal (CW_GETPINFO, pid); pid 464 maint/gnulib/lib/get_progname_of.c if (_get_team_info (pid, &info, sizeof (info)) == B_OK) pid 525 maint/gnulib/lib/get_progname_of.c pid_t pid = (arg != NULL ? atoi (arg) : getpid ()); pid 526 maint/gnulib/lib/get_progname_of.c char *progname = get_progname_of (pid); pid 528 maint/gnulib/lib/get_progname_of.c (unsigned long) pid, progname != NULL ? progname : "(null)"); pid 31 maint/gnulib/lib/get_progname_of.h extern char *get_progname_of (pid_t pid) pid 106 maint/gnulib/lib/getprogname.c pid_t pid = getpid (); pid 108 maint/gnulib/lib/getprogname.c p = (0 < getprocs64 (&procs, sizeof procs, NULL, 0, &pid, 1) pid 121 maint/gnulib/lib/getprogname.c pid_t pid = getpid (); pid 123 maint/gnulib/lib/getprogname.c if (pstat_getproc (&status, sizeof status, 0, pid) > 0) pid 159 maint/gnulib/lib/getprogname.c if (__pstat_getproc64 (status64, sizeof status64, 0, pid) > 0) pid 200 maint/gnulib/lib/getprogname.c pid_t pid = getpid (); pid 213 maint/gnulib/lib/getprogname.c if (token > 0 && buf.ps_pid == pid) pid 57 maint/gnulib/lib/grantpt.c pid_t pid = __fork (); pid 58 maint/gnulib/lib/grantpt.c if (pid == -1) pid 60 maint/gnulib/lib/grantpt.c else if (pid == 0) pid 86 maint/gnulib/lib/grantpt.c if (__waitpid (pid, &w, 0) == -1) pid 27 maint/gnulib/lib/spawn.c posix_spawn (pid_t *pid, const char *path, pid 32 maint/gnulib/lib/spawn.c return __spawni (pid, path, file_actions, attrp, pid 69 maint/gnulib/lib/spawn_int.h extern int __spawni (pid_t *pid, const char *path, pid 482 maint/gnulib/lib/spawni.c __spawni (pid_t *pid, const char *prog_filename, pid 684 maint/gnulib/lib/spawni.c if (pid != NULL) pid 685 maint/gnulib/lib/spawni.c *pid = (intptr_t) pinfo.hProcess; pid 724 maint/gnulib/lib/spawni.c __spawni (pid_t *pid, const char *file, pid 763 maint/gnulib/lib/spawni.c if (pid != NULL) pid 764 maint/gnulib/lib/spawni.c *pid = new_pid; pid 27 maint/gnulib/lib/spawnp.c posix_spawnp (pid_t *pid, const char *file, pid 32 maint/gnulib/lib/spawnp.c return __spawni (pid, file, file_actions, attrp, pid 115 maint/gnulib/lib/sys_wait.in.h _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options)); pid 119 maint/gnulib/lib/sys_wait.in.h _GL_CXXALIAS_SYS_CAST (waitpid, pid_t, (pid_t pid, int *statusp, int options)); pid 49 maint/gnulib/lib/wait-process.c # define kill(pid,sig) TerminateProcess ((HANDLE) (pid), sig) pid 27 maint/gnulib/lib/waitpid.c waitpid (pid_t pid, int *statusp, int options) pid 29 maint/gnulib/lib/waitpid.c return _cwait (statusp, pid, WAIT_CHILD); pid 40 maint/gnulib/tests/test-passfd.c pid_t pid; pid 67 maint/gnulib/tests/test-passfd.c pid = fork (); pid 68 maint/gnulib/tests/test-passfd.c if (pid == -1) pid 73 maint/gnulib/tests/test-passfd.c if (pid == 0) pid 93 maint/gnulib/tests/test-passfd.c ret = waitpid (pid, &status, 0); pid 99 maint/gnulib/tests/test-passfd.c ASSERT (ret == pid); pid 251 maint/gnulib/tests/test-poll.c int c, pid; pid 253 maint/gnulib/tests/test-poll.c pid = fork (); pid 254 maint/gnulib/tests/test-poll.c if (pid < 0) pid 257 maint/gnulib/tests/test-poll.c if (pid == 0) pid 278 maint/gnulib/tests/test-poll.c wait (&pid); pid 47 maint/gnulib/tests/test-pthread_sigmask1.c int pid = getpid (); pid 62 maint/gnulib/tests/test-pthread_sigmask1.c sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); pid 355 maint/gnulib/tests/test-select.h int c, pid; pid 357 maint/gnulib/tests/test-select.h pid = fork (); pid 358 maint/gnulib/tests/test-select.h if (pid < 0) pid 361 maint/gnulib/tests/test-select.h if (pid == 0) pid 379 maint/gnulib/tests/test-select.h wait (&pid); pid 47 maint/gnulib/tests/test-sigprocmask.c pid_t pid = getpid (); pid 50 maint/gnulib/tests/test-sigprocmask.c if (sizeof (int) < sizeof pid && 0x7fffffff < pid) pid 69 maint/gnulib/tests/test-sigprocmask.c sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, (int) pid); pid 48 maint/gnulib/tests/test-spawn-pipe-main.c pid_t pid; pid 55 maint/gnulib/tests/test-spawn-pipe-main.c pid = create_pipe_bidi (prog, prog, argv, NULL, false, true, true, fd); pid 56 maint/gnulib/tests/test-spawn-pipe-main.c ASSERT (0 <= pid); pid 68 maint/gnulib/tests/test-spawn-pipe-main.c ASSERT (wait_subprocess (pid, prog, true, false, true, true, NULL) == 0); pid 41 maint/gnulib/tests/test-spawn-pipe-script.c pid_t pid; pid 54 maint/gnulib/tests/test-spawn-pipe-script.c pid = create_pipe_in (progname, prog_argv[0], prog_argv, NULL, pid 56 maint/gnulib/tests/test-spawn-pipe-script.c if (pid >= 0) pid 59 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (wait_subprocess (pid, progname, true, true, true, false, pid 65 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (pid == -1); pid 82 maint/gnulib/tests/test-spawn-pipe-script.c pid = create_pipe_in (progname, prog_argv[0], prog_argv, NULL, pid 84 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (pid >= 0); pid 97 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (wait_subprocess (pid, progname, true, false, true, true, NULL) == 0); pid 1655 tools/crm_mon.c pid_t pid; pid 1677 tools/crm_mon.c pid = fork(); pid 1678 tools/crm_mon.c if (pid == -1) { pid 1681 tools/crm_mon.c if (pid == 0) { pid 1123 tools/crm_resource_runtime.c char *pid = NULL; pid 1140 tools/crm_resource_runtime.c pid = pcmk__getpid_s(); pid 1141 tools/crm_resource_runtime.c shadow_cib = cib_shadow_new(pid); pid 1142 tools/crm_resource_runtime.c shadow_file = get_shadow_file(pid); pid 1145 tools/crm_resource_runtime.c out->err(out, "Could not create shadow cib: '%s'", pid); pid 1182 tools/crm_resource_runtime.c free(pid); pid 382 tools/crm_simulate.c char *pid = pcmk__getpid_s(); pid 384 tools/crm_simulate.c local_output = get_shadow_file(pid); pid 387 tools/crm_simulate.c free(pid); pid 99 tools/ipmiservicelogd.c pid_t pid; pid 111 tools/ipmiservicelogd.c pid = fork(); pid 113 tools/ipmiservicelogd.c if (0 < pid) { pid 138 tools/ipmiservicelogd.c waitpid(pid, &childExitStatus, 0); pid 173 tools/ipmiservicelogd.c } else if (pid == 0) {