current 83 daemons/attrd/attrd_commands.c free(v->current); current 139 daemons/attrd/attrd_commands.c crm_trace("Clear seen flag %s[%s] = %s.", a->id, v->nodename, v->current); current 294 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); current 432 daemons/attrd/attrd_commands.c (v? v->current : NULL)); current 446 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_VALUE, v->current); current 653 daemons/attrd/attrd_commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); current 655 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, FALSE); current 755 daemons/attrd/attrd_commands.c crm_trace("Syncing %s[%s] = %s to everyone.(from local only attributes)", a->id, v->nodename, v->current); current 759 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); current 761 daemons/attrd/attrd_commands.c crm_trace("Local attribute(%s[%s] = %s) was ignore.(another host) : [%s]", a->id, v->nodename, v->current, attrd_cluster->uname); current 866 daemons/attrd/attrd_commands.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) current 872 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); current 877 daemons/attrd/attrd_commands.c a->is_private, v->nodename, v->nodeid, v->current, FALSE); current 885 daemons/attrd/attrd_commands.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { current 887 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); current 888 daemons/attrd/attrd_commands.c free(v->current); current 889 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); current 1164 daemons/attrd/attrd_commands.c if (v->current != NULL) { current 1165 daemons/attrd/attrd_commands.c a_v->current = strdup(v->current); current 1182 daemons/attrd/attrd_commands.c a->id, at->current); current 1184 daemons/attrd/attrd_commands.c a->id, at->nodename, at->current, at->nodeid, rc); current 1252 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); current 1273 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); current 1279 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current, current 1281 daemons/attrd/attrd_commands.c build_update_element(xml_top, a, peer->uuid, v->current); current 1289 daemons/attrd/attrd_commands.c if (v->current) { current 1290 daemons/attrd/attrd_commands.c v->requested = strdup(v->current); current 110 daemons/attrd/pacemaker-attrd.h char *current; current 220 include/crm/pengine/internal.h pe_node_t *native_location(const pe_resource_t *rsc, GList **list, int current); current 297 include/crm/pengine/internal.h enum rsc_role_e native_resource_state(const pe_resource_t * rsc, gboolean current); current 298 include/crm/pengine/internal.h enum rsc_role_e group_resource_state(const pe_resource_t * rsc, gboolean current); current 299 include/crm/pengine/internal.h enum rsc_role_e clone_resource_state(const pe_resource_t * rsc, gboolean current); current 301 include/crm/pengine/internal.h gboolean current); current 55 include/pcmki/pcmki_sched_utils.h gboolean current, current 58 include/pcmki/pcmki_sched_utils.h enum rsc_role_e filter, gboolean current); current 59 include/pcmki/pcmki_sched_utils.h gboolean is_child_compatible(pe_resource_t *child_rsc, pe_node_t * local_node, enum rsc_role_e filter, gboolean current); current 1006 lib/common/iso8601.c for (const char *current = period_s + 1; current 1007 lib/common/iso8601.c current[0] && (current[0] != '/') && !isspace(current[0]); current 1008 lib/common/iso8601.c ++current) { current 1012 lib/common/iso8601.c if (current[0] == 'T') { current 1022 lib/common/iso8601.c rc = parse_int(current, 10, 0, &an_int); current 1025 lib/common/iso8601.c "because no integer at '%s'", period_s, current); current 1028 lib/common/iso8601.c current += rc; current 1031 lib/common/iso8601.c switch (current[0]) { current 1062 lib/common/iso8601.c period_s, current[0]); current 1029 lib/common/patchset.c const char *current = key; current 1059 lib/common/patchset.c rc = sscanf(current, "/%[^/]%s", section, remainder); current 1086 lib/common/patchset.c current = remainder; current 827 lib/pacemaker/pcmk_output.c if(current && current->details->unclean) { \ current 846 lib/pacemaker/pcmk_output.c pe_node_t *current = va_arg(args, pe_node_t *); current 861 lib/pacemaker/pcmk_output.c || (current == NULL && next == NULL)) { current 868 lib/pacemaker/pcmk_output.c if (current != NULL && next != NULL && !pcmk__str_eq(current->details->id, next->details->id, pcmk__str_casei)) { current 881 lib/pacemaker/pcmk_output.c start_node = current; current 911 lib/pacemaker/pcmk_output.c } else if ((migrate_op != NULL) && (current != NULL) current 913 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Migrate", rsc, current, current 917 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, current 925 lib/pacemaker/pcmk_output.c current, next, promote, demote); current 932 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Stop", rsc, current, current 936 lib/pacemaker/pcmk_output.c } else if (moving && current) { current 938 lib/pacemaker/pcmk_output.c rsc, current, next, stop, NULL); current 941 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 946 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 987 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 992 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Move", rsc, current, next, current 997 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, next, current 1001 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1006 lib/pacemaker/pcmk_output.c CRM_LOG_ASSERT(current != NULL); current 1007 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Demote", rsc, current, current 1012 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Promote", rsc, current, current 1016 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Start", rsc, current, next, current 716 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *current = pe_find_node_id(rsc->running_on, node->details->id); current 719 lib/pacemaker/pcmk_sched_allocate.c if (current == NULL) { current 371 lib/pacemaker/pcmk_sched_bundle.c gboolean current) current 385 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { current 399 lib/pacemaker/pcmk_sched_bundle.c enum rsc_role_e filter, gboolean current, current 406 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); current 409 lib/pacemaker/pcmk_sched_bundle.c current); current 418 lib/pacemaker/pcmk_sched_bundle.c pair = compatible_replica_for_node(rsc_lh, node, rsc, filter, current); current 594 lib/pacemaker/pcmk_sched_bundle.c enum rsc_role_e filter, gboolean current) current 611 lib/pacemaker/pcmk_sched_bundle.c if(is_child_compatible(child_rsc, local_node, filter, current)) { current 656 lib/pacemaker/pcmk_sched_bundle.c gboolean current = FALSE; current 662 lib/pacemaker/pcmk_sched_bundle.c current = TRUE; current 671 lib/pacemaker/pcmk_sched_bundle.c current, data_set); current 672 lib/pacemaker/pcmk_sched_bundle.c if (first_child == NULL && current) { current 676 lib/pacemaker/pcmk_sched_bundle.c crm_debug("No match found for %s (%d / %s / %s)", then_child->id, current, first->uuid, then->uuid); current 1047 lib/pacemaker/pcmk_sched_clone.c is_child_compatible(pe_resource_t *child_rsc, pe_node_t * local_node, enum rsc_role_e filter, gboolean current) current 1050 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); current 1055 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); current 1071 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); current 1078 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e filter, gboolean current, current 1086 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); current 1088 lib/pacemaker/pcmk_sched_clone.c return find_compatible_child_by_node(local_child, local_node, rsc, filter, current); current 1098 lib/pacemaker/pcmk_sched_clone.c pair = find_compatible_child_by_node(local_child, node, rsc, filter, current); current 1123 lib/pacemaker/pcmk_sched_native.c handle_migration_actions(pe_resource_t * rsc, pe_node_t *current, pe_node_t *chosen, pe_working_set_t * data_set) current 1132 lib/pacemaker/pcmk_sched_native.c rsc->id, current->details->id, chosen->details->id, partial ? "TRUE" : "FALSE"); current 1134 lib/pacemaker/pcmk_sched_native.c stop = stop_action(rsc, current, TRUE); current 1138 lib/pacemaker/pcmk_sched_native.c RSC_MIGRATE, current, TRUE, TRUE, data_set); current 1188 lib/pacemaker/pcmk_sched_native.c add_hash_param(migrate_to->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); current 1206 lib/pacemaker/pcmk_sched_native.c add_hash_param(migrate_from->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); current 1216 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; current 1242 lib/pacemaker/pcmk_sched_native.c current = pe__find_active_on(rsc, &num_all_active, &num_clean_active); current 1261 lib/pacemaker/pcmk_sched_native.c && (current->details == rsc->partial_migration_source->details) current 1322 lib/pacemaker/pcmk_sched_native.c if (current && chosen && current->details != chosen->details) { current 1324 lib/pacemaker/pcmk_sched_native.c rsc->id, crm_str(current->details->uname), current 1344 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { current 1364 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, current, !need_stop, data_set) == FALSE) { current 1432 lib/pacemaker/pcmk_sched_native.c || (current && current->details->unclean) current 1439 lib/pacemaker/pcmk_sched_native.c handle_migration_actions(rsc, current, chosen, data_set); current 1588 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 1591 lib/pacemaker/pcmk_sched_native.c current->details->uname); current 1595 lib/pacemaker/pcmk_sched_native.c load_stopped->node = pe__copy_node(current); current 2368 lib/pacemaker/pcmk_sched_native.c if(current && current->details->unclean) { \ current 2387 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; current 2409 lib/pacemaker/pcmk_sched_native.c current = pe__current_node(rsc); current 2419 lib/pacemaker/pcmk_sched_native.c if ((current == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { current 2424 lib/pacemaker/pcmk_sched_native.c out->message(out, "rsc-action", rsc, current, next, moving); current 2436 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 2440 lib/pacemaker/pcmk_sched_native.c if (rsc->partial_migration_target->details == current->details) { current 2441 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Filtered %s -> %s %s", current->details->uname, current 2445 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Forced on %s %s", current->details->uname, rsc->id); current 2450 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, current->details->uname); current 2451 lib/pacemaker/pcmk_sched_native.c stop = stop_action(rsc, current, optional); current 2463 lib/pacemaker/pcmk_sched_native.c DeleteRsc(rsc, current, optional, data_set); current 2467 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, FALSE, data_set); current 2470 lib/pacemaker/pcmk_sched_native.c if (!node_has_been_unfenced(current)) { current 2471 lib/pacemaker/pcmk_sched_native.c pe_proc_err("Stopping %s until %s can be unfenced", rsc->id, current->details->uname); current 2584 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 2587 lib/pacemaker/pcmk_sched_native.c demote_action(rsc, current, optional); current 617 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(pe_resource_t *rsc, bool current) current 621 lib/pacemaker/pcmk_sched_promotable.c if (current) { current 638 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, current); current 109 lib/pacemaker/pcmk_sched_utilization.c const char *current = NULL; current 113 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); current 115 lib/pacemaker/pcmk_sched_utilization.c result = pcmk__itoa(utilization_value(current) + utilization_value(value)); current 118 lib/pacemaker/pcmk_sched_utilization.c } else if (current) { current 119 lib/pacemaker/pcmk_sched_utilization.c result = pcmk__itoa(utilization_value(current) - utilization_value(value)); current 2007 lib/pengine/bundle.c pe__bundle_resource_state(const pe_resource_t *rsc, gboolean current) current 1176 lib/pengine/clone.c clone_resource_state(const pe_resource_t * rsc, gboolean current) current 1183 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); current 366 lib/pengine/group.c group_resource_state(const pe_resource_t * rsc, gboolean current) current 373 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); current 1029 lib/pengine/native.c native_resource_state(const pe_resource_t * rsc, gboolean current) current 1033 lib/pengine/native.c if (current) { current 1052 lib/pengine/native.c native_location(const pe_resource_t *rsc, GList **list, int current) current 1063 lib/pengine/native.c child->fns->location(child, &result, current); current 1066 lib/pengine/native.c } else if (current) { current 1071 lib/pengine/native.c if ((current == 2) && rsc->pending_node current 1076 lib/pengine/native.c } else if (current == FALSE && rsc->allocated_to) { current 958 tools/crm_resource.c pe_node_t *current = NULL; current 963 tools/crm_resource.c current = pe__find_active_requires(rsc, &nactive); current 966 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, current 973 tools/crm_resource.c current = NULL; current 980 tools/crm_resource.c current = pe__current_node(child); current 984 tools/crm_resource.c if(count == 1 && current) { current 985 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, current 1973 tools/crm_resource.c pe_node_t *current = pe__find_active_on(rsc, &count, NULL); current 1979 tools/crm_resource.c current = NULL; current 1985 tools/crm_resource.c params = pe_rsc_params(rsc, current, data_set); current 1990 tools/crm_resource.c get_meta_attributes(params, rsc, current, data_set); current 1873 tools/crm_resource_runtime.c pe_node_t *current = NULL; current 1895 tools/crm_resource_runtime.c current = pe__find_active_requires(rsc, &count); current 1914 tools/crm_resource_runtime.c current = promoted_node; current 1921 tools/crm_resource_runtime.c current = NULL; current 1927 tools/crm_resource_runtime.c if (current && (current->details == dest->details)) { current 1957 tools/crm_resource_runtime.c if(current) { current 1958 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime,