status 220 attrd/commands.c int status = regexec(r_patt, attr, 0, NULL, 0); status 222 attrd/commands.c if (status == 0) { status 1484 cib/callbacks.c cib_client_status_callback(const char *node, const char *client, const char *status, void *private) status 1494 cib/callbacks.c node, client, status); status 1498 cib/callbacks.c crm_info("Status update: Client %s/%s now has status [%s]", node, client, status); status 1500 cib/callbacks.c if (safe_str_eq(status, JOINSTATUS)) { status 1501 cib/callbacks.c status = ONLINESTATUS; status 1503 cib/callbacks.c } else if (safe_str_eq(status, LEAVESTATUS)) { status 1504 cib/callbacks.c status = OFFLINESTATUS; status 1507 cib/callbacks.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_cib, status); status 72 cib/callbacks.h const char *status, void *private); status 206 cib/io.c xmlNode *status = NULL; status 263 cib/io.c status = find_xml_node(root, XML_CIB_TAG_STATUS, FALSE); status 264 cib/io.c if (discard_status && status != NULL) { status 266 cib/io.c free_xml(status); status 267 cib/io.c status = NULL; status 269 cib/io.c if (status == NULL) { status 111 crmd/callbacks.c const char *status = NULL; status 160 crmd/callbacks.c status = (node->processes & proc_flags) ? ONLINESTATUS : OFFLINESTATUS; status 162 crmd/callbacks.c node->uname, peer2text(proc_flags), status, status 30 crmd/crmd_callbacks.h extern void crmd_ha_status_callback(const char *node, const char *status, void *private_data); status 32 crmd/crmd_callbacks.h extern void crmd_client_status_callback(const char *node, const char *client, const char *status, status 383 crmd/heartbeat.c crmd_ha_status_callback(const char *node, const char *status, void *private) status 388 crmd/heartbeat.c crm_notice("Status update: Node %s now has status [%s]", node, status); status 391 crmd/heartbeat.c if (safe_str_eq(status, PINGSTATUS)) { status 395 crmd/heartbeat.c if (safe_str_eq(status, DEADSTATUS)) { status 415 crmd/heartbeat.c crmd_client_status_callback(const char *node, const char *client, const char *status, void *private) status 429 crmd/heartbeat.c node, client, status, AM_I_DC ? "true" : "false"); status 436 crmd/heartbeat.c node, client, status, AM_I_DC ? "true" : "false"); status 441 crmd/heartbeat.c if (safe_str_eq(status, JOINSTATUS)) { status 442 crmd/heartbeat.c status = ONLINESTATUS; status 443 crmd/heartbeat.c } else if (safe_str_eq(status, LEAVESTATUS)) { status 444 crmd/heartbeat.c status = OFFLINESTATUS; status 447 crmd/heartbeat.c if (safe_str_eq(status, ONLINESTATUS)) { status 454 crmd/heartbeat.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_crmd, status); status 309 crmd/te_actions.c cib_action_update(crm_action_t * action, int status, int op_rc) status 328 crmd/te_actions.c if (status == PCMK_LRM_OP_PENDING) { status 371 crmd/te_actions.c op = convert_graph_action(NULL, action, status, op_rc); status 379 crmd/te_actions.c status < 0 ? "new action" : XML_ATTR_TIMEOUT, status 386 crmd/te_actions.c services_lrm_status_str(status), action->id, task_uuid, target, rc); status 514 crmd/te_callbacks.c xmlNode *status = first_named_child(match, XML_CIB_TAG_STATUS); status 517 crmd/te_callbacks.c for (state = __xml_first_child(status); state != NULL; state = __xml_next(state)) { status 443 crmd/te_events.c int status = -1; status 467 crmd/te_events.c crm_element_value_int(event, XML_LRM_ATTR_OPSTATUS, &status); status 483 crmd/te_events.c if (status == PCMK_LRM_OP_PENDING) { status 515 crmd/te_events.c match_graph_event(action, event, status, rc, target_rc, ignore_failures); status 39 crmd/tengine.h extern gboolean cib_action_update(crm_action_t * action, int status, int op_rc); status 47 crmd/tengine.h extern const char *get_rsc_state(const char *task, enum op_status status); status 728 fencing/remote.c int status = regexec(&r_patt, node, 0, NULL, 0); status 731 fencing/remote.c if (status == 0) { status 258 fencing/test.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), status 261 fencing/test.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), status 326 fencing/test.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); status 329 fencing/test.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); status 335 fencing/test.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); status 341 fencing/test.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); status 347 fencing/test.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); status 353 fencing/test.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); status 454 include/crm/cluster/internal.h uint32_t flag, const char *status); status 178 include/crm/services.h int status; status 322 include/crm/services.h static inline const char *services_lrm_status_str(enum op_status status) { status 323 include/crm/services.h switch (status) { status 236 include/crm/stonith-ng.h int (*status)(stonith_t *st, int options, const char *id, const char *port, int timeout); status 150 include/crm/transition.h lrmd_event_data_t *convert_graph_action(xmlNode * resource, crm_action_t * action, int status, status 457 lib/ais/plugin.c int status; status 458 lib/ais/plugin.c pid_t pid = wait4(pcmk_children[lpc].pid, &status, WNOHANG, NULL); status 473 lib/ais/plugin.c if (WIFSIGNALED(status)) { status 474 lib/ais/plugin.c int sig = WTERMSIG(status); status 479 lib/ais/plugin.c WCOREDUMP(status) ? "true" : "false"); status 481 lib/ais/plugin.c } else if (WIFEXITED(status)) { status 482 lib/ais/plugin.c int rc = WEXITSTATUS(status); status 685 lib/ais/plugin.c char **status; status 692 lib/ais/plugin.c res = totempg_ifaces_get(nodeid, interfaces, &status, &iface_count); status 1104 lib/ais/plugin.c int status = 0; status 1114 lib/ais/plugin.c pid = wait4(pcmk_children[lpc].pid, &status, WNOHANG, NULL); status 164 lib/cluster/membership.c const char *status; status 166 lib/cluster/membership.c status = crm_element_value(node_state, XML_NODE_IN_CLUSTER); status 167 lib/cluster/membership.c if (status && !crm_is_true(status)) { status 168 lib/cluster/membership.c status = CRM_NODE_LOST; status 170 lib/cluster/membership.c status = CRM_NODE_MEMBER; status 172 lib/cluster/membership.c return status; status 891 lib/cluster/membership.c crm_update_peer_proc(const char *source, crm_node_t * node, uint32_t flag, const char *status) status 897 lib/cluster/membership.c source, peer2text(flag), status); return NULL); status 905 lib/cluster/membership.c if (status == NULL) { status 911 lib/cluster/membership.c } else if (safe_str_eq(status, ONLINESTATUS)) { status 917 lib/cluster/membership.c } else if (safe_str_eq(status, CRM_NODE_MEMBER)) { status 930 lib/cluster/membership.c if (status == NULL && flag <= crm_proc_none) { status 935 lib/cluster/membership.c peer2text(flag), status); status 959 lib/cluster/membership.c peer2text(flag), status); status 965 lib/common/mainloop.c int status = 0; status 968 lib/common/mainloop.c rc = waitpid(child->pid, &status, flags); status 976 lib/common/mainloop.c status = 1; status 982 lib/common/mainloop.c if (WIFEXITED(status)) { status 983 lib/common/mainloop.c exitcode = WEXITSTATUS(status); status 986 lib/common/mainloop.c } else if (WIFSIGNALED(status)) { status 987 lib/common/mainloop.c signo = WTERMSIG(status); status 991 lib/common/mainloop.c if (WCOREDUMP(status)) { status 661 lib/common/utils.c int status = 0; status 702 lib/common/utils.c rc = waitpid(pid, &status, 0); status 60 lib/fencing/st_client.c void (*done_cb) (GPid pid, gint status, const char *output, gpointer user_data); status 830 lib/fencing/st_client.c int pid, status = 0, len, rc = -EPROTO; status 978 lib/fencing/st_client.c p = waitpid(pid, &status, WNOHANG); status 998 lib/fencing/st_client.c p = waitpid(pid, &status, 0); status 1018 lib/fencing/st_client.c } else if (WIFEXITED(status)) { status 1019 lib/fencing/st_client.c crm_debug("result = %d", WEXITSTATUS(status)); status 1020 lib/fencing/st_client.c action->rc = -WEXITSTATUS(status); status 1023 lib/fencing/st_client.c } else if (WIFSIGNALED(status)) { status 1025 lib/fencing/st_client.c WTERMSIG(status)); status 1029 lib/fencing/st_client.c action->action, action->agent, status); status 2477 lib/fencing/st_client.c new_stonith->cmds->status = stonith_api_status; status 1068 lib/pengine/unpack.c unpack_node_loop(xmlNode * status, bool fence, pe_working_set_t * data_set) status 1073 lib/pengine/unpack.c for (xmlNode *state = __xml_first_child(status); state != NULL; state = __xml_next_element(state)) { status 1157 lib/pengine/unpack.c unpack_status(xmlNode * status, pe_working_set_t * data_set) status 1172 lib/pengine/unpack.c for (state = __xml_first_child(status); state != NULL; state = __xml_next_element(state)) { status 1261 lib/pengine/unpack.c while(unpack_node_loop(status, FALSE, data_set)) { status 1266 lib/pengine/unpack.c unpack_node_loop(status, is_set(data_set->flags, pe_flag_stonith_enabled), data_set); status 2089 lib/pengine/unpack.c const char *status = NULL; status 2126 lib/pengine/unpack.c status = crm_element_value(rsc_op, XML_LRM_ATTR_OPSTATUS); status 2127 lib/pengine/unpack.c if (safe_str_eq(status, "-1")) { status 2146 lib/pengine/unpack.c const char *status = NULL; status 2158 lib/pengine/unpack.c status = crm_element_value(rsc_op, XML_LRM_ATTR_OPSTATUS); status 2161 lib/pengine/unpack.c && safe_str_eq(status, "0")) { status 3101 lib/pengine/unpack.c int status = PCMK_LRM_OP_PENDING-1; status 3120 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); status 3124 lib/pengine/unpack.c CRM_CHECK(status <= PCMK_LRM_OP_NOT_INSTALLED, return FALSE); status 3125 lib/pengine/unpack.c CRM_CHECK(status >= PCMK_LRM_OP_PENDING, return FALSE); status 3138 lib/pengine/unpack.c task_key, task, task_id, status, rc, node->details->uname, role2text(rsc->role)); status 3146 lib/pengine/unpack.c if (status == PCMK_LRM_OP_ERROR) { status 3148 lib/pengine/unpack.c status = PCMK_LRM_OP_DONE; status 3151 lib/pengine/unpack.c if(status != PCMK_LRM_OP_NOT_INSTALLED) { status 3197 lib/pengine/unpack.c if(status == PCMK_LRM_OP_DONE || status == PCMK_LRM_OP_ERROR) { status 3198 lib/pengine/unpack.c status = determine_op_status(rsc, rc, target_rc, node, xml_op, on_fail, data_set); status 3201 lib/pengine/unpack.c pe_rsc_trace(rsc, "Handling status: %d", status); status 3202 lib/pengine/unpack.c switch (status) { status 3251 lib/pengine/unpack.c task_key, status, rc, node->details->uname); status 3286 lib/pengine/unpack.c if(status == PCMK_LRM_OP_ERROR_HARD) { status 3294 lib/pengine/unpack.c } else if(status == PCMK_LRM_OP_ERROR_FATAL) { status 3425 lib/pengine/unpack.c xmlNode *status = find_xml_node(data_set->input, XML_CIB_TAG_STATUS, TRUE); status 3431 lib/pengine/unpack.c for (node_state = __xml_first_child(status); node_state != NULL; status 31 lib/pengine/unpack.h extern gboolean unpack_status(xmlNode * status, pe_working_set_t * data_set); status 33 lib/pengine/unpack.h extern gboolean unpack_remote_status(xmlNode * status, pe_working_set_t * data_set); status 689 lib/services/services.c op->status = PCMK_LRM_OP_CANCELLED; status 896 lib/services/services.c op->status = PCMK_LRM_OP_ERROR; status 224 lib/services/services_linux.c op->status = PCMK_LRM_OP_CANCELLED; status 261 lib/services/services_linux.c op->status = PCMK_LRM_OP_DONE; status 290 lib/services/services_linux.c op->status = PCMK_LRM_OP_TIMEOUT; status 296 lib/services/services_linux.c op->status = PCMK_LRM_OP_ERROR; status 359 lib/services/services_linux.c op->status = PCMK_LRM_OP_NOT_INSTALLED; status 364 lib/services/services_linux.c op->status = PCMK_LRM_OP_ERROR; status 368 lib/services/services_linux.c op->status = PCMK_LRM_OP_ERROR; status 465 lib/services/services_linux.c int status = 0; status 523 lib/services/services_linux.c wait_rc = waitpid(op->pid, &status, WNOHANG); status 562 lib/services/services_linux.c op->status = PCMK_LRM_OP_TIMEOUT; status 566 lib/services/services_linux.c op->status = PCMK_LRM_OP_ERROR; status 571 lib/services/services_linux.c if (wait_rc == 0 && waitpid(op->pid, &status, WNOHANG) == 0) { status 576 lib/services/services_linux.c while (waitpid(op->pid, &status, 0) == (pid_t) -1 && errno == EINTR) /*omit*/; status 579 lib/services/services_linux.c } else if (WIFEXITED(status)) { status 580 lib/services/services_linux.c op->status = PCMK_LRM_OP_DONE; status 581 lib/services/services_linux.c op->rc = WEXITSTATUS(status); status 584 lib/services/services_linux.c } else if (WIFSIGNALED(status)) { status 585 lib/services/services_linux.c int signo = WTERMSIG(status); status 587 lib/services/services_linux.c op->status = PCMK_LRM_OP_ERROR; status 591 lib/services/services_linux.c if (WCOREDUMP(status)) { status 241 lib/services/systemd.c op->status = PCMK_LRM_OP_NOT_INSTALLED; status 351 lib/services/upstart.c op->status = PCMK_LRM_OP_NOT_INSTALLED; status 445 lib/services/upstart.c op->status = PCMK_LRM_OP_NOT_INSTALLED; status 253 lib/transition/graph.c const char *status = "In-progress"; status 324 lib/transition/graph.c status = "Complete"; status 329 lib/transition/graph.c status = "Terminated"; status 332 lib/transition/graph.c status = "Stopped"; status 343 lib/transition/graph.c graph->skipped, graph->incomplete, graph->source, status); status 297 lib/transition/unpack.c convert_graph_action(xmlNode * resource, crm_action_t * action, int status, int rc) status 320 lib/transition/unpack.c op->op_status = status; status 86 libltdl/lt__dirent.c int status; status 93 libltdl/lt__dirent.c status = FindNextFile (entry->hSearch, &entry->Win32FindData); status 94 libltdl/lt__dirent.c if (status == 0) status 876 lrmd/lrmd.c cmd->lrmd_op_status = action->status; status 1243 lrmd/lrmd.c if(action->status != PCMK_LRM_OP_DONE) { status 1244 lrmd/lrmd.c cmd->lrmd_op_status = action->status; status 410 lrmd/main.c int status; status 417 lrmd/main.c pid = waitpid(-1, &status, WNOHANG); status 420 lrmd/main.c if (WIFEXITED(status)) { status 421 lrmd/main.c exit(WEXITSTATUS(status)); status 548 pengine/allocate.c xmlNode *status = get_object_root(XML_CIB_TAG_STATUS, data_set->input); status 552 pengine/allocate.c for (node_state = __xml_first_child(status); node_state != NULL; status 685 pengine/constraints.c int status; status 694 pengine/constraints.c status = regexec(r_patt, r->id, nregs, pmatch, 0); status 696 pengine/constraints.c if(invert == FALSE && status == 0) { status 710 pengine/constraints.c } if(invert && status != 0) { status 65 tools/cibadmin.c char *status = NULL; status 519 tools/cibadmin.c xmlNode *status = get_object_root(XML_CIB_TAG_STATUS, input); status 521 tools/cibadmin.c if (status == NULL) { status 2741 tools/crm_mon.c int status = crm_parse_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), "0"); status 2761 tools/crm_mon.c call, services_lrm_status_str(status), exit_reason); status 2768 tools/crm_mon.c call, services_lrm_status_str(status), exit_reason); status 2778 tools/crm_mon.c call, services_lrm_status_str(status)); status 3427 tools/crm_mon.c int status, const char *desc) status 3472 tools/crm_mon.c add_snmp_field_int(trap_pdu, snmp_crm_oid_status, status); status 3497 tools/crm_mon.c const smtp_status_t *status; status 3499 tools/crm_mon.c status = smtp_recipient_status(recipient); status 3500 tools/crm_mon.c printf("%s: %d %s", mailbox, status->code, status->text); status 3600 tools/crm_mon.c int status, const char *desc) status 3606 tools/crm_mon.c char *status_s = crm_itoa(status); status 3643 tools/crm_mon.c int status, const char *desc) status 3708 tools/crm_mon.c "\toperation status: (%d) %s\r\n", status, services_lrm_status_str(status)); status 3709 tools/crm_mon.c if (status == PCMK_LRM_OP_DONE) { status 3794 tools/crm_mon.c int status = -1; status 3835 tools/crm_mon.c &status, &rc, &target_rc)) { status 3870 tools/crm_mon.c if (status == PCMK_LRM_OP_DONE && target_rc == rc) { status 3876 tools/crm_mon.c } else if (status == PCMK_LRM_OP_DONE) { status 3881 tools/crm_mon.c desc = services_lrm_status_str(status); status 3886 tools/crm_mon.c send_snmp_trap(node, rsc, task, target_rc, rc, status, desc); status 3889 tools/crm_mon.c send_smtp_trap(node, rsc, task, target_rc, rc, status, desc); status 3892 tools/crm_mon.c send_custom_trap(node, rsc, task, target_rc, rc, status, desc); status 3970 tools/crm_mon.c xmlNode *status = first_named_child(match, XML_CIB_TAG_STATUS); status 3972 tools/crm_mon.c for (state = __xml_first_child(status); state != NULL; state = __xml_next(state)) { status 181 tools/crm_resource_print.c int status = crm_parse_int(status_s, "0"); status 201 tools/crm_resource_print.c fprintf(stdout, "): %s\n", services_lrm_status_str(status)); status 1567 tools/crm_resource_runtime.c if (op->status == PCMK_LRM_OP_DONE) { status 1574 tools/crm_resource_runtime.c services_lrm_status_str(op->status), op->status); status 77 tools/crm_verify.c xmlNode *status = NULL; status 222 tools/crm_verify.c status = get_object_root(XML_CIB_TAG_STATUS, cib_object); status 223 tools/crm_verify.c if (status == NULL) { status 243 tools/crm_verify.c } else if (status != NULL || USE_LIVE_CIB) { status 36 tools/notifyServicelogEvent.c const char *status2char(STATUS status); status 40 tools/notifyServicelogEvent.c status2char(STATUS status) status 42 tools/notifyServicelogEvent.c switch (status) { status 56 tools/notifyServicelogEvent.c STATUS status = STATUS_GREEN; status 62 tools/notifyServicelogEvent.c status = STATUS_YELLOW; status 66 tools/notifyServicelogEvent.c status = STATUS_RED; status 69 tools/notifyServicelogEvent.c return status; status 156 tools/notifyServicelogEvent.c STATUS status = STATUS_GREEN; status 163 tools/notifyServicelogEvent.c status = event2status(event); status 165 tools/notifyServicelogEvent.c health_status = status2char(status); status 177 tools/notifyServicelogEvent.c crm_err("Error: status2char failed, status = %d", status);