role 468 include/crm/common/resources.h enum rsc_role_e role; //!< Resource's current role role 27 include/crm/pengine/common.h enum rsc_role_e text2role(const char *role); role 28 include/crm/pengine/common.h const char *role2text(enum rsc_role_e role); role 81 include/crm/pengine/common.h enum rsc_role_e role; role 422 include/crm/pengine/internal.h gboolean get_target_role(const pcmk_resource_t *rsc, enum rsc_role_e *role); role 423 include/crm/pengine/internal.h void pe__set_next_role(pcmk_resource_t *rsc, enum rsc_role_e role, role 43 include/crm/pengine/rules.h enum rsc_role_e role, crm_time_t *now, role 47 include/crm/pengine/rules.h enum rsc_role_e role, crm_time_t *now, role 35 include/crm/pengine/rules_compat.h gboolean test_rule(xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, role 40 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now, role 45 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now, role 50 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now); role 54 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now, role 59 include/crm/pengine/rules_compat.h enum rsc_role_e role, role 148 lib/common/acl.c xmlNode *role = NULL; role 150 lib/common/acl.c for (role = pcmk__xe_first_child(acl_top); role; role 151 lib/common/acl.c role = pcmk__xe_next(role)) { role 152 lib/common/acl.c if (!strcmp(XML_ACL_TAG_ROLE, (const char *) role->name)) { role 153 lib/common/acl.c const char *role_id = crm_element_value(role, role 159 lib/common/acl.c acls = parse_acl_entry(acl_top, role, acls); role 986 lib/pacemaker/libpacemaker_private.h const pcmk_node_t *node, enum rsc_role_e role, role 992 lib/pacemaker/libpacemaker_private.h enum rsc_role_e role, role 142 lib/pacemaker/pcmk_output.c if ((rsc->role > pcmk_role_started) role 151 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { role 157 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role 167 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s", role2text(rsc->role), role 176 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s", role2text(rsc->role), role 187 lib/pacemaker/pcmk_output.c role2text(rsc->role)); role 196 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role 202 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s -> %s %s", role2text(rsc->role), role 261 lib/pacemaker/pcmk_output.c if ((rsc->role > pcmk_role_started) role 270 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { role 284 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 296 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 307 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 320 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 333 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 341 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 1101 lib/pacemaker/pcmk_output.c rsc->id, role2text(rsc->role), role 1154 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { role 1184 lib/pacemaker/pcmk_output.c role2text(rsc->role), pe__node_name(next)); role 1281 lib/pacemaker/pcmk_output.c } else if (rsc->role == pcmk_role_promoted) { role 1291 lib/pacemaker/pcmk_output.c } else if ((rsc->role == pcmk_role_stopped) role 34 lib/pacemaker/pcmk_rule.c .role = pcmk_role_unknown, role 874 lib/pacemaker/pcmk_sched_actions.c && (then->rsc != NULL) && (then->rsc->role == pcmk_role_promoted) role 447 lib/pacemaker/pcmk_sched_colocation.c const char *role = crm_element_value(set, "role"); role 502 lib/pacemaker/pcmk_sched_colocation.c other, role, role, flags); role 507 lib/pacemaker/pcmk_sched_colocation.c resource, role, role, flags); role 547 lib/pacemaker/pcmk_sched_colocation.c resource, other, role, role, flags); role 63 lib/pacemaker/pcmk_sched_group.c rsc->role = first_member->role; role 1075 lib/pacemaker/pcmk_sched_instances.c enum rsc_role_e role, bool current) role 1081 lib/pacemaker/pcmk_sched_instances.c if ((role != pcmk_role_unknown) role 1082 lib/pacemaker/pcmk_sched_instances.c && (role != instance->fns->state(instance, current))) { role 1085 lib/pacemaker/pcmk_sched_instances.c instance->id, role2text(role)); role 1128 lib/pacemaker/pcmk_sched_instances.c const pcmk_node_t *node, enum rsc_role_e role, role 1137 lib/pacemaker/pcmk_sched_instances.c if (pcmk__instance_matches(instance, node, role, current)) { role 1140 lib/pacemaker/pcmk_sched_instances.c role == pcmk_role_unknown? "matching" : role2text(role), role 1150 lib/pacemaker/pcmk_sched_instances.c ((role == pcmk_role_unknown)? "matching" : role2text(role)), role 1170 lib/pacemaker/pcmk_sched_instances.c const pcmk_resource_t *rsc, enum rsc_role_e role, role 1180 lib/pacemaker/pcmk_sched_instances.c return find_compatible_instance_on_node(match_rsc, rsc, node, role, role 1191 lib/pacemaker/pcmk_sched_instances.c role, current); role 63 lib/pacemaker/pcmk_sched_location.c const char *role = NULL; role 82 lib/pacemaker/pcmk_sched_location.c role = crm_element_value(rule_xml, XML_RULE_ATTR_ROLE); role 86 lib/pacemaker/pcmk_sched_location.c if ((role != NULL) && (text2role(role) == pcmk_role_unknown)) { role 87 lib/pacemaker/pcmk_sched_location.c pe_err("Bad role specified for %s: %s", rule_id, role); role 119 lib/pacemaker/pcmk_sched_location.c if (role != NULL) { role 120 lib/pacemaker/pcmk_sched_location.c crm_trace("Setting role filter: %s", role); role 121 lib/pacemaker/pcmk_sched_location.c location_rule->role_filter = text2role(role); role 201 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(xmlNode *xml_obj, pcmk_resource_t *rsc, const char *role, role 264 lib/pacemaker/pcmk_sched_location.c if (role == NULL) { role 265 lib/pacemaker/pcmk_sched_location.c role = crm_element_value(xml_obj, XML_RULE_ATTR_ROLE); role 268 lib/pacemaker/pcmk_sched_location.c if ((location != NULL) && (role != NULL)) { role 269 lib/pacemaker/pcmk_sched_location.c if (text2role(role) == pcmk_role_unknown) { role 270 lib/pacemaker/pcmk_sched_location.c pe_err("Invalid constraint %s: Bad role %s", id, role); role 274 lib/pacemaker/pcmk_sched_location.c enum rsc_role_e r = text2role(role); role 447 lib/pacemaker/pcmk_sched_location.c const char *role; role 460 lib/pacemaker/pcmk_sched_location.c role = crm_element_value(set, "role"); role 474 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(location, resource, role, local_score, NULL); role 481 lib/pacemaker/pcmk_sched_primitive.c } else if ((rsc->next_role > rsc->role) role 486 lib/pacemaker/pcmk_sched_primitive.c rsc->id, role2text(rsc->role), role2text(rsc->next_role)); role 487 lib/pacemaker/pcmk_sched_primitive.c pe__set_next_role(rsc, rsc->role, "no-quorum-policy=freeze"); role 505 lib/pacemaker/pcmk_sched_primitive.c pe__set_next_role(rsc, rsc->role, "unmanaged"); role 509 lib/pacemaker/pcmk_sched_primitive.c } else if (rsc->role == pcmk_role_promoted) { role 561 lib/pacemaker/pcmk_sched_primitive.c enum rsc_role_e role = rsc->role; role 568 lib/pacemaker/pcmk_sched_primitive.c while (role != pcmk_role_stopped) { role 569 lib/pacemaker/pcmk_sched_primitive.c next_role = rsc_state_matrix[role][pcmk_role_stopped]; role 572 lib/pacemaker/pcmk_sched_primitive.c role2text(role), role2text(next_role)); role 573 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; role 578 lib/pacemaker/pcmk_sched_primitive.c role = next_role; role 582 lib/pacemaker/pcmk_sched_primitive.c while ((rsc->role <= rsc->next_role) && (role != rsc->role) role 586 lib/pacemaker/pcmk_sched_primitive.c next_role = rsc_state_matrix[role][rsc->role]; role 592 lib/pacemaker/pcmk_sched_primitive.c role2text(role), role2text(next_role)); role 593 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; role 598 lib/pacemaker/pcmk_sched_primitive.c role = next_role; role 654 lib/pacemaker/pcmk_sched_primitive.c enum rsc_role_e role = rsc->role; role 656 lib/pacemaker/pcmk_sched_primitive.c while (role != rsc->next_role) { role 657 lib/pacemaker/pcmk_sched_primitive.c enum rsc_role_e next_role = rsc_state_matrix[role][rsc->next_role]; role 662 lib/pacemaker/pcmk_sched_primitive.c rsc->id, role2text(role), role2text(next_role), role 664 lib/pacemaker/pcmk_sched_primitive.c fn = rsc_action_matrix[role][next_role]; role 669 lib/pacemaker/pcmk_sched_primitive.c role = next_role; role 699 lib/pacemaker/pcmk_sched_primitive.c rsc->id, role2text(rsc->role), role2text(rsc->next_role), role 816 lib/pacemaker/pcmk_sched_primitive.c } else if ((rsc->role > pcmk_role_started) && (current != NULL) role 936 lib/pacemaker/pcmk_sched_primitive.c || (rsc->role > pcmk_role_unpromoted)) { role 38 lib/pacemaker/pcmk_sched_probes.c } else if (rsc->role == pcmk_role_promoted) { role 112 lib/pacemaker/pcmk_sched_probes.c || ((guest_rsc->role > pcmk_role_stopped) role 134 lib/pacemaker/pcmk_sched_probes.c role2text(rsc->role), rsc->id, pe__node_name(node)); role 238 lib/pacemaker/pcmk_sched_probes.c if (guest->role == pcmk_role_stopped) { role 821 lib/pacemaker/pcmk_sched_promotable.c if (rsc->role == pcmk_role_started) { role 823 lib/pacemaker/pcmk_sched_promotable.c rsc->role = pcmk_role_unpromoted; role 1022 lib/pacemaker/pcmk_sched_promotable.c if ((instance->role < pcmk_role_promoted) role 1033 lib/pacemaker/pcmk_sched_promotable.c instance->id, role2text(instance->role), role 28 lib/pacemaker/pcmk_sched_recurring.c enum rsc_role_e role; // Action role (or pcmk_role_unknown for default) role 128 lib/pacemaker/pcmk_sched_recurring.c const char *role = NULL; role 154 lib/pacemaker/pcmk_sched_recurring.c role = crm_element_value(xml, "role"); role 155 lib/pacemaker/pcmk_sched_recurring.c if (role == NULL) { role 156 lib/pacemaker/pcmk_sched_recurring.c op->role = pcmk_role_unknown; role 158 lib/pacemaker/pcmk_sched_recurring.c op->role = text2role(role); role 159 lib/pacemaker/pcmk_sched_recurring.c if (op->role == pcmk_role_unknown) { role 161 lib/pacemaker/pcmk_sched_recurring.c op->id, role); role 252 lib/pacemaker/pcmk_sched_recurring.c const bool is_default_role = (op->role == pcmk_role_unknown); role 255 lib/pacemaker/pcmk_sched_recurring.c if (op->role == pcmk_role_stopped) { role 262 lib/pacemaker/pcmk_sched_recurring.c if ((!is_default_role && (rsc->next_role != op->role)) role 272 lib/pacemaker/pcmk_sched_recurring.c switch (rsc->role) { role 301 lib/pacemaker/pcmk_sched_recurring.c role2text(is_default_role? pcmk_role_unpromoted : op->role), role 356 lib/pacemaker/pcmk_sched_recurring.c } else if (rsc->role == pcmk_role_promoted) { role 490 lib/pacemaker/pcmk_sched_recurring.c if (op->role != pcmk_role_stopped) { role 338 lib/pacemaker/pcmk_sched_resource.c if (rsc->role == pcmk_role_stopped) { role 342 lib/pacemaker/pcmk_sched_resource.c rsc->role = pcmk_role_started; role 34 lib/pacemaker/pcmk_sched_tickets.c int role; role 49 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role == pcmk_role_unknown) role 50 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->role == rsc->role)) { role 54 lib/pacemaker/pcmk_sched_tickets.c role2text(rsc_ticket->role)); role 85 lib/pacemaker/pcmk_sched_tickets.c role2text(rsc_ticket->role)); role 97 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->role != pcmk_role_promoted) { role 130 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != pcmk_role_promoted) role 138 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != pcmk_role_promoted) role 171 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->role = text2role(state); role 187 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); role 192 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); role 198 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); role 204 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); role 208 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->role == pcmk_role_promoted) { role 211 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); role 217 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); role 223 lib/pacemaker/pcmk_sched_tickets.c rsc->id, role2text(new_rsc_ticket->role), ticket->id); role 241 lib/pacemaker/pcmk_sched_tickets.c const char *role = NULL; role 253 lib/pacemaker/pcmk_sched_tickets.c role = crm_element_value(set, "role"); role 269 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(set_id, resource, ticket, role, loss_policy); role 525 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role == pcmk_role_promoted) role 669 lib/pacemaker/pcmk_scheduler.c || (rsc->role != pcmk_role_stopped)) { role 741 lib/pengine/clone.c enum rsc_role_e role = configured_role(rsc); role 743 lib/pengine/clone.c if (role == pcmk_role_unpromoted) { role 762 lib/pengine/clone.c enum rsc_role_e role = configured_role(rsc); role 764 lib/pengine/clone.c if (role == pcmk_role_stopped) { role 1067 lib/pengine/clone.c enum rsc_role_e role = configured_role(rsc); role 1069 lib/pengine/clone.c if (role == pcmk_role_unpromoted) { role 458 lib/pengine/common.c role2text(enum rsc_role_e role) role 460 lib/pengine/common.c switch (role) { role 487 lib/pengine/common.c text2role(const char *role) role 489 lib/pengine/common.c CRM_ASSERT(role != NULL); role 490 lib/pengine/common.c if (pcmk__str_eq(role, PCMK__ROLE_STOPPED, pcmk__str_casei)) { role 492 lib/pengine/common.c } else if (pcmk__str_eq(role, PCMK__ROLE_STARTED, pcmk__str_casei)) { role 494 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, PCMK__ROLE_UNPROMOTED, role 497 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, PCMK__ROLE_PROMOTED, role 500 lib/pengine/common.c } else if (pcmk__str_eq(role, PCMK__ROLE_UNKNOWN, pcmk__str_casei)) { role 503 lib/pengine/common.c crm_err("Unknown role: %s", role); role 168 lib/pengine/complex.c .role = pcmk_role_unknown, role 212 lib/pengine/complex.c .role = pcmk_role_unknown, role 242 lib/pengine/complex.c const char *role = crm_element_value(op, "role"); role 245 lib/pengine/complex.c if ((role == NULL) role 246 lib/pengine/complex.c || pcmk__strcase_any_of(role, PCMK__ROLE_STARTED, PCMK__ROLE_UNPROMOTED, role 248 lib/pengine/complex.c role = PCMK__ROLE_UNKNOWN; role 251 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); role 615 lib/pengine/complex.c .role = pcmk_role_unknown, role 707 lib/pengine/complex.c (*rsc)->role = pcmk_role_stopped; role 1164 lib/pengine/complex.c || (rsc->role > pcmk_role_stopped)) { role 1184 lib/pengine/complex.c pe__set_next_role(pcmk_resource_t *rsc, enum rsc_role_e role, const char *why) role 1187 lib/pengine/complex.c if (rsc->next_role != role) { role 1189 lib/pengine/complex.c rsc->id, role2text(rsc->next_role), role2text(role), why); role 1190 lib/pengine/complex.c rsc->next_role = role; role 484 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); role 486 lib/pengine/group.c if (role > group_role) { role 487 lib/pengine/group.c group_role = role; role 53 lib/pengine/native.c if (rsc->role == pcmk_role_promoted) { role 64 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? "promoted " : "", role 66 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? " + 1" : ""); role 81 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? "promoted " : "", role 83 lib/pengine/native.c (rsc->role == pcmk_role_promoted)? " + 1" : "", role 436 lib/pengine/native.c enum rsc_role_e role = rsc->role; role 438 lib/pengine/native.c if ((role == pcmk_role_started) role 442 lib/pengine/native.c role = pcmk_role_unpromoted; role 444 lib/pengine/native.c return role; role 605 lib/pengine/native.c enum rsc_role_e role = native_displayable_role(rsc); role 608 lib/pengine/native.c if (role > pcmk_role_unpromoted) { role 609 lib/pengine/native.c pcmk__add_word(&outstr, 0, role2text(role)); role 1095 lib/pengine/native.c enum rsc_role_e role = rsc->next_role; role 1098 lib/pengine/native.c role = rsc->role; role 1100 lib/pengine/native.c pe_rsc_trace(rsc, "%s state: %s", rsc->id, role2text(role)); role 1101 lib/pengine/native.c return role; role 248 lib/pengine/pe_actions.c .role = pcmk_role_unknown, role 298 lib/pengine/pe_actions.c switch (rsc->role) { role 388 lib/pengine/pe_actions.c || (action->rsc->next_role > action->rsc->role)) { role 451 lib/pengine/pe_actions.c const char *role = NULL; role 493 lib/pengine/pe_actions.c role = crm_element_value(operation, "role"); role 495 lib/pengine/pe_actions.c || !pcmk__strcase_any_of(role, PCMK__ROLE_PROMOTED, role 536 lib/pengine/pe_actions.c role = crm_element_value(action_config, "role"); role 542 lib/pengine/pe_actions.c || !pcmk__strcase_any_of(role, PCMK__ROLE_PROMOTED, role 715 lib/pengine/pe_actions.c .role = pcmk_role_unknown, role 1028 lib/pengine/pe_actions.c enum rsc_role_e role = pcmk_role_unknown; role 1033 lib/pengine/pe_actions.c role = pcmk_role_stopped; role 1038 lib/pengine/pe_actions.c role = pcmk_role_stopped; role 1052 lib/pengine/pe_actions.c if (role == pcmk_role_unknown) { role 1053 lib/pengine/pe_actions.c role = text2role(value); role 1057 lib/pengine/pe_actions.c if (role == pcmk_role_unknown) { role 1060 lib/pengine/pe_actions.c role = pcmk_role_unpromoted; role 1062 lib/pengine/pe_actions.c role = pcmk_role_started; role 1066 lib/pengine/pe_actions.c rsc->id, action_name, role2text(role)); role 1067 lib/pengine/pe_actions.c return role; role 1414 lib/pengine/pe_actions.c .role = pcmk_role_unknown, role 576 lib/pengine/pe_notif.c switch (rsc->role) { role 600 lib/pengine/pe_notif.c rsc->id, pe__node_name(node), role2text(rsc->role)); role 874 lib/pengine/pe_notif.c if ((rsc->role != pcmk_role_stopped) role 626 lib/pengine/pe_output.c role_desc(enum rsc_role_e role) role 628 lib/pengine/pe_output.c if (role == pcmk_role_promoted) { role 44 lib/pengine/rules.c .role = pcmk_role_unknown, role 55 lib/pengine/rules.c pe_test_rule(xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, role 61 lib/pengine/rules.c .role = role, role 88 lib/pengine/rules.c pe_test_expression(xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, role 94 lib/pengine/rules.c .role = role, role 542 lib/pengine/rules.c .role = pcmk_role_unknown, role 1167 lib/pengine/rules.c if (rule_data->role == pcmk_role_unknown) { role 1175 lib/pengine/rules.c if (rule_data->role > pcmk_role_started) { role 1180 lib/pengine/rules.c if ((rule_data->role > pcmk_role_unknown) role 1181 lib/pengine/rules.c && (rule_data->role < pcmk_role_unpromoted)) { role 1186 lib/pengine/rules.c if (text2role(value) == rule_data->role) { role 1192 lib/pengine/rules.c if ((rule_data->role > pcmk_role_unknown) role 1193 lib/pengine/rules.c && (rule_data->role < pcmk_role_unpromoted)) { role 1196 lib/pengine/rules.c } else if (text2role(value) != rule_data->role) { role 1251 lib/pengine/rules.c test_rule(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) role 1253 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, NULL); role 1257 lib/pengine/rules.c pe_test_rule_re(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now, pe_re_match_data_t * re_match_data) role 1264 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, &match_data); role 1268 lib/pengine/rules.c pe_test_rule_full(xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, role 1271 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, match_data); role 1275 lib/pengine/rules.c test_expression(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) role 1277 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, NULL); role 1281 lib/pengine/rules.c pe_test_expression_re(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now, pe_re_match_data_t * re_match_data) role 1288 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, &match_data); role 1293 lib/pengine/rules.c enum rsc_role_e role, crm_time_t *now, role 1296 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, match_data); role 1307 lib/pengine/rules.c .role = pcmk_role_unknown, role 219 lib/pengine/unpack.c .role = pcmk_role_unknown, role 1261 lib/pengine/unpack.c if ((rsc == NULL) || (rsc->role != pcmk_role_started) role 1262 lib/pengine/unpack.c || (rsc->container->role != pcmk_role_started)) { role 1279 lib/pengine/unpack.c && (rsc->role != pcmk_role_started))) { role 1699 lib/pengine/unpack.c if (rsc->role == pcmk_role_started) { role 1706 lib/pengine/unpack.c if ((rsc->role == pcmk_role_started) role 1726 lib/pengine/unpack.c } else if ((rsc->role == pcmk_role_stopped) role 1728 lib/pengine/unpack.c && (container->role == pcmk_role_stopped))) { role 2205 lib/pengine/unpack.c rsc->id, role2text(rsc->role), pe__node_name(node), role 2209 lib/pengine/unpack.c if (rsc->role != pcmk_role_unknown) { role 2231 lib/pengine/unpack.c if ((rsc->role > pcmk_role_stopped) role 2335 lib/pengine/unpack.c if ((rsc->role != pcmk_role_stopped) role 2336 lib/pengine/unpack.c && (rsc->role != pcmk_role_unknown)) { role 2356 lib/pengine/unpack.c } else if ((rsc->role != pcmk_role_stopped) role 2357 lib/pengine/unpack.c && (rsc->role != pcmk_role_unknown)) { role 2383 lib/pengine/unpack.c if (rsc->role > pcmk_role_stopped) { role 2406 lib/pengine/unpack.c if ((rsc->role != pcmk_role_stopped) role 2407 lib/pengine/unpack.c && (rsc->role != pcmk_role_unknown)) { role 2460 lib/pengine/unpack.c if ((rsc->role == pcmk_role_stopped) role 2466 lib/pengine/unpack.c rsc->role = pcmk_role_started; role 2681 lib/pengine/unpack.c saved_role = rsc->role; role 2682 lib/pengine/unpack.c rsc->role = pcmk_role_unknown; role 2714 lib/pengine/unpack.c if (saved_role > rsc->role) { role 2715 lib/pengine/unpack.c rsc->role = saved_role; role 2811 lib/pengine/unpack.c rsc->role = pcmk_role_unpromoted; role 2813 lib/pengine/unpack.c rsc->role = pcmk_role_started; role 3128 lib/pengine/unpack.c rsc->role = pcmk_role_stopped; role 3231 lib/pengine/unpack.c history->rsc->role = pcmk_role_started; role 3308 lib/pengine/unpack.c history->rsc->role = pcmk_role_started; role 3375 lib/pengine/unpack.c history->rsc->role = pcmk_role_started; role 3699 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; role 3703 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; role 3708 lib/pengine/unpack.c history->rsc->role = pcmk_role_stopped; role 3716 lib/pengine/unpack.c history->rsc->role = pcmk_role_unpromoted; role 3723 lib/pengine/unpack.c history->rsc->role = pcmk_role_stopped; role 3725 lib/pengine/unpack.c } else if (history->rsc->role < pcmk_role_started) { role 3732 lib/pengine/unpack.c history->rsc->id, role2text(history->rsc->role), role 3934 lib/pengine/unpack.c history->rsc->role = pcmk_role_stopped; role 3955 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; role 3961 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; role 4306 lib/pengine/unpack.c history->rsc->role = pcmk_role_stopped; role 4318 lib/pengine/unpack.c if (history->rsc->role < pcmk_role_started) { role 4323 lib/pengine/unpack.c history->rsc->role = pcmk_role_started; role 4327 lib/pengine/unpack.c history->rsc->role = pcmk_role_stopped; role 4332 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; role 4341 lib/pengine/unpack.c history->rsc->role = pcmk_role_unpromoted; role 4345 lib/pengine/unpack.c history->rsc->role = pcmk_role_started; role 4352 lib/pengine/unpack.c } else if (history->rsc->role < pcmk_role_started) { role 4490 lib/pengine/unpack.c if (history->rsc->role <= pcmk_role_stopped) { role 4491 lib/pengine/unpack.c history->rsc->role = pcmk_role_unknown; role 4643 lib/pengine/unpack.c history->rsc->role = pcmk_role_promoted; role 4883 lib/pengine/unpack.c role2text(rsc->role), role2text(rsc->next_role)); role 4894 lib/pengine/unpack.c .role = pcmk_role_unknown, role 411 lib/pengine/utils.c get_target_role(const pcmk_resource_t *rsc, enum rsc_role_e *role) role 416 lib/pengine/utils.c CRM_CHECK(role != NULL, return FALSE); role 445 lib/pengine/utils.c *role = local_role;