role 140 include/crm/pengine/common.h enum rsc_role_e text2role(const char *role); role 141 include/crm/pengine/common.h const char *role2text(enum rsc_role_e role); role 195 include/crm/pengine/common.h enum rsc_role_e role; role 435 include/crm/pengine/internal.h extern gboolean get_target_role(pe_resource_t * rsc, enum rsc_role_e *role); role 436 include/crm/pengine/internal.h void pe__set_next_role(pe_resource_t *rsc, enum rsc_role_e role, role 384 include/crm/pengine/pe_types.h enum rsc_role_e role; role 40 include/crm/pengine/rules.h enum rsc_role_e role, crm_time_t *now, role 44 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 169 lib/common/acl.c xmlNode *role = NULL; role 171 lib/common/acl.c for (role = pcmk__xe_first_child(acl_top); role; role 172 lib/common/acl.c role = pcmk__xe_next(role)) { role 173 lib/common/acl.c if (!strcmp(XML_ACL_TAG_ROLE, (const char *) role->name)) { role 174 lib/common/acl.c const char *role_id = crm_element_value(role, role 180 lib/common/acl.c acls = parse_acl_entry(acl_top, role, acls); role 145 lib/pacemaker/pcmk_output.c if ((rsc->role > RSC_ROLE_STARTED) role 154 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { role 160 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), destination->details->uname); role 168 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s", role2text(rsc->role), origin->details->uname); role 176 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s", role2text(rsc->role), origin->details->uname); role 184 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", origin->details->uname, destination->details->uname, role2text(rsc->role)); role 192 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), origin->details->uname); role 196 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s -> %s %s", role2text(rsc->role), origin->details->uname, role2text(rsc->next_role), destination->details->uname); role 250 lib/pacemaker/pcmk_output.c if ((rsc->role > RSC_ROLE_STARTED) role 259 lib/pacemaker/pcmk_output.c if(rsc->role == rsc->next_role) { role 273 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 285 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 296 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 309 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 322 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 330 lib/pacemaker/pcmk_output.c "role", role2text(rsc->role), role 898 lib/pacemaker/pcmk_output.c rsc->id, role2text(rsc->role), role 945 lib/pacemaker/pcmk_output.c if (rsc->role == rsc->next_role) { role 972 lib/pacemaker/pcmk_output.c role2text(rsc->role), next->details->uname); role 1049 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_PROMOTED) { role 1059 lib/pacemaker/pcmk_output.c } else if (rsc->role == RSC_ROLE_STOPPED && rsc->next_role > RSC_ROLE_STOPPED) { role 660 lib/pacemaker/pcmk_sched_allocate.c || (rsc->role != RSC_ROLE_STOPPED)) { role 296 lib/pacemaker/pcmk_sched_colocation.c const char *role = crm_element_value(set, "role"); role 328 lib/pacemaker/pcmk_sched_colocation.c with, role, role, role 346 lib/pacemaker/pcmk_sched_colocation.c resource, role, role, role 381 lib/pacemaker/pcmk_sched_colocation.c resource, with, role, role, role 110 lib/pacemaker/pcmk_sched_group.c rsc->role = group_data->first_child->role; role 59 lib/pacemaker/pcmk_sched_location.c const char *role = NULL; role 78 lib/pacemaker/pcmk_sched_location.c role = crm_element_value(rule_xml, XML_RULE_ATTR_ROLE); role 82 lib/pacemaker/pcmk_sched_location.c if ((role != NULL) && (text2role(role) == RSC_ROLE_UNKNOWN)) { role 83 lib/pacemaker/pcmk_sched_location.c pe_err("Bad role specified for %s: %s", rule_id, role); role 116 lib/pacemaker/pcmk_sched_location.c if (role != NULL) { role 117 lib/pacemaker/pcmk_sched_location.c crm_trace("Setting role filter: %s", role); role 118 lib/pacemaker/pcmk_sched_location.c location_rule->role_filter = text2role(role); role 200 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, const char *role, role 263 lib/pacemaker/pcmk_sched_location.c if (role == NULL) { role 264 lib/pacemaker/pcmk_sched_location.c role = crm_element_value(xml_obj, XML_RULE_ATTR_ROLE); role 267 lib/pacemaker/pcmk_sched_location.c if ((location != NULL) && (role != NULL)) { role 268 lib/pacemaker/pcmk_sched_location.c if (text2role(role) == RSC_ROLE_UNKNOWN) { role 269 lib/pacemaker/pcmk_sched_location.c pe_err("Invalid constraint %s: Bad role %s", id, role); role 273 lib/pacemaker/pcmk_sched_location.c enum rsc_role_e r = text2role(role); role 446 lib/pacemaker/pcmk_sched_location.c const char *role; role 459 lib/pacemaker/pcmk_sched_location.c role = crm_element_value(set, "role"); role 473 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(location, resource, role, local_score, data_set, role 568 lib/pacemaker/pcmk_sched_native.c } else if(rsc->next_role > rsc->role role 572 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role)); role 573 lib/pacemaker/pcmk_sched_native.c pe__set_next_role(rsc, rsc->role, "no-quorum-policy=freeze"); role 587 lib/pacemaker/pcmk_sched_native.c pe__set_next_role(rsc, rsc->role, "unmanaged"); role 591 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { role 702 lib/pacemaker/pcmk_sched_native.c const char *role = NULL; role 714 lib/pacemaker/pcmk_sched_native.c role = crm_element_value(operation, "role"); role 715 lib/pacemaker/pcmk_sched_native.c if (role && text2role(role) == RSC_ROLE_STOPPED) { role 779 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) role 780 lib/pacemaker/pcmk_sched_native.c || (role != NULL && text2role(role) != rsc->next_role)) { role 793 lib/pacemaker/pcmk_sched_native.c switch (rsc->role) { role 818 lib/pacemaker/pcmk_sched_native.c result, key, role ? role : role2text(RSC_ROLE_UNPROMOTED), role 867 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { role 899 lib/pacemaker/pcmk_sched_native.c const char *role = NULL; role 908 lib/pacemaker/pcmk_sched_native.c role = crm_element_value(operation, "role"); role 909 lib/pacemaker/pcmk_sched_native.c if (role == NULL || text2role(role) != RSC_ROLE_STOPPED) { role 971 lib/pacemaker/pcmk_sched_native.c key, role, role2text(rsc->next_role), node_uname); role 1204 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e role = rsc->role; role 1210 lib/pacemaker/pcmk_sched_native.c while (role != RSC_ROLE_STOPPED) { role 1211 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][RSC_ROLE_STOPPED]; role 1214 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); role 1215 lib/pacemaker/pcmk_sched_native.c if (!rsc_action_matrix[role][next_role](rsc, current, !need_stop, role 1219 lib/pacemaker/pcmk_sched_native.c role = next_role; role 1223 lib/pacemaker/pcmk_sched_native.c while ((rsc->role <= rsc->next_role) && (role != rsc->role) role 1227 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->role]; role 1233 lib/pacemaker/pcmk_sched_native.c role2text(role), role2text(next_role)); role 1234 lib/pacemaker/pcmk_sched_native.c if (!rsc_action_matrix[role][next_role](rsc, chosen, !required, role 1238 lib/pacemaker/pcmk_sched_native.c role = next_role; role 1259 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e role = RSC_ROLE_UNKNOWN; role 1273 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(rsc->role), role2text(rsc->next_role), role 1392 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { role 1409 lib/pacemaker/pcmk_sched_native.c role = rsc->role; role 1410 lib/pacemaker/pcmk_sched_native.c while (role != rsc->next_role) { role 1411 lib/pacemaker/pcmk_sched_native.c next_role = rsc_state_matrix[role][rsc->next_role]; role 1413 lib/pacemaker/pcmk_sched_native.c rsc->id, role2text(role), role2text(next_role), role 1415 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, chosen, FALSE, data_set) == FALSE) { role 1418 lib/pacemaker/pcmk_sched_native.c role = next_role; role 1542 lib/pacemaker/pcmk_sched_native.c || (rsc->role > RSC_ROLE_UNPROMOTED)) { role 1901 lib/pacemaker/pcmk_sched_native.c (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED)) { role 2385 lib/pacemaker/pcmk_sched_native.c if(remote->role == RSC_ROLE_STOPPED) { role 2459 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role == RSC_ROLE_PROMOTED) { role 2463 lib/pacemaker/pcmk_sched_native.c crm_debug("Probing %s on %s (%s) %d %p", rsc->id, node->details->uname, role2text(rsc->role), role 2469 lib/pacemaker/pcmk_sched_native.c crm_trace("Probing %s on %s (%s) as %s", rsc->id, node->details->uname, role2text(rsc->role), top->id); role 568 lib/pacemaker/pcmk_sched_notif.c switch (rsc->role) { role 593 lib/pacemaker/pcmk_sched_notif.c role2text(rsc->role)); role 855 lib/pacemaker/pcmk_sched_notif.c if ((rsc->role != RSC_ROLE_STOPPED) role 185 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e role = RSC_ROLE_UNKNOWN; role 187 lib/pacemaker/pcmk_sched_promotable.c role = rsc->fns->state(rsc, FALSE); role 188 lib/pacemaker/pcmk_sched_promotable.c crm_info("%s role: %s", rsc->id, role2text(role)); role 632 lib/pacemaker/pcmk_sched_promotable.c if (rsc->role == RSC_ROLE_STARTED) { role 633 lib/pacemaker/pcmk_sched_promotable.c rsc->role = RSC_ROLE_UNPROMOTED; role 793 lib/pacemaker/pcmk_sched_promotable.c } else if ((child_rsc->role < RSC_ROLE_PROMOTED) role 797 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), role2text(child_rsc->next_role)); role 804 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), chosen->details->uname); role 298 lib/pacemaker/pcmk_sched_resource.c if (rsc->role == RSC_ROLE_STOPPED) { role 303 lib/pacemaker/pcmk_sched_resource.c rsc->role = RSC_ROLE_STARTED; role 34 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->role_lh == rsc_lh->role)) { role 230 lib/pacemaker/pcmk_sched_tickets.c const char *role = NULL; role 242 lib/pacemaker/pcmk_sched_tickets.c role = crm_element_value(set, "role"); role 258 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(set_id, resource, ticket, role, loss_policy, data_set); role 624 lib/pengine/clone.c enum rsc_role_e role = configured_role(rsc); role 626 lib/pengine/clone.c if (role == RSC_ROLE_UNPROMOTED) { role 646 lib/pengine/clone.c enum rsc_role_e role = configured_role(rsc); role 648 lib/pengine/clone.c if (role == RSC_ROLE_STOPPED) { role 927 lib/pengine/clone.c enum rsc_role_e role = configured_role(rsc); role 929 lib/pengine/clone.c if (role == RSC_ROLE_UNPROMOTED) { role 454 lib/pengine/common.c role2text(enum rsc_role_e role) role 456 lib/pengine/common.c switch (role) { role 476 lib/pengine/common.c CRM_CHECK(role >= RSC_ROLE_UNKNOWN, return RSC_ROLE_UNKNOWN_S); role 477 lib/pengine/common.c CRM_CHECK(role < RSC_ROLE_MAX, return RSC_ROLE_UNKNOWN_S); role 483 lib/pengine/common.c text2role(const char *role) role 485 lib/pengine/common.c CRM_ASSERT(role != NULL); role 486 lib/pengine/common.c if (pcmk__str_eq(role, RSC_ROLE_STOPPED_S, pcmk__str_casei)) { role 488 lib/pengine/common.c } else if (pcmk__str_eq(role, RSC_ROLE_STARTED_S, pcmk__str_casei)) { role 490 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_UNPROMOTED_S, role 493 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, role 496 lib/pengine/common.c } else if (pcmk__str_eq(role, RSC_ROLE_UNKNOWN_S, pcmk__str_casei)) { role 499 lib/pengine/common.c crm_err("Unknown role: %s", role); role 151 lib/pengine/complex.c .role = RSC_ROLE_UNKNOWN, role 195 lib/pengine/complex.c .role = RSC_ROLE_UNKNOWN, role 227 lib/pengine/complex.c .role = RSC_ROLE_UNKNOWN, role 254 lib/pengine/complex.c const char *role = crm_element_value(op, "role"); role 257 lib/pengine/complex.c if ((role == NULL) role 258 lib/pengine/complex.c || pcmk__strcase_any_of(role, RSC_ROLE_STARTED_S, RSC_ROLE_UNPROMOTED_S, role 260 lib/pengine/complex.c role = RSC_ROLE_UNKNOWN_S; role 263 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); role 508 lib/pengine/complex.c .role = RSC_ROLE_UNKNOWN, role 594 lib/pengine/complex.c (*rsc)->role = RSC_ROLE_STOPPED; role 1106 lib/pengine/complex.c || (rsc->role > RSC_ROLE_STOPPED)) { role 1126 lib/pengine/complex.c pe__set_next_role(pe_resource_t *rsc, enum rsc_role_e role, const char *why) role 1129 lib/pengine/complex.c if (rsc->next_role != role) { role 1131 lib/pengine/complex.c rsc->id, role2text(rsc->next_role), role2text(role), why); role 1132 lib/pengine/complex.c rsc->next_role = role; role 391 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); role 393 lib/pengine/group.c if (role > group_role) { role 394 lib/pengine/group.c group_role = role; role 55 lib/pengine/native.c if (rsc->role == RSC_ROLE_PROMOTED) { role 66 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", role 68 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : ""); role 83 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? "promoted " : "", role 85 lib/pengine/native.c (rsc->role == RSC_ROLE_PROMOTED)? " + 1" : "", role 425 lib/pengine/native.c enum rsc_role_e role = rsc->role; role 427 lib/pengine/native.c if ((role == RSC_ROLE_STARTED) role 430 lib/pengine/native.c role = RSC_ROLE_UNPROMOTED; role 432 lib/pengine/native.c return role; role 589 lib/pengine/native.c enum rsc_role_e role = native_displayable_role(rsc); role 591 lib/pengine/native.c if (role > RSC_ROLE_UNPROMOTED) { role 592 lib/pengine/native.c g_string_append_printf(outstr, " FAILED %s", role2text(role)); role 1037 lib/pengine/native.c enum rsc_role_e role = rsc->next_role; role 1040 lib/pengine/native.c role = rsc->role; role 1042 lib/pengine/native.c pe_rsc_trace(rsc, "%s state: %s", rsc->id, role2text(role)); role 1043 lib/pengine/native.c return role; role 527 lib/pengine/pe_output.c role_desc(enum rsc_role_e role) role 529 lib/pengine/pe_output.c if (role == RSC_ROLE_PROMOTED) { role 44 lib/pengine/rules.c .role = RSC_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 635 lib/pengine/rules.c .role = RSC_ROLE_UNKNOWN, role 1265 lib/pengine/rules.c if (rule_data->role == RSC_ROLE_UNKNOWN) { role 1273 lib/pengine/rules.c if (rule_data->role > RSC_ROLE_STARTED) { role 1278 lib/pengine/rules.c if ((rule_data->role > RSC_ROLE_UNKNOWN) role 1279 lib/pengine/rules.c && (rule_data->role < RSC_ROLE_UNPROMOTED)) { role 1284 lib/pengine/rules.c if (text2role(value) == rule_data->role) { role 1290 lib/pengine/rules.c if ((rule_data->role > RSC_ROLE_UNKNOWN) role 1291 lib/pengine/rules.c && (rule_data->role < RSC_ROLE_UNPROMOTED)) { role 1294 lib/pengine/rules.c } else if (text2role(value) != rule_data->role) { role 1349 lib/pengine/rules.c test_rule(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) role 1351 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, NULL); role 1355 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 1362 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, &match_data); role 1366 lib/pengine/rules.c pe_test_rule_full(xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, role 1369 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, match_data); role 1373 lib/pengine/rules.c test_expression(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) role 1375 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, NULL); role 1379 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 1386 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, &match_data); role 1391 lib/pengine/rules.c enum rsc_role_e role, crm_time_t *now, role 1394 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, match_data); role 1405 lib/pengine/rules.c .role = RSC_ROLE_UNKNOWN, role 203 lib/pengine/unpack.c .role = RSC_ROLE_UNKNOWN, role 547 lib/pengine/unpack.c .role = RSC_ROLE_UNKNOWN, role 1192 lib/pengine/unpack.c if ((rsc == NULL) || (rsc->role != RSC_ROLE_STARTED) role 1193 lib/pengine/unpack.c || (rsc->container->role != RSC_ROLE_STARTED)) { role 1210 lib/pengine/unpack.c && (rsc->role != RSC_ROLE_STARTED))) { role 1475 lib/pengine/unpack.c if (rsc->role == RSC_ROLE_STARTED) { role 1482 lib/pengine/unpack.c if (rsc->role == RSC_ROLE_STARTED && rsc->next_role == RSC_ROLE_STOPPED) { role 1500 lib/pengine/unpack.c } else if (rsc->role == RSC_ROLE_STOPPED role 1501 lib/pengine/unpack.c || (container && container->role == RSC_ROLE_STOPPED)) { role 1962 lib/pengine/unpack.c rsc->id, role2text(rsc->role), node->details->uname, fail2text(on_fail)); role 1965 lib/pengine/unpack.c if (rsc->role != RSC_ROLE_UNKNOWN) { role 1987 lib/pengine/unpack.c if (rsc->role > RSC_ROLE_STOPPED role 2087 lib/pengine/unpack.c if (rsc->role != RSC_ROLE_STOPPED && rsc->role != RSC_ROLE_UNKNOWN) { role 2105 lib/pengine/unpack.c } else if (rsc->role != RSC_ROLE_STOPPED && rsc->role != RSC_ROLE_UNKNOWN) { role 2130 lib/pengine/unpack.c if (rsc->role > RSC_ROLE_STOPPED) { role 2153 lib/pengine/unpack.c if (rsc->role != RSC_ROLE_STOPPED && rsc->role != RSC_ROLE_UNKNOWN) { role 2402 lib/pengine/unpack.c saved_role = rsc->role; role 2403 lib/pengine/unpack.c rsc->role = RSC_ROLE_UNKNOWN; role 2437 lib/pengine/unpack.c if (saved_role > rsc->role) { role 2438 lib/pengine/unpack.c rsc->role = saved_role; role 2534 lib/pengine/unpack.c rsc->role = RSC_ROLE_UNPROMOTED; role 2536 lib/pengine/unpack.c rsc->role = RSC_ROLE_STARTED; role 2670 lib/pengine/unpack.c rsc->role = RSC_ROLE_STARTED; role 2693 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; role 2755 lib/pengine/unpack.c rsc->role = RSC_ROLE_STARTED; role 2822 lib/pengine/unpack.c rsc->role = RSC_ROLE_STARTED; role 3063 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; role 3067 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; role 3072 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; role 3080 lib/pengine/unpack.c rsc->role = RSC_ROLE_UNPROMOTED; role 3087 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; role 3089 lib/pengine/unpack.c } else if (rsc->role < RSC_ROLE_STARTED) { role 3095 lib/pengine/unpack.c rsc->id, role2text(rsc->role), role 3249 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; role 3265 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; role 3270 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; role 3587 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; role 3602 lib/pengine/unpack.c if (rsc->role < RSC_ROLE_STARTED) { role 3607 lib/pengine/unpack.c rsc->role = RSC_ROLE_STARTED; role 3611 lib/pengine/unpack.c rsc->role = RSC_ROLE_STOPPED; role 3615 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; role 3624 lib/pengine/unpack.c rsc->role = RSC_ROLE_UNPROMOTED; role 3627 lib/pengine/unpack.c rsc->role = RSC_ROLE_STARTED; role 3633 lib/pengine/unpack.c } else if (rsc->role < RSC_ROLE_STARTED) { role 3724 lib/pengine/unpack.c task_key, task, task_id, status, rc, node->details->uname, role2text(rsc->role)); role 3758 lib/pengine/unpack.c if (rsc->role <= RSC_ROLE_STOPPED) { role 3759 lib/pengine/unpack.c rsc->role = RSC_ROLE_UNKNOWN; role 3819 lib/pengine/unpack.c rsc->role = RSC_ROLE_PROMOTED; role 3949 lib/pengine/unpack.c rsc->id, task, role2text(rsc->role), role 3961 lib/pengine/unpack.c .role = RSC_ROLE_UNKNOWN, role 396 lib/pengine/utils.c switch (rsc->role) { role 552 lib/pengine/utils.c .role = RSC_ROLE_UNKNOWN, role 670 lib/pengine/utils.c || (action->rsc->next_role > action->rsc->role)) { role 777 lib/pengine/utils.c const char *role = NULL; role 805 lib/pengine/utils.c role = crm_element_value(operation, "role"); role 813 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, role 830 lib/pengine/utils.c role = crm_element_value(action->op_entry, "role"); role 836 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, role 973 lib/pengine/utils.c .role = RSC_ROLE_UNKNOWN, role 1087 lib/pengine/utils.c .role = RSC_ROLE_UNKNOWN, role 1868 lib/pengine/utils.c get_target_role(pe_resource_t * rsc, enum rsc_role_e * role) role 1873 lib/pengine/utils.c CRM_CHECK(role != NULL, return FALSE); role 1901 lib/pengine/utils.c *role = local_role; role 24 tools/crm_resource_runtime.c enum rsc_role_e role = text2role(role_s); role 26 tools/crm_resource_runtime.c if (role == RSC_ROLE_STOPPED) { role 29 tools/crm_resource_runtime.c (role == RSC_ROLE_UNPROMOTED)) { role 105 tools/crm_rule.c .role = RSC_ROLE_UNKNOWN,