current 129 daemons/attrd/attrd_attributes.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, v->current); current 150 daemons/attrd/attrd_attributes.c crm_trace("Clear seen flag %s[%s] = %s.", a->id, v->nodename, v->current); current 179 daemons/attrd/attrd_cib.c a->id, at->current); current 181 daemons/attrd/attrd_cib.c a->id, at->nodename, at->current, at->nodeid, rc); current 194 daemons/attrd/attrd_cib.c pcmk__str_update(&a_v->current, v->current); current 269 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current); current 290 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current); current 296 daemons/attrd/attrd_cib.c a->id, v->nodename, v->current, current 298 daemons/attrd/attrd_cib.c build_update_element(xml_top, a, peer->uuid, v->current); current 306 daemons/attrd/attrd_cib.c if (v->current) { current 307 daemons/attrd/attrd_cib.c v->requested = strdup(v->current); current 301 daemons/attrd/attrd_corosync.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) current 305 daemons/attrd/attrd_corosync.c attr, host, v->current, value, peer->uname); current 308 daemons/attrd/attrd_corosync.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { current 312 daemons/attrd/attrd_corosync.c pcmk__s(a->set_type, ""), pcmk__s(v->current, "(unset)"), current 315 daemons/attrd/attrd_corosync.c pcmk__str_update(&v->current, value); current 578 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 354 daemons/attrd/attrd_ipc.c int_value = attrd_expand_value(*value, (v? v->current : NULL)); current 265 daemons/attrd/attrd_utils.c free(v->current); current 145 daemons/attrd/pacemaker-attrd.h char *current; current 240 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 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 799 lib/common/patchset.c const char *current = key; current 829 lib/common/patchset.c rc = sscanf(current, "/%[^/]%s", section, remainder); current 856 lib/common/patchset.c current = remainder; current 810 lib/pacemaker/libpacemaker_private.h bool current); current 816 lib/pacemaker/libpacemaker_private.h bool current); current 953 lib/pacemaker/libpacemaker_private.h const pe_node_t *current); current 957 lib/pacemaker/libpacemaker_private.h bool pcmk__rsc_can_migrate(const pe_resource_t *rsc, const pe_node_t *current); current 1048 lib/pacemaker/pcmk_output.c if(current && current->details->unclean) { \ current 1066 lib/pacemaker/pcmk_output.c pe_node_t *current = va_arg(args, pe_node_t *); current 1081 lib/pacemaker/pcmk_output.c || (current == NULL && next == NULL)) { current 1088 lib/pacemaker/pcmk_output.c moving = (current != NULL) && (next != NULL) current 1089 lib/pacemaker/pcmk_output.c && (current->details != next->details); current 1100 lib/pacemaker/pcmk_output.c start_node = current; current 1140 lib/pacemaker/pcmk_output.c if ((migrate_op != NULL) && (current != NULL) current 1142 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Migrate", rsc, current, current 1146 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, current 1154 lib/pacemaker/pcmk_output.c current, next, promote, demote); current 1161 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Stop", rsc, current, current 1165 lib/pacemaker/pcmk_output.c } else if (moving && current) { current 1167 lib/pacemaker/pcmk_output.c rsc, current, next, stop, NULL); current 1170 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 1175 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1216 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, current 1221 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Move", rsc, current, next, current 1226 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, next, current 1230 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, current 1235 lib/pacemaker/pcmk_output.c CRM_LOG_ASSERT(current != NULL); current 1236 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Demote", rsc, current, current 1241 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Promote", rsc, current, current 1245 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Start", rsc, current, next, current 308 lib/pacemaker/pcmk_sched_bundle.c gboolean current) current 323 lib/pacemaker/pcmk_sched_bundle.c current)) { current 337 lib/pacemaker/pcmk_sched_bundle.c enum rsc_role_e filter, gboolean current, current 344 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); current 347 lib/pacemaker/pcmk_sched_bundle.c current); current 356 lib/pacemaker/pcmk_sched_bundle.c pair = compatible_replica_for_node(rsc_lh, node, rsc, filter, current); current 728 lib/pacemaker/pcmk_sched_instances.c const pe_node_t *current = NULL; current 749 lib/pacemaker/pcmk_sched_instances.c current = preferred_node(collective, instance, optimal_per_node); current 750 lib/pacemaker/pcmk_sched_instances.c if ((current != NULL) current 751 lib/pacemaker/pcmk_sched_instances.c && assign_instance(instance, current, max_per_node)) { current 753 lib/pacemaker/pcmk_sched_instances.c instance->id, pe__node_name(current)); current 769 lib/pacemaker/pcmk_sched_instances.c current = pe__current_node(instance); current 770 lib/pacemaker/pcmk_sched_instances.c if (pcmk__top_allowed_node(instance, current) == NULL) { current 777 lib/pacemaker/pcmk_sched_instances.c unmanaged, instance->id, pe__node_name(current)); current 1007 lib/pacemaker/pcmk_sched_instances.c enum rsc_role_e role, bool current) current 1014 lib/pacemaker/pcmk_sched_instances.c && (role != instance->fns->state(instance, current))) { current 1023 lib/pacemaker/pcmk_sched_instances.c instance_node = instance->fns->location(instance, NULL, current); current 1061 lib/pacemaker/pcmk_sched_instances.c bool current) current 1069 lib/pacemaker/pcmk_sched_instances.c if (pcmk__instance_matches(instance, node, role, current)) { current 1102 lib/pacemaker/pcmk_sched_instances.c bool current) current 1106 lib/pacemaker/pcmk_sched_instances.c const pe_node_t *node = match_rsc->fns->location(match_rsc, NULL, current); current 1111 lib/pacemaker/pcmk_sched_instances.c current); current 1121 lib/pacemaker/pcmk_sched_instances.c role, current); current 1146 lib/pacemaker/pcmk_sched_instances.c pe_resource_t *then_instance, uint32_t type, bool current) current 1149 lib/pacemaker/pcmk_sched_instances.c if (current) { current 1306 lib/pacemaker/pcmk_sched_instances.c bool current = pcmk__ends_with(first->uuid, "_" CRMD_ACTION_STOPPED "_0") current 1323 lib/pacemaker/pcmk_sched_instances.c current); current 1327 lib/pacemaker/pcmk_sched_instances.c current)) { current 46 lib/pacemaker/pcmk_sched_migration.c pcmk__create_migration_actions(pe_resource_t *rsc, const pe_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 62 lib/pacemaker/pcmk_sched_migration.c RSC_MIGRATE, current, TRUE, TRUE, current 117 lib/pacemaker/pcmk_sched_migration.c add_migration_meta(migrate_to, current, rsc->allocated_to); current 136 lib/pacemaker/pcmk_sched_migration.c add_migration_meta(migrate_from, current, rsc->allocated_to); current 177 lib/pacemaker/pcmk_sched_migration.c pcmk__rsc_can_migrate(const pe_resource_t *rsc, const pe_node_t *current) current 206 lib/pacemaker/pcmk_sched_migration.c if ((current == NULL) || current->details->unclean) { current 209 lib/pacemaker/pcmk_sched_migration.c rsc->id, pe__node_name(current)); current 521 lib/pacemaker/pcmk_sched_primitive.c schedule_restart_actions(pe_resource_t *rsc, pe_node_t *current, current 540 lib/pacemaker/pcmk_sched_primitive.c fn(rsc, current, !need_stop); current 651 lib/pacemaker/pcmk_sched_primitive.c pe_node_t *current = NULL; current 665 lib/pacemaker/pcmk_sched_primitive.c current = rsc->fns->active_node(rsc, &num_all_active, &num_clean_active); current 670 lib/pacemaker/pcmk_sched_primitive.c if ((current != NULL) && (rsc->allocated_to != NULL) current 671 lib/pacemaker/pcmk_sched_primitive.c && (current->details != rsc->allocated_to->details) current 675 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current), current 678 lib/pacemaker/pcmk_sched_primitive.c allow_migrate = pcmk__rsc_can_migrate(rsc, current); current 688 lib/pacemaker/pcmk_sched_primitive.c && pe__same_node(current, rsc->partial_migration_source) current 779 lib/pacemaker/pcmk_sched_primitive.c } else if ((rsc->role > RSC_ROLE_STARTED) && (current != NULL) current 794 lib/pacemaker/pcmk_sched_primitive.c schedule_restart_actions(rsc, current, need_stop, need_promote); current 802 lib/pacemaker/pcmk_sched_primitive.c pcmk__create_migration_actions(rsc, current); current 1153 lib/pacemaker/pcmk_sched_primitive.c pe_node_t *current = (pe_node_t *) iter->data; current 1156 lib/pacemaker/pcmk_sched_primitive.c if (is_expected_node(rsc, current)) { current 1164 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1170 lib/pacemaker/pcmk_sched_primitive.c if (pe__same_node(current, rsc->partial_migration_target) current 1171 lib/pacemaker/pcmk_sched_primitive.c && pe__same_node(current, rsc->allocated_to)) { current 1175 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1181 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1187 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1188 lib/pacemaker/pcmk_sched_primitive.c stop = stop_action(rsc, current, optional); current 1206 lib/pacemaker/pcmk_sched_primitive.c pcmk__schedule_cleanup(rsc, current, optional); current 1210 lib/pacemaker/pcmk_sched_primitive.c pe_action_t *unfence = pe_fence_op(current, "on", true, NULL, false, current 1214 lib/pacemaker/pcmk_sched_primitive.c if (!pcmk__node_unfenced(current)) { current 1216 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1335 lib/pacemaker/pcmk_sched_primitive.c pe_node_t *current = (pe_node_t *) iter->data; current 1337 lib/pacemaker/pcmk_sched_primitive.c if (is_expected_node(rsc, current)) { current 1341 lib/pacemaker/pcmk_sched_primitive.c rsc->id, pe__node_name(current)); current 1345 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(current)); current 1346 lib/pacemaker/pcmk_sched_primitive.c demote_action(rsc, current, optional); current 302 lib/pacemaker/pcmk_sched_resource.c pe_node_t *current = NULL; current 315 lib/pacemaker/pcmk_sched_resource.c current = pe__current_node(rsc); current 324 lib/pacemaker/pcmk_sched_resource.c if ((current == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { current 329 lib/pacemaker/pcmk_sched_resource.c out->message(out, "rsc-action", rsc, current, next); current 148 lib/pacemaker/pcmk_sched_utilization.c const char *current = NULL; current 151 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); current 153 lib/pacemaker/pcmk_sched_utilization.c result = utilization_value(current) + utilization_value(value); current 154 lib/pacemaker/pcmk_sched_utilization.c } else if (current) { current 155 lib/pacemaker/pcmk_sched_utilization.c result = utilization_value(current) - utilization_value(value); current 1821 lib/pengine/bundle.c pe__bundle_resource_state(const pe_resource_t *rsc, gboolean current) current 1203 lib/pengine/clone.c clone_resource_state(const pe_resource_t * rsc, gboolean current) current 1210 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); current 474 lib/pengine/group.c group_resource_state(const pe_resource_t * rsc, gboolean current) current 481 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); current 1070 lib/pengine/native.c native_resource_state(const pe_resource_t * rsc, gboolean current) current 1074 lib/pengine/native.c if (current) { current 1093 lib/pengine/native.c native_location(const pe_resource_t *rsc, GList **list, int current) current 1104 lib/pengine/native.c child->fns->location(child, &result, current); current 1107 lib/pengine/native.c } else if (current) { current 1112 lib/pengine/native.c if ((current == 2) && rsc->pending_node current 1117 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 966 tools/crm_resource.c pe_node_t *current = NULL; current 971 tools/crm_resource.c current = pe__find_active_requires(rsc, &nactive); current 974 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, current 981 tools/crm_resource.c current = NULL; current 988 tools/crm_resource.c current = pe__current_node(child); current 992 tools/crm_resource.c if(count == 1 && current) { current 993 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, current 2014 tools/crm_resource.c pe_node_t *current = rsc->fns->active_node(rsc, &count, NULL); current 2022 tools/crm_resource.c current = NULL; current 2028 tools/crm_resource.c params = pe_rsc_params(rsc, current, data_set); current 2035 tools/crm_resource.c get_meta_attributes(params, rsc, current, data_set); current 2074 tools/crm_resource_runtime.c pe_node_t *current = NULL; current 2097 tools/crm_resource_runtime.c current = pe__find_active_requires(rsc, &count); current 2115 tools/crm_resource_runtime.c current = promoted_node; current 2122 tools/crm_resource_runtime.c current = NULL; current 2128 tools/crm_resource_runtime.c if (current && (current->details == dest->details)) { current 2159 tools/crm_resource_runtime.c if(current) { current 2160 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime,