pid 104 daemons/attrd/attrd_corosync.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 108 daemons/attrd/attrd_corosync.c char *data = pcmk__cpg_message_data(handle, nodeid, pid, msg, &from); pid 374 daemons/based/based_callbacks.c cib_client->name = pcmk__itoa(cib_client->pid); pid 320 daemons/based/based_io.c cib_diskwrite_complete(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) pid 330 daemons/based/based_io.c crm_trace("Disk write [%d] succeeded", (int) pid); pid 333 daemons/based/based_io.c crm_err("%s: process %d exited %d", errmsg, (int) pid, exitcode); pid 337 daemons/based/based_io.c errmsg, (int) pid, signo, strsignal(signo), pid 356 daemons/based/based_io.c int pid = 0; pid 367 daemons/based/based_io.c pid = fork(); pid 368 daemons/based/based_io.c if (pid < 0) { pid 374 daemons/based/based_io.c if (pid) { pid 376 daemons/based/based_io.c mainloop_child_add(pid, 0, "disk-writer", NULL, cib_diskwrite_complete); pid 319 daemons/based/pacemaker-based.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 323 daemons/based/pacemaker-based.c char *data = pcmk__cpg_message_data(handle, nodeid, pid, msg, &from); pid 34 daemons/controld/controld_corosync.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 37 daemons/controld/controld_corosync.c char *data = pcmk__cpg_message_data(handle, nodeid, pid, msg, &from); pid 1372 daemons/controld/controld_execd.c metadata_complete(int pid, const pcmk__action_result_t *result, void *user_data) pid 92 daemons/execd/execd_alerts.c action->pid, action->rc, cb_data->client_id); pid 96 daemons/execd/execd_alerts.c action->pid, cb_data->client_id); pid 852 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 96 daemons/execd/remoted_proxy.c client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id); pid 453 daemons/execd/remoted_proxy.c ipc_client->id, ipc_client->pid); pid 202 daemons/execd/remoted_schemas.c get_schema_files_complete(mainloop_child_t *p, pid_t pid, int core, int signo, int exitcode) pid 218 daemons/execd/remoted_schemas.c crm_err("%s: process %d exited %d", errmsg, (int) pid, exitcode); pid 222 daemons/execd/remoted_schemas.c errmsg, (int) pid, signo, strsignal(signo), pid 239 daemons/execd/remoted_schemas.c pid_t pid; pid 268 daemons/execd/remoted_schemas.c pid = fork(); pid 270 daemons/execd/remoted_schemas.c switch (pid) { pid 284 daemons/execd/remoted_schemas.c schema_fetch_pid = pid; pid 285 daemons/execd/remoted_schemas.c mainloop_child_add_with_flags(pid, 5 * 60 * 1000, "schema-fetch", NULL, pid 74 daemons/fenced/fenced_commands.c static void st_child_done(int pid, const pcmk__action_result_t *result, pid 110 daemons/fenced/fenced_commands.c void (*done_cb) (int pid, const pcmk__action_result_t *result, pid 487 daemons/fenced/fenced_commands.c fork_cb(int pid, void *user_data) pid 501 daemons/fenced/fenced_commands.c cmd->action, pid, pid 1127 daemons/fenced/fenced_commands.c void (*done_cb) (int pid, pid 1160 daemons/fenced/fenced_commands.c status_search_cb(int pid, const pcmk__action_result_t *result, void *user_data) pid 1209 daemons/fenced/fenced_commands.c dynamic_list_search_cb(int pid, const pcmk__action_result_t *result, pid 2510 daemons/fenced/fenced_commands.c int pid, const char *next, bool op_merged) pid 2538 daemons/fenced/fenced_commands.c if (pid != 0) { pid 2539 daemons/fenced/fenced_commands.c g_string_append_printf(msg, "[%d] ", pid); pid 2578 daemons/fenced/fenced_commands.c char *prefix = crm_strdup_printf("%s[%d]", cmd->device, pid); pid 2596 daemons/fenced/fenced_commands.c int pid, bool merged) pid 2603 daemons/fenced/fenced_commands.c log_async_result(cmd, result, pid, NULL, merged); pid 2670 daemons/fenced/fenced_commands.c int pid) pid 2706 daemons/fenced/fenced_commands.c send_async_reply(cmd_other, result, pid, true); pid 2741 daemons/fenced/fenced_commands.c st_child_done(int pid, const pcmk__action_result_t *result, void *user_data) pid 2780 daemons/fenced/fenced_commands.c send_async_reply(cmd, result, pid, false); pid 2782 daemons/fenced/fenced_commands.c reply_to_duplicates(cmd, result, pid); pid 2787 daemons/fenced/fenced_commands.c log_async_result(cmd, result, pid, next_device->id, false); pid 152 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", pcmk__s(value, "unknown"), c->pid); pid 223 daemons/fenced/pacemaker-fenced.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) pid 227 daemons/fenced/pacemaker-fenced.c char *data = pcmk__cpg_message_data(handle, nodeid, pid, msg, &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 41 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 154 daemons/pacemakerd/pcmkd_subdaemons.c const long long pid = PCMK__SPECIAL_PID_AS_0(child->pid); pid 158 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, pcmk_rc_str(rc), rc); pid 171 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, child->check_count, pid 181 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, child->check_count, pid 209 daemons/pacemakerd/pcmkd_subdaemons.c crm_trace("Subdaemon %s[%lld] terminated", name, pid); pid 214 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Subdaemon %s[%lld] terminated", name, pid); pid 217 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("Subdaemon %s[%lld] terminated", name, pid); pid 238 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid == PCMK__SPECIAL_PID) { pid 241 daemons/pacemakerd/pcmkd_subdaemons.c } else if (child->pid != 0) { pid 251 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_exit(mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode) pid 260 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, signo, strsignal(signo), pid 267 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); pid 272 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); pid 285 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); pid 297 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); pid 309 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = 0; pid 359 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid != 0) { pid 363 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid == PCMK__SPECIAL_PID) { pid 382 daemons/pacemakerd/pcmkd_subdaemons.c QB_XS " pid=%lld", name, (long long) child->pid); pid 389 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = 0; pid 463 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = fork(); pid 464 daemons/pacemakerd/pcmkd_subdaemons.c pcmk__assert(child->pid != -1); pid 466 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid > 0) { pid 468 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, name, child, pcmk_child_exit); pid 473 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, (unsigned long) uid, pid 479 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, (unsigned long) uid, pid 601 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid <= 0) { pid 607 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = ipc_pid; pid 608 daemons/pacemakerd/pcmkd_subdaemons.c } else if ((ipc_pid != 0) && (child->pid != ipc_pid)) { pid 624 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, name); pid 646 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = ipc_pid; pid 650 daemons/pacemakerd/pcmkd_subdaemons.c } else if ((child->pid == 0) && (ret == EINVAL)) { pid 729 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[i].pid == PCMK__SPECIAL_PID) { pid 767 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].pid)); pid 777 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].pid)); pid 786 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].pid), pid 822 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[i].pid != 0) { pid 853 daemons/pacemakerd/pcmkd_subdaemons.c if (!pcmk_is_set(pcmk_children[i].flags, child_needs_retry) || pcmk_children[i].pid != 0) { pid 878 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid == PCMK__SPECIAL_PID) { pid 880 daemons/pacemakerd/pcmkd_subdaemons.c name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); pid 884 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid <= 0) { pid 890 daemons/pacemakerd/pcmkd_subdaemons.c if (kill(child->pid, signal) == 0) { pid 893 daemons/pacemakerd/pcmkd_subdaemons.c name, signal, (long long) child->pid); pid 896 daemons/pacemakerd/pcmkd_subdaemons.c name, (long long) child->pid, signal, strerror(errno)); pid 258 include/crm/cluster/internal.h uint32_t pid, void *content, const char **from); pid 77 include/crm/common/internal.h int pcmk__procfs_pid2path(pid_t pid, char path[], size_t path_size); pid 102 include/crm/common/internal.h int pcmk__pid_active(pid_t pid, const char *daemon); pid 104 include/crm/common/internal.h int pcmk__read_pidfile(const char *filename, pid_t *pid); pid 106 include/crm/common/internal.h const char *expected_name, pid_t *pid); pid 164 include/crm/common/ipc_internal.h unsigned int pid; pid 170 include/crm/common/mainloop.h void mainloop_child_add(pid_t pid, pid 174 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 void mainloop_child_add_with_flags(pid_t pid, pid 181 include/crm/common/mainloop.h void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)); pid 189 include/crm/common/mainloop.h gboolean mainloop_child_kill(pid_t pid); pid 72 include/crm/fencing/internal.h void (*done) (int pid, pid 75 include/crm/fencing/internal.h void (*fork_cb) (int pid, void *user_data)); pid 78 include/crm/fencing/internal.h void (*callback)(int pid, pid 44 include/crm/lrmd_internal.h void (*callback)(int pid, pid 136 include/crm/services.h int pid; // Process ID of child pid 56 lib/cluster/cpg.c uint32_t pid; pid 326 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 338 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 350 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 365 lib/cluster/cpg.c msg_type2text(msg->sender.type), msg->sender.pid, pid 372 lib/cluster/cpg.c msg->id, msg_type2text(msg->sender.type), msg->sender.pid, pid 395 lib/cluster/cpg.c pcmk__cpg_message_data(cpg_handle_t handle, uint32_t sender_id, uint32_t pid, pid 415 lib/cluster/cpg.c sender_id, pid, msg->sender.id); pid 423 lib/cluster/cpg.c sender_id, pid, msg->host.id, local_nodeid); pid 431 lib/cluster/cpg.c sender_id, pid, msg->host.uname, local_name); pid 481 lib/cluster/cpg.c msg->id, ais_dest(&(msg->sender)), sender_id, pid, pid 494 lib/cluster/cpg.c msg->id, ais_dest(&(msg->sender)), sender_id, pid, msg->data); pid 602 lib/cluster/cpg.c cpg_peer->nodeid, cpg_peer->pid, pid 611 lib/cluster/cpg.c cpg_peer->pid, cpgreason2str(cpg_peer->reason)); pid 616 lib/cluster/cpg.c cpg_peer->nodeid, cpg_peer->pid, pid 617 lib/cluster/cpg.c cpgreason2str(cpg_peer->reason), (*rival)->pid); pid 674 lib/cluster/cpg.c joined_list[i].pid, cpgreason2str(joined_list[i].reason)); pid 683 lib/cluster/cpg.c && member_list[i].pid != getpid()) { pid 686 lib/cluster/cpg.c group_name->value, counter, member_list[i].pid); pid 691 lib/cluster/cpg.c member_list[i].nodeid, member_list[i].pid); pid 969 lib/cluster/cpg.c msg->sender.pid = local_pid; 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 1573 lib/common/ipc_client.c found_pid = ucred.pid; pid 1592 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 370 lib/common/ipc_server.c pcmk__client_name(client), client->pid, pid 375 lib/common/ipc_server.c pcmk__client_name(client), client->pid, pid 532 lib/common/ipc_server.c header->qb.id, c->ipcs, c->pid, qb_rc, pid 541 lib/common/ipc_server.c sent, queue_len, c->ipcs, c->pid, pcmk_rc_str(rc), qb_rc); pid 554 lib/common/ipc_server.c QB_XS " %p", c->pid, queue_len, c->ipcs); pid 557 lib/common/ipc_server.c QB_XS " %p", c->pid, queue_len, c->ipcs); pid 750 lib/common/ipc_server.c crm_trace("Sending the original to %p[%d]", c->ipcs, c->pid); pid 756 lib/common/ipc_server.c crm_trace("Sending a copy to %p[%d]", c->ipcs, c->pid); pid 796 lib/common/ipc_server.c header->qb.id, part_text, c->pid, pcmk_rc_str(rc), pid 801 lib/common/ipc_server.c header->qb.id, part_text, qb_rc, c->ipcs, c->pid); pid 928 lib/common/ipc_server.c c->pid, pcmk_rc_str(rc), rc); pid 451 lib/common/logging.c pid_t pid = getpid(); pid 456 lib/common/logging.c (unsigned long) pid); pid 830 lib/common/logging.c pid_t pid = getpid(); pid 898 lib/common/logging.c set_format_string(lpc, crm_system_name, pid, nodename); pid 27 lib/common/mainloop.c pid_t pid; pid 36 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode); pid 1024 lib/common/mainloop.c return child->pid; pid 1070 lib/common/mainloop.c crm_debug("Kill pid %d only. leave group intact.", child->pid); pid 1071 lib/common/mainloop.c rc = kill(child->pid, SIGKILL); pid 1073 lib/common/mainloop.c crm_debug("Kill pid %d's group", child->pid); pid 1074 lib/common/mainloop.c rc = kill(-child->pid, SIGKILL); pid 1079 lib/common/mainloop.c crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid); pid 1094 lib/common/mainloop.c crm_warn("%s process (PID %d) will not die!", child->desc, (int)child->pid); pid 1105 lib/common/mainloop.c crm_debug("%s process (PID %d) timed out", child->desc, (int)child->pid); pid 1121 lib/common/mainloop.c rc = waitpid(child->pid, &status, flags); pid 1124 lib/common/mainloop.c child->pid, child->desc); pid 1127 lib/common/mainloop.c } else if (rc != child->pid) { pid 1140 lib/common/mainloop.c child->pid, child->desc, pcmk_rc_str(errno)); pid 1145 lib/common/mainloop.c child->pid, child->desc, exitcode); pid 1150 lib/common/mainloop.c child->pid, child->desc, signo, strsignal(signo)); pid 1156 lib/common/mainloop.c child->pid, child->desc); pid 1161 lib/common/mainloop.c child->pid, child->desc); pid 1166 lib/common/mainloop.c child->callback(child, child->pid, core, signo, exitcode); pid 1181 lib/common/mainloop.c child->pid); pid 1202 lib/common/mainloop.c mainloop_child_kill(pid_t pid) pid 1213 lib/common/mainloop.c if (pid == child->pid) { pid 1230 lib/common/mainloop.c match->pid); pid 1258 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 1259 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)) pid 1264 lib/common/mainloop.c child->pid = pid; pid 1289 lib/common/mainloop.c mainloop_child_add(pid_t pid, int timeout, const char *desc, void *privatedata, pid 1290 lib/common/mainloop.c void (*callback) (mainloop_child_t * p, pid_t pid, int core, int signo, int exitcode)) pid 1292 lib/common/mainloop.c mainloop_child_add_with_flags(pid, timeout, desc, privatedata, 0, callback); pid 19 lib/common/pid.c pcmk__pid_active(pid_t pid, const char *daemon) pid 24 lib/common/pid.c if (pid <= 0) { pid 28 lib/common/pid.c rc = kill(pid, 0); pid 39 lib/common/pid.c if (last_asked_pid != pid) { pid 41 lib/common/pid.c (long long) pid, pcmk_rc_str(rc)); pid 42 lib/common/pid.c last_asked_pid = pid; pid 52 lib/common/pid.c rc = pcmk__procfs_pid2path(pid, exe_path, sizeof(exe_path)); pid 56 lib/common/pid.c if ((kill(pid, 0) < 0) && (errno == ESRCH)) { pid 60 lib/common/pid.c if (last_asked_pid != pid) { pid 64 lib/common/pid.c (long long) pid, pcmk_rc_str(rc), rc); pid 68 lib/common/pid.c (long long) pid, pcmk_rc_str(rc), rc); pid 70 lib/common/pid.c last_asked_pid = pid; pid 107 lib/common/pid.c pcmk__read_pidfile(const char *filename, pid_t *pid) pid 115 lib/common/pid.c CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL); pid 141 lib/common/pid.c *pid = (pid_t) pid_read; pid 169 lib/common/pid.c const char *expected_name, pid_t *pid) pid 174 lib/common/pid.c if (pid) { pid 175 lib/common/pid.c *pid = pidfile_pid; pid 34 lib/common/procfs.c pid_t pid = pcmk__procfs_pid_of(server); pid 36 lib/common/procfs.c return pid? crm_strdup_printf("/proc/%lld/stat", (long long) pid) : NULL; pid 55 lib/common/procfs.c pcmk__procfs_process_info(const struct dirent *entry, char *name, pid_t *pid) pid 71 lib/common/procfs.c if (pid) { pid 72 lib/common/procfs.c *pid = (pid_t) local_pid; pid 132 lib/common/procfs.c pid_t pid = 0; pid 142 lib/common/procfs.c if ((pcmk__procfs_process_info(entry, entry_name, &pid) == pcmk_rc_ok) pid 144 lib/common/procfs.c && (pcmk__pid_active(pid, NULL) == pcmk_rc_ok)) { pid 146 lib/common/procfs.c crm_info("Found %s active as process %lld", name, (long long) pid); pid 149 lib/common/procfs.c pid = 0; pid 152 lib/common/procfs.c return pid; pid 203 lib/common/procfs.c pcmk__procfs_pid2path(pid_t pid, char path[], size_t path_size) pid 210 lib/common/procfs.c (long long) pid) >= PATH_MAX) { pid 387 lib/common/procfs.c int rc = 0, pid = 0, ppid = 0, pgrp = 0, session = 0, tty_nr = 0, tpgid = 0; pid 391 lib/common/procfs.c &pid, comm, &state, &ppid, &pgrp, &session, &tty_nr, &tpgid, pid 175 lib/common/results.c pid_t pid = 0; pid 181 lib/common/results.c pid = fork(); pid 182 lib/common/results.c switch (pid) { pid 194 lib/common/results.c "%s:%d : %s", function, pid, file, line, assert_condition); pid 197 lib/common/results.c if (waitpid(pid, &status, 0) == pid) { pid 204 lib/common/results.c "(SIGCHLD is probably ignored)", pid); pid 207 lib/common/results.c pid, pcmk_rc_str(errno)); pid 291 lib/common/utils.c pid_t pid; pid 294 lib/common/utils.c rc = pcmk__pidfile_matches(pidfile, 1, name, &pid); pid 297 lib/common/utils.c name, (long long) pid, pidfile); pid 299 lib/common/utils.c name, (long long) pid, pidfile); pid 303 lib/common/utils.c pid = fork(); pid 304 lib/common/utils.c if (pid < 0) { pid 309 lib/common/utils.c } else if (pid > 0) { pid 39 lib/fencing/st_actions.c void (*done_cb) (int pid, const pcmk__action_result_t *result, pid 41 lib/fencing/st_actions.c void (*fork_cb) (int pid, void *user_data); pid 51 lib/fencing/st_actions.c int pid; pid 56 lib/fencing/st_actions.c static void log_action(stonith_action_t *action, pid_t pid); pid 75 lib/fencing/st_actions.c log_action(stonith_action_t *action, pid_t pid) pid 82 lib/fencing/st_actions.c char *prefix = crm_strdup_printf("%s[%d] stderr:", action->agent, pid); pid 529 lib/fencing/st_actions.c log_action(action, action->pid); pid 541 lib/fencing/st_actions.c action->done_cb(action->pid, &(action->result), action->userdata); pid 553 lib/fencing/st_actions.c action->pid = svc_action->pid; pid 557 lib/fencing/st_actions.c (action->fork_cb) (svc_action->pid, action->userdata); pid 564 lib/fencing/st_actions.c action->pid, action->action); pid 680 lib/fencing/st_actions.c void (*done) (int pid, pid 683 lib/fencing/st_actions.c void (*fork_cb) (int pid, void *user_data)) pid 2563 lib/fencing/st_client.c void (*callback)(int pid, pid 2494 lib/lrmd/lrmd_client.c void (*callback)(int pid, const pcmk__action_result_t *result, pid 2539 lib/lrmd/lrmd_client.c void (*callback)(int pid, pid 675 lib/services/services.c if (op->pid != 0) { pid 677 lib/services/services.c id, op->pid); pid 678 lib/services/services.c cancelled = mainloop_child_kill(op->pid); pid 680 lib/services/services.c crm_err("Termination of %s[%d] failed", id, op->pid); pid 732 lib/services/services.c if (op->pid || inflight_systemd(op)) { pid 769 lib/services/services.c if (dup->pid != 0) { pid 101 lib/services/services_linux.c sigchld_received(int fd, int pid, struct sigchld_data_s *data) pid 115 lib/services/services_linux.c if (fdsi.ssi_pid == pid) { pid 230 lib/services/services_linux.c sigchld_received(int fd, int pid, struct sigchld_data_s *data) pid 574 lib/services/services_linux.c op->pid = 0; pid 611 lib/services/services_linux.c op->id, op->pid, (is_stderr? "stderr" : "stdout")); pid 626 lib/services/services_linux.c char *prefix = crm_strdup_printf("%s[%d] error output", op->id, op->pid); pid 693 lib/services/services_linux.c async_action_complete(mainloop_child_t *p, pid_t pid, int core, int signo, pid 699 lib/services/services_linux.c CRM_CHECK(op->pid == pid, pid 714 lib/services/services_linux.c crm_debug("%s[%d] exited with status %d", op->id, op->pid, exitcode); pid 723 lib/services/services_linux.c kind, op->id, op->pid, pcmk__readable_interval(op->timeout)); pid 734 lib/services/services_linux.c op->id, op->pid, signo, strsignal(signo)); pid 739 lib/services/services_linux.c op->id, op->pid, signo, strsignal(signo)); pid 1071 lib/services/services_linux.c crm_trace("Waiting for %s[%d]", op->id, op->pid); pid 1087 lib/services/services_linux.c && sigchld_received(fds[2].fd, op->pid, data)) { pid 1088 lib/services/services_linux.c wait_rc = waitpid(op->pid, &status, WNOHANG); pid 1098 lib/services/services_linux.c op->id, op->pid, wait_reason); pid 1122 lib/services/services_linux.c QB_XS " source=poll", op->id, op->pid, wait_reason); pid 1130 lib/services/services_linux.c crm_trace("Stopped waiting for %s[%d]", op->id, op->pid); pid 1144 lib/services/services_linux.c op->id, op->pid, op->timeout); pid 1153 lib/services/services_linux.c if ((wait_rc == 0) && (waitpid(op->pid, &status, WNOHANG) == 0)) { pid 1154 lib/services/services_linux.c if (kill(op->pid, SIGKILL)) { pid 1156 lib/services/services_linux.c op->id, op->pid, pcmk_rc_str(errno)); pid 1159 lib/services/services_linux.c while ((waitpid(op->pid, &status, 0) == (pid_t) -1) pid 1168 lib/services/services_linux.c crm_info("%s[%d] exited with status %d", op->id, op->pid, op->rc); pid 1177 lib/services/services_linux.c op->id, op->pid, signo, strsignal(signo)); pid 1181 lib/services/services_linux.c crm_warn("%s[%d] dumped core", op->id, op->pid); pid 1270 lib/services/services_linux.c op->pid = fork(); pid 1271 lib/services/services_linux.c switch (op->pid) { pid 1377 lib/services/services_linux.c crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid); pid 1378 lib/services/services_linux.c mainloop_child_add_with_flags(op->pid, op->timeout, op->id, op, pid 1676 tools/crm_mon.c pid_t pid; pid 1698 tools/crm_mon.c pid = fork(); pid 1699 tools/crm_mon.c if (pid == -1) { pid 1702 tools/crm_mon.c if (pid == 0) { pid 1471 tools/crm_resource_runtime.c char *pid = NULL; pid 1489 tools/crm_resource_runtime.c pid = pcmk__getpid_s(); pid 1490 tools/crm_resource_runtime.c shadow_cib = cib_shadow_new(pid); pid 1491 tools/crm_resource_runtime.c shadow_file = get_shadow_file(pid); pid 1494 tools/crm_resource_runtime.c out->err(out, "Could not create shadow cib: '%s'", pid); pid 1539 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);