current 88 attrd/commands.c free(v->current); current 259 attrd/commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); current 413 attrd/commands.c crm_xml_add(host_value, F_ATTRD_VALUE, (v? v->current : NULL)); current 427 attrd/commands.c crm_xml_add(host_value, F_ATTRD_VALUE, v->current); current 647 attrd/commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); current 649 attrd/commands.c v->nodename, v->nodeid, v->current); current 822 attrd/commands.c if (filter && safe_str_neq(v->current, value) current 828 attrd/commands.c attr, host, v->current, value, peer->uname); current 833 attrd/commands.c a->is_private, v->nodename, v->nodeid, v->current); current 841 attrd/commands.c } else if (safe_str_neq(v->current, value)) { current 843 attrd/commands.c attr, host, v->current, value, peer->uname); current 844 attrd/commands.c free(v->current); current 845 attrd/commands.c v->current = (value? strdup(value) : NULL); current 1053 attrd/commands.c if (v->current != NULL) { current 1054 attrd/commands.c a_v->current = strdup(v->current); current 1071 attrd/commands.c a->id, at->current); current 1073 attrd/commands.c a->id, at->nodename, at->current, at->nodeid, rc); current 1134 attrd/commands.c a->id, v->nodename, v->current, peer); current 1154 attrd/commands.c a->id, v->nodename, v->current, peer); current 1160 attrd/commands.c v->current, peer->uuid, peer->id, v->nodeid, peer->uname); current 1161 attrd/commands.c build_update_element(xml_top, a, peer->uuid, v->current); current 1169 attrd/commands.c if (v->current) { current 1170 attrd/commands.c v->requested = strdup(v->current); current 44 attrd/internal.h char *current; current 65 include/crm/pengine/internal.h node_t *native_location(resource_t * rsc, GListPtr * list, gboolean current); current 100 include/crm/pengine/internal.h enum rsc_role_e native_resource_state(const resource_t * rsc, gboolean current); current 101 include/crm/pengine/internal.h enum rsc_role_e group_resource_state(const resource_t * rsc, gboolean current); current 102 include/crm/pengine/internal.h enum rsc_role_e clone_resource_state(const resource_t * rsc, gboolean current); current 103 include/crm/pengine/internal.h enum rsc_role_e master_resource_state(const resource_t * rsc, gboolean current); current 104 include/crm/pengine/internal.h enum rsc_role_e container_resource_state(const resource_t * rsc, gboolean current); current 1955 lib/common/xml.c char *current = strdup(key); current 1959 lib/common/xml.c while(current) { current 1960 lib/common/xml.c rc = sscanf (current, "/%[^/]%s", section, remainder); current 1966 lib/common/xml.c crm_trace("Aborting on %s", current); current 1997 lib/common/xml.c char *tmp = current; current 1998 lib/common/xml.c current = remainder; current 2014 lib/common/xml.c free(current); current 620 lib/pengine/clone.c clone_resource_state(const resource_t * rsc, gboolean current) current 627 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); current 1432 lib/pengine/container.c container_resource_state(const resource_t * rsc, gboolean current) current 218 lib/pengine/group.c group_resource_state(const resource_t * rsc, gboolean current) current 225 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); current 751 lib/pengine/native.c native_resource_state(const resource_t * rsc, gboolean current) current 755 lib/pengine/native.c if (current) { current 763 lib/pengine/native.c native_location(resource_t * rsc, GListPtr * list, gboolean current) current 774 lib/pengine/native.c child->fns->location(child, &result, current); current 777 lib/pengine/native.c } else if (current && rsc->running_on) { current 780 lib/pengine/native.c } else if (current == FALSE && rsc->allocated_to) { current 706 pengine/allocate.c node_t *current = pe_find_node_id(rsc->running_on, node->details->id); current 709 pengine/allocate.c if (current == NULL) { current 953 pengine/clone.c is_child_compatible(resource_t *child_rsc, node_t * local_node, enum rsc_role_e filter, gboolean current) current 956 pengine/clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); current 960 pengine/clone.c node = child_rsc->fns->location(child_rsc, NULL, current); current 976 pengine/clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); current 982 pengine/clone.c find_compatible_child(resource_t * local_child, resource_t * rsc, enum rsc_role_e filter, gboolean current) current 989 pengine/clone.c local_node = local_child->fns->location(local_child, NULL, current); current 991 pengine/clone.c return find_compatible_child_by_node(local_child, local_node, rsc, filter, current); current 1001 pengine/clone.c pair = find_compatible_child_by_node(local_child, node, rsc, filter, current); current 345 pengine/container.c enum rsc_role_e filter, gboolean current) current 358 pengine/container.c if(is_child_compatible(tuple->docker, candidate, filter, current)) { current 371 pengine/container.c gboolean current) current 377 pengine/container.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); current 379 pengine/container.c return find_compatible_tuple_by_node(rsc_lh, active_node_lh, rsc, filter, current); current 388 pengine/container.c pair = find_compatible_tuple_by_node(rsc_lh, node, rsc, filter, current); current 534 pengine/container.c enum rsc_role_e filter, gboolean current) current 551 pengine/container.c if(is_child_compatible(child_rsc, local_node, filter, current)) { current 589 pengine/container.c gboolean current = FALSE; current 595 pengine/container.c current = TRUE; current 601 pengine/container.c resource_t *first_child = find_compatible_child(then_child, first->rsc, RSC_ROLE_UNKNOWN, current); current 602 pengine/container.c if (first_child == NULL && current) { current 606 pengine/container.c crm_debug("No match found for %s (%d / %s / %s)", then_child->id, current, first->uuid, then->uuid); current 604 pengine/master.c set_role_slave(resource_t * rsc, gboolean current) current 608 pengine/master.c if (current) { current 630 pengine/master.c set_role_slave(child_rsc, current); current 1064 pengine/native.c handle_migration_actions(resource_t * rsc, node_t *current, node_t *chosen, pe_working_set_t * data_set) current 1073 pengine/native.c rsc->id, current->details->id, chosen->details->id, partial ? "TRUE" : "FALSE"); current 1075 pengine/native.c stop = stop_action(rsc, current, TRUE); current 1078 pengine/native.c migrate_to = custom_action(rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), RSC_MIGRATE, current, TRUE, TRUE, data_set); current 1117 pengine/native.c add_hash_param(migrate_to->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); current 1135 pengine/native.c add_hash_param(migrate_from->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); current 1145 pengine/native.c node_t *current = NULL; current 1170 pengine/native.c current = rsc->running_on->data; current 1177 pengine/native.c current = rsc->partial_migration_source; current 1183 pengine/native.c node_t *current = (node_t *) gIter->data; current 1185 pengine/native.c action_t *stop = stop_action(rsc, current, FALSE); current 1188 pengine/native.c pe_rsc_trace(rsc, "Forcing a cleanup of %s on %s", rsc->id, current->details->uname); current 1191 pengine/native.c DeleteRsc(rsc, current, FALSE, data_set); current 1201 pengine/native.c && (current->details == rsc->partial_migration_source->details) current 1243 pengine/native.c if (current && chosen && current->details != chosen->details) { current 1256 pengine/native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { current 1276 pengine/native.c if (rsc_action_matrix[role][next_role] (rsc, current, !need_stop, data_set) == FALSE) { current 1328 pengine/native.c (current->details->unclean == TRUE) || current 1335 pengine/native.c handle_migration_actions(rsc, current, chosen, data_set); current 1437 pengine/native.c node_t *current = (node_t *) gIter->data; current 1439 pengine/native.c char *load_stopped_task = crm_concat(LOAD_STOPPED, current->details->uname, '_'); current 1443 pengine/native.c load_stopped->node = node_copy(current); current 2172 pengine/native.c if(current && current->details->unclean) { \ current 2289 pengine/native.c node_t *current = NULL; current 2319 pengine/native.c current = rsc->partial_migration_source; current 2321 pengine/native.c current = rsc->running_on->data; current 2333 pengine/native.c if (current == NULL && is_set(rsc->flags, pe_rsc_orphan)) { current 2339 pengine/native.c || (current == NULL && next == NULL)) { current 2346 pengine/native.c if (current != NULL && next != NULL && safe_str_neq(current->details->id, next->details->id)) { current 2362 pengine/native.c possible_matches = find_actions(rsc->actions, key, current); current 2399 pengine/native.c } else if (migrate_op && is_set(migrate_op->flags, pe_action_runnable) && current) { current 2400 pengine/native.c LogAction("Migrate", rsc, current, next, start, NULL, terminal); current 2403 pengine/native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); current 2410 pengine/native.c LogAction("Stop", rsc, current, NULL, stop, current 2414 pengine/native.c } else if (moving && current) { current 2416 pengine/native.c rsc, current, next, stop, NULL, terminal); current 2419 pengine/native.c LogAction("Recover", rsc, current, NULL, stop, NULL, terminal); current 2423 pengine/native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); current 2460 pengine/native.c LogAction("Recover", rsc, current, next, stop, start, terminal); current 2464 pengine/native.c LogAction("Move", rsc, current, next, stop, NULL, terminal); current 2468 pengine/native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); current 2471 pengine/native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); current 2475 pengine/native.c CRM_LOG_ASSERT(current != NULL); current 2476 pengine/native.c LogAction("Demote", rsc, current, next, demote, NULL, terminal); current 2480 pengine/native.c LogAction("Promote", rsc, current, next, promote, NULL, terminal); current 2483 pengine/native.c LogAction("Start", rsc, current, next, start, NULL, terminal); current 2496 pengine/native.c node_t *current = (node_t *) gIter->data; current 2500 pengine/native.c if (rsc->partial_migration_target->details == current->details) { current 2501 pengine/native.c pe_rsc_trace(rsc, "Filtered %s -> %s %s", current->details->uname, current 2505 pengine/native.c pe_rsc_trace(rsc, "Forced on %s %s", current->details->uname, rsc->id); current 2510 pengine/native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, current->details->uname); current 2511 pengine/native.c stop = stop_action(rsc, current, optional); current 2522 pengine/native.c DeleteRsc(rsc, current, optional, data_set); current 2526 pengine/native.c action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, data_set); current 2527 pengine/native.c const char *unfenced = pe_node_attribute_raw(current, CRM_ATTR_UNFENCED); current 2531 pengine/native.c pe_proc_err("Stopping %s until %s can be unfenced", rsc->id, current->details->uname); current 2625 pengine/native.c node_t *current = (node_t *) gIter->data; current 2628 pengine/native.c demote_action(rsc, current, optional); current 104 pengine/utilization.c const char *current = NULL; current 108 pengine/utilization.c current = g_hash_table_lookup(data->current_utilization, key); current 110 pengine/utilization.c result = crm_itoa(crm_parse_int(current, "0") + crm_parse_int(value, "0")); current 113 pengine/utilization.c } else if (current) { current 114 pengine/utilization.c result = crm_itoa(crm_parse_int(current, "0") - crm_parse_int(value, "0")); current 54 pengine/utils.h resource_t *find_compatible_child(resource_t * local_child, resource_t * rsc, enum rsc_role_e filter, gboolean current); current 56 pengine/utils.h enum rsc_role_e filter, gboolean current); current 57 pengine/utils.h gboolean is_child_compatible(resource_t *child_rsc, node_t * local_node, enum rsc_role_e filter, gboolean current); current 1020 tools/crm_resource.c node_t *current = rsc->running_on->data; current 1021 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); current 1026 tools/crm_resource.c node_t *current = NULL; current 1034 tools/crm_resource.c current = child->running_on->data; current 1038 tools/crm_resource.c if(count == 1 && current) { current 1039 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); current 318 tools/crm_resource_print.c node_t *current = NULL; current 323 tools/crm_resource_print.c current = rsc->running_on->data; current 333 tools/crm_resource_print.c get_rsc_attributes(params, rsc, current, data_set); current 337 tools/crm_resource_print.c get_meta_attributes(params, rsc, current, data_set); current 1622 tools/crm_resource_runtime.c node_t *current = NULL; current 1671 tools/crm_resource_runtime.c current = rsc->running_on->data; current 1674 tools/crm_resource_runtime.c if(current == NULL) { current 1679 tools/crm_resource_runtime.c } else if (safe_str_eq(current->details->uname, dest->details->uname)) { current 1705 tools/crm_resource_runtime.c if(current) { current 1706 tools/crm_resource_runtime.c (void)cli_resource_ban(rsc_id, current->details->uname, NULL, cib);