pid               106 daemons/attrd/attrd_corosync.c                  uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid               111 daemons/attrd/attrd_corosync.c     char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from);
pid               238 daemons/based/based_callbacks.c             cib_client->name = pcmk__itoa(cib_client->pid);
pid               253 daemons/based/based_callbacks.c                       pcmk__client_name(cib_client), cib_client->pid,
pid               372 daemons/based/based_io.c cib_diskwrite_complete(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)
pid               382 daemons/based/based_io.c         crm_trace("Disk write [%d] succeeded", (int) pid);
pid               385 daemons/based/based_io.c         crm_err("%s: process %d exited %d", errmsg, (int) pid, exitcode);
pid               389 daemons/based/based_io.c                 errmsg, (int) pid, signo, strsignal(signo),
pid               408 daemons/based/based_io.c         int pid = 0;
pid               419 daemons/based/based_io.c         pid = fork();
pid               420 daemons/based/based_io.c         if (pid < 0) {
pid               426 daemons/based/based_io.c         if (pid) {
pid               428 daemons/based/based_io.c             mainloop_child_add(pid, 0, "disk-writer", NULL, cib_diskwrite_complete);
pid               313 daemons/based/pacemaker-based.c                  uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid               318 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              1386 daemons/controld/controld_execd.c metadata_complete(int pid, const pcmk__action_result_t *result, void *user_data)
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               829 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               415 daemons/execd/remoted_proxy.c                 ipc_client->id, ipc_client->pid);
pid                69 daemons/fenced/fenced_commands.c static void st_child_done(int pid, const pcmk__action_result_t *result,
pid                84 daemons/fenced/fenced_commands.c     int pid;
pid               108 daemons/fenced/fenced_commands.c     void (*done_cb) (int pid, const pcmk__action_result_t *result,
pid               425 daemons/fenced/fenced_commands.c fork_cb(int pid, void *user_data)
pid               436 daemons/fenced/fenced_commands.c               cmd->action, pid,
pid              1158 daemons/fenced/fenced_commands.c                           void (*done_cb) (int pid,
pid              1191 daemons/fenced/fenced_commands.c status_search_cb(int pid, const pcmk__action_result_t *result, void *user_data)
pid              1240 daemons/fenced/fenced_commands.c dynamic_list_search_cb(int pid, const pcmk__action_result_t *result,
pid              2509 daemons/fenced/fenced_commands.c                  int pid, const char *next, bool op_merged)
pid              2535 daemons/fenced/fenced_commands.c     if (pid != 0) {
pid              2536 daemons/fenced/fenced_commands.c         g_string_append_printf(msg, "[%d] ", pid);
pid              2575 daemons/fenced/fenced_commands.c         char *prefix = crm_strdup_printf("%s[%d]", cmd->device, pid);
pid              2593 daemons/fenced/fenced_commands.c                  int pid, bool merged)
pid              2600 daemons/fenced/fenced_commands.c     log_async_result(cmd, result, pid, NULL, merged);
pid              2683 daemons/fenced/fenced_commands.c                     int pid)
pid              2719 daemons/fenced/fenced_commands.c         send_async_reply(cmd_other, result, pid, true);
pid              2754 daemons/fenced/fenced_commands.c st_child_done(int pid, const pcmk__action_result_t *result, void *user_data)
pid              2790 daemons/fenced/fenced_commands.c         send_async_reply(cmd, result, pid, false);
pid              2792 daemons/fenced/fenced_commands.c             reply_to_duplicates(cmd, result, pid);
pid              2797 daemons/fenced/fenced_commands.c         log_async_result(cmd, result, pid, next_device->id, false);
pid               142 daemons/fenced/pacemaker-fenced.c         c->name = crm_strdup_printf("%s.%u", value, c->pid);
pid               208 daemons/fenced/pacemaker-fenced.c                           uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid               213 daemons/fenced/pacemaker-fenced.c     char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from);
pid                81 daemons/pacemakerd/pcmkd_messages.c             shutdown_complete_state_reported_to = request->ipc_client->pid;
pid               186 daemons/pacemakerd/pcmkd_messages.c     if (shutdown_complete_state_reported_to == client->pid) {
pid                27 daemons/pacemakerd/pcmkd_subdaemons.c     pid_t pid;
pid               116 daemons/pacemakerd/pcmkd_subdaemons.c static void pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode);
pid               139 daemons/pacemakerd/pcmkd_subdaemons.c               (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[next_child].pid),
pid               154 daemons/pacemakerd/pcmkd_subdaemons.c                             pcmk_children[next_child].pid),
pid               167 daemons/pacemakerd/pcmkd_subdaemons.c                             pcmk_children[next_child].pid),
pid               199 daemons/pacemakerd/pcmkd_subdaemons.c                             pcmk_children[next_child].pid));
pid               206 daemons/pacemakerd/pcmkd_subdaemons.c                             pcmk_children[next_child].pid));
pid               212 daemons/pacemakerd/pcmkd_subdaemons.c                                 pcmk_children[next_child].pid));
pid               234 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid == PCMK__SPECIAL_PID) {
pid               237 daemons/pacemakerd/pcmkd_subdaemons.c     } else if (child->pid != 0) {
pid               246 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)
pid               254 daemons/pacemakerd/pcmkd_subdaemons.c                    name, pid, signo, strsignal(signo),
pid               261 daemons/pacemakerd/pcmkd_subdaemons.c                          name, pid, exitcode, crm_exit_str(exitcode));
pid               266 daemons/pacemakerd/pcmkd_subdaemons.c                          name, pid);
pid               273 daemons/pacemakerd/pcmkd_subdaemons.c                 crm_emerg("%s[%d] instructed the machine to reset", name, pid);
pid               282 daemons/pacemakerd/pcmkd_subdaemons.c                         name, pid, exitcode, crm_exit_str(exitcode));
pid               293 daemons/pacemakerd/pcmkd_subdaemons.c     child->pid = 0;
pid               345 daemons/pacemakerd/pcmkd_subdaemons.c         if (child->pid != 0) {
pid               349 daemons/pacemakerd/pcmkd_subdaemons.c                 if (child->pid == PCMK__SPECIAL_PID) {
pid               373 daemons/pacemakerd/pcmkd_subdaemons.c                            child->name, (long long) child->pid);
pid               380 daemons/pacemakerd/pcmkd_subdaemons.c         child->pid = 0;
pid               466 daemons/pacemakerd/pcmkd_subdaemons.c     child->pid = fork();
pid               467 daemons/pacemakerd/pcmkd_subdaemons.c     CRM_ASSERT(child->pid != -1);
pid               469 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid > 0) {
pid               471 daemons/pacemakerd/pcmkd_subdaemons.c         mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit);
pid               474 daemons/pacemakerd/pcmkd_subdaemons.c                  (long long) child->pid, child->name,
pid               565 daemons/pacemakerd/pcmkd_subdaemons.c             && (child->pid <= 0 || child->pid == PCMK__SPECIAL_PID)) {
pid               591 daemons/pacemakerd/pcmkd_subdaemons.c                 if (child->pid <= 0) {
pid               597 daemons/pacemakerd/pcmkd_subdaemons.c                     child->pid = ipc_pid;
pid               598 daemons/pacemakerd/pcmkd_subdaemons.c                 } else if ((ipc_pid != 0) && (child->pid != ipc_pid)) {
pid               615 daemons/pacemakerd/pcmkd_subdaemons.c         int ret = pcmk__pid_active(child->pid, child->name);
pid               638 daemons/pacemakerd/pcmkd_subdaemons.c             child->pid = ipc_pid;
pid               642 daemons/pacemakerd/pcmkd_subdaemons.c         } else if ((child->pid == 0) && (ret == EINVAL)) {
pid               718 daemons/pacemakerd/pcmkd_subdaemons.c                     if (pcmk_children[i].pid == PCMK__SPECIAL_PID) {
pid               757 daemons/pacemakerd/pcmkd_subdaemons.c                                                pcmk_children[i].pid));
pid               767 daemons/pacemakerd/pcmkd_subdaemons.c                                                  pcmk_children[i].pid));
pid               776 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               171 include/crm/cluster.h char *pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *msg,
pid               132 include/crm/common/internal.h int pcmk__procfs_pid2path(pid_t pid, char path[], size_t path_size);
pid               159 include/crm/common/internal.h int pcmk__pid_active(pid_t pid, const char *daemon);
pid               161 include/crm/common/internal.h int pcmk__read_pidfile(const char *filename, pid_t *pid);
pid               163 include/crm/common/internal.h                           const char *expected_name, pid_t *pid);
pid               168 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                69 include/crm/fencing/internal.h                            void (*done) (int pid,
pid                72 include/crm/fencing/internal.h                            void (*fork_cb) (int pid, void *user_data));
pid                75 include/crm/fencing/internal.h                             void (*callback)(int pid,
pid                39 include/crm/lrmd_internal.h                          void (*callback)(int pid,
pid               154 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               986 lib/cluster/cpg.c     msg->sender.pid = local_pid;
pid              1409 lib/common/ipc_client.c         found_pid = ucred.pid; found_uid = ucred.uid; found_gid = ucred.gid;
pid              1418 lib/common/ipc_client.c         found_pid = sockpeercred.pid;
pid               183 lib/common/ipc_server.c         client->pid = pcmk__client_pid(c);
pid               255 lib/common/ipc_server.c               client->id, client->pid, uid_client, gid_client);
pid               520 lib/common/ipc_server.c                       header->qb.id, c->ipcs, c->pid, (long long) qb_rc);
pid               523 lib/common/ipc_server.c                       header->qb.id, c->ipcs, c->pid, (long long) qb_rc,
pid               532 lib/common/ipc_server.c                   sent, queue_len, c->ipcs, c->pid,
pid               546 lib/common/ipc_server.c                          CRM_XS " %p", c->pid, queue_len, c->ipcs);
pid               549 lib/common/ipc_server.c                          CRM_XS " %p", c->pid, queue_len, c->ipcs);
pid               688 lib/common/ipc_server.c             crm_trace("Sending the original to %p[%d]", c->ipcs, c->pid);
pid               694 lib/common/ipc_server.c             crm_trace("Sending a copy to %p[%d]", c->ipcs, c->pid);
pid               718 lib/common/ipc_server.c                        header->qb.id, c->pid, pcmk_rc_str(rc),
pid               723 lib/common/ipc_server.c                       header->qb.id, (long long) qb_rc, c->ipcs, c->pid);
pid               761 lib/common/ipc_server.c                    c->pid, pcmk_rc_str(rc), rc);
pid               432 lib/common/logging.c         pid_t pid = getpid();
pid               437 lib/common/logging.c                                                  (unsigned long) pid);
pid               798 lib/common/logging.c     pid_t pid = getpid();
pid               851 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              1017 lib/common/mainloop.c     return child->pid;
pid              1063 lib/common/mainloop.c         crm_debug("Kill pid %d only. leave group intact.", child->pid);
pid              1064 lib/common/mainloop.c         rc = kill(child->pid, SIGKILL);
pid              1066 lib/common/mainloop.c         crm_debug("Kill pid %d's group", child->pid);
pid              1067 lib/common/mainloop.c         rc = kill(-child->pid, SIGKILL);
pid              1072 lib/common/mainloop.c             crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid);
pid              1087 lib/common/mainloop.c         crm_warn("%s process (PID %d) will not die!", child->desc, (int)child->pid);
pid              1098 lib/common/mainloop.c     crm_debug("%s process (PID %d) timed out", child->desc, (int)child->pid);
pid              1114 lib/common/mainloop.c     rc = waitpid(child->pid, &status, flags);
pid              1117 lib/common/mainloop.c                   child->pid, child->desc);
pid              1120 lib/common/mainloop.c     } else if (rc != child->pid) {
pid              1133 lib/common/mainloop.c                    child->pid, child->desc, pcmk_rc_str(errno));
pid              1138 lib/common/mainloop.c                   child->pid, child->desc, exitcode);
pid              1143 lib/common/mainloop.c                   child->pid, child->desc, signo, strsignal(signo));
pid              1149 lib/common/mainloop.c                 child->pid, child->desc);
pid              1154 lib/common/mainloop.c                   child->pid, child->desc);
pid              1159 lib/common/mainloop.c         child->callback(child, child->pid, core, signo, exitcode);
pid              1174 lib/common/mainloop.c                       child->pid);
pid              1195 lib/common/mainloop.c mainloop_child_kill(pid_t pid)
pid              1206 lib/common/mainloop.c         if (pid == child->pid) {
pid              1223 lib/common/mainloop.c                   match->pid);
pid              1251 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              1252 lib/common/mainloop.c                    void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode))
pid              1257 lib/common/mainloop.c     child->pid = pid;
pid              1282 lib/common/mainloop.c mainloop_child_add(pid_t pid, int timeout, const char *desc, void *privatedata,
pid              1283 lib/common/mainloop.c                    void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode))
pid              1285 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                28 lib/common/pid.c     if (pid <= 0) {
pid                32 lib/common/pid.c     rc = kill(pid, 0);
pid                43 lib/common/pid.c         if (last_asked_pid != pid) {
pid                45 lib/common/pid.c                      (long long) pid, pcmk_rc_str(rc));
pid                46 lib/common/pid.c             last_asked_pid = pid;
pid                56 lib/common/pid.c         rc = pcmk__procfs_pid2path(pid, exe_path, sizeof(exe_path));
pid                60 lib/common/pid.c                 if ((kill(pid, 0) < 0) && (errno == ESRCH)) {
pid                64 lib/common/pid.c             if (last_asked_pid != pid) {
pid                68 lib/common/pid.c                              (long long) pid, pcmk_rc_str(rc), rc);
pid                72 lib/common/pid.c                             (long long) pid, pcmk_rc_str(rc), rc);
pid                74 lib/common/pid.c                 last_asked_pid = pid;
pid               111 lib/common/pid.c pcmk__read_pidfile(const char *filename, pid_t *pid)
pid               119 lib/common/pid.c     CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL);
pid               145 lib/common/pid.c             *pid = (pid_t) pid_read;
pid               173 lib/common/pid.c                       const char *expected_name, pid_t *pid)
pid               178 lib/common/pid.c     if (pid) {
pid               179 lib/common/pid.c         *pid = pidfile_pid;
pid                40 lib/common/procfs.c pcmk__procfs_process_info(const 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               179 lib/common/procfs.c pcmk__procfs_pid2path(pid_t pid, char path[], size_t path_size)
pid               186 lib/common/procfs.c                  (long long) pid) >= PATH_MAX) {
pid               357 lib/common/utils.c     pid_t pid = 0;
pid               363 lib/common/utils.c     pid = fork();
pid               364 lib/common/utils.c     switch (pid) {
pid               376 lib/common/utils.c                     "%s:%d : %s", function, pid, file, line, assert_condition);
pid               379 lib/common/utils.c                 if (waitpid(pid, &status, 0) == pid) {
pid               386 lib/common/utils.c                           "(SIGCHLD is probably ignored)", pid);
pid               389 lib/common/utils.c                         pid, pcmk_rc_str(errno));
pid               424 lib/common/utils.c     pid_t pid;
pid               427 lib/common/utils.c     rc = pcmk__pidfile_matches(pidfile, 1, name, &pid);
pid               430 lib/common/utils.c                 name, (long long) pid, pidfile);
pid               432 lib/common/utils.c                name, (long long) pid, pidfile);
pid               436 lib/common/utils.c     pid = fork();
pid               437 lib/common/utils.c     if (pid < 0) {
pid               442 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               540 lib/fencing/st_actions.c     log_action(action, action->pid);
pid               552 lib/fencing/st_actions.c         action->done_cb(action->pid, &(action->result), action->userdata);
pid               564 lib/fencing/st_actions.c     action->pid = svc_action->pid;
pid               568 lib/fencing/st_actions.c         (action->fork_cb) (svc_action->pid, action->userdata);
pid               575 lib/fencing/st_actions.c               action->pid, action->action);
pid               672 lib/fencing/st_actions.c                        void (*done) (int pid,
pid               675 lib/fencing/st_actions.c                        void (*fork_cb) (int pid, void *user_data))
pid              2450 lib/fencing/st_client.c                         void (*callback)(int pid,
pid              2356 lib/lrmd/lrmd_client.c      void (*callback)(int pid, const pcmk__action_result_t *result,
pid              2402 lib/lrmd/lrmd_client.c                      void (*callback)(int pid,
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? "stderr" : "stdout"));
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              1759 tools/crm_mon.c     pid_t pid;
pid              1781 tools/crm_mon.c     pid = fork();
pid              1782 tools/crm_mon.c     if (pid == -1) {
pid              1785 tools/crm_mon.c     if (pid == 0) {
pid              1237 tools/crm_resource_runtime.c     char *pid = NULL;
pid              1254 tools/crm_resource_runtime.c         pid = pcmk__getpid_s();
pid              1255 tools/crm_resource_runtime.c         shadow_cib = cib_shadow_new(pid);
pid              1256 tools/crm_resource_runtime.c         shadow_file = get_shadow_file(pid);
pid              1259 tools/crm_resource_runtime.c             out->err(out, "Could not create shadow cib: '%s'", pid);
pid              1296 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);