instance 23 daemons/controld/controld_membership.c void post_cache_update(int instance); instance 61 daemons/controld/controld_membership.c post_cache_update(int instance) instance 65 daemons/controld/controld_membership.c crm_peer_seq = instance; instance 66 daemons/controld/controld_membership.c crm_debug("Updated cache after membership event %d.", instance); instance 18 daemons/controld/controld_membership.h void post_cache_update(int instance); instance 535 include/crm/pengine/internal.h const pcmk_resource_t *pe__get_rsc_in_container(const pcmk_resource_t *instance); instance 985 lib/pacemaker/libpacemaker_private.h bool pcmk__instance_matches(const pcmk_resource_t *instance, instance 2135 lib/pacemaker/pcmk_output.c const char *instance = va_arg(args, const char *); instance 2146 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(instance)) { instance 2147 lib/pacemaker/pcmk_output.c pcmk__g_strcat(s, "id=\"", instance, "\" ", NULL); instance 2170 lib/pacemaker/pcmk_output.c const char *instance = va_arg(args, const char *); instance 2186 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(instance)) { instance 2187 lib/pacemaker/pcmk_output.c crm_xml_add(node, "id", instance); instance 157 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 159 lib/pacemaker/pcmk_sched_clone.c instance->cmds->internal_constraints(instance); instance 162 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(rsc, instance, pcmk__ar_unrunnable_first_blocks instance 164 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(instance, PCMK_ACTION_START, instance 169 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(rsc, instance, pcmk__ar_then_implies_first_graphed); instance 170 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(instance, PCMK_ACTION_STOP, instance 181 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(instance, (pcmk_resource_t *) later->data, instance 183 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops((pcmk_resource_t *) later->data, instance, instance 327 lib/pacemaker/pcmk_sched_clone.c const pcmk_resource_t *instance = iter->data; instance 328 lib/pacemaker/pcmk_sched_clone.c pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0); instance 331 lib/pacemaker/pcmk_sched_clone.c && !is_set_recursive(instance, pcmk_rsc_blocked, TRUE)) { instance 346 lib/pacemaker/pcmk_sched_clone.c const pcmk_resource_t *instance = iter->data; instance 348 lib/pacemaker/pcmk_sched_clone.c instance->cmds->apply_coloc_score(dependent, instance, colocation, instance 413 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 415 lib/pacemaker/pcmk_sched_clone.c instance->cmds->apply_location(instance, location); instance 506 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 508 lib/pacemaker/pcmk_sched_clone.c if (rsc_probed_on(instance, node)) { instance 509 lib/pacemaker/pcmk_sched_clone.c return instance; instance 531 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 534 lib/pacemaker/pcmk_sched_clone.c instance_node = instance->fns->location(instance, NULL, 0); instance 536 lib/pacemaker/pcmk_sched_clone.c child = instance; instance 30 lib/pacemaker/pcmk_sched_instances.c can_run_instance(const pcmk_resource_t *instance, const pcmk_node_t *node, instance 35 lib/pacemaker/pcmk_sched_instances.c if (pcmk_is_set(instance->flags, pcmk_rsc_removed)) { instance 36 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "%s cannot run on %s: orphaned", instance 37 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node)); instance 42 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, instance 44 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node)); instance 48 lib/pacemaker/pcmk_sched_instances.c allowed_node = pcmk__top_allowed_node(instance, node); instance 51 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node)); instance 56 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "%s cannot run on %s: parent score is %s there", instance 57 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node), instance 63 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, instance 65 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node), max_per_node, instance 70 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "%s can run on %s (%d already running)", instance 71 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node), allowed_node->count); instance 83 lib/pacemaker/pcmk_sched_instances.c ban_unavailable_allowed_nodes(pcmk_resource_t *instance, int max_per_node) instance 85 lib/pacemaker/pcmk_sched_instances.c if (instance->allowed_nodes != NULL) { instance 89 lib/pacemaker/pcmk_sched_instances.c g_hash_table_iter_init(&iter, instance->allowed_nodes); instance 91 lib/pacemaker/pcmk_sched_instances.c if (!can_run_instance(instance, node, max_per_node)) { instance 92 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "Banning %s from unavailable node %s", instance 93 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node)); instance 95 lib/pacemaker/pcmk_sched_instances.c for (GList *child_iter = instance->children; instance 103 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, instance 106 lib/pacemaker/pcmk_sched_instances.c instance->id, child->id, instance 520 lib/pacemaker/pcmk_sched_instances.c increment_parent_count(pcmk_resource_t *instance, instance 528 lib/pacemaker/pcmk_sched_instances.c allowed = pcmk__top_allowed_node(instance, assigned_to); instance 535 lib/pacemaker/pcmk_sched_instances.c CRM_LOG_ASSERT(!pcmk_is_set(instance->flags, pcmk_rsc_managed)); instance 555 lib/pacemaker/pcmk_sched_instances.c assign_instance(pcmk_resource_t *instance, const pcmk_node_t *prefer, instance 560 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "Assigning %s (preferring %s)", instance->id, instance 563 lib/pacemaker/pcmk_sched_instances.c if (pcmk_is_set(instance->flags, pcmk_rsc_assigning)) { instance 564 lib/pacemaker/pcmk_sched_instances.c pe_rsc_debug(instance, instance 566 lib/pacemaker/pcmk_sched_instances.c instance->id); instance 569 lib/pacemaker/pcmk_sched_instances.c ban_unavailable_allowed_nodes(instance, max_per_node); instance 572 lib/pacemaker/pcmk_sched_instances.c chosen = instance->cmds->assign(instance, prefer, (prefer == NULL)); instance 573 lib/pacemaker/pcmk_sched_instances.c increment_parent_count(instance, chosen); instance 591 lib/pacemaker/pcmk_sched_instances.c assign_instance_early(const pcmk_resource_t *rsc, pcmk_resource_t *instance, instance 598 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *parent = instance->parent; instance 603 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "Trying to assign %s to its current node %s", instance 604 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); instance 606 lib/pacemaker/pcmk_sched_instances.c allowed_node = g_hash_table_lookup(instance->allowed_nodes, instance 609 lib/pacemaker/pcmk_sched_instances.c pe_rsc_info(instance, instance 611 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); instance 633 lib/pacemaker/pcmk_sched_instances.c pcmk__copy_node_tables(instance, &allowed_orig); instance 639 lib/pacemaker/pcmk_sched_instances.c chosen = assign_instance(instance, current, max_per_node); instance 647 lib/pacemaker/pcmk_sched_instances.c pe_rsc_debug(instance, "Rolling back node scores for %s", instance->id); instance 648 lib/pacemaker/pcmk_sched_instances.c pcmk__restore_node_tables(instance, allowed_orig); instance 652 lib/pacemaker/pcmk_sched_instances.c pe_rsc_info(instance, instance 654 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); instance 655 lib/pacemaker/pcmk_sched_instances.c pe__set_resource_flags(instance, pcmk_rsc_unassigned); instance 660 lib/pacemaker/pcmk_sched_instances.c pe_rsc_debug(instance, instance 662 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current), instance 667 lib/pacemaker/pcmk_sched_instances.c pe_rsc_info(instance, instance 670 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); instance 673 lib/pacemaker/pcmk_sched_instances.c pe_rsc_debug(instance, instance 676 lib/pacemaker/pcmk_sched_instances.c rsc->id, pe__node_name(chosen), instance->id, instance 681 lib/pacemaker/pcmk_sched_instances.c pcmk__unassign_resource(instance); instance 695 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "Assigned %s to current node %s", instance 696 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); instance 697 lib/pacemaker/pcmk_sched_instances.c increment_parent_count(instance, chosen); instance 736 lib/pacemaker/pcmk_sched_instances.c preferred_node(const pcmk_resource_t *instance, int optimal_per_node) instance 742 lib/pacemaker/pcmk_sched_instances.c if ((instance->running_on == NULL) instance 743 lib/pacemaker/pcmk_sched_instances.c || !pcmk_is_set(instance->flags, pcmk_rsc_unassigned) instance 744 lib/pacemaker/pcmk_sched_instances.c || pcmk_is_set(instance->flags, pcmk_rsc_failed)) { instance 749 lib/pacemaker/pcmk_sched_instances.c node = pe__current_node(instance); instance 751 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "Not assigning %s to %s early (unavailable)", instance 752 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node)); instance 757 lib/pacemaker/pcmk_sched_instances.c parent_node = pcmk__top_allowed_node(instance, node); instance 759 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, instance 762 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(node)); instance 788 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *instance = NULL; instance 810 lib/pacemaker/pcmk_sched_instances.c instance = iter->data; instance 811 lib/pacemaker/pcmk_sched_instances.c if (!pcmk_is_set(instance->flags, pcmk_rsc_unassigned)) { instance 815 lib/pacemaker/pcmk_sched_instances.c current = preferred_node(instance, optimal_per_node); instance 817 lib/pacemaker/pcmk_sched_instances.c && assign_instance_early(collective, instance, current, instance 827 lib/pacemaker/pcmk_sched_instances.c instance = (pcmk_resource_t *) iter->data; instance 829 lib/pacemaker/pcmk_sched_instances.c if (!pcmk_is_set(instance->flags, pcmk_rsc_unassigned)) { instance 833 lib/pacemaker/pcmk_sched_instances.c if (instance->running_on != NULL) { instance 834 lib/pacemaker/pcmk_sched_instances.c current = pe__current_node(instance); instance 835 lib/pacemaker/pcmk_sched_instances.c if (pcmk__top_allowed_node(instance, current) == NULL) { instance 838 lib/pacemaker/pcmk_sched_instances.c if (!pcmk_is_set(instance->flags, pcmk_rsc_managed)) { instance 842 lib/pacemaker/pcmk_sched_instances.c unmanaged, instance->id, pe__node_name(current)); instance 850 lib/pacemaker/pcmk_sched_instances.c instance->id, max_total); instance 851 lib/pacemaker/pcmk_sched_instances.c resource_location(instance, NULL, -INFINITY, instance 854 lib/pacemaker/pcmk_sched_instances.c } else if (assign_instance(instance, NULL, max_per_node) != NULL) { instance 889 lib/pacemaker/pcmk_sched_instances.c check_instance_state(const pcmk_resource_t *instance, uint32_t *state) instance 900 lib/pacemaker/pcmk_sched_instances.c if (instance->variant > pcmk_rsc_variant_primitive) { instance 901 lib/pacemaker/pcmk_sched_instances.c for (iter = instance->children; instance 911 lib/pacemaker/pcmk_sched_instances.c if (instance->running_on != NULL) { instance 916 lib/pacemaker/pcmk_sched_instances.c for (iter = instance->actions; instance 929 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "Instance is starting due to %s", instance 933 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "%s doesn't affect %s state (%s)", instance 934 lib/pacemaker/pcmk_sched_instances.c action->uuid, instance->id, instance 947 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "Instance is stopping due to %s", instance 951 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "%s doesn't affect %s state (%s)", instance 952 lib/pacemaker/pcmk_sched_instances.c action->uuid, instance->id, instance 988 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 990 lib/pacemaker/pcmk_sched_instances.c instance->cmds->create_actions(instance); instance 991 lib/pacemaker/pcmk_sched_instances.c check_instance_state(instance, &state); instance 1074 lib/pacemaker/pcmk_sched_instances.c pcmk__instance_matches(const pcmk_resource_t *instance, const pcmk_node_t *node, instance 1079 lib/pacemaker/pcmk_sched_instances.c CRM_CHECK((instance != NULL) && (node != NULL), return false); instance 1082 lib/pacemaker/pcmk_sched_instances.c && (role != instance->fns->state(instance, current))) { instance 1083 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, instance 1085 lib/pacemaker/pcmk_sched_instances.c instance->id, role2text(role)); instance 1089 lib/pacemaker/pcmk_sched_instances.c if (!is_set_recursive(instance, pcmk_rsc_blocked, true)) { instance 1091 lib/pacemaker/pcmk_sched_instances.c instance_node = instance->fns->location(instance, NULL, current); instance 1095 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, instance 1097 lib/pacemaker/pcmk_sched_instances.c instance->id); instance 1102 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, instance 1104 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(instance_node), instance 1135 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 1137 lib/pacemaker/pcmk_sched_instances.c if (pcmk__instance_matches(instance, node, role, current)) { instance 1141 lib/pacemaker/pcmk_sched_instances.c rsc->id, instance->id, match_rsc->id, instance 1144 lib/pacemaker/pcmk_sched_instances.c return instance; instance 1173 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *instance = NULL; instance 1187 lib/pacemaker/pcmk_sched_instances.c for (GList *iter = nodes; (iter != NULL) && (instance == NULL); instance 1189 lib/pacemaker/pcmk_sched_instances.c instance = find_compatible_instance_on_node(match_rsc, rsc, instance 1194 lib/pacemaker/pcmk_sched_instances.c if (instance == NULL) { instance 1199 lib/pacemaker/pcmk_sched_instances.c return instance; instance 1256 lib/pacemaker/pcmk_sched_instances.c find_instance_action(const pcmk_action_t *action, const pcmk_resource_t *instance, instance 1286 lib/pacemaker/pcmk_sched_instances.c rsc = pe__get_rsc_in_container(instance); instance 1289 lib/pacemaker/pcmk_sched_instances.c rsc = instance; // No containerized resource, use instance itself instance 1299 lib/pacemaker/pcmk_sched_instances.c if (pcmk_is_set(instance->flags, pcmk_rsc_removed) instance 1304 lib/pacemaker/pcmk_sched_instances.c pcmk_is_set(instance->flags, pcmk_rsc_removed)? "orphan " : "", instance 1305 lib/pacemaker/pcmk_sched_instances.c instance->id); instance 1308 lib/pacemaker/pcmk_sched_instances.c action_name, instance->id); instance 1330 lib/pacemaker/pcmk_sched_instances.c const pcmk_resource_t *instance = action->rsc->children->data; instance 1346 lib/pacemaker/pcmk_sched_instances.c orig_task = get_complex_task(instance, action_name); instance 1505 lib/pacemaker/pcmk_sched_instances.c update_noninterleaved_actions(pcmk_resource_t *instance, pcmk_action_t *first, instance 1514 lib/pacemaker/pcmk_sched_instances.c instance_action = find_first_action(instance->actions, NULL, then->task, instance 1521 lib/pacemaker/pcmk_sched_instances.c instance_flags = instance->cmds->action_flags(instance_action, node); instance 1527 lib/pacemaker/pcmk_sched_instances.c changed = instance->cmds->update_ordered_actions(first, instance_action, instance 1529 lib/pacemaker/pcmk_sched_instances.c instance->cluster); instance 1537 lib/pacemaker/pcmk_sched_instances.c pcmk__update_action_for_orderings(after->action, instance->cluster); instance 1591 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *instance = iter->data; instance 1593 lib/pacemaker/pcmk_sched_instances.c changed |= update_noninterleaved_actions(instance, first, then, instance 1630 lib/pacemaker/pcmk_sched_instances.c const pcmk_resource_t *instance = iter->data; instance 1636 lib/pacemaker/pcmk_sched_instances.c if (instance->variant == pcmk_rsc_variant_primitive) { instance 1640 lib/pacemaker/pcmk_sched_instances.c instance_action = find_first_action(instance->actions, NULL, instance 1644 lib/pacemaker/pcmk_sched_instances.c instance->id, action_name, pe__node_name(node)); instance 1649 lib/pacemaker/pcmk_sched_instances.c instance->id, instance_action->uuid, action_name, instance 1652 lib/pacemaker/pcmk_sched_instances.c instance_flags = instance->cmds->action_flags(instance_action, node); instance 1657 lib/pacemaker/pcmk_sched_instances.c pe_rsc_trace(instance, "%s is mandatory because %s is", instance 876 lib/pacemaker/pcmk_sched_promotable.c show_promotion_score(pcmk_resource_t *instance) instance 878 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE); instance 880 lib/pacemaker/pcmk_sched_promotable.c if (pcmk_is_set(instance->cluster->flags, pcmk_sched_output_scores) instance 881 lib/pacemaker/pcmk_sched_promotable.c && !pcmk__is_daemon && (instance->cluster->priv != NULL)) { instance 883 lib/pacemaker/pcmk_sched_promotable.c pcmk__output_t *out = instance->cluster->priv; instance 885 lib/pacemaker/pcmk_sched_promotable.c out->message(out, "promotion-score", instance, chosen, instance 886 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(instance->sort_index)); instance 888 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(pe__const_top_resource(instance, false), instance 890 lib/pacemaker/pcmk_sched_promotable.c instance->id, instance 892 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(instance->sort_index), instance 893 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(instance->priority)); instance 907 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *instance = (pcmk_resource_t *) data; instance 913 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning priority for %s: %s", instance->id, instance 914 lib/pacemaker/pcmk_sched_promotable.c role2text(instance->next_role)); instance 916 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, TRUE) == pcmk_role_started) { instance 917 lib/pacemaker/pcmk_sched_promotable.c set_current_role_unpromoted(instance, NULL); instance 921 lib/pacemaker/pcmk_sched_promotable.c chosen = instance->fns->location(instance, &list, FALSE); instance 924 lib/pacemaker/pcmk_sched_promotable.c instance->id); instance 931 lib/pacemaker/pcmk_sched_promotable.c next_role = instance->fns->state(instance, FALSE); instance 939 lib/pacemaker/pcmk_sched_promotable.c instance->priority = promotion_score(instance, chosen, instance 949 lib/pacemaker/pcmk_sched_promotable.c instance->priority = -1; instance 957 lib/pacemaker/pcmk_sched_promotable.c instance->priority = -INFINITY; instance 966 lib/pacemaker/pcmk_sched_promotable.c next_role, instance->id)); instance 970 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, instance->rsc_location, chosen); instance 971 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, clone->rsc_location, chosen); instance 974 lib/pacemaker/pcmk_sched_promotable.c list = pcmk__this_with_colocations(instance); instance 978 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); instance 982 lib/pacemaker/pcmk_sched_promotable.c instance->sort_index = instance->priority; instance 984 lib/pacemaker/pcmk_sched_promotable.c instance->sort_index = INFINITY; instance 987 lib/pacemaker/pcmk_sched_promotable.c instance->id, instance->priority); instance 1000 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *instance = (pcmk_resource_t *) data; instance 1003 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *clone = pe__const_top_resource(instance, false); instance 1006 lib/pacemaker/pcmk_sched_promotable.c show_promotion_score(instance); instance 1008 lib/pacemaker/pcmk_sched_promotable.c if (instance->sort_index < 0) { instance 1010 lib/pacemaker/pcmk_sched_promotable.c instance->id); instance 1012 lib/pacemaker/pcmk_sched_promotable.c } else if ((*count < pe__clone_promoted_max(instance)) instance 1014 lib/pacemaker/pcmk_sched_promotable.c chosen = node_to_be_promoted_on(instance); instance 1018 lib/pacemaker/pcmk_sched_promotable.c set_next_role_unpromoted(instance, NULL); instance 1022 lib/pacemaker/pcmk_sched_promotable.c if ((instance->role < pcmk_role_promoted) instance 1023 lib/pacemaker/pcmk_sched_promotable.c && !pcmk_is_set(instance->cluster->flags, pcmk_sched_quorate) instance 1024 lib/pacemaker/pcmk_sched_promotable.c && (instance->cluster->no_quorum_policy == pcmk_no_quorum_freeze)) { instance 1026 lib/pacemaker/pcmk_sched_promotable.c instance->id); instance 1027 lib/pacemaker/pcmk_sched_promotable.c set_next_role_unpromoted(instance, NULL); instance 1033 lib/pacemaker/pcmk_sched_promotable.c instance->id, role2text(instance->role), instance 1035 lib/pacemaker/pcmk_sched_promotable.c set_next_role_promoted(instance, NULL); instance 1082 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 1084 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->create_actions(instance); instance 1085 lib/pacemaker/pcmk_sched_promotable.c check_for_role_change(instance, any_demoting, any_promoting); instance 1103 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 1105 lib/pacemaker/pcmk_sched_promotable.c instance->priority = clone->priority; instance 1145 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 1148 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(instance, PCMK_ACTION_DEMOTE, instance 1149 lib/pacemaker/pcmk_sched_promotable.c instance, PCMK_ACTION_PROMOTE, instance 1152 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(clone, instance, previous); instance 1153 lib/pacemaker/pcmk_sched_promotable.c order_instance_demotion(clone, instance, previous); instance 1154 lib/pacemaker/pcmk_sched_promotable.c previous = instance; instance 1225 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *instance = (pcmk_resource_t *) iter->data; instance 1226 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *node = instance->fns->location(instance, NULL, FALSE); instance 1231 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, FALSE) == colocation->primary_role) { instance 290 lib/pacemaker/pcmk_sched_tickets.c const char *instance = crm_element_value(xml_obj, instance 295 lib/pacemaker/pcmk_sched_tickets.c if (instance != NULL) { instance 336 lib/pacemaker/pcmk_sched_tickets.c } else if ((instance != NULL) && !pe_rsc_is_clone(rsc)) { instance 339 lib/pacemaker/pcmk_sched_tickets.c id, rsc_id, instance); instance 343 lib/pacemaker/pcmk_sched_tickets.c if (instance != NULL) { instance 344 lib/pacemaker/pcmk_sched_tickets.c rsc = find_clone_instance(rsc, instance); instance 348 lib/pacemaker/pcmk_sched_tickets.c "'%s'", id, rsc_id, instance); instance 131 lib/pengine/bundle.c pe__get_rsc_in_container(const pcmk_resource_t *instance) instance 134 lib/pengine/bundle.c const pcmk_resource_t *top = pe__const_top_resource(instance, true); instance 144 lib/pengine/bundle.c if (instance == replica->container) { instance 501 lib/pengine/clone.c pcmk_resource_t *instance = rsc->children->data; // Any instance will do instance 503 lib/pengine/clone.c target_role = g_hash_table_lookup(instance->meta, instance 291 lib/services/upstart.c char *instance = NULL; instance 336 lib/services/upstart.c instance = strdup(value.str); instance 337 lib/services/upstart.c crm_trace("Result: %s", instance); instance 345 lib/services/upstart.c return instance; instance 54 tools/crm_attribute.c const char *instance = va_arg(args, const char *); instance 66 tools/crm_attribute.c instance ? "id=" : "", instance ? instance : "", instance 76 tools/crm_shadow.c char *instance; instance 155 tools/crm_shadow.c const char *instance = va_arg(args, const char *); instance 164 tools/crm_shadow.c rc = out->info(out, "Instance: %s", pcmk__s(instance, "<unknown>")); instance 222 tools/crm_shadow.c const char *instance = va_arg(args, const char *); instance 236 tools/crm_shadow.c if (pcmk_is_set(flags, shadow_disp_instance) && (instance != NULL)) { instance 237 tools/crm_shadow.c rc = out->info(out, "%s", instance); instance 279 tools/crm_shadow.c const char *instance = va_arg(args, const char *); instance 287 tools/crm_shadow.c "instance", instance, instance 344 tools/crm_shadow.c && !pcmk__str_eq(active, options.instance, pcmk__str_null_matches)) { instance 349 tools/crm_shadow.c reason, options.instance, active); instance 374 tools/crm_shadow.c pcmk__str_update(&options.instance, getenv("CIB_shadow")); instance 375 tools/crm_shadow.c if (options.instance == NULL) { instance 401 tools/crm_shadow.c "exists", options.instance); instance 414 tools/crm_shadow.c options.instance, strerror(errno)); instance 531 tools/crm_shadow.c reset? "reset" : "create", options.instance, instance 549 tools/crm_shadow.c return crm_strdup_printf("shadow[%.40s] # ", options.instance); instance 569 tools/crm_shadow.c if (pcmk__str_eq(active, options.instance, pcmk__str_none) instance 578 tools/crm_shadow.c setenv("CIB_shadow", options.instance, 1); instance 605 tools/crm_shadow.c prefix, options.instance); instance 626 tools/crm_shadow.c if (pcmk__str_eq(active, options.instance, pcmk__str_none)) { instance 670 tools/crm_shadow.c filename = get_shadow_file(options.instance); instance 698 tools/crm_shadow.c options.instance, pcmk_rc_str(rc)); instance 720 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); instance 759 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); instance 771 tools/crm_shadow.c if (!pcmk__str_eq(local, options.instance, pcmk__str_null_matches)) { instance 779 tools/crm_shadow.c options.instance, local); instance 824 tools/crm_shadow.c filename = get_shadow_file(options.instance); instance 830 tools/crm_shadow.c options.instance, strerror(errno)); instance 855 tools/crm_shadow.c filename = get_shadow_file(options.instance); instance 894 tools/crm_shadow.c filename = get_shadow_file(options.instance); instance 906 tools/crm_shadow.c options.instance, NULL, output, NULL, shadow_disp_content); instance 936 tools/crm_shadow.c filename = get_shadow_file(options.instance); instance 957 tools/crm_shadow.c options.instance, NULL, NULL, diff, shadow_disp_diff); instance 986 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); instance 991 tools/crm_shadow.c options.instance, filename, NULL, NULL, shadow_disp_file); instance 1013 tools/crm_shadow.c options.instance, NULL, NULL, NULL, shadow_disp_instance); instance 1030 tools/crm_shadow.c filename = get_shadow_file(options.instance); instance 1080 tools/crm_shadow.c pcmk__str_update(&options.instance, optarg); instance 1300 tools/crm_shadow.c free(options.instance);