current 149 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); current 447 daemons/attrd/attrd_cib.c a->id, at->current); current 449 daemons/attrd/attrd_cib.c a->id, at->nodename, at->current, at->nodeid, rc); current 460 daemons/attrd/attrd_cib.c a_v->current = pcmk__str_copy(v->current); current 572 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current); current 577 daemons/attrd/attrd_cib.c rc = add_attr_update(a, v->current, uuid); current 581 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current, pcmk_rc_str(rc), current 587 daemons/attrd/attrd_cib.c a->id, v->nodename, pcmk__s(v->current, "(unset)"), current 595 daemons/attrd/attrd_cib.c pcmk__str_update(&(v->requested), v->current); current 225 daemons/attrd/attrd_corosync.c #define readable_value(rv_v) pcmk__s((rv_v)->current, "(unset)") current 256 daemons/attrd/attrd_corosync.c changed = !pcmk__str_eq(v->current, value, pcmk__str_casei); current 277 daemons/attrd/attrd_corosync.c pcmk__str_update(&v->current, value); current 70 daemons/attrd/attrd_ipc.c (v? v->current : NULL)); current 80 daemons/attrd/attrd_ipc.c crm_xml_add(host_value, PCMK__XA_ATTR_VALUE, v->current); current 342 daemons/attrd/attrd_ipc.c int_value = attrd_expand_value(*value, (v? v->current : NULL)); current 229 daemons/attrd/attrd_utils.c free(v->current); current 161 daemons/attrd/pacemaker-attrd.h char *current; // Attribute value current 316 include/crm/common/resources.h enum rsc_role_e (*state)(const pcmk_resource_t *rsc, gboolean current); current 329 include/crm/common/resources.h int current); current 60 include/crm/pengine/internal.h int current); current 129 include/crm/pengine/internal.h gboolean current); current 131 include/crm/pengine/internal.h gboolean current); current 133 include/crm/pengine/internal.h gboolean current); current 135 include/crm/pengine/internal.h gboolean current); current 1108 lib/common/iso8601.c for (const char *current = period_s + 1; current 1109 lib/common/iso8601.c current[0] && (current[0] != '/') && !isspace(current[0]); current 1110 lib/common/iso8601.c ++current) { current 1114 lib/common/iso8601.c if (current[0] == 'T') { current 1124 lib/common/iso8601.c rc = parse_int(current, &an_int); current 1127 lib/common/iso8601.c "because no valid integer at '%s'", period_s, current); current 1130 lib/common/iso8601.c current += rc; current 1133 lib/common/iso8601.c switch (current[0]) { current 1146 lib/common/iso8601.c period_s, current - rc); current 1157 lib/common/iso8601.c period_s, current - rc); current 1168 lib/common/iso8601.c period_s, current - rc); current 1180 lib/common/iso8601.c period_s, current - rc); current 1191 lib/common/iso8601.c period_s, current - rc); current 1206 lib/common/iso8601.c period_s, current[0]); current 1032 lib/common/patchset.c const char *current = key; current 1055 lib/common/patchset.c rc = sscanf(current, "/%[^/]%s", section, remainder); current 1083 lib/common/patchset.c current = remainder; current 994 lib/pacemaker/libpacemaker_private.h bool current); current 1000 lib/pacemaker/libpacemaker_private.h bool current); current 1135 lib/pacemaker/libpacemaker_private.h const pcmk_node_t *current); current 1140 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 && !pcmk__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 1194 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Stop", rsc, current, current 1198 lib/pacemaker/pcmk_output.c } else if (moving && current) { current 1202 lib/pacemaker/pcmk_output.c (failed? "Recover" : "Move"), rsc, current, next, current 1206 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 1211 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1263 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 1268 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Move", rsc, current, next, current 1273 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, next, current 1278 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1283 lib/pacemaker/pcmk_output.c CRM_LOG_ASSERT(current != NULL); current 1284 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Demote", rsc, current, current 1289 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Promote", rsc, current, current 1294 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Start", rsc, current, next, current 593 lib/pacemaker/pcmk_sched_instances.c const pcmk_node_t *current, int max_per_node, current 605 lib/pacemaker/pcmk_sched_instances.c instance->id, pcmk__node_name(current)); current 608 lib/pacemaker/pcmk_sched_instances.c current->details->id); current 612 lib/pacemaker/pcmk_sched_instances.c instance->id, pcmk__node_name(current)); current 640 lib/pacemaker/pcmk_sched_instances.c chosen = assign_instance(instance, current, max_per_node); current 642 lib/pacemaker/pcmk_sched_instances.c if (pcmk__same_node(chosen, current)) { current 656 lib/pacemaker/pcmk_sched_instances.c instance->id, pcmk__node_name(current)); current 664 lib/pacemaker/pcmk_sched_instances.c instance->id, pcmk__node_name(current), current 672 lib/pacemaker/pcmk_sched_instances.c instance->id, pcmk__node_name(current)); current 679 lib/pacemaker/pcmk_sched_instances.c pcmk__node_name(current)); current 698 lib/pacemaker/pcmk_sched_instances.c instance->id, pcmk__node_name(current)); current 791 lib/pacemaker/pcmk_sched_instances.c const pcmk_node_t *current = NULL; current 817 lib/pacemaker/pcmk_sched_instances.c current = preferred_node(instance, optimal_per_node); current 818 lib/pacemaker/pcmk_sched_instances.c if ((current != NULL) current 819 lib/pacemaker/pcmk_sched_instances.c && assign_instance_early(collective, instance, current, current 836 lib/pacemaker/pcmk_sched_instances.c current = pcmk__current_node(instance); current 837 lib/pacemaker/pcmk_sched_instances.c if (pcmk__top_allowed_node(instance, current) == NULL) { current 844 lib/pacemaker/pcmk_sched_instances.c unmanaged, instance->id, pcmk__node_name(current)); current 1077 lib/pacemaker/pcmk_sched_instances.c enum rsc_role_e role, bool current) current 1084 lib/pacemaker/pcmk_sched_instances.c && (role != instance->fns->state(instance, current))) { current 1093 lib/pacemaker/pcmk_sched_instances.c instance_node = instance->fns->location(instance, NULL, current); current 1136 lib/pacemaker/pcmk_sched_instances.c bool current) current 1144 lib/pacemaker/pcmk_sched_instances.c if (pcmk__instance_matches(instance, node, role, current)) { current 1178 lib/pacemaker/pcmk_sched_instances.c bool current) current 1185 lib/pacemaker/pcmk_sched_instances.c node = match_rsc->fns->location(match_rsc, NULL, current); current 1188 lib/pacemaker/pcmk_sched_instances.c current); current 1198 lib/pacemaker/pcmk_sched_instances.c role, current); current 1224 lib/pacemaker/pcmk_sched_instances.c bool current) current 1227 lib/pacemaker/pcmk_sched_instances.c if (current) { current 1388 lib/pacemaker/pcmk_sched_instances.c bool current = pcmk__ends_with(first->uuid, "_" PCMK_ACTION_STOPPED "_0") current 1405 lib/pacemaker/pcmk_sched_instances.c current); current 1409 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, pcmk__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 143 lib/pacemaker/pcmk_sched_migration.c add_migration_meta(migrate_from, current, rsc->allocated_to); current 184 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 216 lib/pacemaker/pcmk_sched_migration.c rsc->id, pcmk__node_name(current)); current 565 lib/pacemaker/pcmk_sched_primitive.c schedule_restart_actions(pcmk_resource_t *rsc, pcmk_node_t *current, current 584 lib/pacemaker/pcmk_sched_primitive.c fn(rsc, current, !need_stop); current 697 lib/pacemaker/pcmk_sched_primitive.c pcmk_node_t *current = NULL; current 712 lib/pacemaker/pcmk_sched_primitive.c current = rsc->fns->active_node(rsc, &num_all_active, &num_clean_active); current 717 lib/pacemaker/pcmk_sched_primitive.c if ((current != NULL) && (rsc->allocated_to != NULL) current 718 lib/pacemaker/pcmk_sched_primitive.c && !pcmk__same_node(current, rsc->allocated_to) current 722 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pcmk__node_name(current), current 725 lib/pacemaker/pcmk_sched_primitive.c allow_migrate = pcmk__rsc_can_migrate(rsc, current); current 735 lib/pacemaker/pcmk_sched_primitive.c && pcmk__same_node(current, rsc->partial_migration_source) current 828 lib/pacemaker/pcmk_sched_primitive.c } else if ((rsc->role > pcmk_role_started) && (current != NULL) current 843 lib/pacemaker/pcmk_sched_primitive.c schedule_restart_actions(rsc, current, need_stop, need_promote); current 851 lib/pacemaker/pcmk_sched_primitive.c pcmk__create_migration_actions(rsc, current); current 1245 lib/pacemaker/pcmk_sched_primitive.c pcmk_node_t *current = (pcmk_node_t *) iter->data; current 1248 lib/pacemaker/pcmk_sched_primitive.c if (is_expected_node(rsc, current)) { current 1256 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pcmk__node_name(current)); current 1262 lib/pacemaker/pcmk_sched_primitive.c if (pcmk__same_node(current, rsc->partial_migration_target) current 1263 lib/pacemaker/pcmk_sched_primitive.c && pcmk__same_node(current, rsc->allocated_to)) { current 1267 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pcmk__node_name(current)); current 1273 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pcmk__node_name(current)); current 1279 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pcmk__node_name(current)); current 1280 lib/pacemaker/pcmk_sched_primitive.c stop = stop_action(rsc, current, optional); current 1298 lib/pacemaker/pcmk_sched_primitive.c pcmk__schedule_cleanup(rsc, current, optional); current 1302 lib/pacemaker/pcmk_sched_primitive.c pcmk_action_t *unfence = pe_fence_op(current, PCMK_ACTION_ON, true, current 1306 lib/pacemaker/pcmk_sched_primitive.c if (!pcmk__node_unfenced(current)) { current 1308 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pcmk__node_name(current)); current 1428 lib/pacemaker/pcmk_sched_primitive.c pcmk_node_t *current = (pcmk_node_t *) iter->data; current 1430 lib/pacemaker/pcmk_sched_primitive.c if (is_expected_node(rsc, current)) { current 1434 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pcmk__node_name(current)); current 1438 lib/pacemaker/pcmk_sched_primitive.c pcmk__node_name(current)); current 1439 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 = pcmk__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 147 lib/pacemaker/pcmk_sched_utilization.c const char *current = NULL; current 150 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); current 152 lib/pacemaker/pcmk_sched_utilization.c result = utilization_value(current) + utilization_value(value); current 153 lib/pacemaker/pcmk_sched_utilization.c } else if (current) { current 154 lib/pacemaker/pcmk_sched_utilization.c result = utilization_value(current) - utilization_value(value); current 2074 lib/pengine/bundle.c pe__bundle_resource_state(const pcmk_resource_t *rsc, gboolean current) current 1257 lib/pengine/clone.c clone_resource_state(const pcmk_resource_t * rsc, gboolean current) current 1264 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); current 479 lib/pengine/group.c group_resource_state(const pcmk_resource_t * rsc, gboolean current) current 486 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); current 1111 lib/pengine/native.c native_resource_state(const pcmk_resource_t * rsc, gboolean current) current 1115 lib/pengine/native.c if (current) { current 1134 lib/pengine/native.c native_location(const pcmk_resource_t *rsc, GList **list, int current) current 1146 lib/pengine/native.c child->fns->location(child, &result, current); current 1149 lib/pengine/native.c } else if (current) { current 1154 lib/pengine/native.c if ((current == 2) && rsc->pending_node current 1159 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 855 tools/crm_resource.c pcmk_node_t *current = NULL; current 860 tools/crm_resource.c current = pe__find_active_requires(rsc, &nactive); current 863 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, current 871 tools/crm_resource.c current = NULL; current 878 tools/crm_resource.c current = pcmk__current_node(child); current 882 tools/crm_resource.c if(count == 1 && current) { current 883 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, current 1995 tools/crm_resource.c pcmk_node_t *current = rsc->fns->active_node(rsc, &count, NULL); current 2003 tools/crm_resource.c current = NULL; current 2010 tools/crm_resource.c params = pe_rsc_params(rsc, current, scheduler); current 2289 tools/crm_resource_runtime.c pcmk_node_t *current = NULL; current 2314 tools/crm_resource_runtime.c current = pe__find_active_requires(rsc, &count); current 2332 tools/crm_resource_runtime.c current = promoted_node; current 2339 tools/crm_resource_runtime.c current = NULL; current 2345 tools/crm_resource_runtime.c if (pcmk__same_node(current, dest)) { current 2378 tools/crm_resource_runtime.c if(current) { current 2379 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime,