instance           22 daemons/controld/controld_membership.c void post_cache_update(int instance);
instance           60 daemons/controld/controld_membership.c post_cache_update(int instance)
instance           64 daemons/controld/controld_membership.c     crm_peer_seq = instance;
instance           65 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          346 include/crm/pengine/internal.h const pcmk_resource_t *pe__get_rsc_in_container(const pcmk_resource_t *instance);
instance          950 lib/pacemaker/libpacemaker_private.h bool pcmk__instance_matches(const pcmk_resource_t *instance,
instance         2141 lib/pacemaker/pcmk_output.c     const char *instance = va_arg(args, const char *);
instance         2179 lib/pacemaker/pcmk_output.c     if (!pcmk__str_empty(instance)) {
instance         2180 lib/pacemaker/pcmk_output.c         KV_PAIR(PCMK_XA_ID, instance);
instance         2208 lib/pacemaker/pcmk_output.c     const char *instance = va_arg(args, const char *);
instance         2226 lib/pacemaker/pcmk_output.c     if (!pcmk__str_empty(instance)) {
instance         2227 lib/pacemaker/pcmk_output.c         crm_xml_add(node, PCMK_XA_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          330 lib/pacemaker/pcmk_sched_clone.c             const pcmk_resource_t *instance = iter->data;
instance          331 lib/pacemaker/pcmk_sched_clone.c             pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0);
instance          334 lib/pacemaker/pcmk_sched_clone.c                 && !is_set_recursive(instance, pcmk_rsc_blocked, TRUE)) {
instance          349 lib/pacemaker/pcmk_sched_clone.c         const pcmk_resource_t *instance = iter->data;
instance          350 lib/pacemaker/pcmk_sched_clone.c         int instance_delta = instance->cmds->apply_coloc_score(dependent,
instance          351 lib/pacemaker/pcmk_sched_clone.c                                                                instance,
instance          420 lib/pacemaker/pcmk_sched_clone.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance          422 lib/pacemaker/pcmk_sched_clone.c         instance->cmds->apply_location(instance, location);
instance          513 lib/pacemaker/pcmk_sched_clone.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance          515 lib/pacemaker/pcmk_sched_clone.c         if (rsc_probed_on(instance, node)) {
instance          516 lib/pacemaker/pcmk_sched_clone.c             return instance;
instance          538 lib/pacemaker/pcmk_sched_clone.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance          541 lib/pacemaker/pcmk_sched_clone.c         instance_node = instance->fns->location(instance, NULL, 0);
instance          543 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         pcmk__rsc_trace(instance, "%s cannot run on %s: orphaned",
instance           37 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__node_name(node));
instance           42 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance,
instance           44 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__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, pcmk__node_name(node));
instance           56 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance,
instance           58 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__node_name(node),
instance           64 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance,
instance           66 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__node_name(node), max_per_node,
instance           71 lib/pacemaker/pcmk_sched_instances.c     pcmk__rsc_trace(instance, "%s can run on %s (%d already running)",
instance           72 lib/pacemaker/pcmk_sched_instances.c                     instance->id, pcmk__node_name(node), allowed_node->count);
instance           84 lib/pacemaker/pcmk_sched_instances.c ban_unavailable_allowed_nodes(pcmk_resource_t *instance, int max_per_node)
instance           86 lib/pacemaker/pcmk_sched_instances.c     if (instance->allowed_nodes != NULL) {
instance           90 lib/pacemaker/pcmk_sched_instances.c         g_hash_table_iter_init(&iter, instance->allowed_nodes);
instance           92 lib/pacemaker/pcmk_sched_instances.c             if (!can_run_instance(instance, node, max_per_node)) {
instance           93 lib/pacemaker/pcmk_sched_instances.c                 pcmk__rsc_trace(instance, "Banning %s from unavailable node %s",
instance           94 lib/pacemaker/pcmk_sched_instances.c                                 instance->id, pcmk__node_name(node));
instance           96 lib/pacemaker/pcmk_sched_instances.c                 for (GList *child_iter = instance->children;
instance          104 lib/pacemaker/pcmk_sched_instances.c                         pcmk__rsc_trace(instance,
instance          107 lib/pacemaker/pcmk_sched_instances.c                                         instance->id, child->id,
instance          521 lib/pacemaker/pcmk_sched_instances.c increment_parent_count(pcmk_resource_t *instance,
instance          529 lib/pacemaker/pcmk_sched_instances.c     allowed = pcmk__top_allowed_node(instance, assigned_to);
instance          536 lib/pacemaker/pcmk_sched_instances.c         CRM_LOG_ASSERT(!pcmk_is_set(instance->flags, pcmk_rsc_managed));
instance          556 lib/pacemaker/pcmk_sched_instances.c assign_instance(pcmk_resource_t *instance, const pcmk_node_t *prefer,
instance          561 lib/pacemaker/pcmk_sched_instances.c     pcmk__rsc_trace(instance, "Assigning %s (preferring %s)", instance->id,
instance          564 lib/pacemaker/pcmk_sched_instances.c     if (pcmk_is_set(instance->flags, pcmk_rsc_assigning)) {
instance          565 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_debug(instance,
instance          567 lib/pacemaker/pcmk_sched_instances.c                         instance->id);
instance          570 lib/pacemaker/pcmk_sched_instances.c     ban_unavailable_allowed_nodes(instance, max_per_node);
instance          573 lib/pacemaker/pcmk_sched_instances.c     chosen = instance->cmds->assign(instance, prefer, (prefer == NULL));
instance          574 lib/pacemaker/pcmk_sched_instances.c     increment_parent_count(instance, chosen);
instance          592 lib/pacemaker/pcmk_sched_instances.c assign_instance_early(const pcmk_resource_t *rsc, pcmk_resource_t *instance,
instance          599 lib/pacemaker/pcmk_sched_instances.c     pcmk_resource_t *parent = instance->parent;
instance          604 lib/pacemaker/pcmk_sched_instances.c     pcmk__rsc_trace(instance, "Trying to assign %s to its current node %s",
instance          605 lib/pacemaker/pcmk_sched_instances.c                     instance->id, pcmk__node_name(current));
instance          607 lib/pacemaker/pcmk_sched_instances.c     allowed_node = g_hash_table_lookup(instance->allowed_nodes,
instance          610 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_info(instance,
instance          612 lib/pacemaker/pcmk_sched_instances.c                        instance->id, pcmk__node_name(current));
instance          634 lib/pacemaker/pcmk_sched_instances.c     pcmk__copy_node_tables(instance, &allowed_orig);
instance          640 lib/pacemaker/pcmk_sched_instances.c         chosen = assign_instance(instance, current, max_per_node);
instance          648 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_debug(instance, "Rolling back node scores for %s",
instance          649 lib/pacemaker/pcmk_sched_instances.c                         instance->id);
instance          650 lib/pacemaker/pcmk_sched_instances.c         pcmk__restore_node_tables(instance, allowed_orig);
instance          654 lib/pacemaker/pcmk_sched_instances.c             pcmk__rsc_info(instance,
instance          656 lib/pacemaker/pcmk_sched_instances.c                            instance->id, pcmk__node_name(current));
instance          657 lib/pacemaker/pcmk_sched_instances.c             pcmk__set_rsc_flags(instance, pcmk_rsc_unassigned);
instance          662 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_debug(instance,
instance          664 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__node_name(current),
instance          669 lib/pacemaker/pcmk_sched_instances.c             pcmk__rsc_info(instance,
instance          672 lib/pacemaker/pcmk_sched_instances.c                            instance->id, pcmk__node_name(current));
instance          675 lib/pacemaker/pcmk_sched_instances.c             pcmk__rsc_debug(instance,
instance          678 lib/pacemaker/pcmk_sched_instances.c                             rsc->id, pcmk__node_name(chosen), instance->id,
instance          683 lib/pacemaker/pcmk_sched_instances.c         pcmk__unassign_resource(instance);
instance          697 lib/pacemaker/pcmk_sched_instances.c     pcmk__rsc_trace(instance, "Assigned %s to current node %s",
instance          698 lib/pacemaker/pcmk_sched_instances.c                     instance->id, pcmk__node_name(current));
instance          699 lib/pacemaker/pcmk_sched_instances.c     increment_parent_count(instance, chosen);
instance          738 lib/pacemaker/pcmk_sched_instances.c preferred_node(const pcmk_resource_t *instance, int optimal_per_node)
instance          744 lib/pacemaker/pcmk_sched_instances.c     if ((instance->running_on == NULL)
instance          745 lib/pacemaker/pcmk_sched_instances.c         || !pcmk_is_set(instance->flags, pcmk_rsc_unassigned)
instance          746 lib/pacemaker/pcmk_sched_instances.c         || pcmk_is_set(instance->flags, pcmk_rsc_failed)) {
instance          751 lib/pacemaker/pcmk_sched_instances.c     node = pcmk__current_node(instance);
instance          753 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance, "Not assigning %s to %s early (unavailable)",
instance          754 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__node_name(node));
instance          759 lib/pacemaker/pcmk_sched_instances.c     parent_node = pcmk__top_allowed_node(instance, node);
instance          761 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance,
instance          764 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__node_name(node));
instance          790 lib/pacemaker/pcmk_sched_instances.c     pcmk_resource_t *instance = NULL;
instance          812 lib/pacemaker/pcmk_sched_instances.c         instance = iter->data;
instance          813 lib/pacemaker/pcmk_sched_instances.c         if (!pcmk_is_set(instance->flags, pcmk_rsc_unassigned)) {
instance          817 lib/pacemaker/pcmk_sched_instances.c         current = preferred_node(instance, optimal_per_node);
instance          819 lib/pacemaker/pcmk_sched_instances.c             && assign_instance_early(collective, instance, current,
instance          829 lib/pacemaker/pcmk_sched_instances.c         instance = (pcmk_resource_t *) iter->data;
instance          831 lib/pacemaker/pcmk_sched_instances.c         if (!pcmk_is_set(instance->flags, pcmk_rsc_unassigned)) {
instance          835 lib/pacemaker/pcmk_sched_instances.c         if (instance->running_on != NULL) {
instance          836 lib/pacemaker/pcmk_sched_instances.c             current = pcmk__current_node(instance);
instance          837 lib/pacemaker/pcmk_sched_instances.c             if (pcmk__top_allowed_node(instance, current) == NULL) {
instance          840 lib/pacemaker/pcmk_sched_instances.c                 if (!pcmk_is_set(instance->flags, pcmk_rsc_managed)) {
instance          844 lib/pacemaker/pcmk_sched_instances.c                            unmanaged, instance->id, pcmk__node_name(current));
instance          852 lib/pacemaker/pcmk_sched_instances.c                             instance->id, max_total);
instance          853 lib/pacemaker/pcmk_sched_instances.c             resource_location(instance, NULL, -PCMK_SCORE_INFINITY,
instance          856 lib/pacemaker/pcmk_sched_instances.c         } else if (assign_instance(instance, NULL, max_per_node) != NULL) {
instance          891 lib/pacemaker/pcmk_sched_instances.c check_instance_state(const pcmk_resource_t *instance, uint32_t *state)
instance          902 lib/pacemaker/pcmk_sched_instances.c     if (instance->variant > pcmk_rsc_variant_primitive) {
instance          903 lib/pacemaker/pcmk_sched_instances.c         for (iter = instance->children;
instance          913 lib/pacemaker/pcmk_sched_instances.c     if (instance->running_on != NULL) {
instance          918 lib/pacemaker/pcmk_sched_instances.c     for (iter = instance->actions;
instance          931 lib/pacemaker/pcmk_sched_instances.c                 pcmk__rsc_trace(instance, "Instance is starting due to %s",
instance          935 lib/pacemaker/pcmk_sched_instances.c                 pcmk__rsc_trace(instance, "%s doesn't affect %s state (%s)",
instance          936 lib/pacemaker/pcmk_sched_instances.c                                 action->uuid, instance->id,
instance          949 lib/pacemaker/pcmk_sched_instances.c                 pcmk__rsc_trace(instance, "Instance is stopping due to %s",
instance          953 lib/pacemaker/pcmk_sched_instances.c                 pcmk__rsc_trace(instance, "%s doesn't affect %s state (%s)",
instance          954 lib/pacemaker/pcmk_sched_instances.c                                 action->uuid, instance->id,
instance          990 lib/pacemaker/pcmk_sched_instances.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance          992 lib/pacemaker/pcmk_sched_instances.c         instance->cmds->create_actions(instance);
instance          993 lib/pacemaker/pcmk_sched_instances.c         check_instance_state(instance, &state);
instance         1076 lib/pacemaker/pcmk_sched_instances.c pcmk__instance_matches(const pcmk_resource_t *instance, const pcmk_node_t *node,
instance         1081 lib/pacemaker/pcmk_sched_instances.c     CRM_CHECK((instance != NULL) && (node != NULL), return false);
instance         1084 lib/pacemaker/pcmk_sched_instances.c         && (role != instance->fns->state(instance, current))) {
instance         1085 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance,
instance         1087 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk_role_text(role));
instance         1091 lib/pacemaker/pcmk_sched_instances.c     if (!is_set_recursive(instance, pcmk_rsc_blocked, true)) {
instance         1093 lib/pacemaker/pcmk_sched_instances.c         instance_node = instance->fns->location(instance, NULL, current);
instance         1097 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance,
instance         1100 lib/pacemaker/pcmk_sched_instances.c                         instance->id);
instance         1105 lib/pacemaker/pcmk_sched_instances.c         pcmk__rsc_trace(instance,
instance         1108 lib/pacemaker/pcmk_sched_instances.c                         instance->id, pcmk__node_name(instance_node),
instance         1142 lib/pacemaker/pcmk_sched_instances.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance         1144 lib/pacemaker/pcmk_sched_instances.c         if (pcmk__instance_matches(instance, node, role, current)) {
instance         1147 lib/pacemaker/pcmk_sched_instances.c                             display_role(role), rsc->id, instance->id,
instance         1150 lib/pacemaker/pcmk_sched_instances.c             return instance;
instance         1180 lib/pacemaker/pcmk_sched_instances.c     pcmk_resource_t *instance = NULL;
instance         1194 lib/pacemaker/pcmk_sched_instances.c     for (GList *iter = nodes; (iter != NULL) && (instance == NULL);
instance         1196 lib/pacemaker/pcmk_sched_instances.c         instance = find_compatible_instance_on_node(match_rsc, rsc,
instance         1201 lib/pacemaker/pcmk_sched_instances.c     if (instance == NULL) {
instance         1206 lib/pacemaker/pcmk_sched_instances.c     return instance;
instance         1263 lib/pacemaker/pcmk_sched_instances.c find_instance_action(const pcmk_action_t *action, const pcmk_resource_t *instance,
instance         1293 lib/pacemaker/pcmk_sched_instances.c         rsc = pe__get_rsc_in_container(instance);
instance         1296 lib/pacemaker/pcmk_sched_instances.c         rsc = instance; // No containerized resource, use instance itself
instance         1306 lib/pacemaker/pcmk_sched_instances.c     if (pcmk_is_set(instance->flags, pcmk_rsc_removed)
instance         1311 lib/pacemaker/pcmk_sched_instances.c                   pcmk_is_set(instance->flags, pcmk_rsc_removed)? "orphan " : "",
instance         1312 lib/pacemaker/pcmk_sched_instances.c                   instance->id);
instance         1315 lib/pacemaker/pcmk_sched_instances.c                 action_name, instance->id);
instance         1337 lib/pacemaker/pcmk_sched_instances.c     const pcmk_resource_t *instance = action->rsc->children->data;
instance         1353 lib/pacemaker/pcmk_sched_instances.c     orig_task = get_complex_task(instance, action_name);
instance         1513 lib/pacemaker/pcmk_sched_instances.c update_noninterleaved_actions(pcmk_resource_t *instance, pcmk_action_t *first,
instance         1522 lib/pacemaker/pcmk_sched_instances.c     instance_action = find_first_action(instance->actions, NULL, then->task,
instance         1529 lib/pacemaker/pcmk_sched_instances.c     instance_flags = instance->cmds->action_flags(instance_action, node);
instance         1535 lib/pacemaker/pcmk_sched_instances.c     changed = instance->cmds->update_ordered_actions(first, instance_action,
instance         1537 lib/pacemaker/pcmk_sched_instances.c                                                      instance->cluster);
instance         1545 lib/pacemaker/pcmk_sched_instances.c             pcmk__update_action_for_orderings(after->action, instance->cluster);
instance         1599 lib/pacemaker/pcmk_sched_instances.c             pcmk_resource_t *instance = iter->data;
instance         1601 lib/pacemaker/pcmk_sched_instances.c             changed |= update_noninterleaved_actions(instance, first, then,
instance         1638 lib/pacemaker/pcmk_sched_instances.c         const pcmk_resource_t *instance = iter->data;
instance         1644 lib/pacemaker/pcmk_sched_instances.c         if (pcmk__is_primitive(instance)) {
instance         1648 lib/pacemaker/pcmk_sched_instances.c         instance_action = find_first_action(instance->actions, NULL,
instance         1652 lib/pacemaker/pcmk_sched_instances.c                             instance->id, action_name, pcmk__node_name(node));
instance         1657 lib/pacemaker/pcmk_sched_instances.c                         instance->id, instance_action->uuid, action_name,
instance         1660 lib/pacemaker/pcmk_sched_instances.c         instance_flags = instance->cmds->action_flags(instance_action, node);
instance         1665 lib/pacemaker/pcmk_sched_instances.c             pcmk__rsc_trace(instance, "%s is mandatory because %s is",
instance          869 lib/pacemaker/pcmk_sched_promotable.c show_promotion_score(pcmk_resource_t *instance)
instance          871 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE);
instance          873 lib/pacemaker/pcmk_sched_promotable.c     if (pcmk_is_set(instance->cluster->flags, pcmk_sched_output_scores)
instance          874 lib/pacemaker/pcmk_sched_promotable.c         && !pcmk__is_daemon && (instance->cluster->priv != NULL)) {
instance          876 lib/pacemaker/pcmk_sched_promotable.c         pcmk__output_t *out = instance->cluster->priv;
instance          878 lib/pacemaker/pcmk_sched_promotable.c         out->message(out, "promotion-score", instance, chosen,
instance          879 lib/pacemaker/pcmk_sched_promotable.c                      pcmk_readable_score(instance->sort_index));
instance          882 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_debug(pe__const_top_resource(instance, false),
instance          884 lib/pacemaker/pcmk_sched_promotable.c                         instance->id, pcmk_readable_score(instance->sort_index), instance->priority);
instance          887 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_debug(pe__const_top_resource(instance, false),
instance          889 lib/pacemaker/pcmk_sched_promotable.c                         instance->id, pcmk__node_name(chosen),
instance          890 lib/pacemaker/pcmk_sched_promotable.c                         pcmk_readable_score(instance->sort_index),
instance          891 lib/pacemaker/pcmk_sched_promotable.c                         instance->priority);
instance          905 lib/pacemaker/pcmk_sched_promotable.c     pcmk_resource_t *instance = (pcmk_resource_t *) data;
instance          911 lib/pacemaker/pcmk_sched_promotable.c     pcmk__rsc_trace(clone, "Assigning priority for %s: %s", instance->id,
instance          912 lib/pacemaker/pcmk_sched_promotable.c                     pcmk_role_text(instance->next_role));
instance          914 lib/pacemaker/pcmk_sched_promotable.c     if (instance->fns->state(instance, TRUE) == pcmk_role_started) {
instance          915 lib/pacemaker/pcmk_sched_promotable.c         set_current_role_unpromoted(instance, NULL);
instance          919 lib/pacemaker/pcmk_sched_promotable.c     chosen = instance->fns->location(instance, &list, FALSE);
instance          922 lib/pacemaker/pcmk_sched_promotable.c                          instance->id);
instance          929 lib/pacemaker/pcmk_sched_promotable.c     next_role = instance->fns->state(instance, FALSE);
instance          937 lib/pacemaker/pcmk_sched_promotable.c                 instance->priority = promotion_score(instance, chosen,
instance          946 lib/pacemaker/pcmk_sched_promotable.c                     instance->priority = -1;
instance          954 lib/pacemaker/pcmk_sched_promotable.c             instance->priority = -PCMK_SCORE_INFINITY;
instance          963 lib/pacemaker/pcmk_sched_promotable.c                                      next_role, instance->id));
instance          967 lib/pacemaker/pcmk_sched_promotable.c     apply_promoted_locations(instance, instance->rsc_location, chosen);
instance          968 lib/pacemaker/pcmk_sched_promotable.c     apply_promoted_locations(instance, clone->rsc_location, chosen);
instance          971 lib/pacemaker/pcmk_sched_promotable.c     list = pcmk__this_with_colocations(instance);
instance          975 lib/pacemaker/pcmk_sched_promotable.c         instance->cmds->apply_coloc_score(instance, cons->primary, cons, true);
instance          979 lib/pacemaker/pcmk_sched_promotable.c     instance->sort_index = instance->priority;
instance          981 lib/pacemaker/pcmk_sched_promotable.c         instance->sort_index = PCMK_SCORE_INFINITY;
instance          984 lib/pacemaker/pcmk_sched_promotable.c                     instance->id, instance->priority);
instance          997 lib/pacemaker/pcmk_sched_promotable.c     pcmk_resource_t *instance = (pcmk_resource_t *) data;
instance         1000 lib/pacemaker/pcmk_sched_promotable.c     const pcmk_resource_t *clone = pe__const_top_resource(instance, false);
instance         1003 lib/pacemaker/pcmk_sched_promotable.c     show_promotion_score(instance);
instance         1005 lib/pacemaker/pcmk_sched_promotable.c     if (instance->sort_index < 0) {
instance         1007 lib/pacemaker/pcmk_sched_promotable.c                         instance->id);
instance         1009 lib/pacemaker/pcmk_sched_promotable.c     } else if ((*count < pe__clone_promoted_max(instance))
instance         1011 lib/pacemaker/pcmk_sched_promotable.c         chosen = node_to_be_promoted_on(instance);
instance         1015 lib/pacemaker/pcmk_sched_promotable.c         set_next_role_unpromoted(instance, NULL);
instance         1019 lib/pacemaker/pcmk_sched_promotable.c     if ((instance->role < pcmk_role_promoted)
instance         1020 lib/pacemaker/pcmk_sched_promotable.c         && !pcmk_is_set(instance->cluster->flags, pcmk_sched_quorate)
instance         1021 lib/pacemaker/pcmk_sched_promotable.c         && (instance->cluster->no_quorum_policy == pcmk_no_quorum_freeze)) {
instance         1023 lib/pacemaker/pcmk_sched_promotable.c                    instance->id);
instance         1024 lib/pacemaker/pcmk_sched_promotable.c         set_next_role_unpromoted(instance, NULL);
instance         1030 lib/pacemaker/pcmk_sched_promotable.c                    instance->id, pcmk_role_text(instance->role),
instance         1032 lib/pacemaker/pcmk_sched_promotable.c     set_next_role_promoted(instance, NULL);
instance         1079 lib/pacemaker/pcmk_sched_promotable.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance         1081 lib/pacemaker/pcmk_sched_promotable.c         instance->cmds->create_actions(instance);
instance         1082 lib/pacemaker/pcmk_sched_promotable.c         check_for_role_change(instance, any_demoting, any_promoting);
instance         1100 lib/pacemaker/pcmk_sched_promotable.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance         1102 lib/pacemaker/pcmk_sched_promotable.c         instance->priority = clone->priority;
instance         1142 lib/pacemaker/pcmk_sched_promotable.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance         1145 lib/pacemaker/pcmk_sched_promotable.c         pcmk__order_resource_actions(instance, PCMK_ACTION_DEMOTE,
instance         1146 lib/pacemaker/pcmk_sched_promotable.c                                      instance, PCMK_ACTION_PROMOTE,
instance         1149 lib/pacemaker/pcmk_sched_promotable.c         order_instance_promotion(clone, instance, previous);
instance         1150 lib/pacemaker/pcmk_sched_promotable.c         order_instance_demotion(clone, instance, previous);
instance         1151 lib/pacemaker/pcmk_sched_promotable.c         previous = instance;
instance         1223 lib/pacemaker/pcmk_sched_promotable.c         pcmk_resource_t *instance = (pcmk_resource_t *) iter->data;
instance         1224 lib/pacemaker/pcmk_sched_promotable.c         pcmk_node_t *node = instance->fns->location(instance, NULL, FALSE);
instance         1229 lib/pacemaker/pcmk_sched_promotable.c         if (instance->fns->state(instance, FALSE) == colocation->primary_role) {
instance          289 lib/pacemaker/pcmk_sched_tickets.c     const char *instance = crm_element_value(xml_obj, PCMK__XA_RSC_INSTANCE);
instance          293 lib/pacemaker/pcmk_sched_tickets.c     if (instance != NULL) {
instance          334 lib/pacemaker/pcmk_sched_tickets.c     } else if ((instance != NULL) && !pcmk__is_clone(rsc)) {
instance          337 lib/pacemaker/pcmk_sched_tickets.c                          id, rsc_id, instance);
instance          341 lib/pacemaker/pcmk_sched_tickets.c     if (instance != NULL) {
instance          342 lib/pacemaker/pcmk_sched_tickets.c         rsc = find_clone_instance(rsc, instance);
instance          346 lib/pacemaker/pcmk_sched_tickets.c                               id, rsc_id, instance);
instance          129 lib/pengine/bundle.c pe__get_rsc_in_container(const pcmk_resource_t *instance)
instance          132 lib/pengine/bundle.c     const pcmk_resource_t *top = pe__const_top_resource(instance, true);
instance          142 lib/pengine/bundle.c         if (instance == replica->container) {
instance          524 lib/pengine/clone.c         pcmk_resource_t *instance = rsc->children->data; // Any instance will do
instance          526 lib/pengine/clone.c         target_role = g_hash_table_lookup(instance->meta,
instance          292 lib/services/upstart.c     char *instance = NULL;
instance          337 lib/services/upstart.c             instance = strdup(value.str);
instance          338 lib/services/upstart.c             crm_trace("Result: %s", instance);
instance          346 lib/services/upstart.c     return instance;
instance           75 tools/crm_shadow.c     char *instance;
instance          154 tools/crm_shadow.c     const char *instance = va_arg(args, const char *);
instance          163 tools/crm_shadow.c         rc = out->info(out, "Instance: %s", pcmk__s(instance, "<unknown>"));
instance          227 tools/crm_shadow.c         const char *instance = va_arg(args, const char *);
instance          241 tools/crm_shadow.c         if (pcmk_is_set(flags, shadow_disp_instance) && (instance != NULL)) {
instance          242 tools/crm_shadow.c             rc = out->info(out, "%s", instance);
instance          290 tools/crm_shadow.c     const char *instance = va_arg(args, const char *);
instance          298 tools/crm_shadow.c                                    PCMK_XA_INSTANCE, instance,
instance          358 tools/crm_shadow.c         && !pcmk__str_eq(active, options.instance, pcmk__str_null_matches)) {
instance          363 tools/crm_shadow.c                                 reason, options.instance, active);
instance          388 tools/crm_shadow.c     pcmk__str_update(&options.instance, getenv("CIB_shadow"));
instance          389 tools/crm_shadow.c     if (options.instance == NULL) {
instance          415 tools/crm_shadow.c                                          "exists", options.instance);
instance          428 tools/crm_shadow.c                     options.instance, strerror(errno));
instance          544 tools/crm_shadow.c                     reset? "reset" : "create", options.instance,
instance          561 tools/crm_shadow.c     return crm_strdup_printf("shadow[%.40s] # ", options.instance);
instance          581 tools/crm_shadow.c     if (pcmk__str_eq(active, options.instance, pcmk__str_none)
instance          590 tools/crm_shadow.c         setenv("CIB_shadow", options.instance, 1);
instance          617 tools/crm_shadow.c                                 prefix, options.instance);
instance          638 tools/crm_shadow.c     if (pcmk__str_eq(active, options.instance, pcmk__str_none)) {
instance          682 tools/crm_shadow.c     filename = get_shadow_file(options.instance);
instance          710 tools/crm_shadow.c                     options.instance, pcmk_rc_str(rc));
instance          732 tools/crm_shadow.c     char *filename = get_shadow_file(options.instance);
instance          771 tools/crm_shadow.c     char *filename = get_shadow_file(options.instance);
instance          783 tools/crm_shadow.c             if (!pcmk__str_eq(local, options.instance, pcmk__str_null_matches)) {
instance          791 tools/crm_shadow.c                             options.instance, local);
instance          836 tools/crm_shadow.c     filename = get_shadow_file(options.instance);
instance          842 tools/crm_shadow.c                     options.instance, strerror(errno));
instance          867 tools/crm_shadow.c     filename = get_shadow_file(options.instance);
instance          906 tools/crm_shadow.c     filename = get_shadow_file(options.instance);
instance          918 tools/crm_shadow.c                      options.instance, NULL, output, NULL, shadow_disp_content);
instance          948 tools/crm_shadow.c     filename = get_shadow_file(options.instance);
instance          969 tools/crm_shadow.c                  options.instance, NULL, NULL, diff, shadow_disp_diff);
instance          998 tools/crm_shadow.c         char *filename = get_shadow_file(options.instance);
instance         1003 tools/crm_shadow.c                      options.instance, filename, NULL, NULL, shadow_disp_file);
instance         1025 tools/crm_shadow.c                      options.instance, NULL, NULL, NULL, shadow_disp_instance);
instance         1042 tools/crm_shadow.c     filename = get_shadow_file(options.instance);
instance         1092 tools/crm_shadow.c     pcmk__str_update(&options.instance, optarg);
instance         1312 tools/crm_shadow.c     free(options.instance);