current 85 daemons/attrd/attrd_commands.c free(v->current); current 157 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); current 178 daemons/attrd/attrd_commands.c crm_trace("Clear seen flag %s[%s] = %s.", a->id, v->nodename, v->current); current 333 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); current 471 daemons/attrd/attrd_commands.c (v? v->current : NULL)); current 485 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_VALUE, v->current); current 711 daemons/attrd/attrd_commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); current 934 daemons/attrd/attrd_commands.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) current 938 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); current 941 daemons/attrd/attrd_commands.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { current 943 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); current 944 daemons/attrd/attrd_commands.c free(v->current); current 945 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); current 1234 daemons/attrd/attrd_commands.c if (v->current != NULL) { current 1235 daemons/attrd/attrd_commands.c a_v->current = strdup(v->current); current 1252 daemons/attrd/attrd_commands.c a->id, at->current); current 1254 daemons/attrd/attrd_commands.c a->id, at->nodename, at->current, at->nodeid, rc); current 1322 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); current 1343 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); current 1349 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current, current 1351 daemons/attrd/attrd_commands.c build_update_element(xml_top, a, peer->uuid, v->current); current 1359 daemons/attrd/attrd_commands.c if (v->current) { current 1360 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 279 include/crm/pengine/internal.h enum rsc_role_e native_resource_state(const pe_resource_t * rsc, gboolean current); current 280 include/crm/pengine/internal.h enum rsc_role_e group_resource_state(const pe_resource_t * rsc, gboolean current); current 281 include/crm/pengine/internal.h enum rsc_role_e clone_resource_state(const pe_resource_t * rsc, gboolean current); current 283 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 828 lib/pacemaker/pcmk_output.c if(current && current->details->unclean) { \ current 847 lib/pacemaker/pcmk_output.c pe_node_t *current = va_arg(args, pe_node_t *); current 862 lib/pacemaker/pcmk_output.c || (current == NULL && next == NULL)) { current 869 lib/pacemaker/pcmk_output.c if (current != NULL && next != NULL && !pcmk__str_eq(current->details->id, next->details->id, pcmk__str_casei)) { current 882 lib/pacemaker/pcmk_output.c start_node = current; current 912 lib/pacemaker/pcmk_output.c } else if ((migrate_op != NULL) && (current != NULL) current 914 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Migrate", rsc, current, current 918 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, current 926 lib/pacemaker/pcmk_output.c current, next, promote, demote); current 933 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Stop", rsc, current, current 937 lib/pacemaker/pcmk_output.c } else if (moving && current) { current 939 lib/pacemaker/pcmk_output.c rsc, current, next, stop, NULL); current 942 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 947 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 988 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 993 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Move", rsc, current, next, current 998 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, next, current 1002 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1007 lib/pacemaker/pcmk_output.c CRM_LOG_ASSERT(current != NULL); current 1008 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Demote", rsc, current, current 1013 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Promote", rsc, current, current 1017 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Start", rsc, current, next, current 688 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *current = pe_find_node_id(rsc->running_on, node->details->id); current 691 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 1046 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 1049 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); current 1054 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); current 1070 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); current 1077 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e filter, gboolean current, current 1085 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); current 1087 lib/pacemaker/pcmk_sched_clone.c return find_compatible_child_by_node(local_child, local_node, rsc, filter, current); current 1097 lib/pacemaker/pcmk_sched_clone.c pair = find_compatible_child_by_node(local_child, node, rsc, filter, current); current 1118 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 1127 lib/pacemaker/pcmk_sched_native.c rsc->id, current->details->id, chosen->details->id, partial ? "TRUE" : "FALSE"); current 1129 lib/pacemaker/pcmk_sched_native.c stop = stop_action(rsc, current, TRUE); current 1133 lib/pacemaker/pcmk_sched_native.c RSC_MIGRATE, current, TRUE, TRUE, data_set); current 1183 lib/pacemaker/pcmk_sched_native.c add_hash_param(migrate_to->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); current 1201 lib/pacemaker/pcmk_sched_native.c add_hash_param(migrate_from->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); current 1211 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; current 1237 lib/pacemaker/pcmk_sched_native.c current = pe__find_active_on(rsc, &num_all_active, &num_clean_active); current 1256 lib/pacemaker/pcmk_sched_native.c && (current->details == rsc->partial_migration_source->details) current 1317 lib/pacemaker/pcmk_sched_native.c if (current && chosen && current->details != chosen->details) { current 1319 lib/pacemaker/pcmk_sched_native.c rsc->id, crm_str(current->details->uname), current 1339 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { current 1359 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, current, !need_stop, data_set) == FALSE) { current 1427 lib/pacemaker/pcmk_sched_native.c || (current && current->details->unclean) current 1434 lib/pacemaker/pcmk_sched_native.c handle_migration_actions(rsc, current, chosen, data_set); current 1583 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 1586 lib/pacemaker/pcmk_sched_native.c current->details->uname); current 1590 lib/pacemaker/pcmk_sched_native.c load_stopped->node = pe__copy_node(current); current 2367 lib/pacemaker/pcmk_sched_native.c if(current && current->details->unclean) { \ current 2386 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; current 2408 lib/pacemaker/pcmk_sched_native.c current = pe__current_node(rsc); current 2418 lib/pacemaker/pcmk_sched_native.c if ((current == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { current 2423 lib/pacemaker/pcmk_sched_native.c out->message(out, "rsc-action", rsc, current, next, moving); current 2435 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 2439 lib/pacemaker/pcmk_sched_native.c if (rsc->partial_migration_target->details == current->details) { current 2440 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Filtered %s -> %s %s", current->details->uname, current 2444 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Forced on %s %s", current->details->uname, rsc->id); current 2449 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, current->details->uname); current 2450 lib/pacemaker/pcmk_sched_native.c stop = stop_action(rsc, current, optional); current 2461 lib/pacemaker/pcmk_sched_native.c DeleteRsc(rsc, current, optional, data_set); current 2465 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, FALSE, data_set); current 2468 lib/pacemaker/pcmk_sched_native.c if (!node_has_been_unfenced(current)) { current 2469 lib/pacemaker/pcmk_sched_native.c pe_proc_err("Stopping %s until %s can be unfenced", rsc->id, current->details->uname); current 2580 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 2583 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 1992 lib/pengine/bundle.c pe__bundle_resource_state(const pe_resource_t *rsc, gboolean current) current 986 lib/pengine/clone.c clone_resource_state(const pe_resource_t * rsc, gboolean current) current 993 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); current 382 lib/pengine/group.c group_resource_state(const pe_resource_t * rsc, gboolean current) current 389 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 963 tools/crm_resource.c pe_node_t *current = NULL; current 968 tools/crm_resource.c current = pe__find_active_requires(rsc, &nactive); current 971 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, current 978 tools/crm_resource.c current = NULL; current 985 tools/crm_resource.c current = pe__current_node(child); current 989 tools/crm_resource.c if(count == 1 && current) { current 990 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, current 1984 tools/crm_resource.c pe_node_t *current = pe__find_active_on(rsc, &count, NULL); current 1990 tools/crm_resource.c current = NULL; current 1996 tools/crm_resource.c params = pe_rsc_params(rsc, current, data_set); current 2001 tools/crm_resource.c get_meta_attributes(params, rsc, current, data_set); current 1894 tools/crm_resource_runtime.c pe_node_t *current = NULL; current 1916 tools/crm_resource_runtime.c current = pe__find_active_requires(rsc, &count); current 1935 tools/crm_resource_runtime.c current = promoted_node; current 1942 tools/crm_resource_runtime.c current = NULL; current 1948 tools/crm_resource_runtime.c if (current && (current->details == dest->details)) { current 1978 tools/crm_resource_runtime.c if(current) { current 1979 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime,