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               250 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                75 daemons/execd/execd_alerts.c               action->pid, cb_data->client_id, action->rc);
pid               868 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                65 daemons/fenced/fenced_commands.c static void st_child_done(int pid, int rc, const char *output, void *user_data);
pid                78 daemons/fenced/fenced_commands.c     int pid;
pid               102 daemons/fenced/fenced_commands.c     void (*done_cb) (int pid, int rc, const char *output, void *user_data);
pid               331 daemons/fenced/fenced_commands.c fork_cb(int pid, void *user_data)
pid               342 daemons/fenced/fenced_commands.c               cmd->action, pid,
pid              1082 daemons/fenced/fenced_commands.c                           void (*done_cb) (int pid, int rc, const char *output,
pid              1114 daemons/fenced/fenced_commands.c status_search_cb(int pid, int rc, const char *output, void *user_data)
pid              1151 daemons/fenced/fenced_commands.c dynamic_list_search_cb(int pid, int rc, const char *output, void *user_data)
pid              2265 daemons/fenced/fenced_commands.c log_async_result(async_command_t *cmd, int rc, int pid, const char *next,
pid              2292 daemons/fenced/fenced_commands.c     if (pid != 0) {
pid              2293 daemons/fenced/fenced_commands.c         g_string_append_printf(msg, "[%d] ", pid);
pid              2322 daemons/fenced/fenced_commands.c         char *prefix = crm_strdup_printf("%s[%d]", cmd->device, pid);
pid              2331 daemons/fenced/fenced_commands.c                          int pid, bool merged)
pid              2349 daemons/fenced/fenced_commands.c     log_async_result(cmd, rc, pid, NULL, output, merged);
pid              2410 daemons/fenced/fenced_commands.c st_child_done(int pid, int rc, const char *output, void *user_data)
pid              2457 daemons/fenced/fenced_commands.c         log_async_result(cmd, rc, pid, next_device->id, output, FALSE);
pid              2464 daemons/fenced/fenced_commands.c     stonith_send_async_reply(cmd, output, rc, pid, false);
pid              2512 daemons/fenced/fenced_commands.c         stonith_send_async_reply(cmd_other, output, rc, pid, true);
pid               128 daemons/fenced/pacemaker-fenced.c         c->name = crm_strdup_printf("%s.%u", value, c->pid);
pid               193 daemons/fenced/pacemaker-fenced.c                           uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid               198 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               112 daemons/pacemakerd/pcmkd_subdaemons.c static void pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode);
pid               146 daemons/pacemakerd/pcmkd_subdaemons.c                                 (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[i].pid),
pid               151 daemons/pacemakerd/pcmkd_subdaemons.c                                    (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[i].pid),
pid               175 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid == PCMK__SPECIAL_PID) {
pid               178 daemons/pacemakerd/pcmkd_subdaemons.c     } else if (child->pid != 0) {
pid               187 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)
pid               195 daemons/pacemakerd/pcmkd_subdaemons.c                    name, pid, signo, strsignal(signo),
pid               202 daemons/pacemakerd/pcmkd_subdaemons.c                          name, pid, exitcode, crm_exit_str(exitcode));
pid               207 daemons/pacemakerd/pcmkd_subdaemons.c                          name, pid);
pid               214 daemons/pacemakerd/pcmkd_subdaemons.c                 crm_emerg("%s[%d] instructed the machine to reset", name, pid);
pid               223 daemons/pacemakerd/pcmkd_subdaemons.c                         name, pid, exitcode, crm_exit_str(exitcode));
pid               234 daemons/pacemakerd/pcmkd_subdaemons.c     child->pid = 0;
pid               293 daemons/pacemakerd/pcmkd_subdaemons.c         if (child->pid != 0) {
pid               297 daemons/pacemakerd/pcmkd_subdaemons.c                 if (child->pid == PCMK__SPECIAL_PID) {
pid               321 daemons/pacemakerd/pcmkd_subdaemons.c                            child->name, (long long) child->pid);
pid               328 daemons/pacemakerd/pcmkd_subdaemons.c         child->pid = 0;
pid               413 daemons/pacemakerd/pcmkd_subdaemons.c     child->pid = fork();
pid               414 daemons/pacemakerd/pcmkd_subdaemons.c     CRM_ASSERT(child->pid != -1);
pid               416 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid > 0) {
pid               418 daemons/pacemakerd/pcmkd_subdaemons.c         mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit);
pid               421 daemons/pacemakerd/pcmkd_subdaemons.c                  (long long) child->pid, child->name,
pid               522 daemons/pacemakerd/pcmkd_subdaemons.c             && (child->pid <= 0 || child->pid == PCMK__SPECIAL_PID)) {
pid               548 daemons/pacemakerd/pcmkd_subdaemons.c                 if (child->pid <= 0) {
pid               554 daemons/pacemakerd/pcmkd_subdaemons.c                     child->pid = ipc_pid;
pid               555 daemons/pacemakerd/pcmkd_subdaemons.c                 } else if ((ipc_pid != 0) && (child->pid != ipc_pid)) {
pid               572 daemons/pacemakerd/pcmkd_subdaemons.c         int ret = pcmk__pid_active(child->pid, child->name);
pid               595 daemons/pacemakerd/pcmkd_subdaemons.c             child->pid = ipc_pid;
pid               599 daemons/pacemakerd/pcmkd_subdaemons.c         } else if ((child->pid == 0) && (ret == EINVAL)) {
pid               676 daemons/pacemakerd/pcmkd_subdaemons.c                     if (pcmk_children[i].pid == PCMK__SPECIAL_PID) {
pid               715 daemons/pacemakerd/pcmkd_subdaemons.c                                                pcmk_children[i].pid));
pid               726 daemons/pacemakerd/pcmkd_subdaemons.c                                                  pcmk_children[i].pid));
pid               735 daemons/pacemakerd/pcmkd_subdaemons.c                                              pcmk_children[i].pid),
pid               765 daemons/pacemakerd/pcmkd_subdaemons.c         if (pcmk_children[i].pid != 0) {
pid               796 daemons/pacemakerd/pcmkd_subdaemons.c         if (!pcmk_children[i].needs_retry || pcmk_children[i].pid != 0) {
pid               818 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) {
pid               820 daemons/pacemakerd/pcmkd_subdaemons.c                   child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid));
pid               824 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid <= 0) {
pid               830 daemons/pacemakerd/pcmkd_subdaemons.c     if (kill(child->pid, signal) == 0) {
pid               832 daemons/pacemakerd/pcmkd_subdaemons.c                    child->name, signal, (long long) child->pid);
pid               836 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               160 include/crm/common/internal.h int pcmk__pid_active(pid_t pid, const char *daemon);
pid               162 include/crm/common/internal.h int pcmk__read_pidfile(const char *filename, pid_t *pid);
pid               164 include/crm/common/internal.h                           const char *expected_name, pid_t *pid);
pid               137 include/crm/common/ipc_internal.h     unsigned int pid;
pid               156 include/crm/common/mainloop.h void mainloop_child_add(pid_t pid,
pid               160 include/crm/common/mainloop.h                         void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode));
pid               162 include/crm/common/mainloop.h void mainloop_child_add_with_flags(pid_t pid,
pid               167 include/crm/common/mainloop.h                         void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode));
pid               175 include/crm/common/mainloop.h gboolean mainloop_child_kill(pid_t pid);
pid                67 include/crm/fencing/internal.h                              void (*done) (int pid, int rc, const char *output,
pid                69 include/crm/fencing/internal.h                              void (*fork_cb) (int pid, void *user_data));
pid               157 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              1325 lib/common/ipc_client.c         found_pid = ucred.pid; found_uid = ucred.uid; found_gid = ucred.gid;
pid              1334 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               822 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              1037 lib/common/mainloop.c     return child->pid;
pid              1083 lib/common/mainloop.c         crm_debug("Kill pid %d only. leave group intact.", child->pid);
pid              1084 lib/common/mainloop.c         rc = kill(child->pid, SIGKILL);
pid              1086 lib/common/mainloop.c         crm_debug("Kill pid %d's group", child->pid);
pid              1087 lib/common/mainloop.c         rc = kill(-child->pid, SIGKILL);
pid              1092 lib/common/mainloop.c             crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid);
pid              1107 lib/common/mainloop.c         crm_warn("%s process (PID %d) will not die!", child->desc, (int)child->pid);
pid              1118 lib/common/mainloop.c     crm_debug("%s process (PID %d) timed out", child->desc, (int)child->pid);
pid              1134 lib/common/mainloop.c     rc = waitpid(child->pid, &status, flags);
pid              1137 lib/common/mainloop.c                   child->pid, child->desc);
pid              1140 lib/common/mainloop.c     } else if (rc != child->pid) {
pid              1153 lib/common/mainloop.c                    child->pid, child->desc, pcmk_strerror(errno));
pid              1158 lib/common/mainloop.c                   child->pid, child->desc, exitcode);
pid              1163 lib/common/mainloop.c                   child->pid, child->desc, signo, strsignal(signo));
pid              1169 lib/common/mainloop.c                 child->pid, child->desc);
pid              1174 lib/common/mainloop.c                   child->pid, child->desc);
pid              1179 lib/common/mainloop.c         child->callback(child, child->pid, core, signo, exitcode);
pid              1194 lib/common/mainloop.c                       child->pid);
pid              1215 lib/common/mainloop.c mainloop_child_kill(pid_t pid)
pid              1226 lib/common/mainloop.c         if (pid == child->pid) {
pid              1243 lib/common/mainloop.c                   match->pid);
pid              1271 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              1272 lib/common/mainloop.c                    void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode))
pid              1277 lib/common/mainloop.c     child->pid = pid;
pid              1305 lib/common/mainloop.c mainloop_child_add(pid_t pid, int timeout, const char *desc, void *privatedata,
pid              1306 lib/common/mainloop.c                    void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode))
pid              1308 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                75 lib/common/pid.c             if (last_asked_pid != pid) {
pid                83 lib/common/pid.c                 last_asked_pid = pid;
pid               123 lib/common/pid.c pcmk__read_pidfile(const char *filename, pid_t *pid)
pid               131 lib/common/pid.c     CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL);
pid               154 lib/common/pid.c             *pid = (pid_t) pid_read;
pid               178 lib/common/pid.c                       const char *expected_name, pid_t *pid)
pid               183 lib/common/pid.c     if (pid) {
pid               184 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               400 lib/common/utils.c     pid_t pid = 0;
pid               406 lib/common/utils.c     pid = fork();
pid               407 lib/common/utils.c     switch (pid) {
pid               419 lib/common/utils.c                     "%s:%d : %s", function, pid, file, line, assert_condition);
pid               422 lib/common/utils.c                 if (waitpid(pid, &status, 0) == pid) {
pid               429 lib/common/utils.c                           "(SIGCHLD is probably ignored)", pid);
pid               432 lib/common/utils.c                         pid, pcmk_rc_str(errno));
pid               467 lib/common/utils.c     pid_t pid;
pid               470 lib/common/utils.c     rc = pcmk__pidfile_matches(pidfile, 1, name, &pid);
pid               473 lib/common/utils.c                 name, (long long) pid, pidfile);
pid               475 lib/common/utils.c                name, (long long) pid, pidfile);
pid               479 lib/common/utils.c     pid = fork();
pid               480 lib/common/utils.c     if (pid < 0) {
pid               485 lib/common/utils.c     } else if (pid > 0) {
pid                48 lib/fencing/st_client.c     void (*done_cb) (int pid, int status, const char *output, void *user_data);
pid                49 lib/fencing/st_client.c     void (*fork_cb) (int pid, void *user_data);
pid                59 lib/fencing/st_client.c     int pid;
pid               122 lib/fencing/st_client.c static void log_action(stonith_action_t *action, pid_t pid);
pid               260 lib/fencing/st_client.c log_action(stonith_action_t *action, pid_t pid)
pid               264 lib/fencing/st_client.c         char *prefix = crm_strdup_printf("%s[%d] stdout:", action->agent, pid);
pid               272 lib/fencing/st_client.c         char *prefix = crm_strdup_printf("%s[%d] stderr:", action->agent, pid);
pid               794 lib/fencing/st_client.c                 action->pid, action->action, svc_action->rc);
pid               796 lib/fencing/st_client.c     log_action(action, action->pid);
pid               806 lib/fencing/st_client.c         action->done_cb(action->pid, action->rc, action->output, action->userdata);
pid               818 lib/fencing/st_client.c     action->pid = svc_action->pid;
pid               822 lib/fencing/st_client.c         (action->fork_cb) (svc_action->pid, action->userdata);
pid               826 lib/fencing/st_client.c               action->pid, action->action);
pid               927 lib/fencing/st_client.c                              void (*done) (int pid, int rc, const char *output,
pid               929 lib/fencing/st_client.c                              void (*fork_cb) (int pid, void *user_data))
pid               684 lib/services/services.c     if (op->pid != 0) {
pid               686 lib/services/services.c                  id, op->pid);
pid               687 lib/services/services.c         cancelled = mainloop_child_kill(op->pid);
pid               689 lib/services/services.c             crm_err("Termination of %s[%d] failed", id, op->pid);
pid               741 lib/services/services.c     if (op->pid || inflight_systemd_or_upstart(op)) {
pid               778 lib/services/services.c         if (dup->pid != 0) {
pid               534 lib/services/services_linux.c     op->pid = 0;
pid               571 lib/services/services_linux.c                   op->id, op->pid, (is_stderr? "stdout" : "stderr"));
pid               586 lib/services/services_linux.c     char *prefix = crm_strdup_printf("%s[%d] error output", op->id, op->pid);
pid               649 lib/services/services_linux.c async_action_complete(mainloop_child_t *p, pid_t pid, int core, int signo,
pid               655 lib/services/services_linux.c     CRM_CHECK(op->pid == pid,
pid               670 lib/services/services_linux.c         crm_debug("%s[%d] exited with status %d", op->id, op->pid, exitcode);
pid               676 lib/services/services_linux.c         crm_warn("%s[%d] timed out after %dms", op->id, op->pid, op->timeout);
pid               685 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
pid               690 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
pid              1022 lib/services/services_linux.c     crm_trace("Waiting for %s[%d]", op->id, op->pid);
pid              1038 lib/services/services_linux.c                 wait_rc = waitpid(op->pid, &status, WNOHANG);
pid              1048 lib/services/services_linux.c                              op->id, op->pid, wait_reason);
pid              1061 lib/services/services_linux.c                     CRM_XS " source=poll", op->id, op->pid, wait_reason);
pid              1069 lib/services/services_linux.c     crm_trace("Stopped waiting for %s[%d]", op->id, op->pid);
pid              1082 lib/services/services_linux.c                      op->id, op->pid, op->timeout);
pid              1091 lib/services/services_linux.c         if ((wait_rc == 0) && (waitpid(op->pid, &status, WNOHANG) == 0)) {
pid              1092 lib/services/services_linux.c             if (kill(op->pid, SIGKILL)) {
pid              1094 lib/services/services_linux.c                          op->id, op->pid, pcmk_strerror(errno));
pid              1097 lib/services/services_linux.c             while ((waitpid(op->pid, &status, 0) == (pid_t) -1)
pid              1106 lib/services/services_linux.c         crm_info("%s[%d] exited with status %d", op->id, op->pid, op->rc);
pid              1114 lib/services/services_linux.c                 op->id, op->pid, signo, strsignal(signo));
pid              1118 lib/services/services_linux.c             crm_warn("%s[%d] dumped core", op->id, op->pid);
pid              1207 lib/services/services_linux.c     op->pid = fork();
pid              1208 lib/services/services_linux.c     switch (op->pid) {
pid              1314 lib/services/services_linux.c     crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid);
pid              1315 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                66 maint/gnulib/lib/get_ppid_of.c get_ppid_of (pid_t pid)
pid                76 maint/gnulib/lib/get_ppid_of.c   sprintf (filename, "/proc/%u/status", (unsigned int) pid);
pid               117 maint/gnulib/lib/get_ppid_of.c   sprintf (filename, "/proc/%u/status", (unsigned int) pid);
pid               154 maint/gnulib/lib/get_ppid_of.c   sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid);
pid               192 maint/gnulib/lib/get_ppid_of.c   sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid);
pid               218 maint/gnulib/lib/get_ppid_of.c     { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, sizeof (struct kinfo_proc), 1 };
pid               233 maint/gnulib/lib/get_ppid_of.c   if (proc_pidinfo (pid, PROC_PIDT_SHORTBSDINFO, 0, &info, sizeof (info))
pid               243 maint/gnulib/lib/get_ppid_of.c   if (proc_pidinfo (pid, PROC_PIDTBSDINFO, 0, &info, 128) == 128)
pid               254 maint/gnulib/lib/get_ppid_of.c   if (getprocs64 (&procs, sizeof procs, NULL, 0, &pid, 1) > 0)
pid               262 maint/gnulib/lib/get_ppid_of.c   if (pstat_getproc (&status, sizeof status, 0, pid) > 0)
pid               273 maint/gnulib/lib/get_ppid_of.c       if (__pstat_getproc64 (status64, sizeof status64, 0, pid) > 0)
pid               285 maint/gnulib/lib/get_ppid_of.c   sprintf (filename, "/proc/pinfo/%u", pid);
pid               301 maint/gnulib/lib/get_ppid_of.c     (struct external_pinfo *) cygwin_internal (CW_GETPINFO, pid);
pid               309 maint/gnulib/lib/get_ppid_of.c   if (pid == getpid ())
pid               329 maint/gnulib/lib/get_ppid_of.c   pid_t pid = (arg != NULL ? atoi (arg) : getpid ());
pid               330 maint/gnulib/lib/get_ppid_of.c   pid_t parent = get_ppid_of (pid);
pid               331 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                74 maint/gnulib/lib/get_progname_of.c get_progname_of (pid_t pid)
pid                86 maint/gnulib/lib/get_progname_of.c     sprintf (filename, "/proc/%u/exe", (unsigned int) pid);
pid               107 maint/gnulib/lib/get_progname_of.c     sprintf (filename, "/proc/%u/cmdline", (unsigned int) pid);
pid               139 maint/gnulib/lib/get_progname_of.c   sprintf (filename, "/proc/%u/file", (unsigned int) pid);
pid               160 maint/gnulib/lib/get_progname_of.c   sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid);
pid               203 maint/gnulib/lib/get_progname_of.c     sprintf (filename, "/proc/%u/path/a.out", (unsigned int) pid);
pid               225 maint/gnulib/lib/get_progname_of.c     sprintf (filename, "/proc/%u/psinfo", (unsigned int) pid);
pid               258 maint/gnulib/lib/get_progname_of.c     { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, sizeof (struct kinfo_proc), 1 };
pid               273 maint/gnulib/lib/get_progname_of.c   if (proc_pidinfo (pid, PROC_PIDT_SHORTBSDINFO, 0, &info, sizeof (info))
pid               283 maint/gnulib/lib/get_progname_of.c   if (proc_pidinfo (pid, PROC_PIDTBSDINFO, 0, &info, 128) == 128)
pid               294 maint/gnulib/lib/get_progname_of.c   if (getprocs64 (&procs, sizeof procs, NULL, 0, &pid, 1) > 0)
pid               303 maint/gnulib/lib/get_progname_of.c   if (pstat_getproc (&status, sizeof status, 0, pid) > 0)
pid               339 maint/gnulib/lib/get_progname_of.c       if (__pstat_getproc64 (status64, sizeof status64, 0, pid) > 0)
pid               380 maint/gnulib/lib/get_progname_of.c   sprintf (filename, "/proc/pinfo/%u", pid);
pid               408 maint/gnulib/lib/get_progname_of.c     (struct external_pinfo *) cygwin_internal (CW_GETPINFO, pid);
pid               452 maint/gnulib/lib/get_progname_of.c   if (_get_team_info (pid, &info, sizeof (info)) == B_OK)
pid               513 maint/gnulib/lib/get_progname_of.c   pid_t pid = (arg != NULL ? atoi (arg) : getpid ());
pid               514 maint/gnulib/lib/get_progname_of.c   char *progname = get_progname_of (pid);
pid               516 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              1777 tools/crm_mon.c     pid_t pid;
pid              1799 tools/crm_mon.c     pid = fork();
pid              1800 tools/crm_mon.c     if (pid == -1) {
pid              1803 tools/crm_mon.c     if (pid == 0) {
pid              1123 tools/crm_resource_runtime.c     char *pid = NULL;
pid              1139 tools/crm_resource_runtime.c         pid = pcmk__getpid_s();
pid              1140 tools/crm_resource_runtime.c         shadow_cib = cib_shadow_new(pid);
pid              1141 tools/crm_resource_runtime.c         shadow_file = get_shadow_file(pid);
pid              1144 tools/crm_resource_runtime.c             out->err(out, "Could not create shadow cib: '%s'", pid);
pid              1180 tools/crm_resource_runtime.c     free(pid);
pid               406 tools/crm_simulate.c         char *pid = pcmk__getpid_s();
pid               408 tools/crm_simulate.c         local_output = get_shadow_file(pid);
pid               411 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) {