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 296 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); current 434 daemons/attrd/attrd_commands.c (v? v->current : NULL)); current 448 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_VALUE, v->current); current 650 daemons/attrd/attrd_commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); current 652 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, FALSE); current 752 daemons/attrd/attrd_commands.c crm_trace("Syncing %s[%s] = %s to everyone.(from local only attributes)", a->id, v->nodename, v->current); current 756 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); current 758 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 863 daemons/attrd/attrd_commands.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) current 869 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); current 874 daemons/attrd/attrd_commands.c a->is_private, v->nodename, v->nodeid, v->current, FALSE); current 882 daemons/attrd/attrd_commands.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { current 884 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); current 885 daemons/attrd/attrd_commands.c free(v->current); current 886 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); current 1150 daemons/attrd/attrd_commands.c if (v->current != NULL) { current 1151 daemons/attrd/attrd_commands.c a_v->current = strdup(v->current); current 1168 daemons/attrd/attrd_commands.c a->id, at->current); current 1170 daemons/attrd/attrd_commands.c a->id, at->nodename, at->current, at->nodeid, rc); current 1240 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); current 1261 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); current 1267 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current, current 1269 daemons/attrd/attrd_commands.c build_update_element(xml_top, a, peer->uuid, v->current); current 1277 daemons/attrd/attrd_commands.c if (v->current) { current 1278 daemons/attrd/attrd_commands.c v->requested = strdup(v->current); current 107 daemons/attrd/pacemaker-attrd.h char *current; current 219 include/crm/pengine/internal.h pe_node_t *native_location(const pe_resource_t *rsc, GList **list, int current); current 316 include/crm/pengine/internal.h enum rsc_role_e native_resource_state(const pe_resource_t * rsc, gboolean current); current 317 include/crm/pengine/internal.h enum rsc_role_e group_resource_state(const pe_resource_t * rsc, gboolean current); current 318 include/crm/pengine/internal.h enum rsc_role_e clone_resource_state(const pe_resource_t * rsc, gboolean current); current 320 include/crm/pengine/internal.h gboolean current); current 56 include/pcmki/pcmki_sched_utils.h gboolean current, current 59 include/pcmki/pcmki_sched_utils.h enum rsc_role_e filter, gboolean current); current 60 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 1035 lib/common/patchset.c const char *current = key; current 1065 lib/common/patchset.c rc = sscanf(current, "/%[^/]%s", section, remainder); current 1092 lib/common/patchset.c current = remainder; current 712 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *current = pe_find_node_id(rsc->running_on, node->details->id); current 715 lib/pacemaker/pcmk_sched_allocate.c if (current == NULL) { current 367 lib/pacemaker/pcmk_sched_bundle.c gboolean current) current 381 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { current 395 lib/pacemaker/pcmk_sched_bundle.c enum rsc_role_e filter, gboolean current, current 402 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); current 405 lib/pacemaker/pcmk_sched_bundle.c current); current 414 lib/pacemaker/pcmk_sched_bundle.c pair = compatible_replica_for_node(rsc_lh, node, rsc, filter, current); current 584 lib/pacemaker/pcmk_sched_bundle.c enum rsc_role_e filter, gboolean current) current 601 lib/pacemaker/pcmk_sched_bundle.c if(is_child_compatible(child_rsc, local_node, filter, current)) { current 646 lib/pacemaker/pcmk_sched_bundle.c gboolean current = FALSE; current 652 lib/pacemaker/pcmk_sched_bundle.c current = TRUE; current 661 lib/pacemaker/pcmk_sched_bundle.c current, data_set); current 662 lib/pacemaker/pcmk_sched_bundle.c if (first_child == NULL && current) { current 666 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 993 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 996 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); current 1001 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); current 1017 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); current 1024 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e filter, gboolean current, current 1032 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); current 1034 lib/pacemaker/pcmk_sched_clone.c return find_compatible_child_by_node(local_child, local_node, rsc, filter, current); current 1044 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 1240 lib/pacemaker/pcmk_sched_native.c current = pe__find_active_on(rsc, &num_all_active, &num_clean_active); current 1259 lib/pacemaker/pcmk_sched_native.c && (current->details == rsc->partial_migration_source->details) current 1318 lib/pacemaker/pcmk_sched_native.c if (current && chosen && current->details != chosen->details) { current 1320 lib/pacemaker/pcmk_sched_native.c rsc->id, crm_str(current->details->uname), current 1340 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { current 1360 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, current, !need_stop, data_set) == FALSE) { current 1428 lib/pacemaker/pcmk_sched_native.c || (current && current->details->unclean) current 1435 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 2383 lib/pacemaker/pcmk_sched_native.c if(current && current->details->unclean) { \ current 2507 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; current 2537 lib/pacemaker/pcmk_sched_native.c current = pe__current_node(rsc); current 2547 lib/pacemaker/pcmk_sched_native.c if ((current == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { current 2553 lib/pacemaker/pcmk_sched_native.c || (current == NULL && next == NULL)) { current 2560 lib/pacemaker/pcmk_sched_native.c if (current != NULL && next != NULL && !pcmk__str_eq(current->details->id, next->details->id, pcmk__str_casei)) { current 2573 lib/pacemaker/pcmk_sched_native.c start_node = current; current 2603 lib/pacemaker/pcmk_sched_native.c } else if ((migrate_op != NULL) && (current != NULL) current 2605 lib/pacemaker/pcmk_sched_native.c LogAction("Migrate", rsc, current, next, start, NULL, terminal); current 2608 lib/pacemaker/pcmk_sched_native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); current 2615 lib/pacemaker/pcmk_sched_native.c LogAction("Re-promote", rsc, current, next, promote, demote, current 2623 lib/pacemaker/pcmk_sched_native.c LogAction("Stop", rsc, current, NULL, stop, current 2627 lib/pacemaker/pcmk_sched_native.c } else if (moving && current) { current 2629 lib/pacemaker/pcmk_sched_native.c rsc, current, next, stop, NULL, terminal); current 2632 lib/pacemaker/pcmk_sched_native.c LogAction("Recover", rsc, current, NULL, stop, NULL, terminal); current 2636 lib/pacemaker/pcmk_sched_native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); current 2674 lib/pacemaker/pcmk_sched_native.c LogAction("Recover", rsc, current, next, stop, start, terminal); current 2678 lib/pacemaker/pcmk_sched_native.c LogAction("Move", rsc, current, next, stop, NULL, terminal); current 2682 lib/pacemaker/pcmk_sched_native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); current 2685 lib/pacemaker/pcmk_sched_native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); current 2689 lib/pacemaker/pcmk_sched_native.c CRM_LOG_ASSERT(current != NULL); current 2690 lib/pacemaker/pcmk_sched_native.c LogAction("Demote", rsc, current, next, demote, NULL, terminal); current 2694 lib/pacemaker/pcmk_sched_native.c LogAction("Promote", rsc, current, next, promote, NULL, terminal); current 2697 lib/pacemaker/pcmk_sched_native.c LogAction("Start", rsc, current, next, start, NULL, terminal); current 2710 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 2714 lib/pacemaker/pcmk_sched_native.c if (rsc->partial_migration_target->details == current->details) { current 2715 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Filtered %s -> %s %s", current->details->uname, current 2719 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Forced on %s %s", current->details->uname, rsc->id); current 2724 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, current->details->uname); current 2725 lib/pacemaker/pcmk_sched_native.c stop = stop_action(rsc, current, optional); current 2737 lib/pacemaker/pcmk_sched_native.c DeleteRsc(rsc, current, optional, data_set); current 2741 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, FALSE, data_set); current 2744 lib/pacemaker/pcmk_sched_native.c if (!node_has_been_unfenced(current)) { current 2745 lib/pacemaker/pcmk_sched_native.c pe_proc_err("Stopping %s until %s can be unfenced", rsc->id, current->details->uname); current 2858 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; current 2861 lib/pacemaker/pcmk_sched_native.c demote_action(rsc, current, optional); current 616 lib/pacemaker/pcmk_sched_promotable.c set_role_slave(pe_resource_t * rsc, gboolean current) current 620 lib/pacemaker/pcmk_sched_promotable.c if (current) { current 642 lib/pacemaker/pcmk_sched_promotable.c set_role_slave(child_rsc, current); current 94 lib/pacemaker/pcmk_sched_utilization.c const char *current = NULL; current 98 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); current 100 lib/pacemaker/pcmk_sched_utilization.c result = crm_itoa(crm_parse_int(current, "0") + crm_parse_int(value, "0")); current 103 lib/pacemaker/pcmk_sched_utilization.c } else if (current) { current 104 lib/pacemaker/pcmk_sched_utilization.c result = crm_itoa(crm_parse_int(current, "0") - crm_parse_int(value, "0")); current 2038 lib/pengine/bundle.c pe__bundle_resource_state(const pe_resource_t *rsc, gboolean current) current 1144 lib/pengine/clone.c clone_resource_state(const pe_resource_t * rsc, gboolean current) current 1151 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 1185 lib/pengine/native.c native_resource_state(const pe_resource_t * rsc, gboolean current) current 1189 lib/pengine/native.c if (current) { current 1207 lib/pengine/native.c native_location(const pe_resource_t *rsc, GList **list, int current) current 1218 lib/pengine/native.c child->fns->location(child, &result, current); current 1221 lib/pengine/native.c } else if (current) { current 1226 lib/pengine/native.c if ((current == 2) && rsc->pending_node current 1231 lib/pengine/native.c } else if (current == FALSE && rsc->allocated_to) { current 908 tools/crm_resource.c pe_node_t *current = NULL; current 913 tools/crm_resource.c current = pe__find_active_requires(rsc, &nactive); current 916 tools/crm_resource.c rc = cli_resource_ban(options.rsc_id, current->details->uname, move_lifetime, NULL, current 923 tools/crm_resource.c current = NULL; current 930 tools/crm_resource.c current = pe__current_node(child); current 934 tools/crm_resource.c if(count == 1 && current) { current 935 tools/crm_resource.c rc = cli_resource_ban(options.rsc_id, current->details->uname, move_lifetime, NULL, current 289 tools/crm_resource_print.c pe_node_t *current = pe__find_active_on(rsc, &count, NULL); current 294 tools/crm_resource_print.c current = NULL; current 300 tools/crm_resource_print.c get_rsc_attributes(params, rsc, current, data_set); current 304 tools/crm_resource_print.c get_meta_attributes(params, rsc, current, data_set); current 1897 tools/crm_resource_runtime.c pe_node_t *current = NULL; current 1919 tools/crm_resource_runtime.c current = pe__find_active_requires(rsc, &count); current 1938 tools/crm_resource_runtime.c current = master_node; current 1945 tools/crm_resource_runtime.c current = NULL; current 1951 tools/crm_resource_runtime.c if (current && (current->details == dest->details)) { current 1980 tools/crm_resource_runtime.c if(current) { current 1981 tools/crm_resource_runtime.c (void)cli_resource_ban(rsc_id, current->details->uname, move_lifetime,