pid               104 daemons/attrd/attrd_corosync.c                  uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid               109 daemons/attrd/attrd_corosync.c     char *data = pcmk__cpg_message_data(handle, nodeid, pid, msg, &kind, &from);
pid               364 daemons/based/based_callbacks.c             cib_client->name = pcmk__itoa(cib_client->pid);
pid               377 daemons/based/based_io.c cib_diskwrite_complete(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)
pid               387 daemons/based/based_io.c         crm_trace("Disk write [%d] succeeded", (int) pid);
pid               390 daemons/based/based_io.c         crm_err("%s: process %d exited %d", errmsg, (int) pid, exitcode);
pid               394 daemons/based/based_io.c                 errmsg, (int) pid, signo, strsignal(signo),
pid               413 daemons/based/based_io.c         int pid = 0;
pid               424 daemons/based/based_io.c         pid = fork();
pid               425 daemons/based/based_io.c         if (pid < 0) {
pid               431 daemons/based/based_io.c         if (pid) {
pid               433 daemons/based/based_io.c             mainloop_child_add(pid, 0, "disk-writer", NULL, cib_diskwrite_complete);
pid               321 daemons/based/pacemaker-based.c                  uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid               326 daemons/based/pacemaker-based.c     char *data = pcmk__cpg_message_data(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__cpg_message_data(handle, nodeid, pid, msg, &kind, &from);
pid              1394 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               837 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               424 daemons/execd/remoted_proxy.c                 ipc_client->id, ipc_client->pid);
pid               198 daemons/execd/remoted_schemas.c get_schema_files_complete(mainloop_child_t *p, pid_t pid, int core, int signo, int exitcode)
pid               214 daemons/execd/remoted_schemas.c             crm_err("%s: process %d exited %d", errmsg, (int) pid, exitcode);
pid               218 daemons/execd/remoted_schemas.c                     errmsg, (int) pid, signo, strsignal(signo),
pid               235 daemons/execd/remoted_schemas.c     pid_t pid;
pid               264 daemons/execd/remoted_schemas.c     pid = fork();
pid               266 daemons/execd/remoted_schemas.c     switch (pid) {
pid               280 daemons/execd/remoted_schemas.c             schema_fetch_pid = pid;
pid               281 daemons/execd/remoted_schemas.c             mainloop_child_add_with_flags(pid, 5 * 60 * 1000, "schema-fetch", NULL,
pid                68 daemons/fenced/fenced_commands.c static void st_child_done(int pid, const pcmk__action_result_t *result,
pid                81 daemons/fenced/fenced_commands.c     int pid;
pid               105 daemons/fenced/fenced_commands.c     void (*done_cb) (int pid, const pcmk__action_result_t *result,
pid               428 daemons/fenced/fenced_commands.c fork_cb(int pid, void *user_data)
pid               439 daemons/fenced/fenced_commands.c               cmd->action, pid,
pid              1171 daemons/fenced/fenced_commands.c                           void (*done_cb) (int pid,
pid              1204 daemons/fenced/fenced_commands.c status_search_cb(int pid, const pcmk__action_result_t *result, void *user_data)
pid              1253 daemons/fenced/fenced_commands.c dynamic_list_search_cb(int pid, const pcmk__action_result_t *result,
pid              2560 daemons/fenced/fenced_commands.c                  int pid, const char *next, bool op_merged)
pid              2588 daemons/fenced/fenced_commands.c     if (pid != 0) {
pid              2589 daemons/fenced/fenced_commands.c         g_string_append_printf(msg, "[%d] ", pid);
pid              2628 daemons/fenced/fenced_commands.c         char *prefix = crm_strdup_printf("%s[%d]", cmd->device, pid);
pid              2646 daemons/fenced/fenced_commands.c                  int pid, bool merged)
pid              2653 daemons/fenced/fenced_commands.c     log_async_result(cmd, result, pid, NULL, merged);
pid              2737 daemons/fenced/fenced_commands.c                     int pid)
pid              2773 daemons/fenced/fenced_commands.c         send_async_reply(cmd_other, result, pid, true);
pid              2808 daemons/fenced/fenced_commands.c st_child_done(int pid, const pcmk__action_result_t *result, void *user_data)
pid              2846 daemons/fenced/fenced_commands.c         send_async_reply(cmd, result, pid, false);
pid              2848 daemons/fenced/fenced_commands.c             reply_to_duplicates(cmd, result, pid);
pid              2853 daemons/fenced/fenced_commands.c         log_async_result(cmd, result, pid, next_device->id, false);
pid               126 daemons/fenced/pacemaker-fenced.c         c->name = crm_strdup_printf("%s.%u", pcmk__s(value, "unknown"), c->pid);
pid               198 daemons/fenced/pacemaker-fenced.c                           uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid               203 daemons/fenced/pacemaker-fenced.c     char *data = pcmk__cpg_message_data(handle, nodeid, pid, msg, &kind, &from);
pid                83 daemons/pacemakerd/pcmkd_messages.c             shutdown_complete_state_reported_to = request->ipc_client->pid;
pid               189 daemons/pacemakerd/pcmkd_messages.c     if (shutdown_complete_state_reported_to == client->pid) {
pid                40 daemons/pacemakerd/pcmkd_subdaemons.c     pid_t pid;
pid               124 daemons/pacemakerd/pcmkd_subdaemons.c static void pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode);
pid               145 daemons/pacemakerd/pcmkd_subdaemons.c     const long long pid = PCMK__SPECIAL_PID_AS_0(child->pid);
pid               149 daemons/pacemakerd/pcmkd_subdaemons.c               child->name, pid, pcmk_rc_str(rc), rc);
pid               161 daemons/pacemakerd/pcmkd_subdaemons.c                          child->name, pid, child->check_count,
pid               170 daemons/pacemakerd/pcmkd_subdaemons.c                            child->name, pid, child->check_count,
pid               199 daemons/pacemakerd/pcmkd_subdaemons.c                           child->name, pid);
pid               203 daemons/pacemakerd/pcmkd_subdaemons.c                 crm_err("%s[%lld] terminated", child->name, pid);
pid               206 daemons/pacemakerd/pcmkd_subdaemons.c                 crm_notice("%s[%lld] terminated", child->name, pid);
pid               227 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid == PCMK__SPECIAL_PID) {
pid               230 daemons/pacemakerd/pcmkd_subdaemons.c     } else if (child->pid != 0) {
pid               239 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)
pid               247 daemons/pacemakerd/pcmkd_subdaemons.c                    name, pid, signo, strsignal(signo),
pid               254 daemons/pacemakerd/pcmkd_subdaemons.c                          name, pid, exitcode, crm_exit_str(exitcode));
pid               259 daemons/pacemakerd/pcmkd_subdaemons.c                          name, pid);
pid               266 daemons/pacemakerd/pcmkd_subdaemons.c                 crm_emerg("%s[%d] instructed the machine to reset", name, pid);
pid               275 daemons/pacemakerd/pcmkd_subdaemons.c                         name, pid, exitcode, crm_exit_str(exitcode));
pid               286 daemons/pacemakerd/pcmkd_subdaemons.c     child->pid = 0;
pid               338 daemons/pacemakerd/pcmkd_subdaemons.c         if (child->pid != 0) {
pid               342 daemons/pacemakerd/pcmkd_subdaemons.c                 if (child->pid == PCMK__SPECIAL_PID) {
pid               366 daemons/pacemakerd/pcmkd_subdaemons.c                            child->name, (long long) child->pid);
pid               373 daemons/pacemakerd/pcmkd_subdaemons.c         child->pid = 0;
pid               462 daemons/pacemakerd/pcmkd_subdaemons.c     child->pid = fork();
pid               463 daemons/pacemakerd/pcmkd_subdaemons.c     pcmk__assert(child->pid != -1);
pid               465 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid > 0) {
pid               467 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, (unsigned long) uid,
pid               564 daemons/pacemakerd/pcmkd_subdaemons.c             && (child->pid <= 0 || child->pid == PCMK__SPECIAL_PID)) {
pid               590 daemons/pacemakerd/pcmkd_subdaemons.c                 if (child->pid <= 0) {
pid               596 daemons/pacemakerd/pcmkd_subdaemons.c                     child->pid = ipc_pid;
pid               597 daemons/pacemakerd/pcmkd_subdaemons.c                 } else if ((ipc_pid != 0) && (child->pid != ipc_pid)) {
pid               614 daemons/pacemakerd/pcmkd_subdaemons.c         int ret = pcmk__pid_active(child->pid, child->name);
pid               637 daemons/pacemakerd/pcmkd_subdaemons.c             child->pid = ipc_pid;
pid               641 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               758 daemons/pacemakerd/pcmkd_subdaemons.c                                                pcmk_children[i].pid));
pid               768 daemons/pacemakerd/pcmkd_subdaemons.c                                                  pcmk_children[i].pid));
pid               777 daemons/pacemakerd/pcmkd_subdaemons.c                                              pcmk_children[i].pid),
pid               813 daemons/pacemakerd/pcmkd_subdaemons.c         if (pcmk_children[i].pid != 0) {
pid               844 daemons/pacemakerd/pcmkd_subdaemons.c         if (!pcmk_is_set(pcmk_children[i].flags, child_needs_retry) || pcmk_children[i].pid != 0) {
pid               866 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) {
pid               868 daemons/pacemakerd/pcmkd_subdaemons.c                   child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid));
pid               872 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->pid <= 0) {
pid               878 daemons/pacemakerd/pcmkd_subdaemons.c     if (kill(child->pid, signal) == 0) {
pid               880 daemons/pacemakerd/pcmkd_subdaemons.c                    child->name, signal, (long long) child->pid);
pid               884 daemons/pacemakerd/pcmkd_subdaemons.c                 child->name, (long long) child->pid, signal, strerror(errno));
pid                99 include/crm/cluster/compat.h char *pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid,
pid               143 include/crm/cluster/internal.h                              uint32_t pid, void *content, uint32_t *kind,
pid               131 include/crm/common/internal.h int pcmk__procfs_pid2path(pid_t pid, char path[], size_t path_size);
pid               152 include/crm/common/internal.h int pcmk__pid_active(pid_t pid, const char *daemon);
pid               154 include/crm/common/internal.h int pcmk__read_pidfile(const char *filename, pid_t *pid);
pid               156 include/crm/common/internal.h                           const char *expected_name, pid_t *pid);
pid               173 include/crm/common/ipc_internal.h     unsigned int pid;
pid               167 include/crm/common/mainloop.h void mainloop_child_add(pid_t pid,
pid               171 include/crm/common/mainloop.h                         void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode));
pid               173 include/crm/common/mainloop.h void mainloop_child_add_with_flags(pid_t pid,
pid               178 include/crm/common/mainloop.h                         void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode));
pid               186 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               159 include/crm/services.h     int pid;        // Process ID of child
pid                51 lib/cluster/cpg.c     uint32_t pid;
pid               360 lib/cluster/cpg.c                 msg_type2text(msg->sender.type), msg->sender.pid,
pid               372 lib/cluster/cpg.c                 msg_type2text(msg->sender.type), msg->sender.pid,
pid               384 lib/cluster/cpg.c                 msg_type2text(msg->sender.type), msg->sender.pid,
pid               400 lib/cluster/cpg.c                 msg_type2text(msg->sender.type), msg->sender.pid,
pid               407 lib/cluster/cpg.c               msg->id, msg_type2text(msg->sender.type), msg->sender.pid,
pid               432 lib/cluster/cpg.c pcmk__cpg_message_data(cpg_handle_t handle, uint32_t sender_id, uint32_t pid,
pid               446 lib/cluster/cpg.c                     sender_id, pid, msg->sender.id);
pid               536 lib/cluster/cpg.c             msg->sender.pid, (int)sizeof(pcmk__cpg_msg_t),
pid               653 lib/cluster/cpg.c                  cpg_peer->nodeid, cpg_peer->pid,
pid               662 lib/cluster/cpg.c                  cpg_peer->pid, cpgreason2str(cpg_peer->reason));
pid               667 lib/cluster/cpg.c                  cpg_peer->nodeid, cpg_peer->pid,
pid               668 lib/cluster/cpg.c                  cpgreason2str(cpg_peer->reason), (*rival)->pid);
pid               725 lib/cluster/cpg.c                  joined_list[i].pid, cpgreason2str(joined_list[i].reason));
pid               733 lib/cluster/cpg.c                 && member_list[i].pid != getpid()) {
pid               736 lib/cluster/cpg.c                      group_name->value, counter, member_list[i].pid);
pid               741 lib/cluster/cpg.c                  member_list[i].nodeid, member_list[i].pid);
pid              1017 lib/cluster/cpg.c     msg->sender.pid = local_pid;
pid              1157 lib/cluster/cpg.c pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid,
pid              1160 lib/cluster/cpg.c     return pcmk__cpg_message_data(handle, nodeid, pid, content, kind, from);
pid                23 lib/cluster/tests/cpg/pcmk_cpg_set_deliver_fn_test.c             uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid                30 lib/cluster/tests/cpg/pcmk_cpg_set_deliver_fn_test.c             uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len)
pid              1501 lib/common/ipc_client.c             found_pid = ucred.pid;
pid              1520 lib/common/ipc_client.c             found_pid = sockpeercred.pid;
pid               177 lib/common/ipc_server.c         client->pid = pcmk__client_pid(c);
pid               243 lib/common/ipc_server.c               client->id, client->pid, uid_client, gid_client);
pid               366 lib/common/ipc_server.c                   pcmk__client_name(client), client->pid,
pid               371 lib/common/ipc_server.c                   pcmk__client_name(client), client->pid,
pid               534 lib/common/ipc_server.c                       header->qb.id, c->ipcs, c->pid, (long long) qb_rc);
pid               537 lib/common/ipc_server.c                       header->qb.id, c->ipcs, c->pid, (long long) qb_rc,
pid               546 lib/common/ipc_server.c                   sent, queue_len, c->ipcs, c->pid,
pid               560 lib/common/ipc_server.c                          CRM_XS " %p", c->pid, queue_len, c->ipcs);
pid               563 lib/common/ipc_server.c                          CRM_XS " %p", c->pid, queue_len, c->ipcs);
pid               711 lib/common/ipc_server.c             crm_trace("Sending the original to %p[%d]", c->ipcs, c->pid);
pid               717 lib/common/ipc_server.c             crm_trace("Sending a copy to %p[%d]", c->ipcs, c->pid);
pid               741 lib/common/ipc_server.c                        header->qb.id, c->pid, pcmk_rc_str(rc),
pid               746 lib/common/ipc_server.c                       header->qb.id, (long long) qb_rc, c->ipcs, c->pid);
pid               784 lib/common/ipc_server.c                    c->pid, pcmk_rc_str(rc), rc);
pid               437 lib/common/logging.c         pid_t pid = getpid();
pid               442 lib/common/logging.c                                                  (unsigned long) pid);
pid               816 lib/common/logging.c     pid_t pid = getpid();
pid               869 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              1020 lib/common/mainloop.c     return child->pid;
pid              1066 lib/common/mainloop.c         crm_debug("Kill pid %d only. leave group intact.", child->pid);
pid              1067 lib/common/mainloop.c         rc = kill(child->pid, SIGKILL);
pid              1069 lib/common/mainloop.c         crm_debug("Kill pid %d's group", child->pid);
pid              1070 lib/common/mainloop.c         rc = kill(-child->pid, SIGKILL);
pid              1075 lib/common/mainloop.c             crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid);
pid              1090 lib/common/mainloop.c         crm_warn("%s process (PID %d) will not die!", child->desc, (int)child->pid);
pid              1101 lib/common/mainloop.c     crm_debug("%s process (PID %d) timed out", child->desc, (int)child->pid);
pid              1117 lib/common/mainloop.c     rc = waitpid(child->pid, &status, flags);
pid              1120 lib/common/mainloop.c                   child->pid, child->desc);
pid              1123 lib/common/mainloop.c     } else if (rc != child->pid) {
pid              1136 lib/common/mainloop.c                    child->pid, child->desc, pcmk_rc_str(errno));
pid              1141 lib/common/mainloop.c                   child->pid, child->desc, exitcode);
pid              1146 lib/common/mainloop.c                   child->pid, child->desc, signo, strsignal(signo));
pid              1152 lib/common/mainloop.c                 child->pid, child->desc);
pid              1157 lib/common/mainloop.c                   child->pid, child->desc);
pid              1162 lib/common/mainloop.c         child->callback(child, child->pid, core, signo, exitcode);
pid              1177 lib/common/mainloop.c                       child->pid);
pid              1198 lib/common/mainloop.c mainloop_child_kill(pid_t pid)
pid              1209 lib/common/mainloop.c         if (pid == child->pid) {
pid              1226 lib/common/mainloop.c                   match->pid);
pid              1254 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              1255 lib/common/mainloop.c                    void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode))
pid              1260 lib/common/mainloop.c     child->pid = pid;
pid              1285 lib/common/mainloop.c mainloop_child_add(pid_t pid, int timeout, const char *desc, void *privatedata,
pid              1286 lib/common/mainloop.c                    void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode))
pid              1288 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              1159 lib/common/results.c     pid_t pid = 0;
pid              1165 lib/common/results.c     pid = fork();
pid              1166 lib/common/results.c     switch (pid) {
pid              1178 lib/common/results.c                     "%s:%d : %s", function, pid, file, line, assert_condition);
pid              1181 lib/common/results.c                 if (waitpid(pid, &status, 0) == pid) {
pid              1188 lib/common/results.c                           "(SIGCHLD is probably ignored)", pid);
pid              1191 lib/common/results.c                         pid, pcmk_rc_str(errno));
pid               271 lib/common/utils.c     pid_t pid;
pid               274 lib/common/utils.c     rc = pcmk__pidfile_matches(pidfile, 1, name, &pid);
pid               277 lib/common/utils.c                 name, (long long) pid, pidfile);
pid               279 lib/common/utils.c                name, (long long) pid, pidfile);
pid               283 lib/common/utils.c     pid = fork();
pid               284 lib/common/utils.c     if (pid < 0) {
pid               289 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               536 lib/fencing/st_actions.c     log_action(action, action->pid);
pid               548 lib/fencing/st_actions.c         action->done_cb(action->pid, &(action->result), action->userdata);
pid               560 lib/fencing/st_actions.c     action->pid = svc_action->pid;
pid               564 lib/fencing/st_actions.c         (action->fork_cb) (svc_action->pid, action->userdata);
pid               571 lib/fencing/st_actions.c               action->pid, action->action);
pid               668 lib/fencing/st_actions.c                        void (*done) (int pid,
pid               671 lib/fencing/st_actions.c                        void (*fork_cb) (int pid, void *user_data))
pid              2467 lib/fencing/st_client.c                         void (*callback)(int pid,
pid              2541 lib/lrmd/lrmd_client.c      void (*callback)(int pid, const pcmk__action_result_t *result,
pid              2587 lib/lrmd/lrmd_client.c                      void (*callback)(int pid,
pid               709 lib/services/services.c     if (op->pid != 0) {
pid               711 lib/services/services.c                  id, op->pid);
pid               712 lib/services/services.c         cancelled = mainloop_child_kill(op->pid);
pid               714 lib/services/services.c             crm_err("Termination of %s[%d] failed", id, op->pid);
pid               766 lib/services/services.c     if (op->pid || inflight_systemd_or_upstart(op)) {
pid               803 lib/services/services.c         if (dup->pid != 0) {
pid               105 lib/services/services_linux.c sigchld_received(int fd, int pid, struct sigchld_data_s *data)
pid               119 lib/services/services_linux.c         if (fdsi.ssi_pid == pid) {
pid               234 lib/services/services_linux.c sigchld_received(int fd, int pid, struct sigchld_data_s *data)
pid               581 lib/services/services_linux.c     op->pid = 0;
pid               618 lib/services/services_linux.c                   op->id, op->pid, (is_stderr? "stderr" : "stdout"));
pid               633 lib/services/services_linux.c     char *prefix = crm_strdup_printf("%s[%d] error output", op->id, op->pid);
pid               700 lib/services/services_linux.c async_action_complete(mainloop_child_t *p, pid_t pid, int core, int signo,
pid               706 lib/services/services_linux.c     CRM_CHECK(op->pid == pid,
pid               721 lib/services/services_linux.c         crm_debug("%s[%d] exited with status %d", op->id, op->pid, exitcode);
pid               730 lib/services/services_linux.c                  kind, op->id, op->pid, pcmk__readable_interval(op->timeout));
pid               741 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
pid               746 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
pid              1098 lib/services/services_linux.c     crm_trace("Waiting for %s[%d]", op->id, op->pid);
pid              1114 lib/services/services_linux.c                 && sigchld_received(fds[2].fd, op->pid, data)) {
pid              1115 lib/services/services_linux.c                 wait_rc = waitpid(op->pid, &status, WNOHANG);
pid              1125 lib/services/services_linux.c                              op->id, op->pid, wait_reason);
pid              1149 lib/services/services_linux.c                      CRM_XS " source=poll", op->id, op->pid, wait_reason);
pid              1157 lib/services/services_linux.c     crm_trace("Stopped waiting for %s[%d]", op->id, op->pid);
pid              1171 lib/services/services_linux.c                      op->id, op->pid, op->timeout);
pid              1180 lib/services/services_linux.c         if ((wait_rc == 0) && (waitpid(op->pid, &status, WNOHANG) == 0)) {
pid              1181 lib/services/services_linux.c             if (kill(op->pid, SIGKILL)) {
pid              1183 lib/services/services_linux.c                          op->id, op->pid, pcmk_rc_str(errno));
pid              1186 lib/services/services_linux.c             while ((waitpid(op->pid, &status, 0) == (pid_t) -1)
pid              1195 lib/services/services_linux.c         crm_info("%s[%d] exited with status %d", op->id, op->pid, op->rc);
pid              1204 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
pid              1208 lib/services/services_linux.c             crm_warn("%s[%d] dumped core", op->id, op->pid);
pid              1297 lib/services/services_linux.c     op->pid = fork();
pid              1298 lib/services/services_linux.c     switch (op->pid) {
pid              1404 lib/services/services_linux.c     crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid);
pid              1405 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              1786 tools/crm_mon.c     pid_t pid;
pid              1808 tools/crm_mon.c     pid = fork();
pid              1809 tools/crm_mon.c     if (pid == -1) {
pid              1812 tools/crm_mon.c     if (pid == 0) {
pid              1348 tools/crm_resource_runtime.c     char *pid = NULL;
pid              1366 tools/crm_resource_runtime.c         pid = pcmk__getpid_s();
pid              1367 tools/crm_resource_runtime.c         shadow_cib = cib_shadow_new(pid);
pid              1368 tools/crm_resource_runtime.c         shadow_file = get_shadow_file(pid);
pid              1371 tools/crm_resource_runtime.c             out->err(out, "Could not create shadow cib: '%s'", pid);
pid              1409 tools/crm_resource_runtime.c     free(pid);
pid               391 tools/crm_simulate.c         char *pid = pcmk__getpid_s();
pid               393 tools/crm_simulate.c         local_output = get_shadow_file(pid);
pid               396 tools/crm_simulate.c         free(pid);