instance 24 daemons/controld/controld_membership.c void post_cache_update(int instance); instance 62 daemons/controld/controld_membership.c post_cache_update(int instance) instance 66 daemons/controld/controld_membership.c crm_peer_seq = instance; instance 67 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 1929 lib/pacemaker/pcmk_output.c const char *instance = va_arg(args, const char *); instance 1940 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(instance)) { instance 1941 lib/pacemaker/pcmk_output.c pcmk__g_strcat(s, "id=\"", instance, "\" ", NULL); instance 1964 lib/pacemaker/pcmk_output.c const char *instance = va_arg(args, const char *); instance 1980 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(instance)) { instance 1981 lib/pacemaker/pcmk_output.c crm_xml_add(node, "id", instance); instance 844 lib/pacemaker/pcmk_sched_promotable.c show_promotion_score(pe_resource_t *instance) instance 846 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = instance->fns->location(instance, NULL, FALSE); instance 848 lib/pacemaker/pcmk_sched_promotable.c if (pcmk_is_set(instance->cluster->flags, pe_flag_show_scores) instance 849 lib/pacemaker/pcmk_sched_promotable.c && !pcmk__is_daemon && (instance->cluster->priv != NULL)) { instance 851 lib/pacemaker/pcmk_sched_promotable.c pcmk__output_t *out = instance->cluster->priv; instance 853 lib/pacemaker/pcmk_sched_promotable.c out->message(out, "promotion-score", instance, chosen, instance 854 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(instance->sort_index)); instance 856 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(uber_parent(instance), instance 858 lib/pacemaker/pcmk_sched_promotable.c instance->id, instance 860 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(instance->sort_index), instance 861 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(instance->priority)); instance 875 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *instance = (pe_resource_t *) data; instance 881 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning priority for %s: %s", instance->id, instance 882 lib/pacemaker/pcmk_sched_promotable.c role2text(instance->next_role)); instance 884 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, TRUE) == RSC_ROLE_STARTED) { instance 885 lib/pacemaker/pcmk_sched_promotable.c set_current_role_unpromoted(instance, NULL); instance 889 lib/pacemaker/pcmk_sched_promotable.c chosen = instance->fns->location(instance, &list, FALSE); instance 892 lib/pacemaker/pcmk_sched_promotable.c instance->id); instance 899 lib/pacemaker/pcmk_sched_promotable.c next_role = instance->fns->state(instance, FALSE); instance 907 lib/pacemaker/pcmk_sched_promotable.c instance->priority = promotion_score(instance, chosen, instance 917 lib/pacemaker/pcmk_sched_promotable.c instance->priority = -1; instance 925 lib/pacemaker/pcmk_sched_promotable.c instance->priority = -INFINITY; instance 934 lib/pacemaker/pcmk_sched_promotable.c next_role, instance->id)); instance 938 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, instance->rsc_location, chosen); instance 939 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, clone->rsc_location, chosen); instance 942 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = instance->rsc_cons; iter != NULL; iter = iter->next) { instance 945 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); instance 948 lib/pacemaker/pcmk_sched_promotable.c instance->sort_index = instance->priority; instance 950 lib/pacemaker/pcmk_sched_promotable.c instance->sort_index = INFINITY; instance 953 lib/pacemaker/pcmk_sched_promotable.c instance->id, instance->priority); instance 966 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *instance = (pe_resource_t *) data; instance 969 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = uber_parent(instance); instance 972 lib/pacemaker/pcmk_sched_promotable.c show_promotion_score(instance); instance 974 lib/pacemaker/pcmk_sched_promotable.c if (instance->sort_index < 0) { instance 976 lib/pacemaker/pcmk_sched_promotable.c instance->id); instance 978 lib/pacemaker/pcmk_sched_promotable.c } else if ((*count < pe__clone_promoted_max(instance)) instance 980 lib/pacemaker/pcmk_sched_promotable.c chosen = node_to_be_promoted_on(instance); instance 984 lib/pacemaker/pcmk_sched_promotable.c set_next_role_unpromoted(instance, NULL); instance 988 lib/pacemaker/pcmk_sched_promotable.c if ((instance->role < RSC_ROLE_PROMOTED) instance 989 lib/pacemaker/pcmk_sched_promotable.c && !pcmk_is_set(instance->cluster->flags, pe_flag_have_quorum) instance 990 lib/pacemaker/pcmk_sched_promotable.c && (instance->cluster->no_quorum_policy == no_quorum_freeze)) { instance 992 lib/pacemaker/pcmk_sched_promotable.c instance->id); instance 993 lib/pacemaker/pcmk_sched_promotable.c set_next_role_unpromoted(instance, NULL); instance 999 lib/pacemaker/pcmk_sched_promotable.c instance->id, role2text(instance->role), instance 1001 lib/pacemaker/pcmk_sched_promotable.c set_next_role_promoted(instance, NULL); instance 1048 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *instance = (pe_resource_t *) iter->data; instance 1050 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->create_actions(instance); instance 1051 lib/pacemaker/pcmk_sched_promotable.c check_for_role_change(instance, any_demoting, any_promoting); instance 1069 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *instance = (pe_resource_t *) iter->data; instance 1071 lib/pacemaker/pcmk_sched_promotable.c instance->priority = clone->priority; instance 1111 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *instance = (pe_resource_t *) iter->data; instance 1114 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(instance, RSC_DEMOTE, instance 1115 lib/pacemaker/pcmk_sched_promotable.c instance, RSC_PROMOTE, instance 1118 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(clone, instance, previous); instance 1119 lib/pacemaker/pcmk_sched_promotable.c order_instance_demotion(clone, instance, previous); instance 1120 lib/pacemaker/pcmk_sched_promotable.c previous = instance; instance 1190 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *instance = (pe_resource_t *) iter->data; instance 1191 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = instance->fns->location(instance, NULL, FALSE); instance 1196 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, FALSE) == colocation->primary_role) { instance 294 lib/pacemaker/pcmk_sched_tickets.c const char *instance = crm_element_value(xml_obj, instance 299 lib/pacemaker/pcmk_sched_tickets.c if (instance != NULL) { instance 340 lib/pacemaker/pcmk_sched_tickets.c } else if ((instance != NULL) && !pe_rsc_is_clone(rsc)) { instance 343 lib/pacemaker/pcmk_sched_tickets.c id, rsc_id, instance); instance 347 lib/pacemaker/pcmk_sched_tickets.c if (instance != NULL) { instance 348 lib/pacemaker/pcmk_sched_tickets.c rsc = find_clone_instance(rsc, instance, data_set); instance 352 lib/pacemaker/pcmk_sched_tickets.c "'%s'", id, rsc_id, instance); 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 : "",