current 149 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); current 170 daemons/attrd/attrd_attributes.c crm_trace("Clear seen flag %s[%s] = %s.", a->id, v->nodename, v->current); current 448 daemons/attrd/attrd_cib.c a->id, at->current); current 450 daemons/attrd/attrd_cib.c a->id, at->nodename, at->current, at->nodeid, rc); current 463 daemons/attrd/attrd_cib.c pcmk__str_update(&a_v->current, v->current); current 552 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current); current 573 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current); current 578 daemons/attrd/attrd_cib.c rc = add_attr_update(a, v->current, peer->uuid); current 582 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current, peer->uname, peer->uuid, current 589 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current, current 598 daemons/attrd/attrd_cib.c if (v->current) { current 599 daemons/attrd/attrd_cib.c v->requested = strdup(v->current); current 299 daemons/attrd/attrd_corosync.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) current 303 daemons/attrd/attrd_corosync.c attr, host, v->current, value, peer->uname); current 306 daemons/attrd/attrd_corosync.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { current 310 daemons/attrd/attrd_corosync.c pcmk__s(a->set_type, ""), pcmk__s(v->current, "(unset)"), current 313 daemons/attrd/attrd_corosync.c pcmk__str_update(&v->current, value); current 574 daemons/attrd/attrd_corosync.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); current 77 daemons/attrd/attrd_ipc.c (v? v->current : NULL)); current 91 daemons/attrd/attrd_ipc.c crm_xml_add(host_value, PCMK__XA_ATTR_VALUE, v->current); current 351 daemons/attrd/attrd_ipc.c int_value = attrd_expand_value(*value, (v? v->current : NULL)); current 228 daemons/attrd/attrd_utils.c free(v->current); current 145 daemons/attrd/pacemaker-attrd.h char *current; current 327 include/crm/common/resources.h enum rsc_role_e (*state)(const pcmk_resource_t *rsc, gboolean current); current 340 include/crm/common/resources.h int current); current 209 include/crm/pengine/internal.h int current); current 287 include/crm/pengine/internal.h gboolean current); current 289 include/crm/pengine/internal.h gboolean current); current 291 include/crm/pengine/internal.h gboolean current); current 293 include/crm/pengine/internal.h gboolean current); current 1118 lib/common/iso8601.c for (const char *current = period_s + 1; current 1119 lib/common/iso8601.c current[0] && (current[0] != '/') && !isspace(current[0]); current 1120 lib/common/iso8601.c ++current) { current 1124 lib/common/iso8601.c if (current[0] == 'T') { current 1134 lib/common/iso8601.c rc = parse_int(current, 10, 0, &an_int); current 1137 lib/common/iso8601.c "because no integer at '%s'", period_s, current); current 1140 lib/common/iso8601.c current += rc; current 1143 lib/common/iso8601.c switch (current[0]) { current 1174 lib/common/iso8601.c period_s, current[0]); current 798 lib/common/patchset.c const char *current = key; current 828 lib/common/patchset.c rc = sscanf(current, "/%[^/]%s", section, remainder); current 855 lib/common/patchset.c current = remainder; current 987 lib/pacemaker/libpacemaker_private.h bool current); current 993 lib/pacemaker/libpacemaker_private.h bool current); current 1128 lib/pacemaker/libpacemaker_private.h const pcmk_node_t *current); current 1133 lib/pacemaker/libpacemaker_private.h const pcmk_node_t *current); current 1062 lib/pacemaker/pcmk_output.c if ((current != NULL) && current->details->unclean) { \ current 1081 lib/pacemaker/pcmk_output.c pcmk_node_t *current = va_arg(args, pcmk_node_t *); current 1097 lib/pacemaker/pcmk_output.c || (current == NULL && next == NULL)) { current 1106 lib/pacemaker/pcmk_output.c moving = (current != NULL) && (next != NULL) current 1107 lib/pacemaker/pcmk_output.c && !pe__same_node(current, next); current 1120 lib/pacemaker/pcmk_output.c start_node = current; current 1166 lib/pacemaker/pcmk_output.c if ((migrate_op != NULL) && (current != NULL) current 1168 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Migrate", rsc, current, current 1172 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, current 1181 lib/pacemaker/pcmk_output.c current, next, promote, demote); current 1193 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Stop", rsc, current, current 1197 lib/pacemaker/pcmk_output.c } else if (moving && current) { current 1201 lib/pacemaker/pcmk_output.c (failed? "Recover" : "Move"), rsc, current, next, current 1205 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 1210 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1262 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 1267 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Move", rsc, current, next, current 1272 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, next, current 1277 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1282 lib/pacemaker/pcmk_output.c CRM_LOG_ASSERT(current != NULL); current 1283 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Demote", rsc, current, current 1288 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Promote", rsc, current, current 1293 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Start", rsc, current, next, current 592 lib/pacemaker/pcmk_sched_instances.c const pcmk_node_t *current, int max_per_node, current 604 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); current 607 lib/pacemaker/pcmk_sched_instances.c current->details->id); current 611 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); current 639 lib/pacemaker/pcmk_sched_instances.c chosen = assign_instance(instance, current, max_per_node); current 641 lib/pacemaker/pcmk_sched_instances.c if (pe__same_node(chosen, current)) { current 654 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); current 662 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current), current 670 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); current 677 lib/pacemaker/pcmk_sched_instances.c pe__node_name(current)); current 696 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); current 789 lib/pacemaker/pcmk_sched_instances.c const pcmk_node_t *current = NULL; current 815 lib/pacemaker/pcmk_sched_instances.c current = preferred_node(instance, optimal_per_node); current 816 lib/pacemaker/pcmk_sched_instances.c if ((current != NULL) current 817 lib/pacemaker/pcmk_sched_instances.c && assign_instance_early(collective, instance, current, current 834 lib/pacemaker/pcmk_sched_instances.c current = pe__current_node(instance); current 835 lib/pacemaker/pcmk_sched_instances.c if (pcmk__top_allowed_node(instance, current) == NULL) { current 842 lib/pacemaker/pcmk_sched_instances.c unmanaged, instance->id, pe__node_name(current)); current 1075 lib/pacemaker/pcmk_sched_instances.c enum rsc_role_e role, bool current) current 1082 lib/pacemaker/pcmk_sched_instances.c && (role != instance->fns->state(instance, current))) { current 1091 lib/pacemaker/pcmk_sched_instances.c instance_node = instance->fns->location(instance, NULL, current); current 1129 lib/pacemaker/pcmk_sched_instances.c bool current) current 1137 lib/pacemaker/pcmk_sched_instances.c if (pcmk__instance_matches(instance, node, role, current)) { current 1171 lib/pacemaker/pcmk_sched_instances.c bool current) current 1178 lib/pacemaker/pcmk_sched_instances.c node = match_rsc->fns->location(match_rsc, NULL, current); current 1181 lib/pacemaker/pcmk_sched_instances.c current); current 1191 lib/pacemaker/pcmk_sched_instances.c role, current); current 1217 lib/pacemaker/pcmk_sched_instances.c bool current) current 1220 lib/pacemaker/pcmk_sched_instances.c if (current) { current 1381 lib/pacemaker/pcmk_sched_instances.c bool current = pcmk__ends_with(first->uuid, "_" PCMK_ACTION_STOPPED "_0") current 1398 lib/pacemaker/pcmk_sched_instances.c current); current 1402 lib/pacemaker/pcmk_sched_instances.c current)) { current 46 lib/pacemaker/pcmk_sched_migration.c pcmk__create_migration_actions(pcmk_resource_t *rsc, const pcmk_node_t *current) current 55 lib/pacemaker/pcmk_sched_migration.c rsc->id, pe__node_name(current), current 58 lib/pacemaker/pcmk_sched_migration.c stop = stop_action(rsc, current, TRUE); current 63 lib/pacemaker/pcmk_sched_migration.c PCMK_ACTION_MIGRATE_TO, current, TRUE, current 124 lib/pacemaker/pcmk_sched_migration.c add_migration_meta(migrate_to, current, rsc->allocated_to); current 142 lib/pacemaker/pcmk_sched_migration.c add_migration_meta(migrate_from, current, rsc->allocated_to); current 183 lib/pacemaker/pcmk_sched_migration.c pcmk__rsc_can_migrate(const pcmk_resource_t *rsc, const pcmk_node_t *current) current 212 lib/pacemaker/pcmk_sched_migration.c if ((current == NULL) || current->details->unclean) { current 215 lib/pacemaker/pcmk_sched_migration.c rsc->id, pe__node_name(current)); current 558 lib/pacemaker/pcmk_sched_primitive.c schedule_restart_actions(pcmk_resource_t *rsc, pcmk_node_t *current, current 577 lib/pacemaker/pcmk_sched_primitive.c fn(rsc, current, !need_stop); current 688 lib/pacemaker/pcmk_sched_primitive.c pcmk_node_t *current = NULL; current 702 lib/pacemaker/pcmk_sched_primitive.c current = rsc->fns->active_node(rsc, &num_all_active, &num_clean_active); current 707 lib/pacemaker/pcmk_sched_primitive.c if ((current != NULL) && (rsc->allocated_to != NULL) current 708 lib/pacemaker/pcmk_sched_primitive.c && !pe__same_node(current, rsc->allocated_to) current 712 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current), current 715 lib/pacemaker/pcmk_sched_primitive.c allow_migrate = pcmk__rsc_can_migrate(rsc, current); current 725 lib/pacemaker/pcmk_sched_primitive.c && pe__same_node(current, rsc->partial_migration_source) current 816 lib/pacemaker/pcmk_sched_primitive.c } else if ((rsc->role > pcmk_role_started) && (current != NULL) current 831 lib/pacemaker/pcmk_sched_primitive.c schedule_restart_actions(rsc, current, need_stop, need_promote); current 839 lib/pacemaker/pcmk_sched_primitive.c pcmk__create_migration_actions(rsc, current); current 1229 lib/pacemaker/pcmk_sched_primitive.c pcmk_node_t *current = (pcmk_node_t *) iter->data; current 1232 lib/pacemaker/pcmk_sched_primitive.c if (is_expected_node(rsc, current)) { current 1240 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1246 lib/pacemaker/pcmk_sched_primitive.c if (pe__same_node(current, rsc->partial_migration_target) current 1247 lib/pacemaker/pcmk_sched_primitive.c && pe__same_node(current, rsc->allocated_to)) { current 1251 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1257 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1263 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1264 lib/pacemaker/pcmk_sched_primitive.c stop = stop_action(rsc, current, optional); current 1282 lib/pacemaker/pcmk_sched_primitive.c pcmk__schedule_cleanup(rsc, current, optional); current 1286 lib/pacemaker/pcmk_sched_primitive.c pcmk_action_t *unfence = pe_fence_op(current, PCMK_ACTION_ON, true, current 1290 lib/pacemaker/pcmk_sched_primitive.c if (!pcmk__node_unfenced(current)) { current 1292 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1412 lib/pacemaker/pcmk_sched_primitive.c pcmk_node_t *current = (pcmk_node_t *) iter->data; current 1414 lib/pacemaker/pcmk_sched_primitive.c if (is_expected_node(rsc, current)) { current 1418 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1422 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(current)); current 1423 lib/pacemaker/pcmk_sched_primitive.c demote_action(rsc, current, optional); current 320 lib/pacemaker/pcmk_sched_resource.c pcmk_node_t *current = NULL; current 337 lib/pacemaker/pcmk_sched_resource.c current = pe__current_node(rsc); current 346 lib/pacemaker/pcmk_sched_resource.c if ((current == NULL) && pcmk_is_set(rsc->flags, pcmk_rsc_removed)) { current 351 lib/pacemaker/pcmk_sched_resource.c out->message(out, "rsc-action", rsc, current, next); current 146 lib/pacemaker/pcmk_sched_utilization.c const char *current = NULL; current 149 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); current 151 lib/pacemaker/pcmk_sched_utilization.c result = utilization_value(current) + utilization_value(value); current 152 lib/pacemaker/pcmk_sched_utilization.c } else if (current) { current 153 lib/pacemaker/pcmk_sched_utilization.c result = utilization_value(current) - utilization_value(value); current 2018 lib/pengine/bundle.c pe__bundle_resource_state(const pcmk_resource_t *rsc, gboolean current) current 1214 lib/pengine/clone.c clone_resource_state(const pcmk_resource_t * rsc, gboolean current) current 1221 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); current 477 lib/pengine/group.c group_resource_state(const pcmk_resource_t * rsc, gboolean current) current 484 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); current 1093 lib/pengine/native.c native_resource_state(const pcmk_resource_t * rsc, gboolean current) current 1097 lib/pengine/native.c if (current) { current 1116 lib/pengine/native.c native_location(const pcmk_resource_t *rsc, GList **list, int current) current 1128 lib/pengine/native.c child->fns->location(child, &result, current); current 1131 lib/pengine/native.c } else if (current) { current 1136 lib/pengine/native.c if ((current == 2) && rsc->pending_node current 1141 lib/pengine/native.c } else if (current == FALSE && rsc->allocated_to) { current 256 maint/gnulib/lib/bitset/list.c lbitset_elt *current = bset->b.csize ? LBITSET_CURRENT (bset) : LBITSET_HEAD (bset); current 271 maint/gnulib/lib/bitset/list.c for (ptr = current; current 289 maint/gnulib/lib/bitset/list.c for (ptr = current; current 314 maint/gnulib/lib/bitset/list.c lbitset_elt *current; current 318 maint/gnulib/lib/bitset/list.c current = LBITSET_CURRENT (bset); current 321 maint/gnulib/lib/bitset/list.c return current; current 325 maint/gnulib/lib/bitset/list.c current = LBITSET_HEAD (bset); current 328 maint/gnulib/lib/bitset/list.c if (current) current 333 maint/gnulib/lib/bitset/list.c for (elt = current; current 339 maint/gnulib/lib/bitset/list.c for (elt = current; current 58 maint/gnulib/lib/closedir.c if (dirp->current != INVALID_HANDLE_VALUE) current 59 maint/gnulib/lib/closedir.c FindClose (dirp->current); current 36 maint/gnulib/lib/dirent-private.h HANDLE current; current 104 maint/gnulib/lib/msvc-inval.c struct gl_msvc_inval_per_thread *current = gl_msvc_inval_current (); current 105 maint/gnulib/lib/msvc-inval.c if (current->restart_valid) current 106 maint/gnulib/lib/msvc-inval.c longjmp (current->restart, 1); current 251 maint/gnulib/lib/nstrftime.c (current->values[_NL_ITEM_INDEX (item)].string) current 254 maint/gnulib/lib/nstrftime.c # define HELPER_LOCALE_ARG , current current 447 maint/gnulib/lib/nstrftime.c struct __locale_data *const current = loc->__locales[LC_TIME]; current 89 maint/gnulib/lib/opendir.c HANDLE current; current 122 maint/gnulib/lib/opendir.c current = FindFirstFile (dir_name_mask, &entry); current 123 maint/gnulib/lib/opendir.c if (current == INVALID_HANDLE_VALUE) current 152 maint/gnulib/lib/opendir.c if (current != INVALID_HANDLE_VALUE) current 153 maint/gnulib/lib/opendir.c FindClose (current); current 158 maint/gnulib/lib/opendir.c dirp->current = current; current 54 maint/gnulib/lib/readdir.c if (!FindNextFile (dirp->current, &dirp->entry)) current 34 maint/gnulib/lib/rewinddir.c if (dirp->current != INVALID_HANDLE_VALUE) current 35 maint/gnulib/lib/rewinddir.c FindClose (dirp->current); current 39 maint/gnulib/lib/rewinddir.c dirp->current = FindFirstFile (dirp->dir_name_mask, &dirp->entry); current 40 maint/gnulib/lib/rewinddir.c if (dirp->current == INVALID_HANDLE_VALUE) current 169 maint/gnulib/lib/strptime.c (current->values[_NL_ITEM_INDEX (item)].string) current 172 maint/gnulib/lib/strptime.c (current->values[_NL_ITEM_INDEX (item)].word) current 177 maint/gnulib/lib/strptime.c # define HELPER_LOCALE_ARG , current current 241 maint/gnulib/lib/strptime.c struct locale_data *const current = locale->__locales[LC_TIME]; current 151 maint/gnulib/lib/strtol.c (current->values[_NL_ITEM_INDEX (item)].string) current 226 maint/gnulib/lib/strtol.c struct locale_data *current = loc->__locales[LC_NUMERIC]; current 164 maint/gnulib/lib/windows-tls.c struct dtor current = dtor_table[i]; current 165 maint/gnulib/lib/windows-tls.c if (current.destructor != NULL) current 168 maint/gnulib/lib/windows-tls.c void *current_value = glwthread_tls_get (current.key); current 172 maint/gnulib/lib/windows-tls.c glwthread_tls_set (current.key, NULL); current 174 maint/gnulib/lib/windows-tls.c current.destructor (current_value); current 973 tools/crm_resource.c pcmk_node_t *current = NULL; current 978 tools/crm_resource.c current = pe__find_active_requires(rsc, &nactive); current 981 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, current 989 tools/crm_resource.c current = NULL; current 996 tools/crm_resource.c current = pe__current_node(child); current 1000 tools/crm_resource.c if(count == 1 && current) { current 1001 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, current 1923 tools/crm_resource.c pcmk_node_t *current = rsc->fns->active_node(rsc, &count, NULL); current 1931 tools/crm_resource.c current = NULL; current 1937 tools/crm_resource.c params = pe_rsc_params(rsc, current, scheduler); current 1944 tools/crm_resource.c get_meta_attributes(params, rsc, current, scheduler); current 2136 tools/crm_resource_runtime.c pcmk_node_t *current = NULL; current 2161 tools/crm_resource_runtime.c current = pe__find_active_requires(rsc, &count); current 2179 tools/crm_resource_runtime.c current = promoted_node; current 2186 tools/crm_resource_runtime.c current = NULL; current 2192 tools/crm_resource_runtime.c if (current && (current->details == dest->details)) { current 2225 tools/crm_resource_runtime.c if(current) { current 2226 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime,