value 138 daemons/attrd/attrd_alerts.c const char *attr, const char *value) value 144 daemons/attrd/attrd_alerts.c node, nodeid, attr, value); value 108 daemons/attrd/attrd_commands.c gboolean is_private, const char *peer, uint32_t peerid, const char *value, gboolean is_force_write) value 118 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_VALUE, value); value 148 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_DAMPENING); value 161 daemons/attrd/attrd_commands.c if(value) { value 162 daemons/attrd/attrd_commands.c dampen = crm_get_msec(value); value 163 daemons/attrd/attrd_commands.c crm_trace("Created attribute %s with delay %dms (%s)", a->id, dampen, value); value 172 daemons/attrd/attrd_commands.c crm_warn("Ignoring invalid delay %s for attribute %s", value, a->id); value 240 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); value 248 daemons/attrd/attrd_commands.c crm_debug("Setting %s to %s", regex, value); value 286 daemons/attrd/attrd_commands.c if (value) { value 287 daemons/attrd/attrd_commands.c if (attrd_value_needs_expansion(value)) { value 294 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); value 296 daemons/attrd/attrd_commands.c crm_info("Expanded %s=%s to %d", attr, value, int_value); value 300 daemons/attrd/attrd_commands.c value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); value 304 daemons/attrd/attrd_commands.c crm_debug("Broadcasting %s[%s]=%s%s", attr, host, value, value 784 daemons/attrd/attrd_commands.c const char *value = crm_element_value(xml, PCMK__XA_ATTR_VALUE); value 853 daemons/attrd/attrd_commands.c crm_debug("Setting %s for all hosts to %s", attr, value); value 866 daemons/attrd/attrd_commands.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) value 872 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); value 885 daemons/attrd/attrd_commands.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { value 887 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); value 889 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); value 895 daemons/attrd/attrd_commands.c if (!pcmk__str_eq(value, "0", pcmk__str_null_matches)) { value 915 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s(Set the forced write flag)", attr, host, peer->uname, value); value 918 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); value 1118 daemons/attrd/attrd_commands.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) value 1145 daemons/attrd/attrd_commands.c if(value) { value 1146 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_NVPAIR_ATTR_VALUE, value); value 252 daemons/attrd/attrd_utils.c attrd_value_needs_expansion(const char *value) value 254 daemons/attrd/attrd_utils.c return ((strlen(value) >= (plus_plus_len + 2)) value 255 daemons/attrd/attrd_utils.c && (value[plus_plus_len] == '+') value 256 daemons/attrd/attrd_utils.c && ((value[plus_plus_len + 1] == '+') value 257 daemons/attrd/attrd_utils.c || (value[plus_plus_len + 1] == '='))); value 270 daemons/attrd/attrd_utils.c attrd_expand_value(const char *value, const char *old_value) value 275 daemons/attrd/attrd_utils.c if (value[plus_plus_len + 1] != '+') { value 276 daemons/attrd/attrd_utils.c const char *offset_s = value + (plus_plus_len + 2); value 249 daemons/attrd/pacemaker-attrd.c const char *value = crm_element_value(xml, F_ORIG); value 250 daemons/attrd/pacemaker-attrd.c client->name = crm_strdup_printf("%s.%d", value?value:"unknown", client->pid); value 34 daemons/attrd/pacemaker-attrd.h gboolean attrd_value_needs_expansion(const char *value); value 35 daemons/attrd/pacemaker-attrd.h int attrd_expand_value(const char *value, const char *old_value); value 72 daemons/attrd/pacemaker-attrd.h const char *attr, const char *value); value 236 daemons/based/based_callbacks.c const char *value = crm_element_value(op_request, F_CIB_CLIENTNAME); value 238 daemons/based/based_callbacks.c if (value == NULL) { value 241 daemons/based/based_callbacks.c cib_client->name = strdup(value); value 242 daemons/based/based_callbacks.c if (crm_is_daemon_name(value)) { value 1439 daemons/based/based_callbacks.c disconnect_remote_client(gpointer key, gpointer value, gpointer user_data) value 1441 daemons/based/based_callbacks.c pcmk__client_t *a_client = value; value 179 daemons/based/based_common.c int *value = malloc(sizeof(int)); value 181 daemons/based/based_common.c if(value) { value 182 daemons/based/based_common.c *value = lpc; value 183 daemons/based/based_common.c g_hash_table_insert(operation_hash, (gpointer) cib_server_ops[lpc].operation, value); value 189 daemons/based/based_common.c int *value = g_hash_table_lookup(operation_hash, op); value 191 daemons/based/based_common.c if (value) { value 192 daemons/based/based_common.c *operation = *value; value 206 daemons/based/based_common.c const char *value = NULL; value 246 daemons/based/based_common.c value = crm_element_value(msg, field); value 247 daemons/based/based_common.c if (value != NULL) { value 248 daemons/based/based_common.c crm_xml_add(copy, field, value); value 190 daemons/based/based_io.c const char *value = NULL; value 269 daemons/based/based_io.c value = crm_element_value(root, name); value 270 daemons/based/based_io.c if (value == NULL) { value 281 daemons/based/based_io.c value = crm_element_value(root, name); value 282 daemons/based/based_io.c if (value == NULL) { value 287 daemons/based/based_io.c value = crm_element_value(root, name); value 288 daemons/based/based_io.c if (value == NULL) { value 231 daemons/based/based_messages.c const char *value = crm_element_value(existing_cib, XML_ATTR_VALIDATION); value 237 daemons/based/based_messages.c if (value != NULL) { value 238 daemons/based/based_messages.c current_version = get_schema_version(value); value 47 daemons/based/based_notify.c cib_notify_send_one(gpointer key, gpointer value, gpointer user_data) value 53 daemons/based/based_notify.c pcmk__client_t *client = value; value 412 daemons/based/based_remote.c const char *value = NULL; value 414 daemons/based/based_remote.c value = crm_element_name(command); value 415 daemons/based/based_remote.c if (!pcmk__str_eq(value, "cib_command", pcmk__str_casei)) { value 421 daemons/based/based_remote.c value = crm_element_value(command, F_CLIENTNAME); value 422 daemons/based/based_remote.c if (value == NULL) { value 425 daemons/based/based_remote.c client->name = strdup(value); value 430 daemons/based/based_remote.c value = crm_element_value(command, F_CIB_CALLBACK_TOKEN); value 431 daemons/based/based_remote.c if (value != NULL) { value 432 daemons/based/based_remote.c client->userdata = strdup(value); value 32 daemons/controld/controld_attrd.c log_attrd_error(const char *host, const char *name, const char *value, value 59 daemons/controld/controld_attrd.c CRM_XS " rc=%d", name, value, node_type, host, when, value 79 daemons/controld/controld_attrd.c update_attrd_helper(const char *host, const char *name, const char *value, value 113 daemons/controld/controld_attrd.c value, XML_CIB_TAG_STATUS, NULL, value 120 daemons/controld/controld_attrd.c value, interval_spec, value 148 daemons/controld/controld_attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); value 153 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, value 156 daemons/controld/controld_attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, value 683 daemons/controld/controld_control.c const char *value = NULL; value 723 daemons/controld/controld_control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_DC_DEADTIME); value 724 daemons/controld/controld_control.c election_trigger->period_ms = crm_parse_interval_spec(value); value 726 daemons/controld/controld_control.c value = crmd_pref(config_hash, "node-action-limit"); /* Also checks migration-limit */ value 727 daemons/controld/controld_control.c throttle_update_job_max(value); value 729 daemons/controld/controld_control.c value = crmd_pref(config_hash, "load-threshold"); value 730 daemons/controld/controld_control.c if(value) { value 731 daemons/controld/controld_control.c throttle_set_load_target(strtof(value, NULL) / 100.0); value 734 daemons/controld/controld_control.c value = crmd_pref(config_hash, "no-quorum-policy"); value 735 daemons/controld/controld_control.c if (pcmk__str_eq(value, "suicide", pcmk__str_casei) && pcmk__locate_sbd()) { value 741 daemons/controld/controld_control.c value = crmd_pref(config_hash,"stonith-max-attempts"); value 742 daemons/controld/controld_control.c update_stonith_max_attempts(value); value 744 daemons/controld/controld_control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_FORCE_QUIT); value 745 daemons/controld/controld_control.c shutdown_escalation_timer->period_ms = crm_parse_interval_spec(value); value 749 daemons/controld/controld_control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_ELECTION_FAIL); value 750 daemons/controld/controld_control.c controld_set_election_period(value); value 752 daemons/controld/controld_control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_RECHECK); value 753 daemons/controld/controld_control.c recheck_interval_ms = crm_parse_interval_spec(value); value 756 daemons/controld/controld_control.c value = crmd_pref(config_hash, "transition-delay"); value 757 daemons/controld/controld_control.c transition_timer->period_ms = crm_parse_interval_spec(value); value 759 daemons/controld/controld_control.c value = crmd_pref(config_hash, "join-integration-timeout"); value 760 daemons/controld/controld_control.c integration_timer->period_ms = crm_parse_interval_spec(value); value 762 daemons/controld/controld_control.c value = crmd_pref(config_hash, "join-finalization-timeout"); value 763 daemons/controld/controld_control.c finalization_timer->period_ms = crm_parse_interval_spec(value); value 765 daemons/controld/controld_control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_SHUTDOWN_LOCK); value 766 daemons/controld/controld_control.c controld_shutdown_lock_enabled = crm_is_true(value); value 771 daemons/controld/controld_control.c value = g_hash_table_lookup(config_hash, "cluster-name"); value 772 daemons/controld/controld_control.c if (value) { value 773 daemons/controld/controld_control.c fsa_cluster_name = strdup(value); value 830 daemons/controld/controld_control.c const char *value = crmd_pref(NULL, XML_CONFIG_ATTR_FORCE_QUIT); value 832 daemons/controld/controld_control.c shutdown_escalation_timer->period_ms = crm_parse_interval_spec(value); value 59 daemons/controld/controld_election.c controld_set_election_period(const char *value) value 61 daemons/controld/controld_election.c election_timeout_set_period(fsa_election, crm_parse_interval_spec(value)); value 38 daemons/controld/controld_execd.c static gboolean stop_recurring_actions(gpointer key, gpointer value, gpointer user_data); value 71 daemons/controld/controld_execd.c copy_instance_keys(gpointer key, gpointer value, gpointer user_data) value 74 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); value 79 daemons/controld/controld_execd.c copy_meta_keys(gpointer key, gpointer value, gpointer user_data) value 82 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); value 920 daemons/controld/controld_execd.c lrm_remove_deleted_rsc(gpointer key, gpointer value, gpointer user_data) value 923 daemons/controld/controld_execd.c struct pending_deletion_op_s *op = value; value 933 daemons/controld/controld_execd.c lrm_remove_deleted_op(gpointer key, gpointer value, gpointer user_data) value 936 daemons/controld/controld_execd.c active_op_t *pending = value; value 1200 daemons/controld/controld_execd.c cancel_action_by_key(gpointer key, gpointer value, gpointer user_data) value 1204 daemons/controld/controld_execd.c active_op_t *op = value; value 1898 daemons/controld/controld_execd.c char *value = NULL; value 1904 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 1906 daemons/controld/controld_execd.c g_hash_table_replace(params, key, value); value 1913 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 1914 daemons/controld/controld_execd.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); value 1917 daemons/controld/controld_execd.c pcmk__scan_min_int(value, &op->timeout, 0); value 1919 daemons/controld/controld_execd.c pcmk__scan_min_int(value, &op->start_delay, 0); value 1927 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 1929 daemons/controld/controld_execd.c g_hash_table_replace(params, key, value); value 2153 daemons/controld/controld_execd.c stop_recurring_action_by_rsc(gpointer key, gpointer value, gpointer user_data) value 2157 daemons/controld/controld_execd.c active_op_t *op = value; value 2170 daemons/controld/controld_execd.c stop_recurring_actions(gpointer key, gpointer value, gpointer user_data) value 2174 daemons/controld/controld_execd.c active_op_t *op = value; value 2323 daemons/controld/controld_execd.c char *value = NULL; value 2327 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 2328 daemons/controld/controld_execd.c params = lrmd_key_value_add(params, key, value); value 27 daemons/controld/controld_execd_state.c free_rsc_info(gpointer value) value 29 daemons/controld/controld_execd_state.c lrmd_rsc_info_t *rsc_info = value; value 35 daemons/controld/controld_execd_state.c free_deletion_op(gpointer value) value 37 daemons/controld/controld_execd_state.c struct pending_deletion_op_s *op = value; value 45 daemons/controld/controld_execd_state.c free_recurring_op(gpointer value) value 47 daemons/controld/controld_execd_state.c active_op_t *op = value; value 60 daemons/controld/controld_execd_state.c fail_pending_op(gpointer key, gpointer value, gpointer user_data) value 64 daemons/controld/controld_execd_state.c active_op_t *op = value; value 137 daemons/controld/controld_execd_state.c remote_proxy_remove_by_node(gpointer key, gpointer value, gpointer user_data) value 139 daemons/controld/controld_execd_state.c remote_proxy_t *proxy = value; value 38 daemons/controld/controld_fencing.c update_stonith_max_attempts(const char *value) value 40 daemons/controld/controld_fencing.c stonith_max_attempts = char2score(value); value 66 daemons/controld/controld_fencing.c struct st_fail_rec *value = NULL; value 75 daemons/controld/controld_fencing.c (gpointer *) &value)) { value 77 daemons/controld/controld_fencing.c if (value->count >= stonith_max_attempts) { value 83 daemons/controld/controld_fencing.c value = g_hash_table_lookup(stonith_failures, target); value 84 daemons/controld/controld_fencing.c if ((value != NULL) && (value->count >= stonith_max_attempts)) { value 92 daemons/controld/controld_fencing.c value->count, target); value 758 daemons/controld/controld_fencing.c const char *value = NULL; value 764 daemons/controld/controld_fencing.c value = crm_meta_value(action->params, XML_OP_ATTR_DIGESTS_ALL); value 765 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, FALSE); value 767 daemons/controld/controld_fencing.c value = crm_meta_value(action->params, XML_OP_ATTR_DIGESTS_SECURE); value 768 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, FALSE); value 21 daemons/controld/controld_fencing.h void update_stonith_max_attempts(const char* value); value 24 daemons/controld/controld_join_dc.c void finalize_join_for(gpointer key, gpointer value, gpointer user_data); value 118 daemons/controld/controld_join_dc.c join_make_offer(gpointer key, gpointer value, gpointer user_data) value 121 daemons/controld/controld_join_dc.c crm_node_t *member = (crm_node_t *)value; value 619 daemons/controld/controld_join_dc.c finalize_join_for(gpointer key, gpointer value, gpointer user_data) value 623 daemons/controld/controld_join_dc.c crm_node_t *join_node = value; value 32 daemons/controld/controld_membership.c reap_dead_nodes(gpointer key, gpointer value, gpointer user_data) value 34 daemons/controld/controld_membership.c crm_node_t *node = value; value 130 daemons/controld/controld_membership.c const char *value = NULL; value 161 daemons/controld/controld_membership.c value = OFFLINESTATUS; value 163 daemons/controld/controld_membership.c value = ONLINESTATUS; value 165 daemons/controld/controld_membership.c crm_xml_add(node_state, XML_NODE_IS_PEER, value); value 170 daemons/controld/controld_membership.c value = CRMD_JOINSTATE_DOWN; value 172 daemons/controld/controld_membership.c value = CRMD_JOINSTATE_MEMBER; value 174 daemons/controld/controld_membership.c crm_xml_add(node_state, XML_NODE_JOIN_STATE, value); value 749 daemons/controld/controld_messages.c const char *value = NULL; value 755 daemons/controld/controld_messages.c value = crm_element_value(msg, F_CRM_SYS_TO); value 756 daemons/controld/controld_messages.c crm_xml_add(ping, XML_PING_ATTR_SYSFROM, value); value 759 daemons/controld/controld_messages.c value = fsa_state2string(fsa_state); value 760 daemons/controld/controld_messages.c crm_xml_add(ping, XML_PING_ATTR_CRMDSTATE, value); value 761 daemons/controld/controld_messages.c crm_notice("Current ping state: %s", value); // CTS needs this value 825 daemons/controld/controld_messages.c const char *value = NULL; value 843 daemons/controld/controld_messages.c value = crm_element_value(msg, XML_ATTR_UNAME); value 846 daemons/controld/controld_messages.c if ((node_id == 0) && (value == NULL)) { value 847 daemons/controld/controld_messages.c value = fsa_our_uname; value 850 daemons/controld/controld_messages.c node = pcmk__search_node_caches(node_id, value, CRM_GET_PEER_ANY); value 148 daemons/controld/controld_metadata.c const char *value; value 164 daemons/controld/controld_metadata.c value = crm_element_value(param_xml, "reloadable"); value 165 daemons/controld/controld_metadata.c if (crm_is_true(value)) { value 169 daemons/controld/controld_metadata.c value = crm_element_value(param_xml, "unique"); value 170 daemons/controld/controld_metadata.c if (crm_is_true(value)) { value 174 daemons/controld/controld_metadata.c value = crm_element_value(param_xml, "private"); value 175 daemons/controld/controld_metadata.c if (crm_is_true(value)) { value 387 daemons/controld/controld_remote_ra.c g_hash_table_insert(op.params, strdup(tmp->key), strdup(tmp->value)); value 741 daemons/controld/controld_remote_ra.c server = tmp->value; value 743 daemons/controld/controld_remote_ra.c port = atoi(tmp->value); value 95 daemons/controld/controld_te_actions.c const char *value = NULL; value 126 daemons/controld/controld_te_actions.c value = crm_meta_value(action->params, XML_ATTR_TE_NOWAIT); value 127 daemons/controld/controld_te_actions.c if (crm_is_true(value)) { value 283 daemons/controld/controld_te_actions.c const char *value = NULL; value 315 daemons/controld/controld_te_actions.c value = crm_meta_value(action->params, XML_ATTR_TE_NOWAIT); value 316 daemons/controld/controld_te_actions.c if (crm_is_true(value)) { value 92 daemons/controld/controld_te_callbacks.c const char *value = NULL; value 95 daemons/controld/controld_te_callbacks.c value = crm_element_value(attr, XML_NVPAIR_ATTR_VALUE); value 98 daemons/controld/controld_te_callbacks.c if (crm_is_true(value) == FALSE) { value 119 daemons/controld/controld_te_events.c const char *value = NULL; value 148 daemons/controld/controld_te_events.c value = failed_start_offset; value 155 daemons/controld/controld_te_events.c value = failed_stop_offset; value 159 daemons/controld/controld_te_events.c if (!pcmk_str_is_infinity(value)) { value 160 daemons/controld/controld_te_events.c value = XML_NVPAIR_ATTR_VALUE "++"; value 174 daemons/controld/controld_te_events.c rsc_id, on_uname, task, rc, value, now); value 179 daemons/controld/controld_te_events.c update_attrd(on_uname, attr_name, value, NULL, is_remote_node); value 142 daemons/controld/controld_transition.c const char *value = NULL; value 193 daemons/controld/controld_transition.c value = crm_element_value(graph_data, "failed-stop-offset"); value 194 daemons/controld/controld_transition.c if (value) { value 196 daemons/controld/controld_transition.c failed_stop_offset = strdup(value); value 199 daemons/controld/controld_transition.c value = crm_element_value(graph_data, "failed-start-offset"); value 200 daemons/controld/controld_transition.c if (value) { value 202 daemons/controld/controld_transition.c failed_start_offset = strdup(value); value 86 daemons/controld/controld_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); value 35 daemons/controld/pacemaker-controld.h void controld_set_election_period(const char *value); value 492 daemons/execd/cts-exec-helper.c char *value = NULL; value 495 daemons/execd/cts-exec-helper.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 496 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, value); value 502 daemons/execd/cts-exec-helper.c char *value = NULL; value 505 daemons/execd/cts-exec-helper.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 508 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, crm_name, value); value 520 daemons/execd/execd_commands.c send_client_notify(gpointer key, gpointer value, gpointer user_data) value 523 daemons/execd/execd_commands.c pcmk__client_t *client = value; value 627 daemons/execd/execd_commands.c char *value = NULL; value 633 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 634 daemons/execd/execd_commands.c hash2smartfield((gpointer) key, (gpointer) value, args); value 841 daemons/execd/execd_commands.c notify_one_client(gpointer key, gpointer value, gpointer user_data) value 843 daemons/execd/execd_commands.c pcmk__client_t *client = value; value 1237 daemons/execd/execd_commands.c char *value = NULL; value 1246 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 1247 daemons/execd/execd_commands.c device_params = stonith_key_value_add(device_params, key, value); value 125 daemons/execd/pacemaker-execd.c const char *value = crm_element_value(request, F_LRMD_CLIENTNAME); value 127 daemons/execd/pacemaker-execd.c if (value == NULL) { value 130 daemons/execd/pacemaker-execd.c client->name = strdup(value); value 110 daemons/execd/remoted_pidone.c char *value = NULL; value 123 daemons/execd/remoted_pidone.c value = end; value 138 daemons/execd/remoted_pidone.c value = NULL; value 152 daemons/execd/remoted_pidone.c value = NULL; value 162 daemons/execd/remoted_pidone.c if (value) { value 175 daemons/execd/remoted_pidone.c setenv(name, value, 0); value 178 daemons/execd/remoted_pidone.c value = NULL; value 183 daemons/execd/remoted_pidone.c if ((value == NULL) && (strchr(line, '\n') == NULL)) { value 186 daemons/execd/remoted_pidone.c value = NULL; // Don't care, make compiler happy value 112 daemons/execd/remoted_tls.c const char *value = crm_element_value(request, F_LRMD_CLIENTNAME); value 114 daemons/execd/remoted_tls.c if (value) { value 115 daemons/execd/remoted_tls.c client->name = strdup(value); value 126 daemons/fenced/fenced_commands.c const char *value = NULL; value 133 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, PCMK_STONITH_DELAY_MAX); value 134 daemons/fenced/fenced_commands.c if (value) { value 135 daemons/fenced/fenced_commands.c delay_max = crm_parse_interval_spec(value) / 1000; value 144 daemons/fenced/fenced_commands.c const char *value = NULL; value 151 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, PCMK_STONITH_DELAY_BASE); value 152 daemons/fenced/fenced_commands.c if (value) { value 153 daemons/fenced/fenced_commands.c delay_base = crm_parse_interval_spec(value) / 1000; value 184 daemons/fenced/fenced_commands.c const char *value = NULL; value 198 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, buffer); value 199 daemons/fenced/fenced_commands.c if (value) { value 200 daemons/fenced/fenced_commands.c return atoi(value); value 269 daemons/fenced/fenced_commands.c const char *value = NULL; value 272 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, PCMK_STONITH_ACTION_LIMIT); value 273 daemons/fenced/fenced_commands.c if ((value == NULL) value 274 daemons/fenced/fenced_commands.c || (pcmk__scan_min_int(value, &action_limit, INT_MIN) != pcmk_rc_ok) value 651 daemons/fenced/fenced_commands.c char *value = NULL; value 653 daemons/fenced/fenced_commands.c value = calloc(1, 1 + lpc - last); value 654 daemons/fenced/fenced_commands.c memcpy(value, hostmap + last, lpc - last); value 656 daemons/fenced/fenced_commands.c crm_debug("Adding alias '%s'='%s'", name, value); value 657 daemons/fenced/fenced_commands.c g_hash_table_replace(aliases, name, value); value 659 daemons/fenced/fenced_commands.c *targets = g_list_append(*targets, strdup(value)); value 661 daemons/fenced/fenced_commands.c value = NULL; value 849 daemons/fenced/fenced_commands.c map_action(GHashTable *params, const char *action, const char *value) value 855 daemons/fenced/fenced_commands.c STONITH_ATTR_ACTION_OP, value, key); value 859 daemons/fenced/fenced_commands.c STONITH_ATTR_ACTION_OP, value, key, value); value 860 daemons/fenced/fenced_commands.c g_hash_table_insert(params, key, strdup(value)); value 875 daemons/fenced/fenced_commands.c const char *value; value 881 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(params, STONITH_ATTR_ACTION_OP); value 882 daemons/fenced/fenced_commands.c if (value != NULL) { value 886 daemons/fenced/fenced_commands.c if (*value == '\0') { value 889 daemons/fenced/fenced_commands.c } else if (strcmp(value, "reboot") == 0) { value 893 daemons/fenced/fenced_commands.c } else if (strcmp(value, "off") == 0) { value 894 daemons/fenced/fenced_commands.c map_action(params, "reboot", value); value 897 daemons/fenced/fenced_commands.c map_action(params, "off", value); value 898 daemons/fenced/fenced_commands.c map_action(params, "reboot", value); value 910 daemons/fenced/fenced_commands.c const char *value; value 926 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, PCMK_STONITH_HOST_LIST); value 927 daemons/fenced/fenced_commands.c if (value) { value 928 daemons/fenced/fenced_commands.c device->targets = stonith__parse_targets(value); value 931 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, PCMK_STONITH_HOST_MAP); value 932 daemons/fenced/fenced_commands.c device->aliases = build_port_aliases(value, &(device->targets)); value 949 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, "nodeid"); value 950 daemons/fenced/fenced_commands.c if (!value) { value 954 daemons/fenced/fenced_commands.c value = crm_element_value(dev, "rsc_provides"); value 955 daemons/fenced/fenced_commands.c if (pcmk__str_eq(value, "unfencing", pcmk__str_casei)) { value 1036 daemons/fenced/fenced_commands.c const char *value = g_list_nth_data(list, lpc); value 1038 daemons/fenced/fenced_commands.c if (pcmk__str_eq(item, value, pcmk__str_casei)) { value 1041 daemons/fenced/fenced_commands.c crm_trace("%d: '%s' != '%s'", lpc, item, value); value 1137 daemons/fenced/fenced_commands.c char *value = NULL; value 1141 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&value)) { value 1150 daemons/fenced/fenced_commands.c if (!other_value || !pcmk__str_eq(other_value, value, pcmk__str_casei)) { value 1151 daemons/fenced/fenced_commands.c crm_trace("Different value for %s: %s != %s", key, other_value, value); value 1350 daemons/fenced/fenced_commands.c const char *value = crm_element_value(level, XML_ATTR_STONITH_TARGET_VALUE); value 1352 daemons/fenced/fenced_commands.c if(name && value) { value 1353 daemons/fenced/fenced_commands.c return crm_strdup_printf("%s=%s", name, value); value 1490 daemons/fenced/fenced_commands.c const char *device = dIter->value; value 1773 daemons/fenced/fenced_commands.c search_devices(gpointer key, gpointer value, gpointer user_data) value 1775 daemons/fenced/fenced_commands.c stonith_device_t *dev = value; value 2438 daemons/fenced/fenced_commands.c const char *value = NULL; value 2453 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); value 2454 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); value 67 daemons/fenced/fenced_history.c gpointer value, value 70 daemons/fenced/fenced_history.c remote_fencing_op_t *op = value; value 131 daemons/fenced/fenced_remote.c count_peer_device(gpointer key, gpointer value, gpointer user_data) value 133 daemons/fenced/fenced_remote.c device_properties_t *props = (device_properties_t*)value; value 1341 daemons/fenced/fenced_remote.c add_device_timeout(gpointer key, gpointer value, gpointer user_data) value 1344 daemons/fenced/fenced_remote.c device_properties_t *props = value; value 122 daemons/fenced/pacemaker-fenced.c const char *value = crm_element_value(request, F_STONITH_CLIENTNAME); value 124 daemons/fenced/pacemaker-fenced.c if (value == NULL) { value 125 daemons/fenced/pacemaker-fenced.c value = "unknown"; value 127 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", value, c->pid); value 296 daemons/fenced/pacemaker-fenced.c stonith_notify_client(gpointer key, gpointer value, gpointer user_data) value 300 daemons/fenced/pacemaker-fenced.c pcmk__client_t *client = value; value 595 daemons/fenced/pacemaker-fenced.c const char *value = NULL; value 600 daemons/fenced/pacemaker-fenced.c value = crm_element_value(stonith_watchdog_xml, XML_NVPAIR_ATTR_VALUE); value 602 daemons/fenced/pacemaker-fenced.c if (value) { value 603 daemons/fenced/pacemaker-fenced.c timeout_ms = crm_get_msec(value); value 651 daemons/fenced/pacemaker-fenced.c const char *value = NULL; value 726 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&gIter, (gpointer *) & name, (gpointer *) & value)) { value 727 daemons/fenced/pacemaker-fenced.c if (!name || !value) { value 730 daemons/fenced/pacemaker-fenced.c params = stonith_key_value_add(params, name, value); value 731 daemons/fenced/pacemaker-fenced.c crm_trace(" %s=%s", name, value); value 948 daemons/fenced/pacemaker-fenced.c node_has_attr(const char *node, const char *name, const char *value) value 964 daemons/fenced/pacemaker-fenced.c node, name, value); value 265 daemons/fenced/pacemaker-fenced.h gboolean node_has_attr(const char *node, const char *name, const char *value); value 509 daemons/pacemakerd/pacemakerd.c const char *value = NULL; value 520 daemons/pacemakerd/pacemakerd.c value = crm_element_value(msg, F_CRM_SYS_TO); value 521 daemons/pacemakerd/pacemakerd.c crm_xml_add(ping, XML_PING_ATTR_SYSFROM, value); value 225 daemons/pacemakerd/pcmkd_corosync.c get_config_opt(uint64_t unused, cmap_handle_t object_handle, const char *key, char **value, value 230 daemons/pacemakerd/pcmkd_corosync.c cs_repeat(retries, 5, rc = cmap_get_string(object_handle, key, value)); value 234 daemons/pacemakerd/pcmkd_corosync.c *value = strdup(fallback); value 236 daemons/pacemakerd/pcmkd_corosync.c *value = NULL; value 239 daemons/pacemakerd/pcmkd_corosync.c crm_trace("%s: %s", key, *value); value 92 daemons/schedulerd/pacemaker-schedulerd.c const char *value = NULL; value 133 daemons/schedulerd/pacemaker-schedulerd.c value = pe_pref(sched_data_set->config_hash, series[series_id].param); value 134 daemons/schedulerd/pacemaker-schedulerd.c if ((value == NULL) value 135 daemons/schedulerd/pacemaker-schedulerd.c || (pcmk__scan_min_int(value, &series_wrap, -1) != pcmk_rc_ok)) { value 145 daemons/schedulerd/pacemaker-schedulerd.c series[series_id].name, series_wrap, seq, value); value 43 include/crm/cib/util.h gboolean to_console, char **value, const char *user_name); value 76 include/crm/common/alerts_internal.h const char *value); value 78 include/crm/common/alerts_internal.h int value); value 33 include/crm/common/attrd_internal.h const char *name, const char *value, value 121 include/crm/common/internal.h int pcmk__scan_nvpair(const char *input, char **name, char **value); value 122 include/crm/common/internal.h char *pcmk__format_nvpair(const char *name, const char *value, value 77 include/crm/common/iso8601.h crm_time_t *crm_time_calculate_duration(crm_time_t * dt, crm_time_t * value); value 100 include/crm/common/iso8601.h crm_time_t *crm_time_add(crm_time_t * dt, crm_time_t * value); value 101 include/crm/common/iso8601.h crm_time_t *crm_time_subtract(crm_time_t * dt, crm_time_t * value); value 104 include/crm/common/iso8601.h void crm_time_add_seconds(crm_time_t * dt, int value); value 105 include/crm/common/iso8601.h void crm_time_add_minutes(crm_time_t * dt, int value); value 106 include/crm/common/iso8601.h void crm_time_add_hours(crm_time_t * dt, int value); value 107 include/crm/common/iso8601.h void crm_time_add_days(crm_time_t * dt, int value); value 108 include/crm/common/iso8601.h void crm_time_add_weeks(crm_time_t * dt, int value); value 109 include/crm/common/iso8601.h void crm_time_add_months(crm_time_t * dt, int value); value 110 include/crm/common/iso8601.h void crm_time_add_years(crm_time_t * dt, int value); value 30 include/crm/common/nvpair.h char *value; value 33 include/crm/common/nvpair.h GSList *pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value); value 40 include/crm/common/nvpair.h const char *name, const char *value); value 41 include/crm/common/nvpair.h void hash2nvpair(gpointer key, gpointer value, gpointer user_data); value 42 include/crm/common/nvpair.h void hash2field(gpointer key, gpointer value, gpointer user_data); value 43 include/crm/common/nvpair.h void hash2metafield(gpointer key, gpointer value, gpointer user_data); value 44 include/crm/common/nvpair.h void hash2smartfield(gpointer key, gpointer value, gpointer user_data); value 47 include/crm/common/nvpair.h const char *crm_xml_add(xmlNode *node, const char *name, const char *value); value 48 include/crm/common/nvpair.h const char *crm_xml_replace(xmlNode *node, const char *name, const char *value); value 49 include/crm/common/nvpair.h const char *crm_xml_add_int(xmlNode *node, const char *name, int value); value 50 include/crm/common/nvpair.h const char *crm_xml_add_ll(xmlNode *node, const char *name, long long value); value 54 include/crm/common/nvpair.h const struct timeval *value); value 77 include/crm/common/nvpair.h const char *value = crm_element_value(obj1, element); value 79 include/crm/common/nvpair.h crm_xml_add(obj2, element, value); value 80 include/crm/common/nvpair.h return value; value 96 include/crm/common/nvpair.h crm_xml_add_boolean(xmlNode *node, const char *name, gboolean value) value 98 include/crm/common/nvpair.h return crm_xml_add(node, name, (value? "true" : "false")); value 74 include/crm/common/options_internal.h void pcmk__set_env_option(const char *option, const char *value); value 108 include/crm/common/options_internal.h bool pcmk__valid_interval_spec(const char *value); value 109 include/crm/common/options_internal.h bool pcmk__valid_boolean(const char *value); value 110 include/crm/common/options_internal.h bool pcmk__valid_number(const char *value); value 111 include/crm/common/options_internal.h bool pcmk__valid_positive_number(const char *value); value 112 include/crm/common/options_internal.h bool pcmk__valid_quorum(const char *value); value 113 include/crm/common/options_internal.h bool pcmk__valid_script(const char *value); value 114 include/crm/common/options_internal.h bool pcmk__valid_utilization(const char *value); value 120 include/crm/common/options_internal.h bool pcmk__valid_sbd_timeout(const char *value); value 85 include/crm/common/strings_internal.h pcmk__intkey_table_insert(GHashTable *hash_table, int key, gpointer value) value 87 include/crm/common/strings_internal.h return g_hash_table_insert(hash_table, GINT_TO_POINTER(key), value); value 63 include/crm/common/util_compat.h int pcmk_scan_nvpair(const char *input, char **name, char **value); value 66 include/crm/common/util_compat.h char *pcmk_format_nvpair(const char *name, const char *value, value 68 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); value 160 include/crm/common/xml.h const char *tag, const char *field, const char *value, value 74 include/crm/fencing/internal.h const char *attr, const char *value, value 30 include/crm/lrmd.h char *value; value 168 include/crm/lrmd.h lrmd_key_value_t *lrmd_key_value_add(lrmd_key_value_t * kvp, const char *key, const char *value); value 216 include/crm/pengine/internal.h void add_hash_param(GHashTable * hash, const char *name, const char *value); value 363 include/crm/pengine/internal.h extern void print_str_str(gpointer key, gpointer value, gpointer user_data); value 94 include/crm/stonith-ng.h char *value; value 349 include/crm/stonith-ng.h const char *attr, const char *value, int level); value 369 include/crm/stonith-ng.h const char *attr, const char *value, value 438 include/crm/stonith-ng.h const char *value); value 34 include/portability.h int setenv(const char *name, const char *value, int why); value 51 lib/cib/cib_attrs.c char **value, const char *user_name) value 67 lib/cib/cib_attrs.c CRM_ASSERT(value != NULL); value 68 lib/cib/cib_attrs.c *value = NULL; value 158 lib/cib/cib_attrs.c *value = strdup(tmp); value 294 lib/cib/cib_client.c const char *value = getenv("CIB_shadow"); value 297 lib/cib/cib_client.c if (value && value[0] != 0) { value 298 lib/cib/cib_client.c return cib_shadow_new(value); value 301 lib/cib/cib_client.c value = getenv("CIB_file"); value 302 lib/cib/cib_client.c if (value) { value 303 lib/cib/cib_client.c return cib_file_new(value); value 306 lib/cib/cib_client.c value = getenv("CIB_port"); value 307 lib/cib/cib_client.c if (value) { value 318 lib/cib/cib_client.c pcmk__scan_port(value, &port); value 320 lib/cib/cib_client.c value = getenv("CIB_encrypted"); value 321 lib/cib/cib_client.c if (value && crm_is_true(value) == FALSE) { value 677 lib/cib/cib_client.c cib_dump_pending_op(gpointer key, gpointer value, gpointer user_data) value 680 lib/cib/cib_client.c cib_callback_client_t *blob = value; value 101 lib/cib/cib_ops.c const char *value = crm_element_value(existing_cib, XML_ATTR_VALIDATION); value 106 lib/cib/cib_ops.c if (value != NULL) { value 107 lib/cib/cib_ops.c current_version = get_schema_version(value); value 208 lib/cib/cib_utils.c const char *value = NULL; value 212 lib/cib/cib_utils.c value = cib_pref(options, "enable-acl"); value 213 lib/cib/cib_utils.c rc = crm_is_true(value); value 680 lib/cluster/cpg.c groupName->value, counter, peer_name(peer), value 689 lib/cluster/cpg.c groupName->value, counter, value 694 lib/cluster/cpg.c groupName->value, counter, peer_name(peer), value 704 lib/cluster/cpg.c groupName->value, counter, joined_list[i].nodeid, value 715 lib/cluster/cpg.c groupName->value, counter, member_list[i].pid); value 719 lib/cluster/cpg.c groupName->value, counter, peer_name(peer), value 745 lib/cluster/cpg.c member_list[i].nodeid, groupName->value); value 756 lib/cluster/cpg.c crm_err("Local node was evicted from group %s", groupName->value); value 799 lib/cluster/cpg.c cluster->group.value[0] = 0; value 802 lib/cluster/cpg.c strncpy(cluster->group.value, message_name, 127); value 803 lib/cluster/cpg.c cluster->group.value[127] = 0; value 804 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); value 228 lib/cluster/membership.c mark_dirty(gpointer key, gpointer value, gpointer user_data) value 230 lib/cluster/membership.c set_peer_flags((crm_node_t *) value, crm_node_dirty); value 234 lib/cluster/membership.c is_dirty(gpointer key, gpointer value, gpointer user_data) value 236 lib/cluster/membership.c return pcmk_is_set(((crm_node_t*)value)->flags, crm_node_dirty); value 304 lib/cluster/membership.c crm_reap_dead_member(gpointer key, gpointer value, gpointer user_data) value 306 lib/cluster/membership.c crm_node_t *node = value; value 318 lib/cluster/membership.c } else if (crm_is_peer_active(value) == FALSE) { value 365 lib/cluster/membership.c count_peer(gpointer key, gpointer value, gpointer user_data) value 368 lib/cluster/membership.c crm_node_t *node = value; value 490 lib/cluster/membership.c hash_find_by_data(gpointer key, gpointer value, gpointer user_data) value 492 lib/cluster/membership.c return value == user_data; value 154 lib/common/alerts.c const char *value) value 157 lib/common/alerts.c crm_trace("Inserting alert key %s = '%s'", *key, value); value 158 lib/common/alerts.c if (value) { value 159 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), strdup(value)); value 168 lib/common/alerts.c int value) value 171 lib/common/alerts.c crm_trace("Inserting alert key %s = %d", *key, value); value 172 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), pcmk__itoa(value)); value 134 lib/common/attrd_client.c const char *name, const char *value, value 199 lib/common/attrd_client.c crm_xml_add(update, PCMK__XA_ATTR_VALUE, value); value 219 lib/common/attrd_client.c name, value, display_host, pcmk_rc_str(rc), rc); value 27 lib/common/cib_secrets.c static bool check_md5_hash(char *hash, char *value); value 28 lib/common/cib_secrets.c static void add_secret_params(gpointer key, gpointer value, gpointer user_data); value 41 lib/common/cib_secrets.c check_md5_hash(char *hash, char *value) value 46 lib/common/cib_secrets.c hash2 = crm_md5sum(value); value 185 lib/common/cib_secrets.c add_secret_params(gpointer key, gpointer value, gpointer user_data) value 189 lib/common/cib_secrets.c if (is_magic_value((char *)value)) { value 168 lib/common/ipc_controld.c const char *value = NULL; value 184 lib/common/ipc_controld.c value = crm_element_value(reply, F_CRM_MSG_TYPE); value 185 lib/common/ipc_controld.c if ((value == NULL) || (strcmp(value, XML_ATTR_REQUEST) value 186 lib/common/ipc_controld.c && strcmp(value, XML_ATTR_RESPONSE))) { value 188 lib/common/ipc_controld.c crm_str(value)); value 199 lib/common/ipc_controld.c value = crm_element_value(reply, F_CRM_TASK); value 200 lib/common/ipc_controld.c if (value == NULL) { value 212 lib/common/ipc_controld.c if (!strcmp(value, CRM_OP_REPROBE)) { value 215 lib/common/ipc_controld.c } else if (!strcmp(value, CRM_OP_NODE_INFO)) { value 218 lib/common/ipc_controld.c } else if (!strcmp(value, CRM_OP_INVOKE_LRM)) { value 222 lib/common/ipc_controld.c } else if (!strcmp(value, CRM_OP_PING)) { value 225 lib/common/ipc_controld.c } else if (!strcmp(value, PCMK__CONTROLD_CMD_NODES)) { value 230 lib/common/ipc_controld.c value); value 238 lib/common/ipc_controld.c if (pcmk__str_eq(value, PCMK__CONTROLD_CMD_NODES, pcmk__str_casei)) { value 144 lib/common/ipc_pacemakerd.c const char *value = NULL; value 147 lib/common/ipc_pacemakerd.c value = crm_element_value(reply, F_CRM_MSG_TYPE); value 148 lib/common/ipc_pacemakerd.c if ((value == NULL) || (strcmp(value, XML_ATTR_RESPONSE))) { value 150 lib/common/ipc_pacemakerd.c crm_str(value)); value 161 lib/common/ipc_pacemakerd.c value = crm_element_value(reply, F_CRM_TASK); value 162 lib/common/ipc_pacemakerd.c if ((value == NULL) || strcmp(value, CRM_OP_PING)) { value 163 lib/common/ipc_pacemakerd.c crm_debug("Unrecognizable pacemakerd message: '%s'", crm_str(value)); value 1270 lib/common/iso8601.c crm_time_add(crm_time_t * dt, crm_time_t * value) value 1275 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { value 1282 lib/common/iso8601.c utc = crm_get_utc_time(value); value 1298 lib/common/iso8601.c crm_time_calculate_duration(crm_time_t * dt, crm_time_t * value) value 1303 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { value 1308 lib/common/iso8601.c utc = crm_get_utc_time(value); value 1332 lib/common/iso8601.c crm_time_subtract(crm_time_t * dt, crm_time_t * value) value 1337 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { value 1342 lib/common/iso8601.c utc = crm_get_utc_time(value); value 48 lib/common/nvpair.c pcmk__new_nvpair(const char *name, const char *value) value 58 lib/common/nvpair.c nvpair->value = value? strdup(value) : NULL; value 75 lib/common/nvpair.c free(nvpair->value); value 92 lib/common/nvpair.c pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value) value 94 lib/common/nvpair.c return g_slist_prepend(nvpairs, pcmk__new_nvpair(name, value)); value 192 lib/common/nvpair.c crm_xml_add(parent, pair->name, pair->value); value 222 lib/common/nvpair.c pcmk__scan_nvpair(const char *input, char **name, char **value) value 226 lib/common/nvpair.c *value = NULL; value 227 lib/common/nvpair.c if (sscanf(input, "%m[^=]=%m[^\n]", name, value) <= 0) { value 233 lib/common/nvpair.c *value = NULL; value 250 lib/common/nvpair.c *value = strdup(sep+1); value 252 lib/common/nvpair.c if (*value == NULL) { value 258 lib/common/nvpair.c if (*name != NULL && *value != NULL) { value 260 lib/common/nvpair.c } else if (*name != NULL || *value != NULL) { value 285 lib/common/nvpair.c pcmk__format_nvpair(const char *name, const char *value, const char *units) value 287 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); value 324 lib/common/nvpair.c crm_xml_add(xmlNode *node, const char *name, const char *value) value 332 lib/common/nvpair.c if (value == NULL) { value 342 lib/common/nvpair.c CRM_CHECK(old_value != value, value 343 lib/common/nvpair.c crm_err("Cannot reset %s with crm_xml_add(%s)", name, value); value 344 lib/common/nvpair.c return value); value 351 lib/common/nvpair.c if (old == NULL || value == NULL || strcmp(old, value) != 0) { value 357 lib/common/nvpair.c crm_trace("Cannot add %s=%s to %s", name, value, node->name); value 361 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); value 381 lib/common/nvpair.c crm_xml_replace(xmlNode *node, const char *name, const char *value) value 393 lib/common/nvpair.c CRM_CHECK(old_value != value, return value); value 397 lib/common/nvpair.c crm_trace("Cannot replace %s=%s to %s", name, value, node->name); value 400 lib/common/nvpair.c } else if (old_value && !value) { value 406 lib/common/nvpair.c if (!old_value || !value || !strcmp(old_value, value)) { value 411 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); value 432 lib/common/nvpair.c crm_xml_add_int(xmlNode *node, const char *name, int value) value 434 lib/common/nvpair.c char *number = pcmk__itoa(value); value 482 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) value 486 lib/common/nvpair.c if (snprintf(s, LLSTRSIZE, "%lld", (long long) value) == LLSTRSIZE) { value 507 lib/common/nvpair.c const struct timeval *value) value 511 lib/common/nvpair.c if (xml && name_sec && value) { value 512 lib/common/nvpair.c added = crm_xml_add_ll(xml, name_sec, (long long) value->tv_sec); value 515 lib/common/nvpair.c crm_xml_add_ll(xml, name_usec, (long long) value->tv_usec); value 568 lib/common/nvpair.c const char *value = NULL; value 571 lib/common/nvpair.c value = crm_element_value(data, name); value 572 lib/common/nvpair.c if (value) { value 575 lib/common/nvpair.c if ((pcmk__scan_ll(value, &value_ll, 0LL) != pcmk_rc_ok) value 600 lib/common/nvpair.c const char *value = NULL; value 603 lib/common/nvpair.c value = crm_element_value(data, name); value 604 lib/common/nvpair.c if ((value != NULL) value 605 lib/common/nvpair.c && (pcmk__scan_ll(value, dest, PCMK__PARSE_INT_DEFAULT) == pcmk_rc_ok)) { value 625 lib/common/nvpair.c const char *value = NULL; value 630 lib/common/nvpair.c value = crm_element_value(data, name); value 631 lib/common/nvpair.c if ((pcmk__scan_ll(value, &value_ll, 0LL) != pcmk_rc_ok) value 730 lib/common/nvpair.c const char *value = crm_element_value(data, name); value 732 lib/common/nvpair.c if (value != NULL) { value 733 lib/common/nvpair.c value_copy = strdup(value); value 752 lib/common/nvpair.c hash2smartfield(gpointer key, gpointer value, gpointer user_data) value 755 lib/common/nvpair.c const char *s_value = value; value 786 lib/common/nvpair.c hash2field(gpointer key, gpointer value, gpointer user_data) value 789 lib/common/nvpair.c const char *s_value = value; value 814 lib/common/nvpair.c hash2metafield(gpointer key, gpointer value, gpointer user_data) value 818 lib/common/nvpair.c if (key == NULL || value == NULL) { value 832 lib/common/nvpair.c hash2field(crm_name, value, user_data); value 850 lib/common/nvpair.c const char *value) value 871 lib/common/nvpair.c crm_xml_add(nvp, XML_NVPAIR_ATTR_VALUE, value); value 887 lib/common/nvpair.c hash2nvpair(gpointer key, gpointer value, gpointer user_data) value 890 lib/common/nvpair.c const char *s_value = value; value 945 lib/common/nvpair.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); value 947 lib/common/nvpair.c crm_trace("Added %s=%s", key, value); value 948 lib/common/nvpair.c if (key != NULL && value != NULL) { value 949 lib/common/nvpair.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); value 962 lib/common/nvpair.c pcmk_scan_nvpair(const char *input, char **name, char **value) value 964 lib/common/nvpair.c return pcmk__scan_nvpair(input, name, value); value 968 lib/common/nvpair.c pcmk_format_nvpair(const char *name, const char *value, value 971 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); value 288 lib/common/options.c const char *value = NULL; value 291 lib/common/options.c value = getenv(env_name); value 292 lib/common/options.c if (value != NULL) { value 293 lib/common/options.c crm_trace("Found %s = %s", env_name, value); value 294 lib/common/options.c return value; value 298 lib/common/options.c value = getenv(env_name); value 299 lib/common/options.c if (value != NULL) { value 300 lib/common/options.c crm_trace("Found %s = %s", env_name, value); value 301 lib/common/options.c return value; value 318 lib/common/options.c pcmk__set_env_option(const char *option, const char *value) value 323 lib/common/options.c if (value) { value 324 lib/common/options.c crm_trace("Setting %s to %s", env_name, value); value 325 lib/common/options.c setenv(env_name, value, 1); value 332 lib/common/options.c if (value) { value 333 lib/common/options.c crm_trace("Setting %s to %s", env_name, value); value 334 lib/common/options.c setenv(env_name, value, 1); value 357 lib/common/options.c const char *value = pcmk__env_option(option); value 359 lib/common/options.c return (value != NULL) && (crm_is_true(value) || strstr(value, daemon)); value 368 lib/common/options.c pcmk__valid_interval_spec(const char *value) value 370 lib/common/options.c (void) crm_parse_interval_spec(value); value 375 lib/common/options.c pcmk__valid_boolean(const char *value) value 379 lib/common/options.c return crm_str_to_boolean(value, &tmp) == 1; value 383 lib/common/options.c pcmk__valid_number(const char *value) value 385 lib/common/options.c if (value == NULL) { value 388 lib/common/options.c } else if (pcmk_str_is_minus_infinity(value) || value 389 lib/common/options.c pcmk_str_is_infinity(value)) { value 393 lib/common/options.c return pcmk__scan_ll(value, NULL, 0LL) == pcmk_rc_ok; value 397 lib/common/options.c pcmk__valid_positive_number(const char *value) value 401 lib/common/options.c return pcmk_str_is_infinity(value) value 402 lib/common/options.c || ((pcmk__scan_ll(value, &num, 0LL) == pcmk_rc_ok) && (num > 0)); value 406 lib/common/options.c pcmk__valid_quorum(const char *value) value 408 lib/common/options.c return pcmk__strcase_any_of(value, "stop", "freeze", "ignore", "demote", "suicide", NULL); value 412 lib/common/options.c pcmk__valid_script(const char *value) value 416 lib/common/options.c if (pcmk__str_eq(value, "/dev/null", pcmk__str_casei)) { value 420 lib/common/options.c if (stat(value, &st) != 0) { value 421 lib/common/options.c crm_err("Script %s does not exist", value); value 426 lib/common/options.c crm_err("Script %s is not a regular file", value); value 431 lib/common/options.c crm_err("Script %s is not executable", value); value 439 lib/common/options.c pcmk__valid_utilization(const char *value) value 442 lib/common/options.c long number = strtol(value, &end, 10); value 467 lib/common/options.c const char *value = NULL; value 473 lib/common/options.c value = g_hash_table_lookup(options, name); value 475 lib/common/options.c if ((value == NULL) && old_name) { value 476 lib/common/options.c value = g_hash_table_lookup(options, old_name); value 477 lib/common/options.c if (value != NULL) { value 484 lib/common/options.c new_value = strdup(value); value 486 lib/common/options.c value = new_value; value 490 lib/common/options.c if (value && validate && (validate(value) == FALSE)) { value 492 lib/common/options.c "because '%s' is invalid", name, value); value 493 lib/common/options.c value = NULL; value 496 lib/common/options.c if (value) { value 497 lib/common/options.c return value; value 502 lib/common/options.c value = def_value; value 504 lib/common/options.c if (value == NULL) { value 511 lib/common/options.c CRM_CHECK(validate(value) != FALSE, value 517 lib/common/options.c value, name); value 519 lib/common/options.c new_value = strdup(value); value 521 lib/common/options.c value = new_value; value 523 lib/common/options.c return value; value 540 lib/common/options.c const char *value = NULL; value 544 lib/common/options.c value = cluster_option_value(options, option_list[lpc].is_valid, value 548 lib/common/options.c return value; value 446 lib/common/output_html.c char *value; value 452 lib/common/output_html.c value = va_arg(ap, char *); value 453 lib/common/output_html.c crm_xml_add(header_node, key, value); value 92 lib/common/patchset.c const char *value = NULL; value 148 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); value 149 lib/common/patchset.c crm_xml_add(attr, XML_NVPAIR_ATTR_VALUE, value); value 163 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); value 164 lib/common/patchset.c crm_xml_add(result, (const char *)pIter->name, value); value 256 lib/common/patchset.c const char *value = crm_element_value(last, vfields[lpc]); value 258 lib/common/patchset.c crm_xml_add(diff_child, vfields[lpc], value); value 260 lib/common/patchset.c crm_xml_add(cib, vfields[lpc], value); value 277 lib/common/patchset.c const char *value = crm_element_value(next, vfields[lpc]); value 279 lib/common/patchset.c crm_xml_add(diff_child, vfields[lpc], value); value 336 lib/common/patchset.c const char *value = crm_element_value(source, vfields[lpc]); value 338 lib/common/patchset.c if (value == NULL) { value 339 lib/common/patchset.c value = "1"; value 341 lib/common/patchset.c crm_xml_add(v, vfields[lpc], value); value 346 lib/common/patchset.c const char *value = crm_element_value(target, vfields[lpc]); value 348 lib/common/patchset.c if (value == NULL) { value 349 lib/common/patchset.c value = "1"; value 351 lib/common/patchset.c crm_xml_add(v, vfields[lpc], value); value 559 lib/common/patchset.c const char *value = crm_element_value(child, "value"); value 567 lib/common/patchset.c name, value); value 652 lib/common/patchset.c const char *value = NULL; value 673 lib/common/patchset.c value = crm_element_value(patch, XML_DIFF_MARKER); value 674 lib/common/patchset.c if ((value != NULL) && (strcmp(value, "removed:top") == 0)) { value 706 lib/common/patchset.c const char *value = NULL; value 715 lib/common/patchset.c value = crm_element_value(patch, XML_DIFF_MARKER); value 716 lib/common/patchset.c if ((target == NULL) && (value != NULL) value 717 lib/common/patchset.c && (strcmp(value, "added:top") == 0)) { value 1214 lib/common/patchset.c const char *value = crm_element_value(attrs, name); value 1216 lib/common/patchset.c crm_xml_add(match, name, value); value 1480 lib/common/patchset.c const char *value = NULL; value 1515 lib/common/patchset.c value = crm_element_value(right, XML_DIFF_MARKER); value 1516 lib/common/patchset.c if ((value != NULL) && (strcmp(value, "removed:top") == 0)) { value 1597 lib/common/patchset.c xmlSetProp(diff, (pcmkXmlStr) prop_name, (pcmkXmlStr) value); value 1051 lib/common/schemas.c char *value = NULL; value 1063 lib/common/schemas.c value = crm_element_value_copy(xml, XML_ATTR_VALIDATION); value 1065 lib/common/schemas.c if (value != NULL) { value 1066 lib/common/schemas.c match = get_schema_version(value); value 1080 lib/common/schemas.c free(value); value 1186 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); value 1191 lib/common/schemas.c free(value); value 1199 lib/common/schemas.c const char *value = crm_element_value(*xml, XML_ATTR_VALIDATION); value 1200 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); value 1202 lib/common/schemas.c int version = get_schema_version(value); value 1213 lib/common/schemas.c value = crm_element_value(converted, XML_ATTR_VALIDATION); value 1246 lib/common/schemas.c crm_str(value)); value 1253 lib/common/schemas.c crm_str(value)); value 314 lib/common/strings.c const char *value; value 324 lib/common/strings.c value = g_hash_table_lookup(table, key); value 325 lib/common/strings.c if (value == NULL) { value 329 lib/common/strings.c rc = pcmk__scan_ll(value, &value_ll, 0LL); value 335 lib/common/strings.c crm_warn("Could not parse non-negative integer from %s", value); value 656 lib/common/strings.c copy_str_table_entry(gpointer key, gpointer value, gpointer user_data) value 658 lib/common/strings.c if (key && value && user_data) { value 659 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); value 536 lib/common/utils.c const char *value = NULL; value 540 lib/common/utils.c value = g_hash_table_lookup(hash, key); value 544 lib/common/utils.c return value; value 282 lib/common/watchdog.c pcmk__valid_sbd_timeout(const char *value) value 284 lib/common/watchdog.c long st_timeout = value? crm_get_msec(value) : 0; value 289 lib/common/watchdog.c st_timeout, value); value 294 lib/common/watchdog.c value? value : "default"); value 298 lib/common/watchdog.c "but SBD not active", (value? value : "auto")); value 307 lib/common/watchdog.c "(must be >%ldms)", value, sbd_timeout); value 312 lib/common/watchdog.c value, sbd_timeout); value 560 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) value 569 lib/common/xml.c if (value == NULL || name == NULL) { value 579 lib/common/xml.c } else if (strstr(value, name) != value) { value 584 lib/common/xml.c value_len = strlen(value); value 586 lib/common/xml.c || value[name_len] != '+' || (value[name_len + 1] != '+' && value[name_len + 1] != '=')) { value 593 lib/common/xml.c if (old_value != value) { value 597 lib/common/xml.c if (value[name_len + 1] != '+') { value 598 lib/common/xml.c const char *offset_s = value + (name_len + 2); value 612 lib/common/xml.c if (old_value == value) { value 616 lib/common/xml.c crm_xml_add(target, name, value); value 1595 lib/common/xml.c const char *value = crm_element_value(data, aname); value 1598 lib/common/xml.c "%s %s @%s=%s", flags, spaces, aname, value); value 1601 lib/common/xml.c const char *value = crm_element_value(data, aname); value 1616 lib/common/xml.c "%s %s @%s=%s", flags, spaces, aname, value); value 2644 lib/common/xml.c const char *tag, const char *field, const char *value, gboolean search_matches) value 2653 lib/common/xml.c } else if (value != NULL && !pcmk__str_eq(value, crm_element_value(root, field), pcmk__str_casei)) { value 2668 lib/common/xml.c match_found += find_xml_children(children, child, tag, field, value, search_matches); value 2955 lib/common/xml.c const char *name, *value; value 2962 lib/common/xml.c value = va_arg(pairs, const char *); value 2963 lib/common/xml.c if (value == NULL) { value 2967 lib/common/xml.c crm_xml_add(node, name, value); value 303 lib/fencing/st_client.c hash2field((gpointer) params->key, (gpointer) params->value, args); value 344 lib/fencing/st_client.c const char *attr, const char *value, int level) value 349 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return -EINVAL); value 362 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); value 396 lib/fencing/st_client.c const char *attr, const char *value, value 403 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); value 420 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); value 426 lib/fencing/st_client.c pcmk__add_separated_word(&list, &len, device_list->value, ","); value 438 lib/fencing/st_client.c const char *attr, const char *value, value 442 lib/fencing/st_client.c xmlNode *data = create_level_registration_xml(node, pattern, attr, value, value 461 lib/fencing/st_client.c append_config_arg(gpointer key, gpointer value, gpointer user_data) value 474 lib/fencing/st_client.c (const char *) key, (const char *) (value? value : "")); value 476 lib/fencing/st_client.c strdup(key), strdup(value? value : "")); value 486 lib/fencing/st_client.c const char *value = NULL; value 497 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); value 498 lib/fencing/st_client.c if (value) { value 500 lib/fencing/st_client.c value, action, victim); value 501 lib/fencing/st_client.c action = value; value 539 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, param); value 541 lib/fencing/st_client.c if (pcmk__str_eq(value, "dynamic", value 659 lib/fencing/st_client.c const char *value = NULL; value 662 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); value 664 lib/fencing/st_client.c if (value) { value 665 lib/fencing/st_client.c action->max_retries = atoi(value); value 1693 lib/fencing/st_client.c stonith_dump_pending_op(gpointer key, gpointer value, gpointer user_data) value 1696 lib/fencing/st_client.c stonith_callback_client_t *blob = value; value 2045 lib/fencing/st_client.c host_arg = params->value; value 2049 lib/fencing/st_client.c strdup(params->value)); value 2196 lib/fencing/st_client.c stonith_key_value_add(stonith_key_value_t * head, const char *key, const char *value) value 2204 lib/fencing/st_client.c if (value) { value 2205 lib/fencing/st_client.c p->value = strdup(value); value 2233 lib/fencing/st_client.c free(head->value); value 2369 lib/fencing/st_client.c if (pcmk__str_eq(dIter->value, agent, pcmk__str_none)) { value 29 lib/lrmd/lrmd_alerts.c const char *value) value 33 lib/lrmd/lrmd_alerts.c if (value == NULL) { value 34 lib/lrmd/lrmd_alerts.c value = ""; value 37 lib/lrmd/lrmd_alerts.c crm_trace("Setting alert key %s = '%s'", *key, value); value 38 lib/lrmd/lrmd_alerts.c head = lrmd_key_value_add(head, *key, value); value 45 lib/lrmd/lrmd_alerts.c int value) value 47 lib/lrmd/lrmd_alerts.c char *value_s = pcmk__itoa(value); value 56 lib/lrmd/lrmd_alerts.c guint value) value 58 lib/lrmd/lrmd_alerts.c char *value_s = crm_strdup_printf("%u", value); value 66 lib/lrmd/lrmd_alerts.c set_ev_kv(gpointer key, gpointer value, gpointer user_data) value 70 lib/lrmd/lrmd_alerts.c if (value) { value 72 lib/lrmd/lrmd_alerts.c (char*)key, (char*)value); value 73 lib/lrmd/lrmd_alerts.c *head = lrmd_key_value_add(*head, key, value); value 91 lib/lrmd/lrmd_alerts.c is_target_alert(char **list, const char *value) value 96 lib/lrmd/lrmd_alerts.c CRM_CHECK(value != NULL, return FALSE); value 105 lib/lrmd/lrmd_alerts.c if (strcmp(list[cnt], value) == 0) { value 172 lib/lrmd/lrmd_alerts.c copy_params = lrmd_key_value_add(copy_params, head->key, head->value); value 108 lib/lrmd/lrmd_client.c lrmd_list_add(lrmd_list_t * head, const char *value) value 113 lib/lrmd/lrmd_client.c p->val = strdup(value); value 145 lib/lrmd/lrmd_client.c lrmd_key_value_add(lrmd_key_value_t * head, const char *key, const char *value) value 151 lib/lrmd/lrmd_client.c p->value = strdup(value); value 175 lib/lrmd/lrmd_client.c free(head->value); value 930 lib/lrmd/lrmd_client.c const char *value; value 936 lib/lrmd/lrmd_client.c value = g_hash_table_lookup(hash, "stonith-watchdog-timeout"); value 937 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_WATCHDOG, value); value 1956 lib/lrmd/lrmd_client.c g_hash_table_insert(params_table, strdup(param->key), strdup(param->value)); value 2011 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); value 2037 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); value 2083 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, dIter->value); value 44 lib/pacemaker/pcmk_fence.c char *value = NULL; value 53 lib/pacemaker/pcmk_fence.c value = strchr(target, '='); value 54 lib/pacemaker/pcmk_fence.c if (value != NULL) { value 56 lib/pacemaker/pcmk_fence.c *value++ = '\0'; value 66 lib/pacemaker/pcmk_fence.c name, value, fence_level, value 70 lib/pacemaker/pcmk_fence.c name, value, fence_level); value 271 lib/pacemaker/pcmk_fence.c out->list_item(out, "device", "%s", dIter->value); value 429 lib/pacemaker/pcmk_fence.c out->list_item(out, "device", "%s", dIter->value); value 1150 lib/pacemaker/pcmk_output.c const char *value = va_arg(args, const char *); value 1162 lib/pacemaker/pcmk_output.c name, value, node_path, ID(cib_node)); value 1173 lib/pacemaker/pcmk_output.c const char *value = va_arg(args, const char *); value 1186 lib/pacemaker/pcmk_output.c "value", value, value 158 lib/pacemaker/pcmk_sched_allocate.c const char *value = NULL; value 168 lib/pacemaker/pcmk_sched_allocate.c value = crm_element_value(rsc->xml, attr_list[attr_lpc]); value 170 lib/pacemaker/pcmk_sched_allocate.c if (value == old_value /* i.e. NULL */ value 171 lib/pacemaker/pcmk_sched_allocate.c || pcmk__str_eq(value, old_value, pcmk__str_none)) { value 181 lib/pacemaker/pcmk_sched_allocate.c crm_str(old_value), crm_str(value)); value 789 lib/pacemaker/pcmk_sched_allocate.c const char *value = (const char *)gValue; value 800 lib/pacemaker/pcmk_sched_allocate.c score = char2score(value); value 2951 lib/pacemaker/pcmk_sched_allocate.c const char *value = NULL; value 2959 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "cluster-delay"); value 2960 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "cluster-delay", value); value 2962 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "stonith-timeout"); value 2963 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "stonith-timeout", value); value 2973 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "batch-limit"); value 2974 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "batch-limit", value); value 2978 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "migration-limit"); value 2979 lib/pacemaker/pcmk_sched_allocate.c if ((pcmk__scan_ll(value, &limit, 0LL) == pcmk_rc_ok) && (limit > 0)) { value 2980 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "migration-limit", value); value 724 lib/pacemaker/pcmk_sched_constraints.c const char *value = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE); value 726 lib/pacemaker/pcmk_sched_constraints.c if(value) { value 727 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, value); value 732 lib/pacemaker/pcmk_sched_constraints.c value = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE_PATTERN); value 733 lib/pacemaker/pcmk_sched_constraints.c if(value) { value 738 lib/pacemaker/pcmk_sched_constraints.c if(value[0] == '!') { value 739 lib/pacemaker/pcmk_sched_constraints.c value++; value 743 lib/pacemaker/pcmk_sched_constraints.c if (regcomp(r_patt, value, REG_EXTENDED)) { value 746 lib/pacemaker/pcmk_sched_constraints.c " has invalid value '%s'", id, value); value 774 lib/pacemaker/pcmk_sched_constraints.c crm_debug("'%s' matched '%s' for %s", r->id, value, id); value 778 lib/pacemaker/pcmk_sched_constraints.c crm_debug("'%s' is an inverted match of '%s' for %s", r->id, value, id); value 782 lib/pacemaker/pcmk_sched_constraints.c crm_trace("'%s' does not match '%s' for %s", r->id, value, id); value 1299 lib/pacemaker/pcmk_sched_graph.c const char *value = g_hash_table_lookup(action->rsc->meta, "external-ip"); value 1307 lib/pacemaker/pcmk_sched_graph.c if(value) { value 1308 lib/pacemaker/pcmk_sched_graph.c hash2smartfield((gpointer)"pcmk_external_ip", (gpointer)value, (gpointer)args_xml); value 88 lib/pacemaker/pcmk_sched_group.c const char *value = NULL; value 114 lib/pacemaker/pcmk_sched_group.c value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_PROMOTABLE); value 115 lib/pacemaker/pcmk_sched_group.c if (crm_is_true(value)) { value 212 lib/pacemaker/pcmk_sched_native.c const char *value) value 224 lib/pacemaker/pcmk_sched_native.c && pcmk__str_eq(value, pe_node_attribute_raw(node, attr), pcmk__str_casei)) { value 234 lib/pacemaker/pcmk_sched_native.c rsc->id, attr, value); value 238 lib/pacemaker/pcmk_sched_native.c best_node, rsc->id, best_score, attr, value); value 668 lib/pacemaker/pcmk_sched_native.c const char *value = NULL; value 677 lib/pacemaker/pcmk_sched_native.c value = crm_element_value(operation, "name"); value 678 lib/pacemaker/pcmk_sched_native.c if (!pcmk__str_eq(value, name, pcmk__str_casei)) { value 682 lib/pacemaker/pcmk_sched_native.c value = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); value 683 lib/pacemaker/pcmk_sched_native.c interval2_ms = crm_parse_interval_spec(value); value 1862 lib/pacemaker/pcmk_sched_native.c const char *value = NULL; value 1872 lib/pacemaker/pcmk_sched_native.c value = pe_node_attribute_raw(rsc_rh->allocated_to, attribute); value 1889 lib/pacemaker/pcmk_sched_native.c } else if (pcmk__str_eq(pe_node_attribute_raw(node, attribute), value, pcmk__str_casei)) { value 3198 lib/pacemaker/pcmk_sched_native.c char *value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_INCARNATION); value 3201 lib/pacemaker/pcmk_sched_native.c if (value) { value 3205 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); value 3209 lib/pacemaker/pcmk_sched_native.c value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_REMOTE_NODE); value 3210 lib/pacemaker/pcmk_sched_native.c if (value) { value 3214 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); value 190 lib/pacemaker/pcmk_sched_notif.c dup_attr(gpointer key, gpointer value, gpointer user_data) value 192 lib/pacemaker/pcmk_sched_notif.c add_hash_param(user_data, key, value); value 201 lib/pacemaker/pcmk_sched_notif.c add_hash_param(action->meta, nvpair->name, nvpair->value); value 211 lib/pacemaker/pcmk_sched_notif.c const char *value = NULL; value 230 lib/pacemaker/pcmk_sched_notif.c value = g_hash_table_lookup(op->meta, "notify_type"); value 233 lib/pacemaker/pcmk_sched_notif.c pe_rsc_trace(rsc, "Creating notify actions for %s: %s (%s-%s)", op->uuid, rsc->id, value, task); value 235 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, value, task); value 510 lib/pacemaker/pcmk_sched_notif.c #define add_notify_env(n_data, key, value) do { \ value 511 lib/pacemaker/pcmk_sched_notif.c n_data->keys = pcmk_prepend_nvpair(n_data->keys, key, value); \ value 514 lib/pacemaker/pcmk_sched_notif.c #define add_notify_env_free(n_data, key, value) do { \ value 515 lib/pacemaker/pcmk_sched_notif.c n_data->keys = pcmk_prepend_nvpair(n_data->keys, key, value); \ value 516 lib/pacemaker/pcmk_sched_notif.c free(value); value = NULL; \ value 952 lib/pacemaker/pcmk_sched_promotable.c const char *value = NULL; value 961 lib/pacemaker/pcmk_sched_promotable.c value = pe_node_attribute_raw(other, attr); value 966 lib/pacemaker/pcmk_sched_promotable.c if (pcmk__str_eq(value, tmp, pcmk__str_casei)) { value 44 lib/pacemaker/pcmk_sched_transition.c inject_transient_attr(xmlNode * cib_node, const char *name, const char *value) value 50 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-attr", name, value, cib_node); value 64 lib/pacemaker/pcmk_sched_transition.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); value 32 lib/pacemaker/pcmk_sched_utilization.c int value = 0; value 40 lib/pacemaker/pcmk_sched_utilization.c pcmk__scan_min_int(s, &value, INT_MIN); value 42 lib/pacemaker/pcmk_sched_utilization.c return value; value 46 lib/pacemaker/pcmk_sched_utilization.c do_compare_capacity1(gpointer key, gpointer value, gpointer user_data) value 52 lib/pacemaker/pcmk_sched_utilization.c node1_capacity = utilization_value(value); value 63 lib/pacemaker/pcmk_sched_utilization.c do_compare_capacity2(gpointer key, gpointer value, gpointer user_data) value 74 lib/pacemaker/pcmk_sched_utilization.c node2_capacity = utilization_value(value); value 107 lib/pacemaker/pcmk_sched_utilization.c do_calculate_utilization(gpointer key, gpointer value, gpointer user_data) value 115 lib/pacemaker/pcmk_sched_utilization.c result = pcmk__itoa(utilization_value(current) + utilization_value(value)); value 119 lib/pacemaker/pcmk_sched_utilization.c result = pcmk__itoa(utilization_value(current) - utilization_value(value)); value 147 lib/pacemaker/pcmk_sched_utilization.c check_capacity(gpointer key, gpointer value, gpointer user_data) value 153 lib/pacemaker/pcmk_sched_utilization.c required = utilization_value(value); value 25 lib/pacemaker/pcmk_trans_unpack.c const char *value = crm_element_value(xml_action, XML_ATTR_ID); value 27 lib/pacemaker/pcmk_trans_unpack.c if (value == NULL) { value 40 lib/pacemaker/pcmk_trans_unpack.c pcmk__scan_min_int(value, &(action->id), -1); value 57 lib/pacemaker/pcmk_trans_unpack.c value = g_hash_table_lookup(action->params, "CRM_meta_timeout"); value 58 lib/pacemaker/pcmk_trans_unpack.c pcmk__scan_min_int(value, &(action->timeout), 0); value 61 lib/pacemaker/pcmk_trans_unpack.c value = g_hash_table_lookup(action->params, "CRM_meta_start_delay"); value 65 lib/pacemaker/pcmk_trans_unpack.c pcmk__scan_min_int(value, &start_delay, 0); value 75 lib/pacemaker/pcmk_trans_unpack.c value = g_hash_table_lookup(action->params, "CRM_meta_can_fail"); value 76 lib/pacemaker/pcmk_trans_unpack.c if (value != NULL) { value 77 lib/pacemaker/pcmk_trans_unpack.c crm_str_to_boolean(value, &(action->can_fail)); value 94 lib/pacemaker/pcmk_trans_unpack.c const char *value = NULL; value 105 lib/pacemaker/pcmk_trans_unpack.c value = crm_element_value(xml_synapse, XML_CIB_ATTR_PRIORITY); value 106 lib/pacemaker/pcmk_trans_unpack.c pcmk__scan_min_int(value, &(new_synapse->priority), 0); value 310 lib/pacemaker/pcmk_trans_unpack.c const char *value = NULL; value 330 lib/pacemaker/pcmk_trans_unpack.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { value 331 lib/pacemaker/pcmk_trans_unpack.c g_hash_table_insert(op->params, strdup(name), strdup(value)); value 951 lib/pengine/bundle.c const char *value; value 960 lib/pengine/bundle.c value = g_hash_table_lookup(params, XML_RSC_ATTR_REMOTE_RA_ADDR); value 962 lib/pengine/bundle.c return pcmk__str_eq(value, "#uname", pcmk__str_casei) value 1015 lib/pengine/bundle.c const char *value = NULL; value 1046 lib/pengine/bundle.c value = crm_element_value(xml_obj, XML_RSC_ATTR_PROMOTED_MAX); value 1047 lib/pengine/bundle.c if (value == NULL) { value 1049 lib/pengine/bundle.c value = crm_element_value(xml_obj, "masters"); value 1051 lib/pengine/bundle.c pcmk__scan_min_int(value, &bundle_data->promoted_max, 0); value 1054 lib/pengine/bundle.c value = crm_element_value(xml_obj, "replicas"); value 1055 lib/pengine/bundle.c if ((value == NULL) && (bundle_data->promoted_max > 0)) { value 1058 lib/pengine/bundle.c pcmk__scan_min_int(value, &bundle_data->nreplicas, 1); value 1066 lib/pengine/bundle.c value = crm_element_value(xml_obj, "replicas-per-host"); value 1067 lib/pengine/bundle.c pcmk__scan_min_int(value, &bundle_data->nreplicas_per_host, 1); value 1084 lib/pengine/bundle.c value = crm_element_value(xml_obj, "add-host"); value 1085 lib/pengine/bundle.c if (crm_str_to_boolean(value, &bundle_data->add_host) != 1) { value 1141 lib/pengine/bundle.c char *value = NULL; value 1160 lib/pengine/bundle.c value = pcmk__itoa(bundle_data->nreplicas); value 1162 lib/pengine/bundle.c XML_RSC_ATTR_INCARNATION_MAX, value); value 1163 lib/pengine/bundle.c free(value); value 1165 lib/pengine/bundle.c value = pcmk__itoa(bundle_data->nreplicas_per_host); value 1167 lib/pengine/bundle.c XML_RSC_ATTR_INCARNATION_NODEMAX, value); value 1168 lib/pengine/bundle.c free(value); value 1177 lib/pengine/bundle.c value = pcmk__itoa(bundle_data->promoted_max); value 1179 lib/pengine/bundle.c XML_RSC_ATTR_PROMOTED_MAX, value); value 1180 lib/pengine/bundle.c free(value); value 24 lib/pengine/common.c check_health(const char *value) value 26 lib/pengine/common.c return pcmk__strcase_any_of(value, "none", "custom", "only-green", "progressive", value 31 lib/pengine/common.c check_stonith_action(const char *value) value 33 lib/pengine/common.c return pcmk__strcase_any_of(value, "reboot", "poweroff", "off", NULL); value 37 lib/pengine/common.c check_placement_strategy(const char *value) value 39 lib/pengine/common.c return pcmk__strcase_any_of(value, "default", "utilization", "minimal", value 579 lib/pengine/common.c add_hash_param(GHashTable * hash, const char *name, const char *value) value 583 lib/pengine/common.c crm_trace("adding: name=%s value=%s", crm_str(name), crm_str(value)); value 584 lib/pengine/common.c if (name == NULL || value == NULL) { value 587 lib/pengine/common.c } else if (pcmk__str_eq(value, "#default", pcmk__str_casei)) { value 591 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); value 94 lib/pengine/complex.c dup_attr(gpointer key, gpointer value, gpointer user_data) value 96 lib/pengine/complex.c add_hash_param(user_data, key, value); value 122 lib/pengine/complex.c char *value = NULL; value 125 lib/pengine/complex.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 128 lib/pengine/complex.c dup_attr(key, value, meta_hash); value 499 lib/pengine/complex.c const char *value = NULL; value 566 lib/pengine/complex.c value = crm_element_value((*rsc)->xml, XML_RSC_ATTR_INCARNATION); value 567 lib/pengine/complex.c if (value) { value 568 lib/pengine/complex.c (*rsc)->id = crm_strdup_printf("%s:%s", id, value); value 569 lib/pengine/complex.c add_hash_param((*rsc)->meta, XML_RSC_ATTR_INCARNATION, value); value 602 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_CIB_ATTR_PRIORITY); value 603 lib/pengine/complex.c (*rsc)->priority = char2score(value); value 605 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_CRITICAL); value 606 lib/pengine/complex.c if ((value == NULL) || crm_is_true(value)) { value 610 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_NOTIFY); value 611 lib/pengine/complex.c if (crm_is_true(value)) { value 624 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_OP_ATTR_ALLOW_MIGRATE); value 628 lib/pengine/complex.c if (crm_is_true(value) && has_versioned_params) { value 630 lib/pengine/complex.c } else if (crm_is_true(value)) { value 632 lib/pengine/complex.c } else if ((value == NULL) && remote_node && !has_versioned_params) { value 643 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_MANAGED); value 644 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { value 645 lib/pengine/complex.c if (crm_is_true(value)) { value 652 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_MAINTENANCE); value 653 lib/pengine/complex.c if (crm_is_true(value)) { value 663 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_UNIQUE); value 664 lib/pengine/complex.c if (crm_is_true(value)) { value 676 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_RESTART); value 677 lib/pengine/complex.c if (pcmk__str_eq(value, "restart", pcmk__str_casei)) { value 688 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_MULTIPLE); value 689 lib/pengine/complex.c if (pcmk__str_eq(value, "stop_only", pcmk__str_casei)) { value 693 lib/pengine/complex.c } else if (pcmk__str_eq(value, "block", pcmk__str_casei)) { value 702 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_STICKINESS); value 703 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { value 704 lib/pengine/complex.c (*rsc)->stickiness = char2score(value); value 707 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_FAIL_STICKINESS); value 708 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { value 709 lib/pengine/complex.c (*rsc)->migration_threshold = char2score(value); value 727 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_REQUIRES); value 730 lib/pengine/complex.c if (pcmk__str_eq(value, "nothing", pcmk__str_casei)) { value 732 lib/pengine/complex.c } else if (pcmk__str_eq(value, "quorum", pcmk__str_casei)) { value 735 lib/pengine/complex.c } else if (pcmk__str_eq(value, "unfencing", pcmk__str_casei)) { value 740 lib/pengine/complex.c value = "quorum"; value 748 lib/pengine/complex.c value = "quorum"; value 757 lib/pengine/complex.c } else if (pcmk__str_eq(value, "fencing", pcmk__str_casei)) { value 765 lib/pengine/complex.c const char *orig_value = value; value 769 lib/pengine/complex.c value = "quorum"; value 776 lib/pengine/complex.c value = "quorum"; value 779 lib/pengine/complex.c value = "unfencing"; value 782 lib/pengine/complex.c value = "fencing"; value 785 lib/pengine/complex.c value = "nothing"; value 788 lib/pengine/complex.c value = "quorum"; value 794 lib/pengine/complex.c (*rsc)->id, value, orig_value); value 800 lib/pengine/complex.c pe_rsc_trace((*rsc), "\tRequired to start: %s%s", value, isdefault?" (default)":""); value 801 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_FAIL_TIMEOUT); value 802 lib/pengine/complex.c if (value != NULL) { value 804 lib/pengine/complex.c (*rsc)->failure_timeout = (int) (crm_parse_interval_spec(value) / 1000); value 816 lib/pengine/complex.c value = g_hash_table_lookup(params, XML_REMOTE_ATTR_RECONNECT_INTERVAL); value 817 lib/pengine/complex.c if (value) { value 820 lib/pengine/complex.c (*rsc)->remote_reconnect_ms = crm_parse_interval_spec(value); value 255 lib/pengine/failcounts.c const char *value = NULL; value 265 lib/pengine/failcounts.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 267 lib/pengine/failcounts.c failcount = pe__add_scores(failcount, char2score(value)); value 271 lib/pengine/failcounts.c if (pcmk__scan_ll(value, &last_ll, 0LL) == pcmk_rc_ok) { value 327 lib/pengine/native.c const char *value = NULL; value 335 lib/pengine/native.c value = g_hash_table_lookup(params, name); value 336 lib/pengine/native.c if (value == NULL) { value 338 lib/pengine/native.c value = g_hash_table_lookup(rsc->meta, name); value 340 lib/pengine/native.c if (value != NULL) { value 341 lib/pengine/native.c value_copy = strdup(value); value 89 lib/pengine/pe_digest.c char *value = NULL; value 93 lib/pengine/pe_digest.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 94 lib/pengine/pe_digest.c crm_xml_add(params, key, value); value 276 lib/pengine/pe_digest.c const char *value = NULL; value 292 lib/pengine/pe_digest.c value = crm_element_value(xml_op, XML_LRM_ATTR_OP_RESTART); value 293 lib/pengine/pe_digest.c if (value != NULL) { value 295 lib/pengine/pe_digest.c (void *) value); value 298 lib/pengine/pe_digest.c value = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); value 300 lib/pengine/pe_digest.c value); value 160 lib/pengine/pe_output.c add_dump_node(gpointer key, gpointer value, gpointer user_data) value 163 lib/pengine/pe_output.c pcmk_create_xml_text_node(node, (const char *) key, (const char *) value); value 167 lib/pengine/pe_output.c append_dump_text(gpointer key, gpointer value, gpointer user_data) value 171 lib/pengine/pe_output.c *dump_text, (char *)key, (char *)value); value 269 lib/pengine/pe_output.c const char *value = NULL; value 281 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); value 282 lib/pengine/pe_output.c if (value) { value 283 lib/pengine/pe_output.c char *pair = pcmk__format_nvpair(XML_RSC_OP_T_EXEC, value, "ms"); value 288 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); value 289 lib/pengine/pe_output.c if (value) { value 290 lib/pengine/pe_output.c char *pair = pcmk__format_nvpair(XML_RSC_OP_T_QUEUE, value, "ms"); value 1496 lib/pengine/pe_output.c const char *value = va_arg(args, const char *); value 1503 lib/pengine/pe_output.c if (value == NULL) { value 1506 lib/pengine/pe_output.c pcmk__scan_min_int(value, &v, INT_MIN); value 1509 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); value 1511 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); value 1513 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); value 1516 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); value 1526 lib/pengine/pe_output.c const char *value = va_arg(args, const char *); value 1532 lib/pengine/pe_output.c char *s = crm_strdup_printf("%s: %s", name, value); value 1535 lib/pengine/pe_output.c if (value == NULL) { value 1538 lib/pengine/pe_output.c pcmk__scan_min_int(value, &v, INT_MIN); value 1552 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); value 1669 lib/pengine/pe_output.c const char *value = va_arg(args, const char *); value 1675 lib/pengine/pe_output.c "value", value, value 1736 lib/pengine/pe_output.c const char *value = NULL; value 1740 lib/pengine/pe_output.c value = pe_node_attribute_raw(node, name); value 1746 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, value 2221 lib/pengine/pe_output.c const char *value = NULL; value 2229 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); value 2230 lib/pengine/pe_output.c if (value) { value 2231 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", value); value 2235 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); value 2236 lib/pengine/pe_output.c if (value) { value 2237 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", value); value 2654 lib/pengine/pe_output.c gpointer key, value; value 2667 lib/pengine/pe_output.c while (g_hash_table_iter_next(&iter, &key, &value)) { value 2668 lib/pengine/pe_output.c pe_ticket_t *ticket = (pe_ticket_t *) value; value 86 lib/pengine/remote.c const char *value = NULL; value 92 lib/pengine/remote.c value = crm_element_value(xml, XML_ATTR_TYPE); value 93 lib/pengine/remote.c if (!pcmk__str_eq(value, "remote", pcmk__str_casei)) { value 97 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_CLASS); value 98 lib/pengine/remote.c if (!pcmk__str_eq(value, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { value 102 lib/pengine/remote.c value = crm_element_value(xml, XML_AGENT_ATTR_PROVIDER); value 103 lib/pengine/remote.c if (!pcmk__str_eq(value, "pacemaker", pcmk__str_casei)) { value 179 lib/pengine/rules.c const char *value = crm_element_value(cron_spec, xml_field); value 182 lib/pengine/rules.c if (value == NULL) { value 187 lib/pengine/rules.c if (pcmk__parse_ll_range(value, &low, &high) == pcmk_rc_unknown_format) { value 217 lib/pengine/rules.c crm_debug("Condition '%s' in %s: passed", value, xml_field); value 219 lib/pengine/rules.c crm_debug("Condition '%s' in %s: failed", value, xml_field); value 280 lib/pengine/rules.c long long value; value 282 lib/pengine/rules.c if ((pcmk__scan_ll(crm_element_value(xml, attr), &value, 0LL) == pcmk_rc_ok) value 283 lib/pengine/rules.c && (value != 0LL) && (value >= INT_MIN) && (value <= INT_MAX)) { value 284 lib/pengine/rules.c time_fn(t, (int) value); value 359 lib/pengine/rules.c const char *value = NULL; value 380 lib/pengine/rules.c value = crm_element_value(an_attr, XML_NVPAIR_ATTR_VALUE); value 381 lib/pengine/rules.c if (value == NULL) { value 382 lib/pengine/rules.c value = crm_element_value(ref_nvpair, XML_NVPAIR_ATTR_VALUE); value 385 lib/pengine/rules.c if (name == NULL || value == NULL) { value 391 lib/pengine/rules.c if (pcmk__str_eq(value, "#default", pcmk__str_casei)) { value 394 lib/pengine/rules.c name, value); value 400 lib/pengine/rules.c crm_trace("Setting %s=\"%s\"", name, value); value 401 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); value 405 lib/pengine/rules.c name, value, old_value); value 406 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); value 771 lib/pengine/rules.c const char *value = NULL; value 774 lib/pengine/rules.c value = crm_element_value(rule, XML_RULE_ATTR_BOOLEAN_OP); value 775 lib/pengine/rules.c if (pcmk__str_eq(value, "or", pcmk__str_casei)) { value 1040 lib/pengine/rules.c expand_value_source(const char *value, const char *value_source, value 1045 lib/pengine/rules.c if (pcmk__str_empty(value)) { value 1055 lib/pengine/rules.c return value; value 1061 lib/pengine/rules.c return (const char *) g_hash_table_lookup(table, value); value 1083 lib/pengine/rules.c const char *value = NULL; value 1088 lib/pengine/rules.c value = crm_element_value(expr, XML_EXPR_ATTR_VALUE); value 1094 lib/pengine/rules.c " (\'%s\' \'%s\' \'%s\')", crm_str(attr), crm_str(op), crm_str(value)); value 1110 lib/pengine/rules.c value = expand_value_source(value, value_source, rule_data->match_data); value 1122 lib/pengine/rules.c return accept_attr_expr(h_val, value, type, op); value 1140 lib/pengine/rules.c const char *value = NULL; value 1154 lib/pengine/rules.c value = crm_element_value(expr, "start"); value 1155 lib/pengine/rules.c if (value != NULL) { value 1156 lib/pengine/rules.c start = crm_time_new(value); value 1158 lib/pengine/rules.c value = crm_element_value(expr, "end"); value 1159 lib/pengine/rules.c if (value != NULL) { value 1160 lib/pengine/rules.c end = crm_time_new(value); value 1263 lib/pengine/rules.c const char *value = NULL; value 1269 lib/pengine/rules.c value = crm_element_value(expr, XML_EXPR_ATTR_VALUE); value 1284 lib/pengine/rules.c if (text2role(value) == rule_data->role) { value 1294 lib/pengine/rules.c } else if (text2role(value) != rule_data->role) { value 24 lib/pengine/rules_alerts.c const char *value = NULL; value 30 lib/pengine/rules_alerts.c value = g_hash_table_lookup(config_hash, XML_ALERT_ATTR_TIMEOUT); value 31 lib/pengine/rules_alerts.c if (value) { value 32 lib/pengine/rules_alerts.c entry->timeout = crm_get_msec(value); value 39 lib/pengine/rules_alerts.c entry->id, (char*)value, PCMK__ALERT_DEFAULT_TIMEOUT_MS); value 50 lib/pengine/rules_alerts.c value = g_hash_table_lookup(config_hash, XML_ALERT_ATTR_TSTAMP_FORMAT); value 51 lib/pengine/rules_alerts.c if (value) { value 55 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(value); value 85 lib/pengine/rules_alerts.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); value 87 lib/pengine/rules_alerts.c if (value == NULL) { value 88 lib/pengine/rules_alerts.c value = ""; value 90 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); value 92 lib/pengine/rules_alerts.c entry->id, name, value); value 79 lib/pengine/status.c const char *value = crm_element_value(data_set->input, XML_ATTR_HAVE_QUORUM); value 99 lib/pengine/status.c if (crm_is_true(value)) { value 22 lib/pengine/tags.c gpointer value; value 29 lib/pengine/tags.c value = g_hash_table_lookup(data_set->tags, tag_name); value 31 lib/pengine/tags.c if (value == NULL) { value 35 lib/pengine/tags.c for (GList *refs = ((pe_tag_t *) value)->refs; refs; refs = refs->next) { value 53 lib/pengine/tags.c gpointer value; value 60 lib/pengine/tags.c value = g_hash_table_lookup(data_set->tags, tag_name); value 62 lib/pengine/tags.c if (value == NULL) { value 67 lib/pengine/tags.c for (GList *refs = ((pe_tag_t *) value)->refs; refs; refs = refs->next) { value 200 lib/pengine/unpack.c const char *value = NULL; value 224 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, XML_ATTR_HAVE_WATCHDOG); value 225 lib/pengine/unpack.c if (value && crm_is_true(value)) { value 236 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "stonith-timeout"); value 237 lib/pengine/unpack.c data_set->stonith_timeout = (int) crm_parse_interval_spec(value); value 257 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, value 259 lib/pengine/unpack.c if (value) { value 260 lib/pengine/unpack.c data_set->priority_fencing_delay = crm_parse_interval_spec(value) / 1000; value 273 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "no-quorum-policy"); value 275 lib/pengine/unpack.c if (pcmk__str_eq(value, "ignore", pcmk__str_casei)) { value 278 lib/pengine/unpack.c } else if (pcmk__str_eq(value, "freeze", pcmk__str_casei)) { value 281 lib/pengine/unpack.c } else if (pcmk__str_eq(value, "demote", pcmk__str_casei)) { value 284 lib/pengine/unpack.c } else if (pcmk__str_eq(value, "suicide", pcmk__str_casei)) { value 333 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "remove-after-stop"); value 334 lib/pengine/unpack.c if (value != NULL) { value 335 lib/pengine/unpack.c if (crm_is_true(value)) { value 380 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, value 382 lib/pengine/unpack.c data_set->shutdown_lock = crm_parse_interval_spec(value) / 1000; value 471 lib/pengine/unpack.c const char *value = crm_element_value(attr, XML_NVPAIR_ATTR_VALUE); value 475 lib/pengine/unpack.c remote_name = value; value 477 lib/pengine/unpack.c remote_server = value; value 479 lib/pengine/unpack.c remote_port = value; value 481 lib/pengine/unpack.c connect_timeout = value; value 483 lib/pengine/unpack.c remote_allow_migrate=value; value 485 lib/pengine/unpack.c is_managed = value; value 2535 lib/pengine/unpack.c set_node_score(gpointer key, gpointer value, gpointer user_data) value 2537 lib/pengine/unpack.c pe_node_t *node = value; value 27 lib/pengine/utils.c void print_str_str(gpointer key, gpointer value, gpointer user_data); value 28 lib/pengine/utils.c gboolean ghash_free_str_str(gpointer key, gpointer value, gpointer user_data); value 650 lib/pengine/utils.c valid_stop_on_fail(const char *value) value 652 lib/pengine/utils.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); value 664 lib/pengine/utils.c const char *value = g_hash_table_lookup(action->meta, XML_OP_ATTR_ON_FAIL); value 667 lib/pengine/utils.c && !valid_stop_on_fail(value)) { value 671 lib/pengine/utils.c "allowed for stop", action->rsc->id, value); value 674 lib/pengine/utils.c } else if (pcmk__str_eq(action->task, CRMD_ACTION_DEMOTE, pcmk__str_casei) && !value) { value 681 lib/pengine/utils.c (operation != NULL) && (value == NULL); value 707 lib/pengine/utils.c value = on_fail; value 710 lib/pengine/utils.c value = "ignore"; value 712 lib/pengine/utils.c } else if (pcmk__str_eq(value, "demote", pcmk__str_casei)) { value 730 lib/pengine/utils.c return value; value 739 lib/pengine/utils.c const char *value = NULL; value 751 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); value 752 lib/pengine/utils.c if (!include_disabled && value && crm_is_true(value) == FALSE) { value 773 lib/pengine/utils.c unpack_start_delay(const char *value, GHashTable *meta) value 777 lib/pengine/utils.c if (value != NULL) { value 778 lib/pengine/utils.c start_delay = crm_get_msec(value); value 795 lib/pengine/utils.c unpack_interval_origin(const char *value, xmlNode *xml_obj, guint interval_ms, value 803 lib/pengine/utils.c if ((value == NULL) || (interval_ms == 0) || (now == NULL)) { value 808 lib/pengine/utils.c origin = crm_time_new(value); value 812 lib/pengine/utils.c (ID(xml_obj)? ID(xml_obj) : "(missing ID)"), value); value 836 lib/pengine/utils.c unpack_timeout(const char *value) value 838 lib/pengine/utils.c int timeout_ms = crm_get_msec(value); value 908 lib/pengine/utils.c const char *value = crm_element_value(attr, XML_NVPAIR_ATTR_VALUE); value 911 lib/pengine/utils.c int start_delay = unpack_start_delay(value, NULL); value 917 lib/pengine/utils.c if (unpack_interval_origin(value, xml_obj, interval_ms, now, value 924 lib/pengine/utils.c int timeout_ms = unpack_timeout(value); value 951 lib/pengine/utils.c const char *value = NULL; value 989 lib/pengine/utils.c value = crm_element_value(min_interval_mon, XML_ATTR_TIMEOUT); value 990 lib/pengine/utils.c if (value) { value 992 lib/pengine/utils.c "monitor's timeout '%s'", action->uuid, value); value 994 lib/pengine/utils.c strdup(value)); value 1061 lib/pengine/utils.c value = g_hash_table_lookup(params, "pcmk_monitor_timeout"); value 1063 lib/pengine/utils.c if (value) { value 1065 lib/pengine/utils.c "overriding default", action->uuid, value); value 1067 lib/pengine/utils.c strdup(value)); value 1072 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, XML_ATTR_TIMEOUT); value 1073 lib/pengine/utils.c timeout_ms = unpack_timeout(value); value 1079 lib/pengine/utils.c value = "nothing (not start or promote)"; value 1083 lib/pengine/utils.c value = "fencing"; value 1087 lib/pengine/utils.c value = "quorum"; value 1091 lib/pengine/utils.c value = "nothing"; value 1093 lib/pengine/utils.c pe_rsc_trace(action->rsc, "%s requires %s", action->uuid, value); value 1095 lib/pengine/utils.c value = unpack_operation_on_fail(action); value 1097 lib/pengine/utils.c if (value == NULL) { value 1099 lib/pengine/utils.c } else if (pcmk__str_eq(value, "block", pcmk__str_casei)) { value 1102 lib/pengine/utils.c value = "block"; // The above could destroy the original string value 1104 lib/pengine/utils.c } else if (pcmk__str_eq(value, "fence", pcmk__str_casei)) { value 1106 lib/pengine/utils.c value = "node fencing"; value 1114 lib/pengine/utils.c value = "stop resource"; value 1117 lib/pengine/utils.c } else if (pcmk__str_eq(value, "standby", pcmk__str_casei)) { value 1119 lib/pengine/utils.c value = "node standby"; value 1121 lib/pengine/utils.c } else if (pcmk__strcase_any_of(value, "ignore", "nothing", NULL)) { value 1123 lib/pengine/utils.c value = "ignore"; value 1125 lib/pengine/utils.c } else if (pcmk__str_eq(value, "migrate", pcmk__str_casei)) { value 1127 lib/pengine/utils.c value = "force migration"; value 1129 lib/pengine/utils.c } else if (pcmk__str_eq(value, "stop", pcmk__str_casei)) { value 1132 lib/pengine/utils.c value = "stop resource"; value 1134 lib/pengine/utils.c } else if (pcmk__str_eq(value, "restart", pcmk__str_casei)) { value 1136 lib/pengine/utils.c value = "restart (and possibly migrate)"; value 1138 lib/pengine/utils.c } else if (pcmk__str_eq(value, "restart-container", pcmk__str_casei)) { value 1141 lib/pengine/utils.c value = "restart container (and possibly migrate)"; value 1144 lib/pengine/utils.c value = NULL; value 1147 lib/pengine/utils.c } else if (pcmk__str_eq(value, "demote", pcmk__str_casei)) { value 1149 lib/pengine/utils.c value = "demote instance"; value 1152 lib/pengine/utils.c pe_err("Resource %s: Unknown failure type (%s)", action->rsc->id, value); value 1153 lib/pengine/utils.c value = NULL; value 1157 lib/pengine/utils.c if (value == NULL && container) { value 1159 lib/pengine/utils.c value = "restart container (and possibly migrate) (default)"; value 1169 lib/pengine/utils.c } else if (((value == NULL) || !pcmk_is_set(action->rsc->flags, pe_rsc_managed)) value 1178 lib/pengine/utils.c value = "stop unmanaged remote node (enforcing default)"; value 1182 lib/pengine/utils.c value = "fence remote node (default)"; value 1184 lib/pengine/utils.c value = "recover remote node connection (default)"; value 1193 lib/pengine/utils.c } else if (value == NULL && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) { value 1196 lib/pengine/utils.c value = "resource fence (default)"; value 1200 lib/pengine/utils.c value = "resource block (default)"; value 1203 lib/pengine/utils.c } else if (value == NULL) { value 1205 lib/pengine/utils.c value = "restart (and possibly migrate) (default)"; value 1209 lib/pengine/utils.c action->uuid, value); value 1211 lib/pengine/utils.c value = NULL; value 1213 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, "role_after_failure"); value 1214 lib/pengine/utils.c if (value) { value 1219 lib/pengine/utils.c if (value != NULL && action->fail_role == RSC_ROLE_UNKNOWN) { value 1220 lib/pengine/utils.c action->fail_role = text2role(value); value 1233 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, XML_OP_ATTR_START_DELAY); value 1234 lib/pengine/utils.c if (value) { value 1235 lib/pengine/utils.c unpack_start_delay(value, action->meta); value 1239 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, XML_OP_ATTR_ORIGIN); value 1240 lib/pengine/utils.c if (unpack_interval_origin(value, xml_obj, interval_ms, data_set->now, value 1260 lib/pengine/utils.c const char *value = NULL; value 1273 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); value 1274 lib/pengine/utils.c if (!include_disabled && value && crm_is_true(value) == FALSE) { value 1330 lib/pengine/utils.c print_str_str(gpointer key, gpointer value, gpointer user_data) value 1334 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); value 1367 lib/pengine/utils.c const char *value = NULL; value 1376 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, XML_LRM_ATTR_INTERVAL_MS); value 1377 lib/pengine/utils.c if (value == NULL) { value 1379 lib/pengine/utils.c } else if (pcmk__str_eq(value, "0", pcmk__str_casei)) { value 1767 lib/pengine/utils.c const char *value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_TARGET_ROLE); value 1771 lib/pengine/utils.c if (pcmk__str_eq(value, "started", pcmk__str_null_matches | pcmk__str_casei) value 1772 lib/pengine/utils.c || pcmk__str_eq("default", value, pcmk__str_casei)) { value 1776 lib/pengine/utils.c local_role = text2role(value); value 1779 lib/pengine/utils.c "because '%s' is not valid", rsc->id, value); value 1792 lib/pengine/utils.c "clones", rsc->id, value); value 568 lib/services/dbus.c const char *value, // Property value value 596 lib/services/dbus.c DBusBasicValue value; value 623 lib/services/dbus.c dbus_message_iter_get_basic(&variant_iter, &value); value 641 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); value 644 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); value 647 lib/services/dbus.c output = strdup(value.str? value.str : ""); value 659 lib/services/dbus.c char *value = NULL; value 665 lib/services/dbus.c value = handle_query_result(reply, user_data); value 666 lib/services/dbus.c free(value); value 38 lib/services/pcmk-dbus.h void (*callback)(const char *name, const char *value, void *userdata), void *userdata, value 298 lib/services/services.c char *value = NULL; value 304 lib/services/services.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value) && value 311 lib/services/services.c op->opaque->args[index++] = strdup(value); value 363 lib/services/services_linux.c set_ocf_env(const char *key, const char *value, gpointer user_data) value 365 lib/services/services_linux.c if (setenv(key, value, 1) != 0) { value 366 lib/services/services_linux.c crm_perror(LOG_ERR, "setenv failed for key:%s and value:%s", key, value); value 371 lib/services/services_linux.c set_ocf_env_with_prefix(gpointer key, gpointer value, gpointer user_data) value 376 lib/services/services_linux.c set_ocf_env(buffer, value, user_data); value 380 lib/services/services_linux.c set_alert_env(gpointer key, gpointer value, gpointer user_data) value 384 lib/services/services_linux.c if (value != NULL) { value 385 lib/services/services_linux.c rc = setenv(key, value, 1); value 392 lib/services/services_linux.c (char*)key, (value? (char*)value : "")); value 394 lib/services/services_linux.c crm_trace("setenv %s=%s", (char*)key, (value? (char*)value : "")); value 443 lib/services/services_linux.c pipe_in_single_parameter(gpointer key, gpointer value, gpointer user_data) value 446 lib/services/services_linux.c char *buffer = crm_strdup_printf("%s=%s\n", (char *)key, (char *) value); value 90 lib/services/services_lsb.c lsb_meta_helper_get_value(const char *line, char **value, const char *prefix) value 92 lib/services/services_lsb.c if (!*value && pcmk__starts_with(line, prefix)) { value 93 lib/services/services_lsb.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); value 127 lib/services/systemd.c void (*callback)(const char *name, const char *value, void *userdata), value 433 lib/services/systemd.c DBusBasicValue value; value 449 lib/services/systemd.c dbus_message_iter_get_basic(&elem, &value); value 450 lib/services/systemd.c if (value.str == NULL) { value 454 lib/services/systemd.c crm_trace("DBus ListUnitFiles listed: %s", value.str); value 456 lib/services/systemd.c match = systemd_unit_extension(value.str); value 460 lib/services/systemd.c value.str); value 465 lib/services/systemd.c basename = strrchr(value.str, '/'); value 469 lib/services/systemd.c basename = value.str; value 197 lib/services/upstart.c DBusBasicValue value; value 206 lib/services/upstart.c dbus_message_iter_get_basic(&unit, &value); value 208 lib/services/upstart.c if(value.str) { value 210 lib/services/upstart.c path = value.str; value 211 lib/services/upstart.c job = value.str; value 279 lib/services/upstart.c DBusBasicValue value; value 281 lib/services/upstart.c dbus_message_iter_get_basic(&unit, &value); value 283 lib/services/upstart.c if(value.str) { value 284 lib/services/upstart.c instance = strdup(value.str); value 776 tools/crm_resource.c char *value = NULL; value 778 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { value 784 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); value 1577 tools/crm_resource.c char *value = calloc(1, strlen(*s)); value 1578 tools/crm_resource.c int rc = sscanf(*s, "%[^=]=%s", name, value); value 1581 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); value 1588 tools/crm_resource.c free(value); value 138 tools/crm_resource_print.c const char *value = NULL; value 141 tools/crm_resource_print.c value = g_hash_table_lookup(params, attr); value 143 tools/crm_resource_print.c if (value != NULL) { value 145 tools/crm_resource_print.c out->list_item(out, attr, "%s", value); value 161 tools/crm_resource_print.c const char *value = NULL; value 164 tools/crm_resource_print.c value = g_hash_table_lookup(params, attr); value 166 tools/crm_resource_print.c if (value != NULL) { value 167 tools/crm_resource_print.c pcmk__formatted_printf(out, "%s\n", value); value 181 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); value 183 tools/crm_resource_print.c if (value != NULL) { value 185 tools/crm_resource_print.c out->list_item(out, attr, "%s", value); value 198 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); value 200 tools/crm_resource_print.c if (value != NULL) { value 201 tools/crm_resource_print.c pcmk__formatted_printf(out, "%s\n", value); value 106 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, char **value) value 113 tools/crm_resource_runtime.c if(value) { value 114 tools/crm_resource_runtime.c *value = NULL; value 171 tools/crm_resource_runtime.c } else if(value) { value 175 tools/crm_resource_runtime.c *value = strdup(tmp); value 939 tools/crm_resource_runtime.c char *value = NULL; value 946 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 947 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); value 955 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 958 tools/crm_resource_runtime.c g_hash_table_insert(combined, crm_name, strdup(value)); value 1211 tools/crm_resource_runtime.c const char *value = g_hash_table_lookup(stop->meta, XML_ATTR_TIMEOUT); value 1214 tools/crm_resource_runtime.c if ((pcmk__scan_ll(value, &result_ll, -1LL) == pcmk_rc_ok) value 1748 tools/crm_resource_runtime.c char *value = NULL; value 1751 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & name, (gpointer *) & value)) { value 1753 tools/crm_resource_runtime.c rsc_name, name, value); value 1754 tools/crm_resource_runtime.c g_hash_table_replace(op->params, strdup(name), strdup(value)); value 88 tools/crm_ticket.c const char *value = NULL; value 94 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { value 102 tools/crm_ticket.c pcmk__scan_ll(value, &time_ll, 0); value 105 tools/crm_ticket.c fprintf(stdout, "%s", value); value 339 tools/crm_ticket.c const char *value = NULL; value 346 tools/crm_ticket.c if (g_hash_table_lookup_extended(attr_set, "granted", NULL, (gpointer *) & value)) { value 347 tools/crm_ticket.c if (crm_is_true(value)) { value 382 tools/crm_ticket.c char *value = NULL; value 415 tools/crm_ticket.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) & key, (gpointer *) & value)) { value 416 tools/crm_ticket.c crm_xml_add(ticket_state_xml, key, value); value 420 tools/crm_ticket.c && crm_is_true(value)) { value 942 tools/crm_ticket.c const char *value = NULL; value 950 tools/crm_ticket.c rc = get_ticket_state_attr(ticket_id, get_attr_name, &value, data_set); value 952 tools/crm_ticket.c fprintf(stdout, "%s\n", value); value 83 tools/ipmiservicelogd.c unsigned int raw_value, double value, void *cb_data, value 349 tools/ipmiservicelogd.c double value, void *cb_data, ipmi_event_t * event) value 275 tools/stonith_admin.c char *value = NULL; value 281 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); value 288 tools/stonith_admin.c crm_info("Got: '%s'='%s'", name, value); value 289 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); value 293 tools/stonith_admin.c free(value);