safe_str_eq 399 attrd/commands.c if (safe_str_eq(host, "localhost")) { safe_str_eq 558 attrd/commands.c if (safe_str_eq(op, ATTRD_OP_UPDATE)) { safe_str_eq 564 attrd/commands.c } else if (safe_str_eq(op, ATTRD_OP_FLUSH)) { safe_str_eq 573 attrd/commands.c } else if (safe_str_eq(op, ATTRD_OP_REFRESH)) { safe_str_eq 604 attrd/commands.c if (safe_str_eq(op, ATTRD_OP_UPDATE) || safe_str_eq(op, ATTRD_OP_UPDATE_BOTH) || safe_str_eq(op, ATTRD_OP_UPDATE_DELAY)) { safe_str_eq 607 attrd/commands.c } else if (safe_str_eq(op, ATTRD_OP_SYNC)) { safe_str_eq 610 attrd/commands.c } else if (safe_str_eq(op, ATTRD_OP_PEER_REMOVE)) { safe_str_eq 613 attrd/commands.c } else if (safe_str_eq(op, ATTRD_OP_CLEAR_FAILURE)) { safe_str_eq 619 attrd/commands.c } else if (safe_str_eq(op, ATTRD_OP_SYNC_RESPONSE) safe_str_eq 749 attrd/commands.c || safe_str_eq(op, ATTRD_OP_UPDATE_BOTH)); safe_str_eq 754 attrd/commands.c if (update_both || safe_str_eq(op, ATTRD_OP_UPDATE)) { safe_str_eq 763 attrd/commands.c if (update_both || safe_str_eq(op, ATTRD_OP_UPDATE_DELAY)) { safe_str_eq 823 attrd/commands.c && safe_str_eq(host, attrd_cluster->uname)) { safe_str_eq 912 attrd/commands.c if (safe_str_eq(peer->state, CRM_NODE_MEMBER)) { safe_str_eq 923 attrd/commands.c if (peer_writer && safe_str_eq(peer->uname, peer_writer)) { safe_str_eq 406 attrd/legacy.c if (host && safe_str_eq(host, attrd_uname)) { safe_str_eq 410 attrd/legacy.c } else if (safe_str_eq(op, ATTRD_OP_PEER_REMOVE)) { safe_str_eq 416 attrd/legacy.c } else if (safe_str_eq(op, ATTRD_OP_CLEAR_FAILURE)) { safe_str_eq 932 attrd/legacy.c if (safe_str_eq(value, hash_entry->value) safe_str_eq 933 attrd/legacy.c && safe_str_eq(value, hash_entry->stored_value)) { safe_str_eq 945 attrd/legacy.c if (safe_str_eq(value, hash_entry->value) && hash_entry->timer_id) { safe_str_eq 1073 attrd/legacy.c } else if (safe_str_eq(host, attrd_uname)) { safe_str_eq 1107 attrd/legacy.c if (safe_str_eq(op, ATTRD_OP_REFRESH)) { safe_str_eq 1112 attrd/legacy.c } else if (safe_str_eq(op, ATTRD_OP_PEER_REMOVE)) { safe_str_eq 1119 attrd/legacy.c } else if (safe_str_eq(op, ATTRD_OP_CLEAR_FAILURE)) { safe_str_eq 260 attrd/main.c if (safe_str_eq(op, ATTRD_OP_PEER_REMOVE)) { safe_str_eq 264 attrd/main.c } else if (safe_str_eq(op, ATTRD_OP_CLEAR_FAILURE)) { safe_str_eq 268 attrd/main.c } else if (safe_str_eq(op, ATTRD_OP_UPDATE)) { safe_str_eq 272 attrd/main.c } else if (safe_str_eq(op, ATTRD_OP_UPDATE_BOTH)) { safe_str_eq 276 attrd/main.c } else if (safe_str_eq(op, ATTRD_OP_UPDATE_DELAY)) { safe_str_eq 280 attrd/main.c } else if (safe_str_eq(op, ATTRD_OP_REFRESH)) { safe_str_eq 284 attrd/main.c } else if (safe_str_eq(op, ATTRD_OP_QUERY)) { safe_str_eq 216 cib/callbacks.c if (safe_str_eq(type, T_CIB_POST_NOTIFY)) { safe_str_eq 219 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_PRE_NOTIFY)) { safe_str_eq 222 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_UPDATE_CONFIRM)) { safe_str_eq 225 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_DIFF_NOTIFY)) { safe_str_eq 228 cib/callbacks.c } else if (safe_str_eq(type, T_CIB_REPLACE_NOTIFY)) { safe_str_eq 379 cib/callbacks.c if(safe_str_eq(ping_digest, digest) == FALSE) { safe_str_eq 540 cib/callbacks.c } else if (safe_str_eq(host, cib_our_uname)) { safe_str_eq 563 cib/callbacks.c if(safe_str_eq(op, CIB_OP_MASTER) || safe_str_eq(op, CIB_OP_SLAVE)) { safe_str_eq 594 cib/callbacks.c } else if (safe_str_eq(host, cib_our_uname)) { safe_str_eq 630 cib/callbacks.c gboolean is_reply = safe_str_eq(reply_to, cib_our_uname); safe_str_eq 646 cib/callbacks.c if (safe_str_eq(op, "cib_shutdown_req")) { safe_str_eq 658 cib/callbacks.c if (is_reply && safe_str_eq(op, CRM_OP_PING)) { safe_str_eq 672 cib/callbacks.c if (host != NULL && safe_str_eq(host, cib_our_uname)) { safe_str_eq 676 cib/callbacks.c } else if(is_reply == FALSE && safe_str_eq(op, CRM_OP_PING)) { safe_str_eq 698 cib/callbacks.c } else if (safe_str_eq(op, "cib_shutdown_req")) { safe_str_eq 728 cib/callbacks.c gboolean is_reply = safe_str_eq(reply_to, cib_our_uname); safe_str_eq 730 cib/callbacks.c if(safe_str_eq(op, CIB_OP_REPLACE)) { safe_str_eq 737 cib/callbacks.c } else if(safe_str_eq(op, CIB_OP_SYNC)) { safe_str_eq 739 cib/callbacks.c } else if (is_reply && safe_str_eq(op, CRM_OP_PING)) { safe_str_eq 743 cib/callbacks.c } else if (safe_str_eq(op, CIB_OP_UPGRADE)) { safe_str_eq 780 cib/callbacks.c } else if (safe_str_eq(op, "cib_shutdown_req")) { safe_str_eq 802 cib/callbacks.c if(safe_str_eq(delegated, cib_our_uname)) { safe_str_eq 809 cib/callbacks.c if (host != NULL && safe_str_eq(host, cib_our_uname)) { safe_str_eq 819 cib/callbacks.c } else if(is_reply == FALSE && safe_str_eq(op, CRM_OP_PING)) { safe_str_eq 1027 cib/callbacks.c if (safe_str_eq(op, CRM_OP_NOOP)) { safe_str_eq 1268 cib/callbacks.c if (is_not_set(call_options, cib_dryrun) && safe_str_eq(section, XML_CIB_TAG_STATUS)) { safe_str_eq 1322 cib/callbacks.c } else if (safe_str_eq(section, XML_TAG_CIB)) { safe_str_eq 1325 cib/callbacks.c } else if (safe_str_eq(section, XML_CIB_TAG_NODES)) { safe_str_eq 1328 cib/callbacks.c } else if (safe_str_eq(section, XML_CIB_TAG_STATUS)) { safe_str_eq 1489 cib/callbacks.c if (safe_str_eq(client, CRM_SYSTEM_CIB)) { safe_str_eq 1500 cib/callbacks.c if (safe_str_eq(status, JOINSTATUS)) { safe_str_eq 1503 cib/callbacks.c } else if (safe_str_eq(status, LEAVESTATUS)) { safe_str_eq 60 cib/common.c } else if (safe_str_eq(crm_element_name(root), XML_TAG_FRAGMENT) safe_str_eq 61 cib/common.c || safe_str_eq(crm_element_name(root), F_CRM_DATA) safe_str_eq 62 cib/common.c || safe_str_eq(crm_element_name(root), F_CIB_CALLDATA)) { safe_str_eq 131 cib/common.c || safe_str_eq(crm_element_name(*output), "xpath-query")) { safe_str_eq 204 cib/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { safe_str_eq 140 cib/messages.c if (safe_str_eq(op, CIB_OP_ISMASTER)) { safe_str_eq 149 cib/messages.c if (safe_str_eq(op, CIB_OP_MASTER)) { safe_str_eq 375 cib/messages.c if (rc == pcmk_ok && safe_str_eq(tag, XML_TAG_CIB)) { safe_str_eq 448 cib/messages.c if (safe_str_eq(XML_CIB_TAG_SECTION_ALL, section)) { safe_str_eq 451 cib/messages.c } else if (safe_str_eq(XML_TAG_CIB, section)) { safe_str_eq 454 cib/messages.c } else if (safe_str_eq(crm_element_name(input), XML_TAG_CIB)) { safe_str_eq 98 cib/notify.c if (is_set(client->options, cib_notify_diff) && safe_str_eq(type, T_CIB_DIFF_NOTIFY)) { safe_str_eq 102 cib/notify.c && safe_str_eq(type, T_CIB_REPLACE_NOTIFY)) { safe_str_eq 106 cib/notify.c && safe_str_eq(type, T_CIB_UPDATE_CONFIRM)) { safe_str_eq 109 cib/notify.c } else if (is_set(client->options, cib_notify_pre) && safe_str_eq(type, T_CIB_PRE_NOTIFY)) { safe_str_eq 112 cib/notify.c } else if (is_set(client->options, cib_notify_post) && safe_str_eq(type, T_CIB_POST_NOTIFY)) { safe_str_eq 65 crmd/callbacks.c if (safe_str_eq(sys_from, CRM_SYSTEM_DC)) { safe_str_eq 90 crmd/callbacks.c if (safe_str_eq(sys_to, CRM_SYSTEM_DC)) { safe_str_eq 144 crmd/callbacks.c if (safe_str_eq(CRM_NODE_MEMBER, node->state)) { safe_str_eq 178 crmd/callbacks.c if (safe_str_eq(node->uname, fsa_our_uname) && (node->processes & proc_flags) == 0) { safe_str_eq 183 crmd/callbacks.c } else if (safe_str_eq(node->uname, fsa_our_dc) && crm_is_peer_active(node) == FALSE) { safe_str_eq 223 crmd/callbacks.c if (safe_str_eq(task, CRM_OP_FENCE)) { safe_str_eq 229 crmd/callbacks.c } else if ((alive == FALSE) && safe_str_eq(task, CRM_OP_SHUTDOWN)) { safe_str_eq 61 crmd/cib.c CRM_CHECK(safe_str_eq(crm_element_name(generation), XML_TAG_CIB), safe_str_eq 1059 crmd/control.c if (safe_str_eq(value, "suicide") && pcmk_locate_sbd()) { safe_str_eq 216 crmd/crmd_metadata.c if (safe_str_eq(action_name, "reload")) { safe_str_eq 181 crmd/heartbeat.c if (safe_str_eq(fsa_our_uname, oc->m_array[oc->m_memb_idx + lpc].node_uname)) { safe_str_eq 391 crmd/heartbeat.c if (safe_str_eq(status, PINGSTATUS)) { safe_str_eq 395 crmd/heartbeat.c if (safe_str_eq(status, DEADSTATUS)) { safe_str_eq 441 crmd/heartbeat.c if (safe_str_eq(status, JOINSTATUS)) { safe_str_eq 443 crmd/heartbeat.c } else if (safe_str_eq(status, LEAVESTATUS)) { safe_str_eq 447 crmd/heartbeat.c if (safe_str_eq(status, ONLINESTATUS)) { safe_str_eq 492 crmd/heartbeat.c if (safe_str_eq(op, CRM_OP_VOTE)) { safe_str_eq 495 crmd/heartbeat.c } else if (AM_I_DC && safe_str_eq(op, CRM_OP_JOIN_ANNOUNCE)) { safe_str_eq 498 crmd/heartbeat.c } else if (safe_str_eq(sys_from, CRM_SYSTEM_DC)) { safe_str_eq 205 crmd/join_client.c if (safe_str_eq(start_state, "standby")) { safe_str_eq 211 crmd/join_client.c } else if (safe_str_eq(start_state, "online")) { safe_str_eq 217 crmd/join_client.c } else if (safe_str_eq(start_state, "default")) { safe_str_eq 264 crmd/join_client.c if (AM_I_DC == FALSE && safe_str_eq(welcome_from, fsa_our_uname)) { safe_str_eq 142 crmd/join_dc.c if(member->expected == NULL && safe_str_eq(member->state, CRM_NODE_LOST)) { safe_str_eq 358 crmd/join_dc.c } else if (cmp < 0 || (cmp == 0 && safe_str_eq(join_from, fsa_our_uname))) { safe_str_eq 427 crmd/join_dc.c if (max_generation_from == NULL || safe_str_eq(max_generation_from, fsa_our_uname)) { safe_str_eq 550 crmd/join_dc.c if (safe_str_eq(join_from, fsa_our_uname)) { safe_str_eq 129 crmd/lrm.c && safe_str_eq(op->op_type, existing->op_type)) { safe_str_eq 196 crmd/lrm.c if (safe_str_eq(op->op_type, RSC_NOTIFY)) { safe_str_eq 251 crmd/lrm.c (safe_str_eq(CRMD_ACTION_START, op->op_type) || safe_str_eq 252 crmd/lrm.c safe_str_eq("reload", op->op_type) || safe_str_eq 253 crmd/lrm.c safe_str_eq(CRMD_ACTION_STATUS, op->op_type))) { safe_str_eq 271 crmd/lrm.c } else if (entry->recurring_op_list && safe_str_eq(op->op_type, RSC_STATUS) == FALSE) { safe_str_eq 316 crmd/lrm.c if (op->type == lrmd_event_disconnect && (safe_str_eq(nodename, fsa_our_uname))) { safe_str_eq 544 crmd/lrm.c if (safe_str_eq(secure_terms[lpc], param->rap_name)) { safe_str_eq 767 crmd/lrm.c if (entry->last->rc == PCMK_OCF_OK && safe_str_eq(entry->last->op_type, CRMD_ACTION_STOP)) { safe_str_eq 771 crmd/lrm.c && safe_str_eq(entry->last->op_type, CRMD_ACTION_MIGRATE)) { safe_str_eq 1107 crmd/lrm.c return (safe_str_eq(op, entry->failed->op_type) safe_str_eq 1431 crmd/lrm.c if(safe_str_eq(operation, RSC_NOTIFY)) { safe_str_eq 1522 crmd/lrm.c if (safe_str_eq(crm_op, CRM_OP_LRM_DELETE)) { safe_str_eq 1527 crmd/lrm.c } else if (safe_str_eq(crm_op, CRM_OP_LRM_REFRESH)) { safe_str_eq 1530 crmd/lrm.c } else if (safe_str_eq(crm_op, CRM_OP_LRM_FAIL)) { safe_str_eq 1587 crmd/lrm.c if (safe_str_eq(crm_op, CRM_OP_LRM_REFRESH)) { safe_str_eq 1609 crmd/lrm.c } else if (safe_str_eq(crm_op, CRM_OP_LRM_QUERY)) { safe_str_eq 1620 crmd/lrm.c } else if (safe_str_eq(operation, CRM_OP_PROBED)) { safe_str_eq 1623 crmd/lrm.c } else if (safe_str_eq(operation, CRM_OP_REPROBE) || safe_str_eq(crm_op, CRM_OP_REPROBE)) { safe_str_eq 1652 crmd/lrm.c if (safe_str_eq(operation, CRMD_ACTION_DELETE)) { safe_str_eq 1678 crmd/lrm.c } else if (safe_str_eq(operation, CRMD_ACTION_CANCEL)) { safe_str_eq 1756 crmd/lrm.c } else if (safe_str_eq(operation, CRMD_ACTION_DELETE)) { safe_str_eq 1825 crmd/lrm.c CRM_LOG_ASSERT(safe_str_eq(CRMD_ACTION_STOP, operation)); safe_str_eq 1887 crmd/lrm.c if (safe_str_eq(key, XML_ATTR_TIMEOUT)) { safe_str_eq 1889 crmd/lrm.c } else if (safe_str_eq(key, XML_OP_ATTR_START_DELAY)) { safe_str_eq 1948 crmd/lrm.c if (safe_str_eq(operation, CRMD_ACTION_START) safe_str_eq 1949 crmd/lrm.c || safe_str_eq(operation, CRMD_ACTION_STOP)) { safe_str_eq 2069 crmd/lrm.c || safe_str_eq(op->op_type, CRMD_ACTION_CANCEL) safe_str_eq 2070 crmd/lrm.c || safe_str_eq(op->op_type, CRMD_ACTION_DELETE)) { safe_str_eq 2161 crmd/lrm.c if (is_set(fsa_input_register, R_SHUTDOWN) && safe_str_eq(operation, RSC_START)) { safe_str_eq 2310 crmd/lrm.c if (safe_str_eq(node_name, fsa_our_uname)) { safe_str_eq 2461 crmd/lrm.c if (safe_str_eq(op->op_type, RSC_NOTIFY) || safe_str_eq(op->op_type, RSC_METADATA)) { safe_str_eq 166 crmd/lrm_state.c if (safe_str_eq(node_name, proxy->node_name)) { safe_str_eq 314 crmd/lrm_state.c && safe_str_eq(node_name, proxy->node_name)) { safe_str_eq 499 crmd/lrm_state.c if (safe_str_eq(op, LRMD_IPC_OP_NEW)) { safe_str_eq 510 crmd/lrm_state.c } else if (safe_str_eq(op, LRMD_IPC_OP_SHUTDOWN_REQ)) { safe_str_eq 534 crmd/lrm_state.c } else if (safe_str_eq(op, LRMD_IPC_OP_REQUEST) && proxy && proxy->is_local) { safe_str_eq 88 crmd/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { safe_str_eq 91 crmd/main.c } else if (argc - optind == 1 && safe_str_eq("version", argv[optind])) { safe_str_eq 57 crmd/membership.c if (safe_str_eq(fsa_our_uname, node->uname)) { safe_str_eq 61 crmd/membership.c } else if (AM_I_DC == FALSE && safe_str_eq(node->uname, fsa_our_dc)) { safe_str_eq 172 crmd/membership.c safe_str_eq(node->state, CRM_NODE_MEMBER)); safe_str_eq 232 crmd/membership.c if (safe_str_eq(crm_element_name(output), XML_CIB_TAG_NODE)) { safe_str_eq 260 crmd/membership.c && safe_str_eq(node->uuid, node_uuid) safe_str_eq 262 crmd/membership.c && safe_str_eq(node->uname, node_uname)) { safe_str_eq 380 crmd/messages.c } else if (safe_str_eq(CRM_OP_HELLO, crm_element_value(msg, F_CRM_TASK))) { safe_str_eq 421 crmd/messages.c } else if (safe_str_eq(fsa_our_uname, host_to)) { safe_str_eq 723 crmd/messages.c gboolean dc_match = safe_str_eq(host_from, fsa_our_dc); safe_str_eq 818 crmd/messages.c gboolean dc_match = safe_str_eq(host_from, fsa_our_dc); safe_str_eq 909 crmd/messages.c } else if (safe_str_eq(msg_ref, fsa_pe_ref)) { safe_str_eq 301 crmd/remote_lrmd_ra.c if (safe_str_eq(cmd->action, "start")) { safe_str_eq 304 crmd/remote_lrmd_ra.c } else if (safe_str_eq(cmd->action, "migrate_from")) { safe_str_eq 317 crmd/remote_lrmd_ra.c } else if (safe_str_eq(cmd->action, "stop")) { safe_str_eq 591 crmd/remote_lrmd_ra.c if (op->type == lrmd_event_connect && (safe_str_eq(cmd->action, "start") || safe_str_eq 592 crmd/remote_lrmd_ra.c safe_str_eq(cmd->action, "migrate_from"))) { safe_str_eq 626 crmd/remote_lrmd_ra.c } else if (op->type == lrmd_event_poke && safe_str_eq(cmd->action, "monitor")) { safe_str_eq 653 crmd/remote_lrmd_ra.c } else if (op->type == lrmd_event_disconnect && safe_str_eq(cmd->action, "monitor")) { safe_str_eq 662 crmd/remote_lrmd_ra.c } else if (op->type == lrmd_event_new_client && safe_str_eq(cmd->action, "stop")) { safe_str_eq 727 crmd/remote_lrmd_ra.c if (safe_str_eq(tmp->key, "addr") || safe_str_eq(tmp->key, "server")) { safe_str_eq 730 crmd/remote_lrmd_ra.c if (safe_str_eq(tmp->key, "port")) { safe_str_eq 924 crmd/remote_lrmd_ra.c if (cmd->interval > 0 && safe_str_eq(cmd->action, "monitor")) { safe_str_eq 954 crmd/remote_lrmd_ra.c if (cmd->interval == interval && safe_str_eq(cmd->action, action)) { safe_str_eq 982 crmd/remote_lrmd_ra.c (safe_str_eq(ra_data->cur_cmd->action, action))) { safe_str_eq 1009 crmd/remote_lrmd_ra.c safe_str_eq(ra_data->cur_cmd->action, "monitor")) { safe_str_eq 1017 crmd/remote_lrmd_ra.c if (cmd->interval == interval && safe_str_eq(cmd->action, "monitor")) { safe_str_eq 1024 crmd/remote_lrmd_ra.c if (cmd->interval == interval && safe_str_eq(cmd->action, "monitor")) { safe_str_eq 59 crmd/te_actions.c if (safe_str_eq(task, CRM_OP_MAINTENANCE_NODES)) { safe_str_eq 67 crmd/te_actions.c if (safe_str_eq(fsa_our_uname, node->uname)) { safe_str_eq 253 crmd/te_actions.c if (safe_str_eq(router_node, fsa_our_uname)) { safe_str_eq 262 crmd/te_actions.c if (is_local && safe_str_eq(task, CRM_OP_SHUTDOWN)) { safe_str_eq 272 crmd/te_actions.c } else if (safe_str_eq(task, CRM_OP_SHUTDOWN)) { safe_str_eq 446 crmd/te_actions.c if (safe_str_eq(router_node, fsa_our_uname)) { safe_str_eq 590 crmd/te_actions.c (safe_str_eq(task, CRMD_ACTION_MIGRATE) || safe_str_eq(task, CRMD_ACTION_MIGRATED))) { safe_str_eq 636 crmd/te_actions.c if (safe_str_eq(task, CRMD_ACTION_MIGRATE) || safe_str_eq(task, CRMD_ACTION_MIGRATED)) { safe_str_eq 666 crmd/te_actions.c (safe_str_eq(task, CRMD_ACTION_MIGRATE) || safe_str_eq(task, CRMD_ACTION_MIGRATED))) { safe_str_eq 61 crmd/te_callbacks.c if (safe_str_eq(value, INFINITY_S)) { safe_str_eq 119 crmd/te_callbacks.c if (safe_str_eq(CRM_OP_PROBED, name)) { safe_str_eq 459 crmd/te_callbacks.c } else if(strstr(xpath, "/"XML_CIB_TAG_TICKETS) || safe_str_eq(name, XML_CIB_TAG_TICKETS)) { safe_str_eq 463 crmd/te_callbacks.c } else if(strstr(xpath, "/"XML_TAG_TRANSIENT_NODEATTRS"[") || safe_str_eq(name, XML_TAG_TRANSIENT_NODEATTRS)) { safe_str_eq 467 crmd/te_callbacks.c } else if(strstr(xpath, "/"XML_LRM_TAG_RSC_OP"[") && safe_str_eq(op, "delete")) { safe_str_eq 502 crmd/te_callbacks.c } else if(strstr(xpath, "/"XML_CIB_TAG_LRM"[") && safe_str_eq(op, "delete")) { safe_str_eq 505 crmd/te_callbacks.c } else if(strstr(xpath, "/"XML_CIB_TAG_STATE"[") && safe_str_eq(op, "delete")) { safe_str_eq 597 crmd/te_callbacks.c } else if (safe_str_eq(op, CRM_OP_INVOKE_LRM) safe_str_eq 598 crmd/te_callbacks.c && safe_str_eq(sys_from, CRM_SYSTEM_LRMD) safe_str_eq 799 crmd/te_callbacks.c if (safe_str_eq("on", op)) { safe_str_eq 918 crmd/te_callbacks.c } else if (safe_str_eq(task, RSC_CANCEL)) { safe_str_eq 67 crmd/te_events.c if (safe_str_eq(task, CRM_OP_FENCE)) { safe_str_eq 81 crmd/te_events.c if (safe_str_eq(target_uuid, down_node) || safe_str_eq(router_uuid, down_node)) { safe_str_eq 140 crmd/te_events.c } else if (safe_str_eq(origin, "build_active_RAs")) { safe_str_eq 154 crmd/te_events.c if ((interval > 0) || safe_str_eq(task, CRMD_ACTION_PROMOTE) safe_str_eq 155 crmd/te_events.c || safe_str_eq(task, CRMD_ACTION_DEMOTE)) { safe_str_eq 158 crmd/te_events.c } else if (safe_str_eq(task, CRMD_ACTION_START)) { safe_str_eq 165 crmd/te_events.c } else if (safe_str_eq(task, CRMD_ACTION_STOP)) { safe_str_eq 513 crmd/te_events.c ignore_failures = safe_str_eq( safe_str_eq 73 crmd/te_utils.c if (safe_str_eq(target, iter_name)) { safe_str_eq 153 crmd/te_utils.c if (task && safe_str_eq(task, CRM_OP_FENCE)) { safe_str_eq 220 crmd/te_utils.c if (st_event->result == pcmk_ok && safe_str_eq("on", st_event->action)) { safe_str_eq 226 crmd/te_utils.c } else if (safe_str_eq("on", st_event->action)) { safe_str_eq 267 crmd/te_utils.c if (!AM_I_DC && safe_str_eq(st_event->operation, T_STONITH_NOTIFY_FENCE)) { safe_str_eq 331 crmd/te_utils.c gboolean we_are_executioner = safe_str_eq(st_event->executioner, fsa_our_uname); safe_str_eq 362 crmd/te_utils.c } else if (((fsa_our_dc == NULL) || safe_str_eq(fsa_our_dc, st_event->target)) safe_str_eq 574 crmd/te_utils.c if (safe_str_eq(XML_TAG_DIFF, TYPE(search))) { safe_str_eq 583 crmd/te_utils.c if (safe_str_eq(XML_DIFF_CHANGE, TYPE(search))) { safe_str_eq 633 crmd/te_utils.c } else if (safe_str_eq(XML_CIB_TAG_NVPAIR, kind)) { safe_str_eq 642 crmd/te_utils.c } else if (safe_str_eq(XML_LRM_TAG_RSC_OP, kind)) { safe_str_eq 652 crmd/te_utils.c } else if (safe_str_eq(XML_CIB_TAG_STATE, kind) safe_str_eq 653 crmd/te_utils.c || safe_str_eq(XML_CIB_TAG_NODE, kind)) { safe_str_eq 969 crmd/utils.c if (safe_str_eq(fsa_our_dc, last_dc)) { safe_str_eq 222 fencing/admin.c if (safe_str_eq(async_fence_data.target, e->target) && safe_str_eq 223 fencing/admin.c safe_str_eq(async_fence_data.action, e->action)) { safe_str_eq 355 fencing/admin.c (safe_str_eq(target, "*")? NULL : target), safe_str_eq 541 fencing/admin.c if (safe_str_eq("tolerance", longname)) { safe_str_eq 129 fencing/commands.c return device && device->automatic_unfencing && safe_str_eq(action, "on"); safe_str_eq 198 fencing/commands.c if (safe_str_eq(action, "reboot") safe_str_eq 356 fencing/commands.c if(safe_str_eq(device->agent, STONITH_WATCHDOG_AGENT)) { safe_str_eq 357 fencing/commands.c if(safe_str_eq(cmd->action, "reboot")) { safe_str_eq 361 fencing/commands.c } else if(safe_str_eq(cmd->action, "off")) { safe_str_eq 375 fencing/commands.c if (safe_str_eq(cmd->action,"stop")) { safe_str_eq 390 fencing/commands.c if (safe_str_eq(cmd->action, "reboot") && is_not_set(device->flags, st_device_supports_reboot)) { safe_str_eq 699 fencing/commands.c if(safe_str_eq(agent, STONITH_WATCHDOG_AGENT)) { safe_str_eq 793 fencing/commands.c if(safe_str_eq(action, "list")) { safe_str_eq 795 fencing/commands.c } else if(safe_str_eq(action, "status")) { safe_str_eq 797 fencing/commands.c } else if(safe_str_eq(action, "reboot")) { safe_str_eq 799 fencing/commands.c } else if (safe_str_eq(action, "on")) { safe_str_eq 916 fencing/commands.c if (safe_str_eq(value, "unfencing")) { safe_str_eq 999 fencing/commands.c if (safe_str_eq(item, value)) { safe_str_eq 1374 fencing/commands.c if (safe_str_eq(TYPE(msg), XML_TAG_FENCING_LEVEL)) { safe_str_eq 1550 fencing/commands.c gboolean localhost_is_target = safe_str_eq(target, stonith_our_uname); safe_str_eq 1585 fencing/commands.c if (safe_str_eq(search->action, "reboot")) { safe_str_eq 1608 fencing/commands.c if (safe_str_eq(check_type, "none")) { safe_str_eq 1611 fencing/commands.c } else if (safe_str_eq(check_type, "static-list")) { safe_str_eq 1624 fencing/commands.c } else if (safe_str_eq(check_type, "dynamic-list")) { safe_str_eq 1642 fencing/commands.c } else if (safe_str_eq(check_type, "status")) { safe_str_eq 1653 fencing/commands.c if (safe_str_eq(host, alias)) { safe_str_eq 1700 fencing/commands.c if (safe_str_eq(check_type, "status") || safe_str_eq(check_type, "dynamic-list")) { safe_str_eq 1881 fencing/commands.c && safe_str_eq(query->action, "reboot")) { safe_str_eq 1889 fencing/commands.c if (safe_str_eq(query->action, "reboot")) { safe_str_eq 1954 fencing/commands.c if (device && safe_str_eq(device, "manual_ack")) { safe_str_eq 2012 fencing/commands.c if (safe_str_eq(cmd->action, "metadata")) { safe_str_eq 2021 fencing/commands.c } else if (!stand_alone && safe_str_eq(cmd->origin, cmd->victim) && safe_str_neq(cmd->action, "on")) { safe_str_eq 2120 fencing/commands.c (safe_str_eq(cmd->action, "list") || safe_str_eq 2121 fencing/commands.c safe_str_eq(cmd->action, "monitor") || safe_str_eq(cmd->action, "status"))) { safe_str_eq 2187 fencing/commands.c if (safe_str_eq(cmd->client, cmd_other->client) || safe_str_eq 2411 fencing/commands.c if (find_topology_for_host(target) && safe_str_eq(target, stonith_our_uname)) { safe_str_eq 2637 fencing/commands.c } else if(safe_str_eq(op, CRM_OP_RM_NODE_CACHE)) { safe_str_eq 117 fencing/main.c if(safe_str_eq(op, CRM_OP_RM_NODE_CACHE)) { safe_str_eq 302 fencing/main.c if (safe_str_eq(name, T_STONITH_NOTIFY_FENCE)) { safe_str_eq 305 fencing/main.c } else if (safe_str_eq(name, STONITH_OP_DEVICE_ADD)) { safe_str_eq 308 fencing/main.c } else if (safe_str_eq(name, STONITH_OP_DEVICE_DEL)) { safe_str_eq 639 fencing/main.c if (safe_str_eq(value, RSC_STOPPED)) { safe_str_eq 761 fencing/main.c } else if(safe_str_eq(op, "delete") && strstr(xpath, XML_CIB_TAG_RESOURCE)) { safe_str_eq 1330 fencing/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { safe_str_eq 739 fencing/remote.c return safe_str_eq(tp->target, node); safe_str_eq 806 fencing/remote.c if (g_list_next(op->devices_list) && safe_str_eq(op->action, "reboot")) { safe_str_eq 850 fencing/remote.c } else if (safe_str_eq(op->client_name, other->client_name)) { safe_str_eq 853 fencing/remote.c } else if (safe_str_eq(other->target, other->originator)) { safe_str_eq 1140 fencing/remote.c if ((options & FIND_PEER_SKIP_TARGET) && safe_str_eq(peer->host, op->target)) { safe_str_eq 1358 fencing/remote.c if (safe_str_eq(client_node, stonith_our_uname)) { safe_str_eq 1402 fencing/remote.c if ((op->phase == st_phase_requested) && safe_str_eq(op->action, "on")) { safe_str_eq 1501 fencing/remote.c if(stonith_watchdog_timeout_ms > 0 && device && safe_str_eq(device, "watchdog")) { safe_str_eq 1509 fencing/remote.c && safe_str_eq(peer->host, op->target) safe_str_eq 1553 fencing/remote.c if(stonith_watchdog_timeout_ms && (device == NULL || safe_str_eq(device, "watchdog"))) { safe_str_eq 1624 fencing/remote.c if (safe_str_eq(op->action, "off") || safe_str_eq(op->action, "reboot")) { safe_str_eq 1636 fencing/remote.c if (skip_target && safe_str_eq(peer->host, op->target)) { safe_str_eq 1689 fencing/remote.c if (safe_str_eq(action, "on")) { safe_str_eq 1747 fencing/remote.c if (safe_str_eq(ID(child), "off")) { safe_str_eq 1750 fencing/remote.c } else if (safe_str_eq(ID(child), "on")) { safe_str_eq 1844 fencing/remote.c host_is_target = safe_str_eq(host, op->target); safe_str_eq 1952 fencing/remote.c if (safe_str_eq(crm_element_value(msg, F_SUBTYPE), "broadcast")) { safe_str_eq 225 include/crm/crm.h if(safe_str_eq(task, RSC_STATUS) && !interval) { safe_str_eq 78 lib/cib/cib_attrs.c if (safe_str_eq(section, XML_CIB_TAG_CRMCONFIG)) { safe_str_eq 82 lib/cib/cib_attrs.c } else if (safe_str_eq(section, XML_CIB_TAG_OPCONFIG) safe_str_eq 83 lib/cib/cib_attrs.c || safe_str_eq(section, XML_CIB_TAG_RSCCONFIG)) { safe_str_eq 87 lib/cib/cib_attrs.c } else if (safe_str_eq(section, XML_CIB_TAG_TICKETS)) { safe_str_eq 104 lib/cib/cib_attrs.c if (safe_str_eq(node_type, XML_CIB_TAG_TICKETS)) { safe_str_eq 110 lib/cib/cib_attrs.c if (safe_str_eq(section, XML_CIB_TAG_STATUS)) { safe_str_eq 208 lib/cib/cib_attrs.c if (safe_str_eq(section, XML_CIB_TAG_TICKETS)) { safe_str_eq 216 lib/cib/cib_attrs.c } else if (safe_str_eq(section, XML_CIB_TAG_NODES)) { safe_str_eq 222 lib/cib/cib_attrs.c if (safe_str_eq(node_type, "remote")) { safe_str_eq 232 lib/cib/cib_attrs.c } else if (safe_str_eq(section, XML_CIB_TAG_STATUS)) { safe_str_eq 248 lib/cib/cib_attrs.c if (safe_str_eq(section, XML_CIB_TAG_CRMCONFIG)) { safe_str_eq 251 lib/cib/cib_attrs.c } else if (safe_str_eq(node_type, XML_CIB_TAG_TICKETS)) { safe_str_eq 288 lib/cib/cib_attrs.c if (safe_str_eq(section, XML_CIB_TAG_CRMCONFIG)) { safe_str_eq 417 lib/cib/cib_attrs.c if (safe_str_eq(tag, "xpath-query")) { safe_str_eq 423 lib/cib/cib_attrs.c if (safe_str_eq(tag, XML_CIB_TAG_NODE)) { safe_str_eq 426 lib/cib/cib_attrs.c if (safe_str_eq(crm_element_value(result, XML_ATTR_TYPE), "remote")) { safe_str_eq 434 lib/cib/cib_attrs.c } else if (safe_str_eq(tag, XML_CIB_TAG_RESOURCE)) { safe_str_eq 440 lib/cib/cib_attrs.c } else if (safe_str_eq(tag, XML_CIB_TAG_NVPAIR)) { safe_str_eq 446 lib/cib/cib_attrs.c } else if (safe_str_eq(tag, XML_CIB_TAG_STATE)) { safe_str_eq 541 lib/cib/cib_attrs.c CRM_CHECK(safe_str_eq(crm_element_name(xml_obj), XML_CIB_TAG_NODES), return -ENOMSG); safe_str_eq 551 lib/cib/cib_attrs.c if (safe_str_eq(uuid, child_name)) { safe_str_eq 575 lib/cib/cib_attrs.c if (safe_str_eq(scope, "reboot") || safe_str_eq(scope, XML_CIB_TAG_STATUS)) { safe_str_eq 238 lib/cib/cib_client.c if (safe_str_eq(user, "root") || safe_str_eq(user, CRM_DAEMON_USER)) { safe_str_eq 806 lib/cib/cib_file.c if (safe_str_eq(op, cib_file_ops[lpc].op)) { safe_str_eq 119 lib/cib/cib_native.c if (safe_str_eq(type, T_CIB)) { safe_str_eq 122 lib/cib/cib_native.c } else if (safe_str_eq(type, T_CIB_NOTIFY)) { safe_str_eq 54 lib/cib/cib_ops.c if (safe_str_eq(XML_CIB_TAG_SECTION_ALL, section)) { safe_str_eq 198 lib/cib/cib_ops.c if (safe_str_eq(XML_CIB_TAG_SECTION_ALL, section)) { safe_str_eq 201 lib/cib/cib_ops.c } else if (safe_str_eq(tag, section)) { safe_str_eq 205 lib/cib/cib_ops.c if (safe_str_eq(tag, XML_TAG_CIB)) { safe_str_eq 306 lib/cib/cib_ops.c if(safe_str_eq(crm_element_name(input), section)) { safe_str_eq 534 lib/cib/cib_ops.c if (safe_str_eq(XML_CIB_TAG_SECTION_ALL, section)) { safe_str_eq 537 lib/cib/cib_ops.c } else if (safe_str_eq(XML_TAG_CIB, section)) { safe_str_eq 540 lib/cib/cib_ops.c } else if (safe_str_eq(crm_element_name(input), XML_TAG_CIB)) { safe_str_eq 559 lib/cib/cib_ops.c if (safe_str_eq(crm_element_name(input), section)) { safe_str_eq 686 lib/cib/cib_ops.c gboolean is_query = safe_str_eq(op, CIB_OP_QUERY); safe_str_eq 700 lib/cib/cib_ops.c if (max < 1 && safe_str_eq(op, CIB_OP_DELETE)) { safe_str_eq 713 lib/cib/cib_ops.c if (safe_str_eq(op, CIB_OP_DELETE) && (options & cib_multiple)) { safe_str_eq 729 lib/cib/cib_ops.c if (safe_str_eq(op, CIB_OP_DELETE)) { safe_str_eq 742 lib/cib/cib_ops.c } else if (safe_str_eq(op, CIB_OP_MODIFY)) { safe_str_eq 749 lib/cib/cib_ops.c } else if (safe_str_eq(op, CIB_OP_CREATE)) { safe_str_eq 753 lib/cib/cib_ops.c } else if (safe_str_eq(op, CIB_OP_QUERY)) { safe_str_eq 813 lib/cib/cib_ops.c } else if (safe_str_eq(op, CIB_OP_REPLACE)) { safe_str_eq 358 lib/cib/cib_remote.c if (safe_str_eq(type, T_CIB)) { safe_str_eq 361 lib/cib/cib_remote.c } else if (safe_str_eq(type, T_CIB_NOTIFY)) { safe_str_eq 136 lib/cib/cib_utils.c if (safe_str_eq(crm_element_name(xml_cib), XML_TAG_CIB)) { safe_str_eq 208 lib/cib/cib_utils.c || safe_str_eq(object_type, known_paths[lpc].name)) { safe_str_eq 222 lib/cib/cib_utils.c if (safe_str_eq(object_type, known_paths[lpc].name)) { safe_str_eq 502 lib/cib/cib_utils.c if (safe_str_eq(section, XML_CIB_TAG_STATUS)) { safe_str_eq 69 lib/cluster/cluster.c if (safe_str_eq(uuid_calc, unknown)) { safe_str_eq 572 lib/cluster/cluster.c } else if (safe_str_eq(cluster, "heartbeat")) { safe_str_eq 577 lib/cluster/cluster.c } else if (safe_str_eq(cluster, "openais") safe_str_eq 578 lib/cluster/cluster.c || safe_str_eq(cluster, "classic openais (with plugin)")) { safe_str_eq 581 lib/cluster/cluster.c } else if (safe_str_eq(cluster, "corosync")) { safe_str_eq 586 lib/cluster/cluster.c } else if (safe_str_eq(cluster, "cman")) { safe_str_eq 317 lib/cluster/cpg.c } else if (safe_str_eq("identify", data)) { safe_str_eq 657 lib/cluster/cpg.c if (safe_str_eq(text, "ais")) { safe_str_eq 659 lib/cluster/cpg.c } else if (safe_str_eq(text, "crm_plugin")) { safe_str_eq 661 lib/cluster/cpg.c } else if (safe_str_eq(text, CRM_SYSTEM_CIB)) { safe_str_eq 663 lib/cluster/cpg.c } else if (safe_str_eq(text, CRM_SYSTEM_CRMD)) { safe_str_eq 665 lib/cluster/cpg.c } else if (safe_str_eq(text, CRM_SYSTEM_DC)) { safe_str_eq 667 lib/cluster/cpg.c } else if (safe_str_eq(text, CRM_SYSTEM_TENGINE)) { safe_str_eq 669 lib/cluster/cpg.c } else if (safe_str_eq(text, CRM_SYSTEM_PENGINE)) { safe_str_eq 671 lib/cluster/cpg.c } else if (safe_str_eq(text, CRM_SYSTEM_LRMD)) { safe_str_eq 673 lib/cluster/cpg.c } else if (safe_str_eq(text, CRM_SYSTEM_STONITHD)) { safe_str_eq 675 lib/cluster/cpg.c } else if (safe_str_eq(text, "stonith-ng")) { safe_str_eq 677 lib/cluster/cpg.c } else if (safe_str_eq(text, "attrd")) { safe_str_eq 383 lib/cluster/heartbeat.c if (safe_str_eq(CRM_NODE_MEMBER, state)) { safe_str_eq 392 lib/cluster/heartbeat.c if (safe_str_eq(const_uname, peer->uname)) { safe_str_eq 501 lib/cluster/heartbeat.c if (safe_str_eq(msg_to_id, crm_system_name)) { safe_str_eq 898 lib/cluster/legacy.c if (safe_str_eq("pacemaker", value)) { safe_str_eq 914 lib/cluster/legacy.c if (safe_str_eq("quorum_cman", value)) { safe_str_eq 601 lib/cluster/membership.c if(safe_str_eq(uname, by_id->uname)) { safe_str_eq 846 lib/cluster/membership.c if (safe_str_eq(uname, node->uname)) { safe_str_eq 911 lib/cluster/membership.c } else if (safe_str_eq(status, ONLINESTATUS)) { safe_str_eq 917 lib/cluster/membership.c } else if (safe_str_eq(status, CRM_NODE_MEMBER)) { safe_str_eq 1020 lib/cluster/membership.c is_member = safe_str_eq(state, CRM_NODE_MEMBER); safe_str_eq 148 lib/common/attrd_client.c if (safe_str_eq(section, "reboot")) { safe_str_eq 151 lib/common/attrd_client.c } else if (safe_str_eq(section, "forever")) { safe_str_eq 266 lib/common/attrd_client.c if(safe_str_eq(name, "auto") || safe_str_eq(name, "localhost")) { safe_str_eq 280 lib/common/attrd_client.c if (host_physical && safe_str_eq(target, "host")) { safe_str_eq 49 lib/common/cib_secrets.c if (safe_str_eq(hash, hash2)) { safe_str_eq 234 lib/common/digest.c passed = safe_str_eq(expected, calculated); safe_str_eq 675 lib/common/iso8601.c if (safe_str_eq("epoch", date_str)) { safe_str_eq 245 lib/common/logging.c } else if(safe_str_eq(filename, "none")) { safe_str_eq 247 lib/common/logging.c } else if(safe_str_eq(filename, "/dev/null")) { safe_str_eq 249 lib/common/logging.c } else if(safe_str_eq(filename, default_logfile)) { safe_str_eq 783 lib/common/logging.c if (safe_str_eq(facility, "none")) { safe_str_eq 819 lib/common/logging.c if (safe_str_eq("none", logfile)) { safe_str_eq 102 lib/common/operations.c if (notify && safe_str_eq(notify, "_post_notify")) { safe_str_eq 107 lib/common/operations.c if (notify && safe_str_eq(notify, "_pre_notify")) { safe_str_eq 133 lib/common/procfs.c && safe_str_eq(entry_name, name) safe_str_eq 774 lib/common/schemas.c if (safe_str_eq(name, known_schemas[lpc].name)) { safe_str_eq 146 lib/common/utils.c } else if (safe_str_eq(value, MINUS_INFINITY_S)) { safe_str_eq 148 lib/common/utils.c } else if (safe_str_eq(value, INFINITY_S)) { safe_str_eq 163 lib/common/utils.c if (safe_str_eq(value, INFINITY_S) || (crm_int_helper(value, NULL))) { safe_str_eq 172 lib/common/utils.c if (safe_str_eq(value, "stop")) { safe_str_eq 175 lib/common/utils.c } else if (safe_str_eq(value, "freeze")) { safe_str_eq 178 lib/common/utils.c } else if (safe_str_eq(value, "ignore")) { safe_str_eq 181 lib/common/utils.c } else if (safe_str_eq(value, "suicide")) { safe_str_eq 192 lib/common/utils.c if(safe_str_eq(value, "/dev/null")) { safe_str_eq 236 lib/common/utils.c } else if (safe_str_eq(score, MINUS_INFINITY_S)) { safe_str_eq 239 lib/common/utils.c } else if (safe_str_eq(score, INFINITY_S)) { safe_str_eq 242 lib/common/utils.c } else if (safe_str_eq(score, "+" INFINITY_S)) { safe_str_eq 245 lib/common/utils.c } else if (safe_str_eq(score, "red")) { safe_str_eq 248 lib/common/utils.c } else if (safe_str_eq(score, "yellow")) { safe_str_eq 251 lib/common/utils.c } else if (safe_str_eq(score, "green")) { safe_str_eq 361 lib/common/utils.c if (safe_str_eq(name, option_list[lpc].name)) { safe_str_eq 132 lib/common/watchdog.c if (safe_str_eq("crash", getenv("PCMK_panic_action"))) { safe_str_eq 1630 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(target), crm_element_name(patch)), return); safe_str_eq 1631 lib/common/xml.c CRM_CHECK(safe_str_eq(ID(target), ID(patch)), return); safe_str_eq 1705 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(target), crm_element_name(patch)), return); safe_str_eq 1706 lib/common/xml.c CRM_CHECK(safe_str_eq(ID(target), ID(patch)), return); safe_str_eq 4189 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(old), crm_element_name(new)), return); safe_str_eq 4190 lib/common/xml.c CRM_CHECK(safe_str_eq(ID(old), ID(new)), return); safe_str_eq 4235 lib/common/xml.c if (safe_str_eq(name, XML_TAG_RESOURCE_REF) safe_str_eq 4236 lib/common/xml.c || safe_str_eq(name, XML_CIB_TAG_OBJ_REF) safe_str_eq 4237 lib/common/xml.c || safe_str_eq(name, XML_ACL_TAG_ROLE_REF) safe_str_eq 4238 lib/common/xml.c || safe_str_eq(name, XML_ACL_TAG_ROLE_REFv1)) { safe_str_eq 4354 lib/common/xml.c && safe_str_eq((const char *)a_child->content, (const char *)search_comment->content)) { safe_str_eq 4430 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(left), crm_element_name(right)), return NULL); safe_str_eq 4638 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(target), crm_element_name(update)), return 0); safe_str_eq 213 lib/fencing/st_client.c if (safe_str_eq(namespace, "heartbeat")) { safe_str_eq 409 lib/fencing/st_client.c } else if (safe_str_eq(key, "crm_feature_set")) { safe_str_eq 478 lib/fencing/st_client.c if (safe_str_eq(param, "uname")) { safe_str_eq 530 lib/fencing/st_client.c if (value == NULL && device_args && safe_str_eq(action, "off")) { safe_str_eq 563 lib/fencing/st_client.c if(safe_str_eq(agent, "fence_legacy")) { safe_str_eq 580 lib/fencing/st_client.c } else if (safe_str_eq(param, "none")) { safe_str_eq 588 lib/fencing/st_client.c if (value == NULL || safe_str_eq(value, "dynamic")) { safe_str_eq 1126 lib/fencing/st_client.c if (namespace == NULL || safe_str_eq("heartbeat", namespace)) { safe_str_eq 1164 lib/fencing/st_client.c if (namespace == NULL || safe_str_eq("redhat", namespace)) { safe_str_eq 1247 lib/fencing/st_client.c if (safe_str_eq(provider, "redhat")) { safe_str_eq 1632 lib/fencing/st_client.c if (safe_str_eq(provider, "internal")) { safe_str_eq 2154 lib/fencing/st_client.c if (safe_str_eq(ntype, T_STONITH_NOTIFY_FENCE)) { safe_str_eq 2388 lib/fencing/st_client.c if (safe_str_eq(type, T_STONITH_NG)) { safe_str_eq 2391 lib/fencing/st_client.c } else if (safe_str_eq(type, T_STONITH_NOTIFY)) { safe_str_eq 2393 lib/fencing/st_client.c } else if (safe_str_eq(type, T_STONITH_TIMEOUT_VALUE)) { safe_str_eq 340 lib/lrmd/lrmd_alerts.c && safe_str_eq(op->op_type, RSC_STATUS)) { safe_str_eq 376 lib/lrmd/lrmd_client.c if (safe_str_eq(msg_type, "notify")) { safe_str_eq 378 lib/lrmd/lrmd_client.c } else if (safe_str_eq(msg_type, "reply")) { safe_str_eq 613 lib/lrmd/lrmd_client.c } else if (safe_str_eq(msg_type, "notify")) { safe_str_eq 1598 lib/lrmd/lrmd_client.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 1731 lib/lrmd/lrmd_client.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 1765 lib/lrmd/lrmd_client.c if (safe_str_eq(agent, gIter2->data)) { safe_str_eq 192 lib/lrmd/proxy_common.c if (safe_str_eq(crm_system_name, CRM_SYSTEM_CRMD) safe_str_eq 193 lib/lrmd/proxy_common.c && safe_str_eq(channel, CRM_SYSTEM_CRMD)) { safe_str_eq 232 lib/lrmd/proxy_common.c if (safe_str_eq(op, LRMD_IPC_OP_DESTROY)) { safe_str_eq 235 lib/lrmd/proxy_common.c } else if (safe_str_eq(op, LRMD_IPC_OP_REQUEST)) { safe_str_eq 269 lib/lrmd/proxy_common.c if (safe_str_eq(type, T_ATTRD) safe_str_eq 34 lib/pengine/common.c if (safe_str_eq(value, "none")) { safe_str_eq 37 lib/pengine/common.c } else if (safe_str_eq(value, "custom")) { safe_str_eq 40 lib/pengine/common.c } else if (safe_str_eq(value, "only-green")) { safe_str_eq 43 lib/pengine/common.c } else if (safe_str_eq(value, "progressive")) { safe_str_eq 46 lib/pengine/common.c } else if (safe_str_eq(value, "migrate-on-red")) { safe_str_eq 55 lib/pengine/common.c if (safe_str_eq(value, "reboot")) { safe_str_eq 58 lib/pengine/common.c } else if (safe_str_eq(value, "poweroff")) { safe_str_eq 61 lib/pengine/common.c } else if (safe_str_eq(value, "off")) { safe_str_eq 70 lib/pengine/common.c if (safe_str_eq(value, "default")) { safe_str_eq 73 lib/pengine/common.c } else if (safe_str_eq(value, "utilization")) { safe_str_eq 76 lib/pengine/common.c } else if (safe_str_eq(value, "minimal")) { safe_str_eq 79 lib/pengine/common.c } else if (safe_str_eq(value, "balanced")) { safe_str_eq 235 lib/pengine/common.c if (safe_str_eq(task, CRMD_ACTION_STOP)) { safe_str_eq 237 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_STOPPED)) { safe_str_eq 239 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_START)) { safe_str_eq 241 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_STARTED)) { safe_str_eq 243 lib/pengine/common.c } else if (safe_str_eq(task, CRM_OP_SHUTDOWN)) { safe_str_eq 245 lib/pengine/common.c } else if (safe_str_eq(task, CRM_OP_FENCE)) { safe_str_eq 247 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 249 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_NOTIFY)) { safe_str_eq 251 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_NOTIFIED)) { safe_str_eq 253 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_PROMOTE)) { safe_str_eq 255 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_DEMOTE)) { safe_str_eq 257 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_PROMOTED)) { safe_str_eq 259 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_DEMOTED)) { safe_str_eq 263 lib/pengine/common.c if (safe_str_eq(task, CRMD_ACTION_CANCEL)) { safe_str_eq 265 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_DELETE)) { safe_str_eq 267 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 269 lib/pengine/common.c } else if (safe_str_eq(task, CRM_OP_PROBED)) { safe_str_eq 271 lib/pengine/common.c } else if (safe_str_eq(task, CRM_OP_LRM_REFRESH)) { safe_str_eq 273 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATE)) { safe_str_eq 275 lib/pengine/common.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATED)) { safe_str_eq 277 lib/pengine/common.c } else if (safe_str_eq(task, "fail")) { safe_str_eq 279 lib/pengine/common.c } else if (safe_str_eq(task, "stonith_up")) { safe_str_eq 281 lib/pengine/common.c } else if (safe_str_eq(task, "stonith_complete")) { safe_str_eq 283 lib/pengine/common.c } else if (safe_str_eq(task, "all_stopped")) { safe_str_eq 370 lib/pengine/common.c if (safe_str_eq(role, RSC_ROLE_STOPPED_S)) { safe_str_eq 372 lib/pengine/common.c } else if (safe_str_eq(role, RSC_ROLE_STARTED_S)) { safe_str_eq 374 lib/pengine/common.c } else if (safe_str_eq(role, RSC_ROLE_SLAVE_S)) { safe_str_eq 376 lib/pengine/common.c } else if (safe_str_eq(role, RSC_ROLE_MASTER_S)) { safe_str_eq 378 lib/pengine/common.c } else if (safe_str_eq(role, RSC_ROLE_UNKNOWN_S)) { safe_str_eq 431 lib/pengine/common.c } else if (safe_str_eq(value, "#default")) { safe_str_eq 452 lib/pengine/common.c if(source == NULL || safe_str_eq("host", source) == FALSE) { safe_str_eq 85 lib/pengine/complex.c if (safe_str_eq(name, XML_CIB_TAG_RESOURCE)) { safe_str_eq 88 lib/pengine/complex.c } else if (safe_str_eq(name, XML_CIB_TAG_GROUP)) { safe_str_eq 91 lib/pengine/complex.c } else if (safe_str_eq(name, XML_CIB_TAG_INCARNATION)) { safe_str_eq 94 lib/pengine/complex.c } else if (safe_str_eq(name, XML_CIB_TAG_MASTER)) { safe_str_eq 97 lib/pengine/complex.c } else if (safe_str_eq(name, XML_CIB_TAG_CONTAINER)) { safe_str_eq 647 lib/pengine/complex.c if (safe_str_eq(value, "restart")) { safe_str_eq 657 lib/pengine/complex.c if (safe_str_eq(value, "stop_only")) { safe_str_eq 661 lib/pengine/complex.c } else if (safe_str_eq(value, "block")) { safe_str_eq 738 lib/pengine/complex.c if (safe_str_eq(rclass, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 747 lib/pengine/complex.c if (safe_str_eq(value, "nothing")) { safe_str_eq 749 lib/pengine/complex.c } else if (safe_str_eq(value, "quorum")) { safe_str_eq 752 lib/pengine/complex.c } else if (safe_str_eq(value, "unfencing")) { safe_str_eq 770 lib/pengine/complex.c } else if (safe_str_eq(value, "fencing")) { safe_str_eq 776 lib/pengine/container.c if (safe_str_eq(value, "#uname") == FALSE) { safe_str_eq 783 lib/pengine/container.c if (safe_str_eq(value, value_list[lpc]) == FALSE) { safe_str_eq 41 lib/pengine/failcounts.c if (safe_str_eq(conf_op_name, lrm_op_task) == FALSE safe_str_eq 49 lib/pengine/failcounts.c if (safe_str_eq(last_failure_key, lrm_op_id)) { safe_str_eq 56 lib/pengine/failcounts.c if (safe_str_eq(expected_op_key, lrm_op_id)) { safe_str_eq 41 lib/pengine/native.c if (safe_str_eq(a_node->details->id, node->details->id)) { safe_str_eq 140 lib/pengine/native.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_LSB)) { safe_str_eq 147 lib/pengine/native.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_OCF) == FALSE) { safe_str_eq 150 lib/pengine/native.c if (safe_str_eq(stateful, XML_BOOLEAN_TRUE)) { safe_str_eq 201 lib/pengine/native.c } else if (!strcmp(id, rsc->id) || safe_str_eq(id, rid)) { safe_str_eq 325 lib/pengine/native.c if (safe_str_eq(rsc->pending_task, CRMD_ACTION_START)) { safe_str_eq 328 lib/pengine/native.c } else if (safe_str_eq(rsc->pending_task, CRMD_ACTION_STOP)) { safe_str_eq 331 lib/pengine/native.c } else if (safe_str_eq(rsc->pending_task, CRMD_ACTION_MIGRATE)) { safe_str_eq 334 lib/pengine/native.c } else if (safe_str_eq(rsc->pending_task, CRMD_ACTION_MIGRATED)) { safe_str_eq 338 lib/pengine/native.c } else if (safe_str_eq(rsc->pending_task, CRMD_ACTION_PROMOTE)) { safe_str_eq 341 lib/pengine/native.c } else if (safe_str_eq(rsc->pending_task, CRMD_ACTION_DEMOTE)) { safe_str_eq 353 lib/pengine/native.c if (safe_str_eq(rsc->pending_task, CRMD_ACTION_NOTIFY)) { safe_str_eq 357 lib/pengine/native.c } else if (safe_str_eq(rsc->pending_task, CRMD_ACTION_STATUS)) { safe_str_eq 97 lib/pengine/remote.c if (safe_str_eq(agent, "remote") && safe_str_eq(provider, "pacemaker") safe_str_eq 98 lib/pengine/remote.c && safe_str_eq(class, PCMK_RESOURCE_CLASS_OCF)) { safe_str_eq 90 lib/pengine/rules.c if (safe_str_eq(value, "or")) { safe_str_eq 198 lib/pengine/rules.c if (safe_str_eq(tag, "date_expression")) { safe_str_eq 201 lib/pengine/rules.c } else if (safe_str_eq(tag, XML_TAG_RULE)) { safe_str_eq 207 lib/pengine/rules.c } else if (safe_str_eq(attr, CRM_ATTR_UNAME) safe_str_eq 208 lib/pengine/rules.c || safe_str_eq(attr, CRM_ATTR_KIND) safe_str_eq 209 lib/pengine/rules.c || safe_str_eq(attr, CRM_ATTR_ID)) { safe_str_eq 212 lib/pengine/rules.c } else if (safe_str_eq(attr, CRM_ATTR_ROLE)) { safe_str_eq 216 lib/pengine/rules.c } else if (safe_str_eq(attr, CRM_ATTR_RA_VERSION)) { safe_str_eq 238 lib/pengine/rules.c if (safe_str_eq(op, "defined")) { safe_str_eq 243 lib/pengine/rules.c } else if (safe_str_eq(op, "not_defined")) { safe_str_eq 248 lib/pengine/rules.c } else if (safe_str_eq(op, "eq")) { safe_str_eq 253 lib/pengine/rules.c } else if (safe_str_eq(op, "ne")) { safe_str_eq 308 lib/pengine/rules.c if (safe_str_eq(value_source, "param")) { safe_str_eq 310 lib/pengine/rules.c } else if (safe_str_eq(value_source, "meta")) { safe_str_eq 337 lib/pengine/rules.c if (safe_str_eq(op, "lt") safe_str_eq 338 lib/pengine/rules.c || safe_str_eq(op, "lte") safe_str_eq 339 lib/pengine/rules.c || safe_str_eq(op, "gt") safe_str_eq 340 lib/pengine/rules.c || safe_str_eq(op, "gte")) { safe_str_eq 349 lib/pengine/rules.c if (safe_str_eq(type, "string")) { safe_str_eq 352 lib/pengine/rules.c } else if (safe_str_eq(type, "number")) { safe_str_eq 364 lib/pengine/rules.c } else if (safe_str_eq(type, "version")) { safe_str_eq 377 lib/pengine/rules.c if (safe_str_eq(op, "defined")) { safe_str_eq 382 lib/pengine/rules.c } else if (safe_str_eq(op, "not_defined")) { safe_str_eq 387 lib/pengine/rules.c } else if (safe_str_eq(op, "eq")) { safe_str_eq 392 lib/pengine/rules.c } else if (safe_str_eq(op, "ne")) { safe_str_eq 403 lib/pengine/rules.c } else if (safe_str_eq(op, "lt")) { safe_str_eq 408 lib/pengine/rules.c } else if (safe_str_eq(op, "lte")) { safe_str_eq 413 lib/pengine/rules.c } else if (safe_str_eq(op, "gt")) { safe_str_eq 418 lib/pengine/rules.c } else if (safe_str_eq(op, "gte")) { safe_str_eq 646 lib/pengine/rules.c if (safe_str_eq(op, "date_spec") || safe_str_eq(op, "in_range")) { safe_str_eq 651 lib/pengine/rules.c } else if (safe_str_eq(op, "in_range")) { safe_str_eq 657 lib/pengine/rules.c } else if (safe_str_eq(op, "gt") && crm_time_compare(start, now) < 0) { safe_str_eq 660 lib/pengine/rules.c } else if (safe_str_eq(op, "lt") && crm_time_compare(end, now) > 0) { safe_str_eq 663 lib/pengine/rules.c } else if (safe_str_eq(op, "eq") && crm_time_compare(start, now) == 0) { safe_str_eq 666 lib/pengine/rules.c } else if (safe_str_eq(op, "neq") && crm_time_compare(start, now) != 0) { safe_str_eq 696 lib/pengine/rules.c if (safe_str_eq(pair_a->name, pair_a->special_name)) { safe_str_eq 699 lib/pengine/rules.c } else if (safe_str_eq(pair_b->name, pair_a->special_name)) { safe_str_eq 721 lib/pengine/rules.c if (safe_str_eq(XML_TAG_ATTRS, name)) { safe_str_eq 747 lib/pengine/rules.c if (safe_str_eq(value, "#default")) { safe_str_eq 292 lib/pengine/status.c if (node && safe_str_eq(node->details->id, id)) { safe_str_eq 308 lib/pengine/status.c if (node && safe_str_eq(node->details->uname, uname)) { safe_str_eq 240 lib/pengine/unpack.c if (safe_str_eq(value, "ignore")) { safe_str_eq 243 lib/pengine/unpack.c } else if (safe_str_eq(value, "freeze")) { safe_str_eq 246 lib/pengine/unpack.c } else if (safe_str_eq(value, "suicide")) { safe_str_eq 389 lib/pengine/unpack.c if (safe_str_eq(type, "remote")) { safe_str_eq 392 lib/pengine/unpack.c } else if (type == NULL || safe_str_eq(type, "member") safe_str_eq 393 lib/pengine/unpack.c || safe_str_eq(type, NORMALNODE)) { safe_str_eq 469 lib/pengine/unpack.c if (safe_str_eq(name, XML_RSC_ATTR_REMOTE_NODE)) { safe_str_eq 471 lib/pengine/unpack.c } else if (safe_str_eq(name, "remote-addr")) { safe_str_eq 473 lib/pengine/unpack.c } else if (safe_str_eq(name, "remote-port")) { safe_str_eq 475 lib/pengine/unpack.c } else if (safe_str_eq(name, "remote-connect-timeout")) { safe_str_eq 477 lib/pengine/unpack.c } else if (safe_str_eq(name, "remote-allow-migrate")) { safe_str_eq 479 lib/pengine/unpack.c } else if (safe_str_eq(name, XML_RSC_ATTR_MANAGED)) { safe_str_eq 1297 lib/pengine/unpack.c } else if (safe_str_eq(is_peer, ONLINESTATUS)) { safe_str_eq 1298 lib/pengine/unpack.c if (safe_str_eq(join, CRMD_JOINSTATE_MEMBER)) { safe_str_eq 1354 lib/pengine/unpack.c if (safe_str_eq(is_peer, ONLINESTATUS)) { safe_str_eq 1370 lib/pengine/unpack.c } else if (safe_str_eq(join, CRMD_JOINSTATE_NACK)) { safe_str_eq 1373 lib/pengine/unpack.c } else if (do_terminate == FALSE && safe_str_eq(exp_state, CRMD_JOINSTATE_DOWN)) { safe_str_eq 1384 lib/pengine/unpack.c } else if (do_terminate && safe_str_eq(join, CRMD_JOINSTATE_DOWN) safe_str_eq 1399 lib/pengine/unpack.c } else if (safe_str_eq(join, CRMD_JOINSTATE_MEMBER)) { safe_str_eq 1402 lib/pengine/unpack.c } else if (safe_str_eq(join, CRMD_JOINSTATE_PENDING) safe_str_eq 1403 lib/pengine/unpack.c || safe_str_eq(join, CRMD_JOINSTATE_DOWN)) { safe_str_eq 1507 lib/pengine/unpack.c } else if (safe_str_eq(exp_state, CRMD_JOINSTATE_MEMBER)) { safe_str_eq 2127 lib/pengine/unpack.c if (safe_str_eq(status, "-1")) { safe_str_eq 2160 lib/pengine/unpack.c if (safe_str_eq(task, CRMD_ACTION_STOP) safe_str_eq 2161 lib/pengine/unpack.c && safe_str_eq(status, "0")) { safe_str_eq 2164 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_START) || safe_str_eq(task, CRMD_ACTION_MIGRATED)) { safe_str_eq 2167 lib/pengine/unpack.c } else if ((implied_monitor_start <= *stop_index) && safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 2170 lib/pengine/unpack.c if (safe_str_eq(rc, "0") || safe_str_eq(rc, "8")) { safe_str_eq 2173 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_PROMOTE) || safe_str_eq(task, CRMD_ACTION_DEMOTE)) { safe_str_eq 2244 lib/pengine/unpack.c if (safe_str_eq(task, CRMD_ACTION_MIGRATED)) { safe_str_eq 2389 lib/pengine/unpack.c if (source && safe_str_eq(op, CRMD_ACTION_MIGRATE)) { safe_str_eq 2394 lib/pengine/unpack.c } else if (source && safe_str_eq(op, CRMD_ACTION_MIGRATED)) { safe_str_eq 2507 lib/pengine/unpack.c if (safe_str_eq(task, CRMD_ACTION_MIGRATED)) { safe_str_eq 2537 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATE)) { safe_str_eq 2589 lib/pengine/unpack.c if(safe_str_eq(op_key, key) && safe_str_eq(uname, node->details->uname)) { safe_str_eq 2627 lib/pengine/unpack.c if(interval == 0 && safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 2655 lib/pengine/unpack.c if (safe_str_eq(task, CRMD_ACTION_STOP)) { safe_str_eq 2658 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATE) || safe_str_eq(task, CRMD_ACTION_MIGRATED)) { safe_str_eq 2661 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_PROMOTE)) { safe_str_eq 2664 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_DEMOTE)) { safe_str_eq 2683 lib/pengine/unpack.c } else if (compare_version("2.0", op_version) > 0 && safe_str_eq(task, CRMD_ACTION_START)) { safe_str_eq 2747 lib/pengine/unpack.c if (interval == 0 && safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 2835 lib/pengine/unpack.c && safe_str_eq(task, CRMD_ACTION_STOP)) { safe_str_eq 2868 lib/pengine/unpack.c if (safe_str_eq(crm_element_value(xml_op, XML_LRM_ATTR_TASK), "monitor") && safe_str_eq 2956 lib/pengine/unpack.c if(expired && interval == 0 && safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 3015 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 3020 lib/pengine/unpack.c if (safe_str_eq(op_key, last_failure_key)) { safe_str_eq 3029 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_START)) { safe_str_eq 3033 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_STOP)) { safe_str_eq 3037 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_PROMOTE)) { safe_str_eq 3041 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_DEMOTE)) { safe_str_eq 3045 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATED)) { safe_str_eq 3049 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATE)) { safe_str_eq 3127 lib/pengine/unpack.c if (safe_str_eq(task, CRMD_ACTION_NOTIFY) || safe_str_eq 3128 lib/pengine/unpack.c safe_str_eq(task, CRMD_ACTION_METADATA)) { safe_str_eq 3156 lib/pengine/unpack.c if (rc == PCMK_OCF_DEGRADED && safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 3165 lib/pengine/unpack.c } else if (rc == PCMK_OCF_DEGRADED_MASTER && safe_str_eq(task, CRMD_ACTION_STATUS)) { safe_str_eq 3209 lib/pengine/unpack.c if (safe_str_eq(task, CRMD_ACTION_START)) { safe_str_eq 3213 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_PROMOTE)) { safe_str_eq 3216 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATE) && node->details->unclean) { safe_str_eq 3227 lib/pengine/unpack.c if (safe_str_eq(task, CRMD_ACTION_STATUS) && interval == 0) { safe_str_eq 3268 lib/pengine/unpack.c && safe_str_eq(task, CRMD_ACTION_STOP))) { safe_str_eq 3319 lib/pengine/unpack.c if (safe_str_eq(node->details->id, data_set->dc_uuid)) { safe_str_eq 635 lib/pengine/utils.c if (safe_str_eq(action->task, CRMD_ACTION_STOP) && safe_str_eq(value, "standby")) { safe_str_eq 638 lib/pengine/utils.c } else if (safe_str_eq(action->task, CRMD_ACTION_DEMOTE) && !value) { safe_str_eq 809 lib/pengine/utils.c safe_str_eq(action->task, RSC_STATUS) && interval == 0) { safe_str_eq 853 lib/pengine/utils.c if (safe_str_eq(action, crm_element_value(child, XML_NVPAIR_ATTR_NAME))) { safe_str_eq 894 lib/pengine/utils.c if (safe_str_eq(name, XML_OP_ATTR_START_DELAY)) { safe_str_eq 898 lib/pengine/utils.c } else if (safe_str_eq(name, XML_OP_ATTR_ORIGIN)) { safe_str_eq 903 lib/pengine/utils.c } else if (safe_str_eq(name, XML_ATTR_TIMEOUT)) { safe_str_eq 984 lib/pengine/utils.c } else if (safe_str_eq(value, "nothing")) { safe_str_eq 987 lib/pengine/utils.c } else if (safe_str_eq(value, "quorum")) { safe_str_eq 990 lib/pengine/utils.c } else if (safe_str_eq(value, "unfencing")) { safe_str_eq 998 lib/pengine/utils.c && safe_str_eq(value, "fencing")) { safe_str_eq 1024 lib/pengine/utils.c } else if (safe_str_eq(value, "block")) { safe_str_eq 1028 lib/pengine/utils.c } else if (safe_str_eq(value, "fence")) { safe_str_eq 1039 lib/pengine/utils.c } else if (safe_str_eq(value, "standby")) { safe_str_eq 1043 lib/pengine/utils.c } else if (safe_str_eq(value, "ignore") safe_str_eq 1044 lib/pengine/utils.c || safe_str_eq(value, "nothing")) { safe_str_eq 1048 lib/pengine/utils.c } else if (safe_str_eq(value, "migrate")) { safe_str_eq 1052 lib/pengine/utils.c } else if (safe_str_eq(value, "stop")) { safe_str_eq 1057 lib/pengine/utils.c } else if (safe_str_eq(value, "restart")) { safe_str_eq 1061 lib/pengine/utils.c } else if (safe_str_eq(value, "restart-container")) { safe_str_eq 1091 lib/pengine/utils.c !(safe_str_eq(action->task, CRMD_ACTION_STATUS) && interval == 0) && safe_str_eq 1112 lib/pengine/utils.c } else if (value == NULL && safe_str_eq(action->task, CRMD_ACTION_STOP)) { safe_str_eq 1138 lib/pengine/utils.c if (safe_str_eq(action->task, CRMD_ACTION_PROMOTE)) { safe_str_eq 1193 lib/pengine/utils.c if (safe_str_eq(key, match_key)) { safe_str_eq 1200 lib/pengine/utils.c if (safe_str_eq(key, match_key)) { safe_str_eq 1341 lib/pengine/utils.c } else if (safe_str_eq(value, "0")) { safe_str_eq 1343 lib/pengine/utils.c } else if (safe_str_eq(CRMD_ACTION_CANCEL, action->task)) { safe_str_eq 1474 lib/pengine/utils.c } else if (safe_str_eq(on_node->details->id, action->node->details->id)) { safe_str_eq 1489 lib/pengine/utils.c && safe_str_eq(tag, "symmetric_default")) { safe_str_eq 1574 lib/pengine/utils.c if (safe_str_eq(a_xml_id, b_xml_id)) { safe_str_eq 1697 lib/pengine/utils.c if (value == NULL || safe_str_eq("started", value) safe_str_eq 1698 lib/pengine/utils.c || safe_str_eq("default", value)) { safe_str_eq 124 lib/services/services.c return (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD) safe_str_eq 125 lib/services/services.c || safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_UPSTART)) safe_str_eq 216 lib/services/services.c if (safe_str_eq(action, "monitor") && ( safe_str_eq 218 lib/services/services.c safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_HB) || safe_str_eq 220 lib/services/services.c safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB))) { safe_str_eq 312 lib/services/services.c if (safe_str_eq(op->action, "monitor") && op->interval == 0) { safe_str_eq 330 lib/services/services.c if (safe_str_eq(key, XML_ATTR_CRM_VERSION) || strstr(key, CRM_META "_")) { safe_str_eq 863 lib/services/services.c if (safe_str_eq(op->rsc, rsc)) { safe_str_eq 1296 lib/services/services.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_LSB)) { safe_str_eq 1301 lib/services/services.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_NAGIOS)) { safe_str_eq 1307 lib/services/services.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_HB)) { safe_str_eq 1327 lib/services/services.c if (safe_str_eq(op->action, "meta-data")) { safe_str_eq 171 lib/services/services_linux.c if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF) == FALSE) { safe_str_eq 332 lib/services/services_linux.c if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB) safe_str_eq 333 lib/services/services_linux.c && safe_str_eq(op->action, "status")) { safe_str_eq 340 lib/services/services_linux.c } else if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS)) { safe_str_eq 414 lib/services/services_linux.c if (safe_str_eq(op->action,"stop")) { safe_str_eq 233 lib/services/systemd.c if (safe_str_eq(op->action, "stop")) { safe_str_eq 611 lib/services/systemd.c if (safe_str_eq(op->action, "monitor") || safe_str_eq(method, "status")) { safe_str_eq 766 lib/services/systemd.c if (safe_str_eq(op->action, "meta-data")) { safe_str_eq 344 lib/services/upstart.c if(safe_str_eq(op->action, "stop")) { safe_str_eq 348 lib/services/upstart.c } else if(safe_str_eq(op->action, "start")) { safe_str_eq 355 lib/services/upstart.c } else if (safe_str_eq(op->action, "start") safe_str_eq 432 lib/services/upstart.c if (safe_str_eq(op->action, "meta-data")) { safe_str_eq 450 lib/services/upstart.c if (safe_str_eq(op->action, "monitor") || safe_str_eq(action, "status")) { safe_str_eq 201 lib/transition/graph.c if (safe_str_eq(task, CRM_OP_FENCE)) { safe_str_eq 55 lib/transition/unpack.c if (safe_str_eq(crm_element_name(action->xml), XML_GRAPH_TAG_RSC_OP)) { safe_str_eq 58 lib/transition/unpack.c } else if (safe_str_eq(crm_element_name(action->xml), XML_GRAPH_TAG_PSEUDO_EVENT)) { safe_str_eq 61 lib/transition/unpack.c } else if (safe_str_eq(crm_element_name(action->xml), XML_GRAPH_TAG_CRM_EVENT)) { safe_str_eq 162 lrmd/ipc_proxy.c if (safe_str_eq(msg_type, LRMD_IPC_OP_SHUTDOWN_ACK)) { safe_str_eq 167 lrmd/ipc_proxy.c if (safe_str_eq(msg_type, LRMD_IPC_OP_SHUTDOWN_NACK)) { safe_str_eq 194 lrmd/ipc_proxy.c if (safe_str_eq(msg_type, LRMD_IPC_OP_EVENT)) { safe_str_eq 198 lrmd/ipc_proxy.c } else if (safe_str_eq(msg_type, LRMD_IPC_OP_RESPONSE)) { safe_str_eq 208 lrmd/ipc_proxy.c } else if (safe_str_eq(msg_type, LRMD_IPC_OP_DESTROY)) { safe_str_eq 405 lrmd/ipc_proxy.c if (safe_str_eq(proxy_id, ipc_proxy->id)) { safe_str_eq 106 lrmd/lrmd.c if (safe_str_eq(cmd->action, "monitor")) { safe_str_eq 126 lrmd/lrmd.c if (safe_str_eq(cmd->action, "monitor")) { safe_str_eq 137 lrmd/lrmd.c if (safe_str_eq(action, "monitor") && safe_str_eq 138 lrmd/lrmd.c (safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_LSB) || safe_str_eq 139 lrmd/lrmd.c safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_SERVICE) safe_str_eq 140 lrmd/lrmd.c || safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_SYSTEMD))) { safe_str_eq 202 lrmd/lrmd.c if (safe_str_eq(g_hash_table_lookup(cmd->params, "CRM_meta_on_fail"), "block")) { safe_str_eq 291 lrmd/lrmd.c if (safe_str_eq(cmd->action, dup->action) && cmd->interval == dup->interval) { safe_str_eq 301 lrmd/lrmd.c if (safe_str_eq(cmd->action, dup->action) && cmd->interval == dup->interval) { safe_str_eq 324 lrmd/lrmd.c if (safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 357 lrmd/lrmd.c if (rsc && safe_str_eq(cmd->action, "stop")) { safe_str_eq 655 lrmd/lrmd.c if (!safe_str_eq(action, "status") && !safe_str_eq(action, "monitor")) { safe_str_eq 699 lrmd/lrmd.c if (safe_str_eq(action, "stop")) { safe_str_eq 701 lrmd/lrmd.c } else if (safe_str_eq(action, "start")) { safe_str_eq 742 lrmd/lrmd.c if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_OCF)) { safe_str_eq 744 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 746 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD)) { safe_str_eq 748 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_UPSTART)) { safe_str_eq 751 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_NAGIOS)) { safe_str_eq 764 lrmd/lrmd.c if (safe_str_eq(action->standard, PCMK_RESOURCE_CLASS_HB)) { safe_str_eq 786 lrmd/lrmd.c if (safe_str_eq(client->id, new_client->id)) { safe_str_eq 879 lrmd/lrmd.c if (rsc && safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_SERVICE)) { safe_str_eq 885 lrmd/lrmd.c if (safe_str_eq(rclass, PCMK_RESOURCE_CLASS_SYSTEMD)) { safe_str_eq 886 lrmd/lrmd.c if(cmd->exec_rc == PCMK_OCF_OK && safe_str_eq(cmd->action, "start")) { safe_str_eq 900 lrmd/lrmd.c } else if(cmd->exec_rc == PCMK_OCF_OK && safe_str_eq(cmd->action, "stop")) { safe_str_eq 909 lrmd/lrmd.c } else if(cmd->exec_rc == PCMK_OCF_OK && safe_str_eq(cmd->real_action, "stop")) { safe_str_eq 922 lrmd/lrmd.c if(cmd->lrmd_op_status == PCMK_LRM_OP_DONE && cmd->exec_rc == PCMK_OCF_NOT_RUNNING && safe_str_eq(cmd->real_action, "stop")) { safe_str_eq 930 lrmd/lrmd.c if (rsc && safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_NAGIOS)) { safe_str_eq 931 lrmd/lrmd.c if (safe_str_eq(cmd->action, "monitor") && safe_str_eq 936 lrmd/lrmd.c } else if (safe_str_eq(cmd->action, "start") && cmd->exec_rc != PCMK_OCF_OK) { safe_str_eq 1019 lrmd/lrmd.c } else if (rc == -ENODEV && safe_str_eq(cmd->action, "monitor")) { safe_str_eq 1040 lrmd/lrmd.c if (safe_str_eq(cmd->action, "start") && rsc) { safe_str_eq 1072 lrmd/lrmd.c if (safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 1114 lrmd/lrmd.c if (safe_str_eq(cmd->action, "start")) { safe_str_eq 1141 lrmd/lrmd.c } else if (safe_str_eq(cmd->action, "stop")) { safe_str_eq 1144 lrmd/lrmd.c } else if (safe_str_eq(cmd->action, "monitor")) { safe_str_eq 1191 lrmd/lrmd.c if (safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_NAGIOS) safe_str_eq 1192 lrmd/lrmd.c && safe_str_eq(cmd->action, "stop")) { safe_str_eq 1301 lrmd/lrmd.c if (safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 1321 lrmd/lrmd.c int is_stonith = safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_STONITH); safe_str_eq 1410 lrmd/lrmd.c safe_str_eq(rsc->class, dup->class) && safe_str_eq 1411 lrmd/lrmd.c safe_str_eq(rsc->provider, dup->provider) && safe_str_eq(rsc->type, dup->type)) { safe_str_eq 1556 lrmd/lrmd.c if (safe_str_eq(cmd->action, action) && cmd->interval == interval) { safe_str_eq 1563 lrmd/lrmd.c if (safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 1569 lrmd/lrmd.c if (safe_str_eq(cmd->action, action) && cmd->interval == interval) { safe_str_eq 186 lrmd/remote_ctl.c if (safe_str_eq(options.api_call, "ipc_debug")) { safe_str_eq 194 lrmd/remote_ctl.c if (safe_str_eq(options.api_call, "metadata")) { safe_str_eq 210 lrmd/remote_ctl.c } else if (safe_str_eq(options.api_call, "poke")) { safe_str_eq 257 lrmd/remote_ctl.c if (safe_str_eq(op, LRMD_IPC_OP_NEW)) { safe_str_eq 129 lrmd/test.c if (safe_str_eq(options.listen, event_buf_v0)) { safe_str_eq 223 lrmd/test.c if (safe_str_eq(options.api_call, "exec")) { safe_str_eq 237 lrmd/test.c } else if (safe_str_eq(options.api_call, "register_rsc")) { safe_str_eq 241 lrmd/test.c } else if (safe_str_eq(options.api_call, "get_rsc_info")) { safe_str_eq 256 lrmd/test.c } else if (safe_str_eq(options.api_call, "unregister_rsc")) { safe_str_eq 258 lrmd/test.c } else if (safe_str_eq(options.api_call, "cancel")) { safe_str_eq 260 lrmd/test.c } else if (safe_str_eq(options.api_call, "metadata")) { safe_str_eq 270 lrmd/test.c } else if (safe_str_eq(options.api_call, "list_agents")) { safe_str_eq 287 lrmd/test.c } else if (safe_str_eq(options.api_call, "list_ocf_providers")) { safe_str_eq 305 lrmd/test.c } else if (safe_str_eq(options.api_call, "list_standards")) { safe_str_eq 556 lrmd/test.c (safe_str_eq(options.api_call, "metadata") || safe_str_eq 557 lrmd/test.c safe_str_eq(options.api_call, "list_agents") || safe_str_eq 558 lrmd/test.c safe_str_eq(options.api_call, "list_standards") || safe_str_eq 559 lrmd/test.c safe_str_eq(options.api_call, "list_ocf_providers"))) { safe_str_eq 342 mcp/corosync.c if (safe_str_eq("pacemaker", value)) { safe_str_eq 344 mcp/corosync.c if (safe_str_eq(value, "1")) { safe_str_eq 757 mcp/pacemaker.c if (safe_str_eq(entry_name, name) && (crm_pid_active(pid, NULL) == 1)) { safe_str_eq 257 pengine/allocate.c if (safe_str_eq(task, RSC_STOP)) { safe_str_eq 289 pengine/allocate.c if (interval == 0 && safe_str_eq(task, RSC_STATUS)) { safe_str_eq 293 pengine/allocate.c } else if (interval == 0 && safe_str_eq(task, RSC_MIGRATED)) { safe_str_eq 296 pengine/allocate.c } else if (interval == 0 && safe_str_eq(task, RSC_PROMOTE)) { safe_str_eq 451 pengine/allocate.c if (interval == 0 && safe_str_eq(task, RSC_STATUS)) { safe_str_eq 459 pengine/allocate.c } else if (is_probe || safe_str_eq(task, RSC_START) || safe_str_eq(task, RSC_PROMOTE) || interval > 0 safe_str_eq 460 pengine/allocate.c || safe_str_eq(task, RSC_MIGRATED)) { safe_str_eq 796 pengine/allocate.c if (health_strategy == NULL || safe_str_eq(health_strategy, "none")) { safe_str_eq 803 pengine/allocate.c } else if (safe_str_eq(health_strategy, "migrate-on-red")) { safe_str_eq 812 pengine/allocate.c } else if (safe_str_eq(health_strategy, "only-green")) { safe_str_eq 821 pengine/allocate.c } else if (safe_str_eq(health_strategy, "progressive")) { safe_str_eq 828 pengine/allocate.c } else if (safe_str_eq(health_strategy, "custom")) { safe_str_eq 1763 pengine/allocate.c if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED && safe_str_eq(op_type, RSC_STOP)) { safe_str_eq 1768 pengine/allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && safe_str_eq(op_type, RSC_DEMOTE)) { safe_str_eq 1851 pengine/allocate.c if (safe_str_eq(action->task, CRMD_ACTION_MIGRATE) safe_str_eq 1852 pengine/allocate.c || safe_str_eq(action->task, CRMD_ACTION_MIGRATE)) { safe_str_eq 2017 pengine/allocate.c if (safe_str_eq(action->task, CRMD_ACTION_MIGRATE) safe_str_eq 2018 pengine/allocate.c || safe_str_eq(action->task, CRMD_ACTION_MIGRATE)) { safe_str_eq 2135 pengine/allocate.c safe_str_eq(action->task, CRM_OP_CLEAR_FAILCOUNT)) { safe_str_eq 2502 pengine/allocate.c if (safe_str_eq(action->task, CRM_OP_SHUTDOWN)) { safe_str_eq 2504 pengine/allocate.c } else if (safe_str_eq(action->task, CRM_OP_FENCE)) { safe_str_eq 693 pengine/clone.c } else if (safe_str_eq(RSC_STOP, action->task)) { safe_str_eq 697 pengine/clone.c } else if (safe_str_eq(RSC_START, action->task)) { safe_str_eq 1108 pengine/clone.c if (safe_str_eq(action->task, "notify") safe_str_eq 1109 pengine/clone.c || safe_str_eq(action->task, "notified")) { safe_str_eq 87 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_ORDER, tag)) { safe_str_eq 90 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_DEPEND, tag)) { safe_str_eq 93 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_LOCATION, tag)) { safe_str_eq 96 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_TICKET, tag)) { safe_str_eq 110 pengine/constraints.c if (safe_str_eq(action, RSC_START)) { safe_str_eq 113 pengine/constraints.c } else if (safe_str_eq(action, RSC_STOP)) { safe_str_eq 116 pengine/constraints.c } else if (safe_str_eq(action, RSC_PROMOTE)) { safe_str_eq 119 pengine/constraints.c } else if (safe_str_eq(action, RSC_DEMOTE)) { safe_str_eq 122 pengine/constraints.c } else if (safe_str_eq(action, RSC_PROMOTED)) { safe_str_eq 125 pengine/constraints.c } else if (safe_str_eq(action, RSC_DEMOTED)) { safe_str_eq 128 pengine/constraints.c } else if (safe_str_eq(action, RSC_STARTED)) { safe_str_eq 131 pengine/constraints.c } else if (safe_str_eq(action, RSC_STOPPED)) { safe_str_eq 160 pengine/constraints.c } else if (safe_str_eq(kind, "Mandatory")) { safe_str_eq 163 pengine/constraints.c } else if (safe_str_eq(kind, "Optional")) { safe_str_eq 166 pengine/constraints.c } else if (safe_str_eq(kind, "Serialize")) { safe_str_eq 1024 pengine/constraints.c if (safe_str_eq(boolean, "or")) { safe_str_eq 1253 pengine/constraints.c if (state_lh == NULL || safe_str_eq(state_lh, RSC_ROLE_STARTED_S)) { safe_str_eq 1257 pengine/constraints.c if (state_rh == NULL || safe_str_eq(state_rh, RSC_ROLE_STARTED_S)) { safe_str_eq 1385 pengine/constraints.c if (safe_str_eq(lh_task, RSC_START) && safe_str_eq(rh_task, RSC_START)) { safe_str_eq 1408 pengine/constraints.c } else if (rh_migratable == TRUE && safe_str_eq(lh_task, RSC_STOP) && safe_str_eq(rh_task, RSC_STOP)) { safe_str_eq 1430 pengine/constraints.c } else if (safe_str_eq(lh_task, RSC_PROMOTE) && safe_str_eq(rh_task, RSC_START)) { safe_str_eq 1441 pengine/constraints.c } else if (safe_str_eq(lh_task, RSC_DEMOTE) && safe_str_eq(rh_task, RSC_STOP)) { safe_str_eq 1554 pengine/constraints.c if (safe_str_eq(action_first, RSC_START) safe_str_eq 1555 pengine/constraints.c || safe_str_eq(action_first, RSC_PROMOTE)) { safe_str_eq 1775 pengine/constraints.c if(safe_str_eq(RSC_STOP, action_1) || safe_str_eq(RSC_DEMOTE, action_1)) { safe_str_eq 2180 pengine/constraints.c } else if (local_score >= 0 && safe_str_eq(ordering, "group")) { safe_str_eq 2223 pengine/constraints.c if (safe_str_eq(resource->id, ID(xml_rsc_with))) { safe_str_eq 2581 pengine/constraints.c if (state_lh == NULL || safe_str_eq(state_lh, RSC_ROLE_STARTED_S)) { safe_str_eq 2590 pengine/constraints.c if (safe_str_eq(loss_policy, "fence")) { safe_str_eq 2605 pengine/constraints.c } else if (safe_str_eq(loss_policy, "freeze")) { safe_str_eq 2611 pengine/constraints.c } else if (safe_str_eq(loss_policy, "demote")) { safe_str_eq 2617 pengine/constraints.c } else if (safe_str_eq(loss_policy, "stop")) { safe_str_eq 435 pengine/graph.c && safe_str_eq(first->task, RSC_STOP) safe_str_eq 485 pengine/graph.c if (is_not_set(action->flags, pe_action_runnable) && safe_str_eq(action->task, RSC_START)) { safe_str_eq 566 pengine/graph.c if (first->rsc && first->rsc->variant == pe_group && safe_str_eq(first->task, RSC_START)) { safe_str_eq 573 pengine/graph.c if (then->rsc && then->rsc->variant == pe_group && safe_str_eq(then->task, RSC_START)) { safe_str_eq 787 pengine/graph.c if (safe_str_eq(action->task, CRM_OP_FENCE) || is_remote_node(action->node) == FALSE) { safe_str_eq 827 pengine/graph.c if (safe_str_eq(action->task, "stop") || safe_str_eq 828 pengine/graph.c safe_str_eq(action->task, "demote") || safe_str_eq 829 pengine/graph.c safe_str_eq(action->task, "migrate_from") || safe_str_eq 830 pengine/graph.c safe_str_eq(action->task, "migrate_to")) { safe_str_eq 946 pengine/graph.c if (safe_str_eq(action->task, CRM_OP_SHUTDOWN)) { safe_str_eq 952 pengine/graph.c } else if (safe_str_eq(action->task, CRM_OP_FENCE)) { safe_str_eq 957 pengine/graph.c if (safe_str_eq(fence, "off") || safe_str_eq(fence, "reboot")) { safe_str_eq 964 pengine/graph.c && safe_str_eq(action->task, CRMD_ACTION_STOP)) { safe_str_eq 975 pengine/graph.c if (input->rsc && safe_str_eq(action->rsc->id, input->rsc->id) safe_str_eq 976 pengine/graph.c && safe_str_eq(input->task, CRMD_ACTION_MIGRATED)) { safe_str_eq 1003 pengine/graph.c if (safe_str_eq(action->task, CRM_OP_FENCE)) { safe_str_eq 1010 pengine/graph.c } else if (safe_str_eq(action->task, CRM_OP_SHUTDOWN)) { safe_str_eq 1013 pengine/graph.c } else if (safe_str_eq(action->task, CRM_OP_CLEAR_FAILCOUNT)) { safe_str_eq 1016 pengine/graph.c } else if (safe_str_eq(action->task, CRM_OP_LRM_REFRESH)) { safe_str_eq 1023 pengine/graph.c if (safe_str_eq(action->task, CRM_OP_MAINTENANCE_NODES)) { safe_str_eq 1043 pengine/graph.c if (safe_str_eq(action->task, RSC_NOTIFY)) { safe_str_eq 1261 pengine/graph.c } else if (safe_str_eq(action->task, CRM_OP_FENCE) && action->node) { safe_str_eq 1296 pengine/graph.c } else if (is_set(action->flags, pe_action_pseudo) && safe_str_eq(action->task, CRM_OP_PROBED)) { safe_str_eq 1357 pengine/graph.c || safe_str_eq(action->task, CRM_OP_FENCE) safe_str_eq 1358 pengine/graph.c || safe_str_eq(action->task, CRM_OP_SHUTDOWN)) { safe_str_eq 1492 pengine/graph.c if (action->rsc && safe_str_eq(action->task, RSC_MIGRATE)) { safe_str_eq 1661 pengine/graph.c && safe_str_eq(action->task, RSC_MIGRATE)) { safe_str_eq 162 pengine/group.c if (safe_str_eq(RSC_STOP, action->task) && is_set(action->flags, pe_action_runnable)) { safe_str_eq 166 pengine/group.c } else if (safe_str_eq(RSC_START, action->task) safe_str_eq 152 pengine/main.c if (argc - optind == 1 && safe_str_eq("metadata", argv[optind])) { safe_str_eq 131 pengine/master.c } else if (safe_str_eq(RSC_DEMOTE, action->task)) { safe_str_eq 134 pengine/master.c } else if (safe_str_eq(RSC_PROMOTE, action->task)) { safe_str_eq 982 pengine/master.c if (safe_str_eq(value, tmp)) { safe_str_eq 221 pengine/native.c if (safe_str_eq(value, tmp)) { safe_str_eq 670 pengine/native.c if (safe_str_eq(name, RSC_STOP) safe_str_eq 671 pengine/native.c || safe_str_eq(name, RSC_START) safe_str_eq 672 pengine/native.c || safe_str_eq(name, RSC_DEMOTE) safe_str_eq 673 pengine/native.c || safe_str_eq(name, RSC_PROMOTE) safe_str_eq 884 pengine/native.c if (safe_str_eq(name, RSC_STOP) safe_str_eq 885 pengine/native.c || safe_str_eq(name, RSC_START) safe_str_eq 886 pengine/native.c || safe_str_eq(name, RSC_DEMOTE) safe_str_eq 887 pengine/native.c || safe_str_eq(name, RSC_PROMOTE) safe_str_eq 945 pengine/native.c if (node_uname && safe_str_eq(stop_node_uname, node_uname)) { safe_str_eq 1661 pengine/native.c if (!safe_str_eq(lh_value, rh_value)) { safe_str_eq 1712 pengine/native.c if (do_check && safe_str_eq(tmp, value)) { safe_str_eq 1900 pengine/native.c } else if ((then_rsc_role == RSC_ROLE_STOPPED) && safe_str_eq(then->task, RSC_STOP)) { safe_str_eq 1904 pengine/native.c && safe_str_eq(then->task, RSC_START) safe_str_eq 2530 pengine/native.c if (unfenced == NULL || safe_str_eq("0", unfenced)) { safe_str_eq 2554 pengine/native.c if (unfenced == NULL || safe_str_eq("0", unfenced)) { safe_str_eq 2825 pengine/native.c if (safe_str_eq(class, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 3073 pengine/native.c } else if (safe_str_eq(action->task, RSC_START) safe_str_eq 192 pengine/notif.c if (safe_str_eq(rsc_id, last_rsc_id)) { safe_str_eq 305 pengine/notif.c if (interval == NULL || safe_str_eq(interval, "0")) { safe_str_eq 308 pengine/notif.c } else if (safe_str_eq(mon->task, RSC_CANCEL)) { safe_str_eq 426 pengine/notif.c if (safe_str_eq(action, RSC_STOP)) { safe_str_eq 547 pengine/notif.c if (safe_str_eq(n_data->action, RSC_STOP)) { safe_str_eq 556 pengine/notif.c if (rsc_list && safe_str_eq(n_data->action, RSC_START)) { safe_str_eq 566 pengine/notif.c if (safe_str_eq(n_data->action, RSC_DEMOTE)) { safe_str_eq 577 pengine/notif.c if (safe_str_eq(n_data->action, RSC_PROMOTE)) { safe_str_eq 618 pengine/notif.c if (safe_str_eq("host", source)) { safe_str_eq 81 pengine/pengine.c } else if (safe_str_eq(crm_element_value(msg, F_CRM_MSG_TYPE), XML_ATTR_RESPONSE)) { safe_str_eq 117 pengine/pengine.c } else if (safe_str_eq(digest, last_digest)) { safe_str_eq 109 pengine/ptest.c if (safe_str_eq(action->task, RSC_CANCEL)) { safe_str_eq 356 pengine/ptest.c if (safe_str_eq(graph_file, "-")) { safe_str_eq 85 pengine/utils.c if (discover_mode == NULL || safe_str_eq(discover_mode, "always")) { safe_str_eq 87 pengine/utils.c } else if (safe_str_eq(discover_mode, "never")) { safe_str_eq 89 pengine/utils.c } else if (safe_str_eq(discover_mode, "exclusive")) { safe_str_eq 181 pengine/utils.c if (safe_str_eq(pe_dataset->placement_strategy, "minimal")) { safe_str_eq 185 pengine/utils.c if (safe_str_eq(pe_dataset->placement_strategy, "balanced")) { safe_str_eq 290 pengine/utils.c if(safe_str_eq(RSC_STOP, op->task)) { safe_str_eq 293 pengine/utils.c } else if(safe_str_eq(RSC_START, op->task)) { safe_str_eq 298 pengine/utils.c if(safe_str_eq(rc_inactive, g_hash_table_lookup(op->meta, XML_ATTR_TE_TARGET_RC))) { safe_str_eq 69 tools/cib_shadow.c if (safe_str_eq(new_prompt, prompt)) { safe_str_eq 182 tools/cibadmin.c if (safe_str_eq((const char *)xml->name, "xpath-query")) { safe_str_eq 416 tools/cibadmin.c if (safe_str_eq(cib_action, "md5-sum")) { safe_str_eq 431 tools/cibadmin.c } else if (safe_str_eq(cib_action, "md5-sum-versioned")) { safe_str_eq 518 tools/cibadmin.c && safe_str_eq(crm_element_name(input), XML_TAG_CIB)) { safe_str_eq 569 tools/cibadmin.c } else if (safe_str_eq(cib_action, CIB_OP_QUERY) && output == NULL) { safe_str_eq 236 tools/crm_attribute.c if (safe_str_eq(type, "reboot")) { safe_str_eq 239 tools/crm_attribute.c } else if (safe_str_eq(type, "forever")) { safe_str_eq 247 tools/crm_attribute.c } else if (safe_str_eq(type, XML_CIB_TAG_CRMCONFIG)) { safe_str_eq 285 tools/crm_attribute.c && safe_str_eq(type, XML_CIB_TAG_STATUS) safe_str_eq 1544 tools/crm_mon.c if (safe_str_eq(task, CRMD_ACTION_STATUS) && safe_str_eq(interval, "0")) { safe_str_eq 1549 tools/crm_mon.c if (safe_str_eq(task, CRMD_ACTION_NOTIFY) || (safe_str_eq(task, "probe") && (rc == 7))) { safe_str_eq 1634 tools/crm_mon.c if (safe_str_eq(type, "ping") || safe_str_eq(type, "pingd")) { safe_str_eq 1642 tools/crm_mon.c if (safe_str_eq(name, attrname)) { safe_str_eq 152 tools/crm_node.c if(safe_str_eq(target, CRM_SYSTEM_CRMD)) { safe_str_eq 178 tools/crm_node.c if(safe_str_eq(target, T_ATTRD)) { safe_str_eq 263 tools/crm_node.c if(safe_str_eq(peer->state, CRM_NODE_MEMBER)) { safe_str_eq 268 tools/crm_node.c if(safe_str_eq(peer->state, CRM_NODE_MEMBER)) { safe_str_eq 738 tools/crm_node.c if (node->uname && safe_str_eq(node->state, CRM_NODE_MEMBER)) { safe_str_eq 466 tools/crm_resource.c if (safe_str_eq("master", longname)) { safe_str_eq 469 tools/crm_resource.c } else if(safe_str_eq(longname, "recursive")) { safe_str_eq 472 tools/crm_resource.c } else if (safe_str_eq("wait", longname)) { safe_str_eq 479 tools/crm_resource.c safe_str_eq("validate", longname) safe_str_eq 480 tools/crm_resource.c || safe_str_eq("restart", longname) safe_str_eq 481 tools/crm_resource.c || safe_str_eq("force-demote", longname) safe_str_eq 482 tools/crm_resource.c || safe_str_eq("force-stop", longname) safe_str_eq 483 tools/crm_resource.c || safe_str_eq("force-start", longname) safe_str_eq 484 tools/crm_resource.c || safe_str_eq("force-promote", longname) safe_str_eq 485 tools/crm_resource.c || safe_str_eq("force-check", longname)) { safe_str_eq 491 tools/crm_resource.c } else if (safe_str_eq("list-ocf-providers", longname) safe_str_eq 492 tools/crm_resource.c || safe_str_eq("list-ocf-alternatives", longname) safe_str_eq 493 tools/crm_resource.c || safe_str_eq("list-standards", longname)) { safe_str_eq 499 tools/crm_resource.c if (safe_str_eq("list-ocf-providers", longname) safe_str_eq 500 tools/crm_resource.c || safe_str_eq("list-ocf-alternatives", longname)) { safe_str_eq 504 tools/crm_resource.c } else if (safe_str_eq("list-standards", longname)) { safe_str_eq 526 tools/crm_resource.c } else if (safe_str_eq("show-metadata", longname)) { safe_str_eq 553 tools/crm_resource.c } else if (safe_str_eq("list-agents", longname)) { safe_str_eq 898 tools/crm_resource.c } else if (rsc_cmd == 0 && rsc_long_cmd && safe_str_eq(rsc_long_cmd, "restart")) { safe_str_eq 901 tools/crm_resource.c } else if (rsc_cmd == 0 && rsc_long_cmd && safe_str_eq(rsc_long_cmd, "wait")) { safe_str_eq 46 tools/crm_resource_print.c if (safe_str_eq(XML_CONS_TAG_RSC_DEPEND, crm_element_name(xml_obj))) { safe_str_eq 56 tools/crm_resource_print.c } else if (safe_str_eq(XML_CONS_TAG_RSC_LOCATION, crm_element_name(xml_obj))) { safe_str_eq 72 tools/crm_resource_print.c if (safe_str_eq(rclass, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 84 tools/crm_resource_print.c if (safe_str_eq(value, "nothing")) { safe_str_eq 332 tools/crm_resource_print.c if (safe_str_eq(attr_set_type, XML_TAG_ATTR_SETS)) { safe_str_eq 335 tools/crm_resource_print.c } else if (safe_str_eq(attr_set_type, XML_TAG_META_SETS)) { safe_str_eq 74 tools/crm_resource_runtime.c && safe_str_eq(requested_name, rsc->clone_name) safe_str_eq 253 tools/crm_resource_runtime.c if (safe_str_eq(attr_set_type, XML_TAG_ATTR_SETS)) { safe_str_eq 315 tools/crm_resource_runtime.c if (use_attributes_tag && safe_str_eq(tag, XML_CIB_TAG_MASTER)) { safe_str_eq 350 tools/crm_resource_runtime.c if(recursive && safe_str_eq(attr_set_type, XML_TAG_META_SETS)) { safe_str_eq 405 tools/crm_resource_runtime.c if(safe_str_eq(attr_set_type, XML_TAG_META_SETS)) { safe_str_eq 1472 tools/crm_resource_runtime.c if (safe_str_eq(rsc_action, "validate")) { safe_str_eq 1475 tools/crm_resource_runtime.c } else if (safe_str_eq(rsc_action, "force-check")) { safe_str_eq 1478 tools/crm_resource_runtime.c } else if (safe_str_eq(rsc_action, "force-stop")) { safe_str_eq 1481 tools/crm_resource_runtime.c } else if (safe_str_eq(rsc_action, "force-start") safe_str_eq 1482 tools/crm_resource_runtime.c || safe_str_eq(rsc_action, "force-demote") safe_str_eq 1483 tools/crm_resource_runtime.c || safe_str_eq(rsc_action, "force-promote")) { safe_str_eq 1511 tools/crm_resource_runtime.c if (safe_str_eq(rclass, PCMK_RESOURCE_CLASS_STONITH)) { safe_str_eq 1578 tools/crm_resource_runtime.c if (resource_verbose == 0 && safe_str_eq(action, "validate-all")) safe_str_eq 1679 tools/crm_resource_runtime.c } else if (safe_str_eq(current->details->uname, dest->details->uname)) { safe_str_eq 164 tools/crm_simulate.c } else if (safe_str_eq(node->details->uname, node->details->id)) { safe_str_eq 221 tools/crm_simulate.c if (safe_str_eq(action->task, RSC_CANCEL)) { safe_str_eq 233 tools/crm_simulate.c if (safe_str_eq(action->task, RSC_NOTIFY) safe_str_eq 234 tools/crm_simulate.c || safe_str_eq(action->task, RSC_NOTIFIED)) { safe_str_eq 253 tools/crm_simulate.c } else if (safe_str_eq(action->task, CRM_OP_FENCE)) { safe_str_eq 413 tools/crm_simulate.c } else if (safe_str_eq(input, "-")) { safe_str_eq 437 tools/crm_ticket.c if (safe_str_eq(action, "grant")) { safe_str_eq 497 tools/crm_ticket.c if (safe_str_eq(key, "granted")) { safe_str_eq 561 tools/crm_ticket.c if (safe_str_eq(key, "granted") safe_str_eq 531 tools/crmadmin.c && safe_str_eq(crm_state, "online")) { safe_str_eq 644 tools/fake_transition.c if (safe_str_eq(operation, CRM_OP_PROBED) safe_str_eq 645 tools/fake_transition.c || safe_str_eq(operation, CRM_OP_REPROBE)) { safe_str_eq 669 tools/fake_transition.c if (safe_str_eq(operation, "delete") || safe_str_eq(operation, RSC_METADATA)) { safe_str_eq 144 tools/test.iso8601.c if (safe_str_eq("now", date_time_s)) {