value 221 attrd/attrd_common.c attrd_value_needs_expansion(const char *value) value 223 attrd/attrd_common.c return ((strlen(value) >= (plus_plus_len + 2)) value 224 attrd/attrd_common.c && (value[plus_plus_len] == '+') value 225 attrd/attrd_common.c && ((value[plus_plus_len + 1] == '+') value 226 attrd/attrd_common.c || (value[plus_plus_len + 1] == '='))); value 239 attrd/attrd_common.c attrd_expand_value(const char *value, const char *old_value) value 244 attrd/attrd_common.c if (value[plus_plus_len + 1] != '+') { value 245 attrd/attrd_common.c const char *offset_s = value + (plus_plus_len + 2); value 28 attrd/attrd_common.h gboolean attrd_value_needs_expansion(const char *value); value 29 attrd/attrd_common.h int attrd_expand_value(const char *value, const char *old_value); value 66 attrd/attrd_common.h const char *attr, const char *value); value 150 attrd/attrd_common_alerts.c const char *attr, const char *value) value 156 attrd/attrd_common_alerts.c node, nodeid, attr, value); value 113 attrd/commands.c gboolean is_private, const char *peer, uint32_t peerid, const char *value) value 123 attrd/commands.c crm_xml_add(xml, F_ATTRD_VALUE, value); value 134 attrd/commands.c const char *value = crm_element_value(xml, F_ATTRD_DAMPEN); value 149 attrd/commands.c if(value) { value 150 attrd/commands.c dampen = crm_get_msec(value); value 151 attrd/commands.c crm_trace("Created attribute %s with delay %dms (%s)", a->id, dampen, value); value 160 attrd/commands.c crm_warn("Ignoring invalid delay %s for attribute %s", value, a->id); value 205 attrd/commands.c const char *value = crm_element_value(xml, F_ATTRD_VALUE); value 213 attrd/commands.c crm_debug("Setting %s to %s", regex, value); value 251 attrd/commands.c if (value) { value 252 attrd/commands.c if (attrd_value_needs_expansion(value)) { value 259 attrd/commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); value 261 attrd/commands.c crm_info("Expanded %s=%s to %d", attr, value, int_value); value 265 attrd/commands.c value = crm_element_value(xml, F_ATTRD_VALUE); value 274 attrd/commands.c crm_debug("Broadcasting %s[%s] = %s%s", attr, host, value, value 741 attrd/commands.c const char *value = crm_element_value(xml, F_ATTRD_VALUE); value 809 attrd/commands.c crm_debug("Setting %s for all hosts to %s", attr, value); value 822 attrd/commands.c if (filter && safe_str_neq(v->current, value) value 828 attrd/commands.c attr, host, v->current, value, peer->uname); value 841 attrd/commands.c } else if (safe_str_neq(v->current, value)) { value 843 attrd/commands.c attr, host, v->current, value, peer->uname); value 845 attrd/commands.c v->current = (value? strdup(value) : NULL); value 857 attrd/commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); value 1007 attrd/commands.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) value 1034 attrd/commands.c if(value) { value 1035 attrd/commands.c crm_xml_add(xml_obj, XML_NVPAIR_ATTR_VALUE, value); value 70 attrd/legacy.c char *value; value 100 attrd/legacy.c free(entry->value); value 166 attrd/legacy.c text, entry->section, entry->id, entry->value, entry->dampen); value 172 attrd/legacy.c const char *value = NULL; value 194 attrd/legacy.c value = crm_element_value(msg, F_ATTRD_SET); value 195 attrd/legacy.c if (value != NULL) { value 197 attrd/legacy.c hash_entry->set = strdup(value); value 198 attrd/legacy.c crm_debug("\t%s->set: %s", attr, value); value 201 attrd/legacy.c value = crm_element_value(msg, F_ATTRD_SECTION); value 202 attrd/legacy.c if (value == NULL) { value 203 attrd/legacy.c value = XML_CIB_TAG_STATUS; value 206 attrd/legacy.c hash_entry->section = strdup(value); value 207 attrd/legacy.c crm_trace("\t%s->section: %s", attr, value); value 209 attrd/legacy.c value = crm_element_value(msg, F_ATTRD_DAMPEN); value 210 attrd/legacy.c if (value != NULL) { value 212 attrd/legacy.c hash_entry->dampen = strdup(value); value 214 attrd/legacy.c hash_entry->timeout = crm_get_msec(value); value 215 attrd/legacy.c crm_trace("\t%s->timeout: %s", attr, value); value 221 attrd/legacy.c value = crm_element_value(msg, F_ATTRD_USER); value 222 attrd/legacy.c if (value != NULL) { value 223 attrd/legacy.c hash_entry->user = strdup(value); value 224 attrd/legacy.c crm_trace("\t%s->user: %s", attr, value); value 526 attrd/legacy.c update_for_hash_entry(gpointer key, gpointer value, gpointer user_data) value 528 attrd/legacy.c attr_hash_entry_t *entry = value; value 530 attrd/legacy.c if (entry->value != NULL || entry->stored_value != NULL) { value 531 attrd/legacy.c attrd_timer_callback(value); value 536 attrd/legacy.c local_update_for_hash_entry(gpointer key, gpointer value, gpointer user_data) value 538 attrd/legacy.c attr_hash_entry_t *entry = value; value 756 attrd/legacy.c char *value; value 769 attrd/legacy.c free(data->value); value 779 attrd/legacy.c if (data->value == NULL && rc == -ENXIO) { value 783 attrd/legacy.c crm_warn("Update %s=%s failed: %s", data->attr, data->value, pcmk_strerror(call_id)); value 789 attrd/legacy.c crm_debug("Update %d for %s=%s passed", call_id, data->attr, data->value); value 795 attrd/legacy.c if (data->value != NULL) { value 796 attrd/legacy.c hash_entry->stored_value = strdup(data->value); value 806 attrd/legacy.c call_id, data->attr, data->value, pcmk_strerror(rc)); value 810 attrd/legacy.c call_id, data->attr, data->value, pcmk_strerror(rc)); value 826 attrd/legacy.c crm_str(hash_entry->value)); value 837 attrd/legacy.c if (hash_entry->value == NULL) { value 865 attrd/legacy.c hash_entry->id, hash_entry->value, FALSE, user_name, NULL); value 868 attrd/legacy.c hash_entry->value, pcmk_strerror(rc), rc); value 869 attrd/legacy.c } else if (safe_str_neq(hash_entry->value, hash_entry->stored_value)) { value 870 attrd/legacy.c crm_notice("Sent update %d: %s=%s", rc, hash_entry->id, hash_entry->value); value 872 attrd/legacy.c crm_trace("Sent update %d: %s=%s", rc, hash_entry->id, hash_entry->value); value 876 attrd/legacy.c hash_entry->id, hash_entry->value); value 880 attrd/legacy.c if (hash_entry->value != NULL) { value 881 attrd/legacy.c data->value = strdup(hash_entry->value); value 897 attrd/legacy.c expand_attr_value(const char *value, const char *old_value) value 901 attrd/legacy.c if (attrd_value_needs_expansion(value)) { value 902 attrd/legacy.c expanded = crm_itoa(attrd_expand_value(value, old_value)); value 917 attrd/legacy.c const char *value = crm_element_value(msg, F_ATTRD_VALUE); value 930 attrd/legacy.c value, hash_entry->value, hash_entry->stored_value); value 932 attrd/legacy.c if (safe_str_eq(value, hash_entry->value) value 933 attrd/legacy.c && safe_str_eq(value, hash_entry->stored_value)) { value 937 attrd/legacy.c } else if (value) { value 938 attrd/legacy.c expanded = expand_attr_value(value, hash_entry->value); value 940 attrd/legacy.c crm_info("Expanded %s=%s to %s", hash_entry->id, value, expanded); value 941 attrd/legacy.c value = expanded; value 945 attrd/legacy.c if (safe_str_eq(value, hash_entry->value) && hash_entry->timer_id) { value 951 attrd/legacy.c free(hash_entry->value); value 952 attrd/legacy.c hash_entry->value = NULL; value 953 attrd/legacy.c if (value != NULL) { value 954 attrd/legacy.c hash_entry->value = (expanded? expanded : strdup(value)); value 955 attrd/legacy.c crm_debug("New value of %s is %s", hash_entry->id, value); value 1005 attrd/legacy.c update_remote_attr(const char *host, const char *name, const char *value, value 1011 attrd/legacy.c if (value == NULL) { value 1016 attrd/legacy.c name, value, section, host); value 1030 attrd/legacy.c if (value == NULL) { value 1036 attrd/legacy.c host, NULL, NULL, NULL, name, value, value 1040 attrd/legacy.c attrd_send_attribute_alert(host, 0, name, (value? value : "")); value 1101 attrd/legacy.c const char *value = crm_element_value(msg, F_ATTRD_VALUE); value 1144 attrd/legacy.c update_remote_attr(host, attr, value, section, user_name); value 1157 attrd/legacy.c crm_debug("%s message from %s: %s=%s", op, from, attr, crm_str(value)); value 1175 attrd/legacy.c op, from, pattern, crm_str(value)); value 1207 attrd/legacy.c hash_entry->id, crm_str(hash_entry->value)); value 1218 attrd/legacy.c crm_xml_add(msg, F_ATTRD_VALUE, hash_entry->value); value 1226 attrd/legacy.c crm_xml_add(msg, F_ATTRD_IGNORE_LOCALLY, hash_entry->value); value 256 attrd/main.c const char *value = crm_element_value(xml, F_ORIG); value 257 attrd/main.c client->name = crm_strdup_printf("%s.%d", value?value:"unknown", client->pid); value 278 cib/callbacks.c const char *value = crm_element_value(op_request, F_CIB_CLIENTNAME); value 280 cib/callbacks.c if (value == NULL) { value 283 cib/callbacks.c cib_client->name = strdup(value); value 284 cib/callbacks.c if (crm_is_daemon_name(value)) { value 1413 cib/callbacks.c const char *value = NULL; value 1415 cib/callbacks.c value = crm_element_value_const(a_msg, F_CIB_CALLID); value 1416 cib/callbacks.c msg_a_id = crm_parse_int(value, NULL); value 1418 cib/callbacks.c value = crm_element_value_const(b_msg, F_CIB_CALLID); value 1419 cib/callbacks.c msg_b_id = crm_parse_int(value, NULL); value 1615 cib/callbacks.c disconnect_remote_client(gpointer key, gpointer value, gpointer user_data) value 1617 cib/callbacks.c crm_client_t *a_client = value; value 222 cib/common.c int *value = malloc(sizeof(int)); value 224 cib/common.c if(value) { value 225 cib/common.c *value = lpc; value 226 cib/common.c g_hash_table_insert(operation_hash, (gpointer) cib_server_ops[lpc].operation, value); value 232 cib/common.c int *value = g_hash_table_lookup(operation_hash, op); value 234 cib/common.c if (value) { value 235 cib/common.c *operation = *value; value 249 cib/common.c const char *value = NULL; value 291 cib/common.c value = crm_element_value(msg, field); value 292 cib/common.c if (value != NULL) { value 293 cib/common.c crm_xml_add(copy, field, value); value 201 cib/io.c const char *value = NULL; value 277 cib/io.c value = crm_element_value(root, name); value 278 cib/io.c if (value == NULL) { value 289 cib/io.c value = crm_element_value(root, name); value 290 cib/io.c if (value == NULL) { value 295 cib/io.c value = crm_element_value(root, name); value 296 cib/io.c if (value == NULL) { value 110 cib/main.c log_cib_client(gpointer key, gpointer value, gpointer user_data) value 112 cib/main.c crm_info("Client %s", crm_client_name(value)); value 257 cib/messages.c const char *value = crm_element_value(existing_cib, XML_ATTR_VALIDATION); value 260 cib/messages.c if (value != NULL) { value 261 cib/messages.c current_version = get_schema_version(value); value 55 cib/notify.c need_pre_notify(gpointer key, gpointer value, gpointer user_data) value 57 cib/notify.c crm_client_t *client = value; value 67 cib/notify.c need_post_notify(gpointer key, gpointer value, gpointer user_data) value 69 cib/notify.c crm_client_t *client = value; value 79 cib/notify.c cib_notify_send_one(gpointer key, gpointer value, gpointer user_data) value 84 cib/notify.c crm_client_t *client = value; value 411 cib/remote.c const char *value = NULL; value 413 cib/remote.c value = crm_element_name(command); value 414 cib/remote.c if (safe_str_neq(value, "cib_command")) { value 420 cib/remote.c value = crm_element_value(command, F_CLIENTNAME); value 421 cib/remote.c if (value == NULL) { value 424 cib/remote.c client->name = strdup(value); value 429 cib/remote.c value = crm_element_value(command, F_CIB_CALLBACK_TOKEN); value 430 cib/remote.c if (value != NULL) { value 431 cib/remote.c client->userdata = strdup(value); value 21 crmd/attrd.c log_attrd_error(const char *host, const char *name, const char *value, value 45 crmd/attrd.c name, value, node_type, host, when, pcmk_strerror(rc), rc); value 55 crmd/attrd.c update_attrd_helper(const char *host, const char *name, const char *value, value 82 crmd/attrd.c rc = attrd_update_delegate(attrd_ipc, command, host, name, value, value 87 crmd/attrd.c rc = attrd_clear_delegate(attrd_ipc, host, name, value, interval, value 105 crmd/attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); value 110 crmd/attrd.c update_attrd(const char *host, const char *name, const char *value, value 113 crmd/attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, value 242 crmd/control.c void log_connected_client(gpointer key, gpointer value, gpointer user_data); value 245 crmd/control.c log_connected_client(gpointer key, gpointer value, gpointer user_data) value 247 crmd/control.c crm_client_t *client = value; value 998 crmd/control.c const char *value = NULL; value 1047 crmd/control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_DC_DEADTIME); value 1048 crmd/control.c election_trigger->period_ms = crm_get_msec(value); value 1050 crmd/control.c value = crmd_pref(config_hash, "node-action-limit"); /* Also checks migration-limit */ value 1051 crmd/control.c throttle_update_job_max(value); value 1053 crmd/control.c value = crmd_pref(config_hash, "load-threshold"); value 1054 crmd/control.c if(value) { value 1055 crmd/control.c throttle_set_load_target(strtof(value, NULL) / 100.0); value 1058 crmd/control.c value = crmd_pref(config_hash, "no-quorum-policy"); value 1059 crmd/control.c if (safe_str_eq(value, "suicide") && pcmk_locate_sbd()) { value 1063 crmd/control.c value = crmd_pref(config_hash,"stonith-max-attempts"); value 1064 crmd/control.c update_stonith_max_attempts(value); value 1066 crmd/control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_FORCE_QUIT); value 1067 crmd/control.c shutdown_escalation_timer->period_ms = crm_get_msec(value); value 1071 crmd/control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_ELECTION_FAIL); value 1072 crmd/control.c election_timeout_set_period(fsa_election, crm_get_msec(value)); value 1074 crmd/control.c value = crmd_pref(config_hash, XML_CONFIG_ATTR_RECHECK); value 1075 crmd/control.c recheck_timer->period_ms = crm_get_msec(value); value 1078 crmd/control.c value = crmd_pref(config_hash, "crmd-transition-delay"); value 1079 crmd/control.c transition_timer->period_ms = crm_get_msec(value); value 1081 crmd/control.c value = crmd_pref(config_hash, "crmd-integration-timeout"); value 1082 crmd/control.c integration_timer->period_ms = crm_get_msec(value); value 1084 crmd/control.c value = crmd_pref(config_hash, "crmd-finalization-timeout"); value 1085 crmd/control.c finalization_timer->period_ms = crm_get_msec(value); value 1089 crmd/control.c value = crmd_pref(config_hash, XML_ATTR_EXPECTED_VOTES); value 1090 crmd/control.c crm_debug("Sending expected-votes=%s to corosync", value); value 1091 crmd/control.c send_cluster_text(crm_class_quorum, value, TRUE, NULL, crm_msg_ais); value 1098 crmd/control.c value = g_hash_table_lookup(config_hash, "cluster-name"); value 1099 crmd/control.c if (value) { value 1100 crmd/control.c fsa_cluster_name = strdup(value); value 1152 crmd/control.c const char *value = crmd_pref(NULL, XML_CONFIG_ATTR_FORCE_QUIT); value 1153 crmd/control.c int msec = crm_get_msec(value); value 147 crmd/crmd_metadata.c const char *value; value 163 crmd/crmd_metadata.c value = crm_element_value(param_xml, "unique"); value 164 crmd/crmd_metadata.c if (crm_is_true(value)) { value 168 crmd/crmd_metadata.c value = crm_element_value(param_xml, "private"); value 169 crmd/crmd_metadata.c if (crm_is_true(value)) { value 94 crmd/crmd_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); value 84 crmd/fsa.c void ghash_print_node(gpointer key, gpointer value, gpointer user_data); value 670 crmd/fsa.c ghash_print_node(gpointer key, gpointer value, gpointer user_data) value 674 crmd/fsa.c const char *value_s = value; value 35 crmd/join_dc.c void finalize_join_for(gpointer key, gpointer value, gpointer user_data); value 134 crmd/join_dc.c join_make_offer(gpointer key, gpointer value, gpointer user_data) value 137 crmd/join_dc.c crm_node_t *member = (crm_node_t *)value; value 574 crmd/join_dc.c finalize_join_for(gpointer key, gpointer value, gpointer user_data) value 578 crmd/join_dc.c crm_node_t *join_node = value; value 626 crmd/join_dc.c void ghash_print_node(gpointer key, gpointer value, gpointer user_data); value 52 crmd/lrm.c static gboolean stop_recurring_actions(gpointer key, gpointer value, gpointer user_data); value 95 crmd/lrm.c copy_instance_keys(gpointer key, gpointer value, gpointer user_data) value 98 crmd/lrm.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); value 103 crmd/lrm.c copy_meta_keys(gpointer key, gpointer value, gpointer user_data) value 106 crmd/lrm.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); value 917 crmd/lrm.c lrm_remove_deleted_rsc(gpointer key, gpointer value, gpointer user_data) value 920 crmd/lrm.c struct pending_deletion_op_s *op = value; value 930 crmd/lrm.c lrm_remove_deleted_op(gpointer key, gpointer value, gpointer user_data) value 933 crmd/lrm.c struct recurring_op_s *pending = value; value 1225 crmd/lrm.c cancel_action_by_key(gpointer key, gpointer value, gpointer user_data) value 1229 crmd/lrm.c struct recurring_op_s *op = (struct recurring_op_s *)value; value 1866 crmd/lrm.c char *value = NULL; value 1872 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 1874 crmd/lrm.c g_hash_table_replace(params, key, value); value 1877 crmd/lrm.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); value 1884 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 1885 crmd/lrm.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); value 1888 crmd/lrm.c op->timeout = crm_parse_int(value, "0"); value 1890 crmd/lrm.c op->start_delay = crm_parse_int(value, "0"); value 1898 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 1900 crmd/lrm.c g_hash_table_replace(params, key, value); value 2032 crmd/lrm.c stop_recurring_action_by_rsc(gpointer key, gpointer value, gpointer user_data) value 2036 crmd/lrm.c struct recurring_op_s *op = (struct recurring_op_s *)value; value 2047 crmd/lrm.c stop_recurring_actions(gpointer key, gpointer value, gpointer user_data) value 2051 crmd/lrm.c struct recurring_op_s *op = (struct recurring_op_s *)value; value 2197 crmd/lrm.c char *value = NULL; value 2201 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 2202 crmd/lrm.c params = lrmd_key_value_add(params, key, value); value 41 crmd/lrm_state.c free_rsc_info(gpointer value) value 43 crmd/lrm_state.c lrmd_rsc_info_t *rsc_info = value; value 49 crmd/lrm_state.c free_deletion_op(gpointer value) value 51 crmd/lrm_state.c struct pending_deletion_op_s *op = value; value 59 crmd/lrm_state.c free_recurring_op(gpointer value) value 61 crmd/lrm_state.c struct recurring_op_s *op = (struct recurring_op_s *)value; value 74 crmd/lrm_state.c fail_pending_op(gpointer key, gpointer value, gpointer user_data) value 78 crmd/lrm_state.c struct recurring_op_s *op = (struct recurring_op_s *)value; value 161 crmd/lrm_state.c remote_proxy_remove_by_node(gpointer key, gpointer value, gpointer user_data) value 163 crmd/lrm_state.c remote_proxy_t *proxy = value; value 47 crmd/membership.c reap_dead_nodes(gpointer key, gpointer value, gpointer user_data) value 49 crmd/membership.c crm_node_t *node = value; value 146 crmd/membership.c const char *value = NULL; value 177 crmd/membership.c value = OFFLINESTATUS; value 179 crmd/membership.c value = ONLINESTATUS; value 181 crmd/membership.c crm_xml_add(node_state, XML_NODE_IS_PEER, value); value 186 crmd/membership.c value = CRMD_JOINSTATE_DOWN; value 188 crmd/membership.c value = CRMD_JOINSTATE_MEMBER; value 190 crmd/membership.c crm_xml_add(node_state, XML_NODE_JOIN_STATE, value); value 3 crmd/membership.h void reap_dead_ccm_nodes(gpointer key, gpointer value, gpointer user_data); value 385 crmd/remote_lrmd_ra.c g_hash_table_insert(op.params, strdup(tmp->key), strdup(tmp->value)); value 728 crmd/remote_lrmd_ra.c server = tmp->value; value 731 crmd/remote_lrmd_ra.c port = atoi(tmp->value); value 229 crmd/te_actions.c const char *value = NULL; value 257 crmd/te_actions.c value = crm_meta_value(action->params, XML_ATTR_TE_NOWAIT); value 258 crmd/te_actions.c if (crm_is_true(value)) { value 418 crmd/te_actions.c const char *value = NULL; value 450 crmd/te_actions.c value = crm_meta_value(action->params, XML_ATTR_TE_NOWAIT); value 451 crmd/te_actions.c if (crm_is_true(value)) { value 59 crmd/te_callbacks.c update_stonith_max_attempts(const char* value) value 61 crmd/te_callbacks.c if (safe_str_eq(value, INFINITY_S)) { value 65 crmd/te_callbacks.c stonith_max_attempts = crm_int_helper(value, NULL); value 117 crmd/te_callbacks.c const char *value = NULL; value 120 crmd/te_callbacks.c value = crm_element_value(attr, XML_NVPAIR_ATTR_VALUE); value 123 crmd/te_callbacks.c if (crm_is_true(value) == FALSE) { value 643 crmd/te_callbacks.c struct st_fail_rec *value = NULL; value 651 crmd/te_callbacks.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 652 crmd/te_callbacks.c if (value->count >= stonith_max_attempts) { value 658 crmd/te_callbacks.c value = g_hash_table_lookup(stonith_failures, target); value 659 crmd/te_callbacks.c if ((value != NULL) && (value->count >= stonith_max_attempts)) { value 667 crmd/te_callbacks.c value->count, target); value 800 crmd/te_callbacks.c const char *value = NULL; value 806 crmd/te_callbacks.c value = crm_meta_value(action->params, XML_OP_ATTR_DIGESTS_ALL); value 807 crmd/te_callbacks.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, FALSE); value 809 crmd/te_callbacks.c value = crm_meta_value(action->params, XML_OP_ATTR_DIGESTS_SECURE); value 810 crmd/te_callbacks.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, FALSE); value 36 crmd/te_callbacks.h void update_stonith_max_attempts(const char* value); value 130 crmd/te_events.c const char *value = NULL; value 163 crmd/te_events.c value = failed_start_offset; value 170 crmd/te_events.c value = failed_stop_offset; value 174 crmd/te_events.c if (value == NULL || safe_str_neq(value, INFINITY_S)) { value 175 crmd/te_events.c value = XML_NVPAIR_ATTR_VALUE "++"; value 189 crmd/te_events.c rsc_id, on_uname, task, rc, value, now); value 194 crmd/te_events.c update_attrd(on_uname, attr_name, value, NULL, is_remote_node); value 156 crmd/tengine.c const char *value = NULL; value 203 crmd/tengine.c value = crm_element_value(graph_data, "failed-stop-offset"); value 204 crmd/tengine.c if (value) { value 206 crmd/tengine.c failed_stop_offset = strdup(value); value 209 crmd/tengine.c value = crm_element_value(graph_data, "failed-start-offset"); value 210 crmd/tengine.c if (value) { value 212 crmd/tengine.c failed_start_offset = strdup(value); value 298 fencing/admin.c char *value = strchr(target, '='); value 301 fencing/admin.c if (value != NULL) { value 303 fencing/admin.c *value++ = '\0'; value 313 fencing/admin.c name, value, fence_level, value 317 fencing/admin.c name, value, fence_level); value 417 fencing/admin.c char *value = NULL; value 514 fencing/admin.c rc = sscanf(optarg, "%m[^=]=%m[^=]", &name, &value); value 519 fencing/admin.c crm_info("Got: '%s'='%s'", name, value); value 520 fencing/admin.c params = stonith_key_value_add(params, name, value); value 522 fencing/admin.c free(value); value = NULL; value 572 fencing/admin.c fprintf(stdout, " %s\n", dIter->value); value 586 fencing/admin.c fprintf(stdout, " %s\n", dIter->value); value 135 fencing/commands.c const char *value = NULL; value 142 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_DELAY_MAX); value 143 fencing/commands.c if (value) { value 144 fencing/commands.c delay_max_ms = crm_get_msec(value); value 153 fencing/commands.c const char *value = NULL; value 160 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_DELAY_BASE); value 161 fencing/commands.c if (value) { value 162 fencing/commands.c delay_base_ms = crm_get_msec(value); value 193 fencing/commands.c const char *value = NULL; value 207 fencing/commands.c value = g_hash_table_lookup(device->params, buffer); value 208 fencing/commands.c if (value) { value 209 fencing/commands.c return atoi(value); value 278 fencing/commands.c const char *value = NULL; value 281 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_ACTION_LIMIT); value 282 fencing/commands.c if (value) { value 283 fencing/commands.c action_limit = crm_parse_int(value, "1"); value 560 fencing/commands.c char *value = NULL; value 562 fencing/commands.c value = calloc(1, 1 + lpc - last); value 563 fencing/commands.c memcpy(value, hostmap + last, lpc - last); value 565 fencing/commands.c crm_debug("Adding alias '%s'='%s'", name, value); value 566 fencing/commands.c g_hash_table_replace(aliases, name, value); value 568 fencing/commands.c *targets = g_list_append(*targets, strdup(value)); value 570 fencing/commands.c value = NULL; value 828 fencing/commands.c map_action(GHashTable *params, const char *action, const char *value) value 834 fencing/commands.c STONITH_ATTR_ACTION_OP, value, key); value 838 fencing/commands.c STONITH_ATTR_ACTION_OP, value, key, value); value 839 fencing/commands.c g_hash_table_insert(params, key, strdup(value)); value 854 fencing/commands.c const char *value; value 860 fencing/commands.c value = g_hash_table_lookup(params, STONITH_ATTR_ACTION_OP); value 861 fencing/commands.c if (value != NULL) { value 865 fencing/commands.c if (*value == '\0') { value 868 fencing/commands.c } else if (strcmp(value, "reboot") == 0) { value 872 fencing/commands.c } else if (strcmp(value, "off") == 0) { value 873 fencing/commands.c map_action(params, "reboot", value); value 876 fencing/commands.c map_action(params, "off", value); value 877 fencing/commands.c map_action(params, "reboot", value); value 889 fencing/commands.c const char *value = NULL; value 899 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_HOSTLIST); value 900 fencing/commands.c if (value) { value 901 fencing/commands.c device->targets = parse_host_list(value); value 904 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_HOSTMAP); value 905 fencing/commands.c device->aliases = build_port_aliases(value, &(device->targets)); value 910 fencing/commands.c value = g_hash_table_lookup(device->params, "nodeid"); value 911 fencing/commands.c if (!value) { value 915 fencing/commands.c value = crm_element_value(dev, "rsc_provides"); value 916 fencing/commands.c if (safe_str_eq(value, "unfencing")) { value 997 fencing/commands.c const char *value = g_list_nth_data(list, lpc); value 999 fencing/commands.c if (safe_str_eq(item, value)) { value 1002 fencing/commands.c crm_trace("%d: '%s' != '%s'", lpc, item, value); value 1096 fencing/commands.c char *value = NULL; value 1100 fencing/commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&value)) { value 1109 fencing/commands.c if (!other_value || safe_str_neq(other_value, value)) { value 1110 fencing/commands.c crm_trace("Different value for %s: %s != %s", key, other_value, value); value 1279 fencing/commands.c const char *value = crm_element_value(level, XML_ATTR_STONITH_TARGET_VALUE); value 1281 fencing/commands.c if(name && value) { value 1282 fencing/commands.c return crm_strdup_printf("%s=%s", name, value); value 1421 fencing/commands.c const char *device = dIter->value; value 1665 fencing/commands.c search_devices(gpointer key, gpointer value, gpointer user_data) value 1667 fencing/commands.c stonith_device_t *dev = value; value 2319 fencing/commands.c const char *value = NULL; value 2341 fencing/commands.c value = crm_element_value(request, name); value 2342 fencing/commands.c crm_xml_add(reply, name, value); value 226 fencing/internal.h gboolean node_has_attr(const char *node, const char *name, const char *value); value 130 fencing/main.c const char *value = crm_element_value(request, F_STONITH_CLIENTNAME); value 132 fencing/main.c if (value == NULL) { value 133 fencing/main.c value = "unknown"; value 135 fencing/main.c c->name = crm_strdup_printf("%s.%u", value, c->pid); value 315 fencing/main.c stonith_notify_client(gpointer key, gpointer value, gpointer user_data) value 319 fencing/main.c crm_client_t *client = value; value 611 fencing/main.c const char *value = NULL; value 638 fencing/main.c value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_TARGET_ROLE); value 639 fencing/main.c if (safe_str_eq(value, RSC_STOPPED)) { value 689 fencing/main.c while (g_hash_table_iter_next(&gIter, (gpointer *) & name, (gpointer *) & value)) { value 690 fencing/main.c if (!name || !value) { value 693 fencing/main.c params = stonith_key_value_add(params, name, value); value 694 fencing/main.c crm_trace(" %s=%s", name, value); value 903 fencing/main.c node_has_attr(const char *node, const char *name, const char *value) value 919 fencing/main.c node, name, value); value 1091 fencing/main.c const char *value = NULL; value 1095 fencing/main.c value = crm_element_value(stonith_watchdog_xml, XML_NVPAIR_ATTR_VALUE); value 1098 fencing/main.c if(value) { value 1099 fencing/main.c timeout_ms = crm_get_msec(value); value 129 fencing/remote.c count_peer_device(gpointer key, gpointer value, gpointer user_data) value 131 fencing/remote.c device_properties_t *props = (device_properties_t*)value; value 1259 fencing/remote.c add_device_timeout(gpointer key, gpointer value, gpointer user_data) value 1262 fencing/remote.c device_properties_t *props = value; value 122 fencing/standalone_config.c standalone_cfg_add_device_options(const char *device, const char *key, const char *value) value 126 fencing/standalone_config.c if (!device || !key || !value) { value 130 fencing/standalone_config.c device, key, value); value 137 fencing/standalone_config.c dev->key_vals[dev->key_vals_count].val = strdup(value); value 61 fencing/standalone_config.h int standalone_cfg_add_device_options(const char *device, const char *key, const char *value); value 30 include/crm/attrd.h const char *name, const char *value, const char *section, value 43 include/crm/cib/util.h gboolean to_console, char **value, const char *user_name); value 33 include/crm/common/alerts_internal.h char *value; value 88 include/crm/common/alerts_internal.h const char *value); value 90 include/crm/common/alerts_internal.h int value); value 69 include/crm/common/internal.h char *add_list_element(char *list, const char *value); value 81 include/crm/common/iso8601.h crm_time_t *crm_time_calculate_duration(crm_time_t * dt, crm_time_t * value); value 102 include/crm/common/iso8601.h crm_time_t *crm_time_add(crm_time_t * dt, crm_time_t * value); value 103 include/crm/common/iso8601.h crm_time_t *crm_time_subtract(crm_time_t * dt, crm_time_t * value); value 106 include/crm/common/iso8601.h void crm_time_add_seconds(crm_time_t * dt, int value); value 107 include/crm/common/iso8601.h void crm_time_add_minutes(crm_time_t * dt, int value); value 108 include/crm/common/iso8601.h void crm_time_add_hours(crm_time_t * dt, int value); value 109 include/crm/common/iso8601.h void crm_time_add_days(crm_time_t * dt, int value); value 110 include/crm/common/iso8601.h void crm_time_add_weekdays(crm_time_t * dt, int value); value 111 include/crm/common/iso8601.h void crm_time_add_weeks(crm_time_t * dt, int value); value 112 include/crm/common/iso8601.h void crm_time_add_months(crm_time_t * dt, int value); value 113 include/crm/common/iso8601.h void crm_time_add_years(crm_time_t * dt, int value); value 114 include/crm/common/iso8601.h void crm_time_add_ordinalyears(crm_time_t * dt, int value); value 115 include/crm/common/iso8601.h void crm_time_add_weekyears(crm_time_t * dt, int value); value 59 include/crm/common/xml.h const char *name, const char *value); value 61 include/crm/common/xml.h void hash2nvpair(gpointer key, gpointer value, gpointer user_data); value 62 include/crm/common/xml.h void hash2field(gpointer key, gpointer value, gpointer user_data); value 63 include/crm/common/xml.h void hash2metafield(gpointer key, gpointer value, gpointer user_data); value 64 include/crm/common/xml.h void hash2smartfield(gpointer key, gpointer value, gpointer user_data); value 78 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); value 101 include/crm/common/xml.h const char *crm_xml_add(xmlNode * node, const char *name, const char *value); value 103 include/crm/common/xml.h const char *crm_xml_replace(xmlNode * node, const char *name, const char *value); value 105 include/crm/common/xml.h const char *crm_xml_add_int(xmlNode * node, const char *name, int value); value 120 include/crm/common/xml.h crm_xml_add_boolean(xmlNode *node, const char *name, gboolean value) value 122 include/crm/common/xml.h return crm_xml_add(node, name, (value? "true" : "false")); value 198 include/crm/common/xml.h const char *tag, const char *field, const char *value, value 228 include/crm/common/xml.h const char *value = crm_element_value(obj1, element); value 230 include/crm/common/xml.h crm_xml_add(obj2, element, value); value 231 include/crm/common/xml.h return value; value 265 include/crm/compatibility.h const char *value, const char *section, const char *set, const char *dampen) value 267 include/crm/compatibility.h return attrd_update_delegate(cluster, command, host, name, value, section, set, dampen, value 273 include/crm/compatibility.h const char *value, const char *section, const char *set, const char *dampen) value 275 include/crm/compatibility.h return attrd_update_delegate(NULL, command, host, name, value, section, set, dampen, NULL, attrd_opt_none) > 0; value 280 include/crm/compatibility.h const char *name, const char *value, const char *section, value 283 include/crm/compatibility.h return attrd_update_delegate(NULL, command, host, name, value, section, set, dampen, NULL, attrd_opt_none) > 0; value 300 include/crm/compatibility.h const char *attr_name, gboolean to_console, char **value) value 303 include/crm/compatibility.h set_name, attr_id, attr_name, to_console, value, NULL); value 46 include/crm/fencing/internal.h const char *attr, const char *value, value 34 include/crm/lrmd.h char *value; value 174 include/crm/lrmd.h lrmd_key_value_t *lrmd_key_value_add(lrmd_key_value_t * kvp, const char *key, const char *value); value 60 include/crm/pengine/internal.h void add_hash_param(GHashTable * hash, const char *name, const char *value); value 61 include/crm/pengine/internal.h void append_hashtable(gpointer key, gpointer value, gpointer user_data); value 76 include/crm/stonith-ng.h char *value; value 336 include/crm/stonith-ng.h const char *attr, const char *value, int level); value 357 include/crm/stonith-ng.h const char *attr, const char *value, value 385 include/crm/stonith-ng.h const char *value); value 125 include/crm_internal.h gboolean check_time(const char *value); value 126 include/crm_internal.h gboolean check_timer(const char *value); value 127 include/crm_internal.h gboolean check_boolean(const char *value); value 128 include/crm_internal.h gboolean check_number(const char *value); value 129 include/crm_internal.h gboolean check_positive_number(const char *value); value 130 include/crm_internal.h gboolean check_quorum(const char *value); value 131 include/crm_internal.h gboolean check_script(const char *value); value 132 include/crm_internal.h gboolean check_utilization(const char *value); value 134 include/crm_internal.h gboolean check_sbd_timeout(const char *value); value 247 include/crm_internal.h void set_daemon_option(const char *option, const char *value); value 46 include/portability.h int setenv(const char *name, const char *value, int why); value 85 include/portability.h gpointer value; value 89 include/portability.h g_hash_prepend_value(gpointer key, gpointer value, gpointer user_data) value 93 include/portability.h *values = g_list_prepend(*values, value); value 110 include/portability.h g_hash_table_nth_data(gpointer key, gpointer value, gpointer user_data) value 116 include/portability.h iter->value = value; value 129 include/portability.h iter->value = NULL; value 133 include/portability.h g_hash_table_iter_next(GHashTableIter * iter, gpointer * key, gpointer * value) value 139 include/portability.h iter->value = NULL; value 146 include/portability.h if (value) value 147 include/portability.h *value = iter->value; value 294 lib/ais/plugin.c update_expected_votes(int value) value 296 lib/ais/plugin.c if (value < plugin_has_votes) { value 300 lib/ais/plugin.c plugin_expected_votes, value); value 302 lib/ais/plugin.c } else if (plugin_expected_votes != value) { value 303 lib/ais/plugin.c ais_info("Expected quorum votes %d -> %d", plugin_expected_votes, value); value 304 lib/ais/plugin.c plugin_expected_votes = value; value 312 lib/ais/plugin.c char *value = NULL; value 321 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "debug", &value, "on"); value 322 lib/ais/plugin.c if (ais_get_boolean(value)) { value 331 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "to_logfile", &value, "off"); value 332 lib/ais/plugin.c if (ais_get_boolean(value)) { value 333 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "logfile", &value, NULL); value 335 lib/ais/plugin.c if (value == NULL) { value 342 lib/ais/plugin.c FILE *logfile = fopen(value, "a"); value 348 lib/ais/plugin.c pcmk_env.logfile = value; value 356 lib/ais/plugin.c pcmk_uid, pcmk_gid, value); value 360 lib/ais/plugin.c pcmk_uid, pcmk_gid, value); value 368 lib/ais/plugin.c ais_err("Couldn't create logfile: %s", value); value 373 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "to_syslog", &value, "on"); value 374 lib/ais/plugin.c if (any_log && ais_get_boolean(value) == FALSE) { value 376 lib/ais/plugin.c value = "none"; value 379 lib/ais/plugin.c if (ais_get_boolean(value) == FALSE) { value 384 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "syslog_facility", &value, "daemon"); value 386 lib/ais/plugin.c pcmk_env.syslog = value; value 392 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "provider", &value, NULL); value 393 lib/ais/plugin.c if (value && ais_str_eq("quorum_cman", value)) { value 402 lib/ais/plugin.c value = NULL; value 403 lib/ais/plugin.c pcmk_api->object_key_get(local_handle, "name", strlen("name"), (void **)&value, NULL); value 404 lib/ais/plugin.c if (ais_str_eq("pacemaker", value)) { value 410 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "ver", &value, "0"); value 411 lib/ais/plugin.c if (ais_str_eq(value, "1")) { value 419 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "use_logd", &value, "no"); value 420 lib/ais/plugin.c pcmk_env.use_logd = value; value 422 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "use_mgmtd", &value, "no"); value 423 lib/ais/plugin.c if (ais_get_boolean(value) == FALSE) { value 706 lib/ais/plugin.c ais_mark_unseen_peer_dead(gpointer key, gpointer value, gpointer user_data) value 709 lib/ais/plugin.c crm_node_t *node = value; value 1157 lib/ais/plugin.c member_vote_count_fn(gpointer key, gpointer value, gpointer user_data) value 1159 lib/ais/plugin.c crm_node_t *node = value; value 1167 lib/ais/plugin.c member_loop_fn(gpointer key, gpointer value, gpointer user_data) value 1169 lib/ais/plugin.c crm_node_t *node = value; value 1276 lib/ais/plugin.c int value = ais_get_int(data, NULL); value 1278 lib/ais/plugin.c update_expected_votes(value); value 1334 lib/ais/plugin.c ghash_send_update(gpointer key, gpointer value, gpointer data) value 1336 lib/ais/plugin.c if (send_client_msg(value, crm_class_members, crm_msg_none, data) != 0) { value 1434 lib/ais/plugin.c deliver_transient_msg(gpointer key, gpointer value, gpointer user_data) value 1436 lib/ais/plugin.c int pid = GPOINTER_TO_INT(value); value 1672 lib/ais/plugin.c ghash_send_removal(gpointer key, gpointer value, gpointer data) value 1674 lib/ais/plugin.c send_quorum_details(value); value 1675 lib/ais/plugin.c if (send_client_msg(value, crm_class_rmpeer, crm_msg_none, data) != 0) { value 1767 lib/ais/plugin.c member_dump_fn(gpointer key, gpointer value, gpointer user_data) value 1769 lib/ais/plugin.c crm_node_t *node = value; value 661 lib/ais/utils.c hdb_handle_t object_service_handle, char *key, char **value, const char *fallback) value 665 lib/ais/utils.c *value = NULL; value 668 lib/ais/utils.c config->object_key_get(object_service_handle, key, strlen(key), (void **)value, NULL); value 671 lib/ais/utils.c if (*value) { value 672 lib/ais/utils.c ais_info("Found '%s' for option: %s", *value, key); value 677 lib/ais/utils.c *value = getenv(env_key); value 680 lib/ais/utils.c if (*value) { value 681 lib/ais/utils.c ais_info("Found '%s' in ENV for option: %s", *value, key); value 687 lib/ais/utils.c *value = ais_strdup(fallback); value 697 lib/ais/utils.c ais_get_boolean(const char *value) value 699 lib/ais/utils.c if (value == NULL) { value 702 lib/ais/utils.c } else if (strcasecmp(value, "true") == 0 value 703 lib/ais/utils.c || strcasecmp(value, "on") == 0 value 704 lib/ais/utils.c || strcasecmp(value, "yes") == 0 value 705 lib/ais/utils.c || strcasecmp(value, "y") == 0 || strcasecmp(value, "1") == 0) { value 89 lib/ais/utils.h extern void member_loop_fn(gpointer key, gpointer value, gpointer user_data); value 112 lib/ais/utils.h char *key, char **value, const char *fallback); value 59 lib/cib/cib_attrs.c char **value, const char *user_name) value 75 lib/cib/cib_attrs.c CRM_ASSERT(value != NULL); value 76 lib/cib/cib_attrs.c *value = NULL; value 165 lib/cib/cib_attrs.c *value = strdup(tmp); value 303 lib/cib/cib_client.c const char *value = getenv("CIB_shadow"); value 305 lib/cib/cib_client.c if (value && value[0] != 0) { value 306 lib/cib/cib_client.c return cib_shadow_new(value); value 309 lib/cib/cib_client.c value = getenv("CIB_file"); value 310 lib/cib/cib_client.c if (value) { value 311 lib/cib/cib_client.c return cib_file_new(value); value 314 lib/cib/cib_client.c value = getenv("CIB_port"); value 315 lib/cib/cib_client.c if (value) { value 317 lib/cib/cib_client.c int port = crm_parse_int(value, NULL); value 322 lib/cib/cib_client.c value = getenv("CIB_encrypted"); value 323 lib/cib/cib_client.c if (value && crm_is_true(value) == FALSE) { value 673 lib/cib/cib_client.c cib_dump_pending_op(gpointer key, gpointer value, gpointer user_data) value 676 lib/cib/cib_client.c cib_callback_client_t *blob = value; value 109 lib/cib/cib_ops.c const char *value = crm_element_value(existing_cib, XML_ATTR_VALIDATION); value 114 lib/cib/cib_ops.c if (value != NULL) { value 115 lib/cib/cib_ops.c current_version = get_schema_version(value); value 276 lib/cib/cib_utils.c const char *value = NULL; value 280 lib/cib/cib_utils.c value = cib_pref(options, "enable-acl"); value 281 lib/cib/cib_utils.c rc = crm_is_true(value); value 378 lib/cluster/cpg.c left_list[i].nodeid, groupName->value, value 387 lib/cluster/cpg.c joined_list[i].nodeid, groupName->value, counter, i); value 394 lib/cluster/cpg.c member_list[i].nodeid, groupName->value, value 428 lib/cluster/cpg.c crm_err("We're not part of CPG group '%s' anymore!", groupName->value); value 459 lib/cluster/cpg.c cluster->group.value[0] = 0; value 462 lib/cluster/cpg.c strncpy(cluster->group.value, crm_system_name?crm_system_name:"unknown", 127); value 463 lib/cluster/cpg.c cluster->group.value[127] = 0; value 464 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); value 48 lib/cluster/heartbeat.c const char *value = NULL; value 74 lib/cluster/heartbeat.c value = msg->values[lpc]; value 75 lib/cluster/heartbeat.c CRM_CHECK(value != NULL, return); value 76 lib/cluster/heartbeat.c crm_trace("Converting %s/%d/%s", name, type, value[0] == '<' ? "xml" : "field"); value 78 lib/cluster/heartbeat.c if (value[0] != '<') { value 79 lib/cluster/heartbeat.c crm_xml_add(parent, name, value); value 84 lib/cluster/heartbeat.c xml = string2xml(value); value 94 lib/cluster/heartbeat.c value = cl_get_binary(msg, name, &orig_len); value 97 lib/cluster/heartbeat.c if (orig_len < 3 || value[0] != 'B' || value[1] != 'Z' || value[2] != 'h') { value 105 lib/cluster/heartbeat.c memcpy(compressed, value, orig_len); value 211 lib/cluster/heartbeat.c const char *value = NULL; value 219 lib/cluster/heartbeat.c value = (const char *)xmlGetProp(src_node, prop_iter->name); value 221 lib/cluster/heartbeat.c ha_msg_add(result, name, value); value 226 lib/cluster/legacy.c const char *value = NULL; value 235 lib/cluster/legacy.c value = crm_element_value(xml, "quorate"); value 236 lib/cluster/legacy.c CRM_CHECK(value != NULL, crm_log_xml_err(xml, "No quorum value:"); return); value 237 lib/cluster/legacy.c if (crm_is_true(value)) { value 241 lib/cluster/legacy.c value = crm_element_value(xml, "id"); value 242 lib/cluster/legacy.c CRM_CHECK(value != NULL, crm_log_xml_err(xml, "No membership id"); return); value 243 lib/cluster/legacy.c crm_peer_seq = crm_int_helper(value, NULL); value 246 lib/cluster/legacy.c crm_notice("Membership %s: quorum %s", value, quorate ? "acquired" : "lost"); value 250 lib/cluster/legacy.c crm_info("Membership %s: quorum %s", value, quorate ? "retained" : "still lost"); value 795 lib/cluster/legacy.c hdb_handle_t object_handle, const char *key, char **value, const char *fallback) value 802 lib/cluster/legacy.c if (*value) { value 803 lib/cluster/legacy.c free(*value); value 804 lib/cluster/legacy.c *value = NULL; value 809 lib/cluster/legacy.c *value = strdup(buffer); value 813 lib/cluster/legacy.c if (*value) { value 814 lib/cluster/legacy.c crm_info("Found '%s' for option: %s", *value, key); value 822 lib/cluster/legacy.c if (*value) { value 823 lib/cluster/legacy.c crm_info("Found '%s' in ENV for option: %s", *value, key); value 824 lib/cluster/legacy.c *value = strdup(env_value); value 830 lib/cluster/legacy.c *value = strdup(fallback); value 883 lib/cluster/legacy.c char *value = NULL; value 897 lib/cluster/legacy.c get_config_opt(config, local_handle, "name", &value, NULL); value 898 lib/cluster/legacy.c if (safe_str_eq("pacemaker", value)) { value 901 lib/cluster/legacy.c get_config_opt(config, local_handle, "ver", &value, "0"); value 902 lib/cluster/legacy.c crm_trace("Found Pacemaker plugin version: %s", value); value 912 lib/cluster/legacy.c get_config_opt(config, local_handle, "provider", &value, NULL); value 914 lib/cluster/legacy.c if (safe_str_eq("quorum_cman", value)) { value 919 lib/cluster/legacy.c free(value); value 224 lib/cluster/membership.c mark_dirty(gpointer key, gpointer value, gpointer user_data) value 226 lib/cluster/membership.c set_bit(((crm_node_t*)value)->flags, crm_node_dirty); value 230 lib/cluster/membership.c is_dirty(gpointer key, gpointer value, gpointer user_data) value 232 lib/cluster/membership.c return is_set(((crm_node_t*)value)->flags, crm_node_dirty); value 321 lib/cluster/membership.c crm_reap_dead_member(gpointer key, gpointer value, gpointer user_data) value 323 lib/cluster/membership.c crm_node_t *node = value; value 335 lib/cluster/membership.c } else if (crm_is_peer_active(value) == FALSE) { value 382 lib/cluster/membership.c crm_count_peer(gpointer key, gpointer value, gpointer user_data) value 385 lib/cluster/membership.c crm_node_t *node = value; value 493 lib/cluster/membership.c static gboolean crm_hash_find_by_data(gpointer key, gpointer value, gpointer user_data) value 495 lib/cluster/membership.c if(value == user_data) { value 54 lib/common/alerts.c free(entry->value); value 106 lib/common/alerts.c dst->value = src->value?strdup(src->value):NULL; 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), crm_itoa(value)); value 177 lib/common/alerts.c set_envvar(gpointer key, gpointer value, gpointer user_data) value 182 lib/common/alerts.c (value? "Setting" : "Unsetting"), value 183 lib/common/alerts.c (char*)key, (value? (char*)value : "")); value 184 lib/common/alerts.c if (value && !always_unset) { value 185 lib/common/alerts.c setenv(key, value, 1); value 136 lib/common/attrd_client.c const char *name, const char *value, const char *section, value 201 lib/common/attrd_client.c crm_xml_add(update, F_ATTRD_VALUE, value); value 219 lib/common/attrd_client.c name, value, display_host, pcmk_strerror(rc), rc); value 28 lib/common/cib_secrets.c static int check_md5_hash(char *hash, char *value); value 29 lib/common/cib_secrets.c static void add_secret_params(gpointer key, gpointer value, gpointer user_data); value 42 lib/common/cib_secrets.c check_md5_hash(char *hash, char *value) value 47 lib/common/cib_secrets.c hash2 = crm_md5sum(value); value 202 lib/common/cib_secrets.c add_secret_params(gpointer key, gpointer value, gpointer user_data) value 206 lib/common/cib_secrets.c if (is_magic_value((char *)value)) { value 1051 lib/common/iso8601.c crm_time_add(crm_time_t * dt, crm_time_t * value) value 1056 lib/common/iso8601.c CRM_CHECK(dt != NULL && value != NULL, return NULL); value 1061 lib/common/iso8601.c utc = crm_get_utc_time(value); value 1073 lib/common/iso8601.c crm_time_calculate_duration(crm_time_t * dt, crm_time_t * value) value 1078 lib/common/iso8601.c CRM_CHECK(dt != NULL && value != NULL, return NULL); value 1080 lib/common/iso8601.c utc = crm_get_utc_time(value); value 1096 lib/common/iso8601.c crm_time_subtract(crm_time_t * dt, crm_time_t * value) value 1101 lib/common/iso8601.c CRM_CHECK(dt != NULL && value != NULL, return NULL); value 1105 lib/common/iso8601.c utc = crm_get_utc_time(value); value 120 lib/common/logging.c const char *value = NULL; value 123 lib/common/logging.c value = getenv(env_name); value 124 lib/common/logging.c if (value != NULL) { value 125 lib/common/logging.c crm_trace("Found %s = %s", env_name, value); value 126 lib/common/logging.c return value; value 130 lib/common/logging.c value = getenv(env_name); value 131 lib/common/logging.c if (value != NULL) { value 132 lib/common/logging.c crm_trace("Found %s = %s", env_name, value); value 133 lib/common/logging.c return value; value 141 lib/common/logging.c set_daemon_option(const char *option, const char *value) value 146 lib/common/logging.c if (value) { value 147 lib/common/logging.c crm_trace("Setting %s to %s", env_name, value); value 148 lib/common/logging.c setenv(env_name, value, 1); value 155 lib/common/logging.c if (value) { value 156 lib/common/logging.c crm_trace("Setting %s to %s", env_name, value); value 157 lib/common/logging.c setenv(env_name, value, 1); value 167 lib/common/logging.c const char *value = daemon_option(option); value 169 lib/common/logging.c if (value != NULL && crm_is_true(value)) { value 172 lib/common/logging.c } else if (value != NULL && strstr(value, daemon)) { value 787 lib/common/schemas.c char *value = NULL; value 799 lib/common/schemas.c value = crm_element_value_copy(xml, XML_ATTR_VALIDATION); value 801 lib/common/schemas.c if (value != NULL) { value 802 lib/common/schemas.c match = get_schema_version(value); value 816 lib/common/schemas.c free(value); value 916 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); value 921 lib/common/schemas.c free(value); value 929 lib/common/schemas.c const char *value = crm_element_value(*xml, XML_ATTR_VALIDATION); value 930 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); value 932 lib/common/schemas.c int version = get_schema_version(value); value 942 lib/common/schemas.c value = crm_element_value(converted, XML_ATTR_VALIDATION); value 964 lib/common/schemas.c "the minimum requirement is %s.", crm_str(value), value 969 lib/common/schemas.c crm_str(value), get_schema_name(min_version)); value 374 lib/common/strings.c copy_str_table_entry(gpointer key, gpointer value, gpointer user_data) value 376 lib/common/strings.c if (key && value && user_data) { value 377 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); value 394 lib/common/strings.c add_list_element(char *list, const char *value) value 399 lib/common/strings.c if (value == NULL) { value 406 lib/common/strings.c len += strlen(value); value 408 lib/common/strings.c sprintf(list + last, " %s", value); value 111 lib/common/utils.c check_time(const char *value) value 113 lib/common/utils.c if (crm_get_msec(value) < 5000) { value 120 lib/common/utils.c check_timer(const char *value) value 122 lib/common/utils.c if (crm_get_msec(value) < 0) { value 129 lib/common/utils.c check_boolean(const char *value) value 133 lib/common/utils.c if (crm_str_to_boolean(value, &tmp) != 1) { value 140 lib/common/utils.c check_number(const char *value) value 143 lib/common/utils.c if (value == NULL) { value 146 lib/common/utils.c } else if (safe_str_eq(value, MINUS_INFINITY_S)) { value 148 lib/common/utils.c } else if (safe_str_eq(value, INFINITY_S)) { value 151 lib/common/utils.c crm_int_helper(value, NULL); value 161 lib/common/utils.c check_positive_number(const char* value) value 163 lib/common/utils.c if (safe_str_eq(value, INFINITY_S) || (crm_int_helper(value, NULL))) { value 170 lib/common/utils.c check_quorum(const char *value) value 172 lib/common/utils.c if (safe_str_eq(value, "stop")) { value 175 lib/common/utils.c } else if (safe_str_eq(value, "freeze")) { value 178 lib/common/utils.c } else if (safe_str_eq(value, "ignore")) { value 181 lib/common/utils.c } else if (safe_str_eq(value, "suicide")) { value 188 lib/common/utils.c check_script(const char *value) value 192 lib/common/utils.c if(safe_str_eq(value, "/dev/null")) { value 196 lib/common/utils.c if(stat(value, &st) != 0) { value 197 lib/common/utils.c crm_err("Script %s does not exist", value); value 202 lib/common/utils.c crm_err("Script %s is not a regular file", value); value 207 lib/common/utils.c crm_err("Script %s is not executable", value); value 215 lib/common/utils.c check_utilization(const char *value) value 218 lib/common/utils.c long number = strtol(value, &end, 10); value 297 lib/common/utils.c const char *value = NULL; value 303 lib/common/utils.c value = g_hash_table_lookup(options, name); value 305 lib/common/utils.c if ((value == NULL) && old_name) { value 306 lib/common/utils.c value = g_hash_table_lookup(options, old_name); value 307 lib/common/utils.c if (value != NULL) { value 313 lib/common/utils.c new_value = strdup(value); value 315 lib/common/utils.c value = new_value; value 319 lib/common/utils.c if (value && validate && (validate(value) == FALSE)) { value 321 lib/common/utils.c name, value); value 322 lib/common/utils.c value = NULL; value 325 lib/common/utils.c if (value) { value 326 lib/common/utils.c return value; value 331 lib/common/utils.c value = def_value; value 333 lib/common/utils.c if (value == NULL) { value 340 lib/common/utils.c CRM_CHECK(validate(value) != FALSE, value 346 lib/common/utils.c value, name); value 348 lib/common/utils.c new_value = strdup(value); value 350 lib/common/utils.c value = new_value; value 352 lib/common/utils.c return value; value 358 lib/common/utils.c const char *value = NULL; value 362 lib/common/utils.c value = cluster_option(options, value 367 lib/common/utils.c return value; value 952 lib/common/utils.c const char *value = NULL; value 956 lib/common/utils.c value = g_hash_table_lookup(hash, key); value 960 lib/common/utils.c return value; value 255 lib/common/watchdog.c check_sbd_timeout(const char *value) value 257 lib/common/watchdog.c long st_timeout = value? crm_get_msec(value) : 0; value 261 lib/common/watchdog.c value? value : "default"); value 266 lib/common/watchdog.c value); value 276 lib/common/watchdog.c value, sbd_timeout); value 281 lib/common/watchdog.c value, sbd_timeout); value 1028 lib/common/xml.c const char *value = crm_element_value(xml, (const char *)pIter->name); value 1031 lib/common/xml.c crm_xml_add(attr, XML_NVPAIR_ATTR_VALUE, value); value 1042 lib/common/xml.c const char *value = crm_element_value(xml, (const char *)pIter->name); value 1046 lib/common/xml.c crm_xml_add(result, (const char *)pIter->name, value); value 1161 lib/common/xml.c const char *value = crm_element_value(last, vfields[lpc]); value 1163 lib/common/xml.c crm_xml_add(diff_child, vfields[lpc], value); value 1165 lib/common/xml.c crm_xml_add(cib, vfields[lpc], value); value 1182 lib/common/xml.c const char *value = crm_element_value(next, vfields[lpc]); value 1184 lib/common/xml.c crm_xml_add(diff_child, vfields[lpc], value); value 1245 lib/common/xml.c const char *value = crm_element_value(source, vfields[lpc]); value 1247 lib/common/xml.c if(value == NULL) { value 1248 lib/common/xml.c value = "1"; value 1250 lib/common/xml.c crm_xml_add(v, vfields[lpc], value); value 1255 lib/common/xml.c const char *value = crm_element_value(target, vfields[lpc]); value 1257 lib/common/xml.c if(value == NULL) { value 1258 lib/common/xml.c value = "1"; value 1260 lib/common/xml.c crm_xml_add(v, vfields[lpc], value); value 1477 lib/common/xml.c const char *value = crm_element_value(child, "value"); value 1482 lib/common/xml.c o_set += snprintf(buffer_set + o_set, XML_BUFFER_SIZE - o_set, "@%s=%s", name, value); value 1616 lib/common/xml.c const char *value = NULL; value 1635 lib/common/xml.c value = crm_element_value(patch, XML_DIFF_MARKER); value 1636 lib/common/xml.c if (value != NULL && strcmp(value, "removed:top") == 0) { value 1673 lib/common/xml.c const char *value = NULL; value 1682 lib/common/xml.c value = crm_element_value(patch, XML_DIFF_MARKER); value 1684 lib/common/xml.c && value != NULL value 1685 lib/common/xml.c && strcmp(value, "added:top") == 0) { value 2145 lib/common/xml.c const char *value = crm_element_value(attrs, name); value 2147 lib/common/xml.c crm_xml_add(match, name, value); value 2328 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) value 2337 lib/common/xml.c if (value == NULL || name == NULL) { value 2347 lib/common/xml.c } else if (strstr(value, name) != value) { value 2352 lib/common/xml.c value_len = strlen(value); value 2354 lib/common/xml.c || value[name_len] != '+' || (value[name_len + 1] != '+' && value[name_len + 1] != '=')) { value 2361 lib/common/xml.c if (old_value != value) { value 2365 lib/common/xml.c if (value[name_len + 1] != '+') { value 2366 lib/common/xml.c const char *offset_s = value + (name_len + 2); value 2380 lib/common/xml.c if (old_value == value) { value 2384 lib/common/xml.c crm_xml_add(target, name, value); value 2490 lib/common/xml.c crm_xml_add(xmlNode * node, const char *name, const char *value) value 2498 lib/common/xml.c if (value == NULL) { value 2508 lib/common/xml.c CRM_CHECK(old_value != value, crm_err("Cannot reset %s with crm_xml_add(%s)", name, value); value 2509 lib/common/xml.c return value); value 2516 lib/common/xml.c if(old == NULL || value == NULL || strcmp(old, value) != 0) { value 2522 lib/common/xml.c crm_trace("Cannot add %s=%s to %s", name, value, node->name); value 2526 lib/common/xml.c attr = xmlSetProp(node, (const xmlChar *)name, (const xmlChar *)value); value 2536 lib/common/xml.c crm_xml_replace(xmlNode * node, const char *name, const char *value) value 2548 lib/common/xml.c CRM_CHECK(old_value != value, return value); value 2552 lib/common/xml.c crm_trace("Cannot replace %s=%s to %s", name, value, node->name); value 2555 lib/common/xml.c } else if (old_value != NULL && value == NULL) { value 2559 lib/common/xml.c } else if (value == NULL) { value 2564 lib/common/xml.c if(old_value == NULL || value == NULL || strcmp(old_value, value) != 0) { value 2569 lib/common/xml.c attr = xmlSetProp(node, (const xmlChar *)name, (const xmlChar *)value); value 2578 lib/common/xml.c crm_xml_add_int(xmlNode * node, const char *name, int value) value 2580 lib/common/xml.c char *number = crm_itoa(value); value 3450 lib/common/xml.c const char *value = crm_element_value(data, aname); value 3453 lib/common/xml.c "%s %s @%s=%s", flags, spaces, aname, value); value 3456 lib/common/xml.c const char *value = crm_element_value(data, aname); value 3471 lib/common/xml.c "%s %s @%s=%s", flags, spaces, aname, value); value 3846 lib/common/xml.c const char *value = crm_element_value(data, name); value 3849 lib/common/xml.c if (value) { value 3850 lib/common/xml.c *dest = crm_int_helper(value, NULL); value 3872 lib/common/xml.c const char *value = crm_element_value(data, name); value 3874 lib/common/xml.c if (value != NULL) { value 3875 lib/common/xml.c value_copy = strdup(value); value 4071 lib/common/xml.c const char *value = crm_element_value(new, name); value 4076 lib/common/xml.c if(strcmp(value, old_value) != 0) { value 4111 lib/common/xml.c char *value = crm_element_value_copy(new, name); value 4113 lib/common/xml.c crm_trace("Created %s@%s=%s", new->name, name, value); value 4121 lib/common/xml.c free(value); value 4398 lib/common/xml.c const char *value = NULL; value 4433 lib/common/xml.c value = crm_element_value(right, XML_DIFF_MARKER); value 4434 lib/common/xml.c if (value != NULL && strcmp(value, "removed:top") == 0) { value 4526 lib/common/xml.c xmlSetProp(diff, (const xmlChar *)prop_name, (const xmlChar *)value); value 4707 lib/common/xml.c const char *tag, const char *field, const char *value, gboolean search_matches) value 4716 lib/common/xml.c } else if (value != NULL && safe_str_neq(value, crm_element_value(root, field))) { value 4730 lib/common/xml.c match_found += find_xml_children(children, child, tag, field, value, search_matches); value 4832 lib/common/xml.c const char *value) value 4853 lib/common/xml.c crm_xml_add(nvp, XML_NVPAIR_ATTR_VALUE, value); value 4858 lib/common/xml.c hash2nvpair(gpointer key, gpointer value, gpointer user_data) value 4861 lib/common/xml.c const char *s_value = value; value 4869 lib/common/xml.c hash2smartfield(gpointer key, gpointer value, gpointer user_data) value 4872 lib/common/xml.c const char *s_value = value; value 4892 lib/common/xml.c hash2field(gpointer key, gpointer value, gpointer user_data) value 4895 lib/common/xml.c const char *s_value = value; value 4908 lib/common/xml.c hash2metafield(gpointer key, gpointer value, gpointer user_data) value 4912 lib/common/xml.c if (key == NULL || value == NULL) { value 4926 lib/common/xml.c hash2field(crm_name, value, user_data); value 4960 lib/common/xml.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); value 4962 lib/common/xml.c crm_trace("Added %s=%s", key, value); value 4963 lib/common/xml.c if (key != NULL && value != NULL) { value 4964 lib/common/xml.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); value 4974 lib/common/xml.c const void *value; value 5005 lib/common/xml.c crm_xml_add(parent, pair->name, pair->value); value 5032 lib/common/xml.c pair->value = p_value; value 228 lib/fencing/st_client.c hash2field((gpointer) params->key, (gpointer) params->value, args); value 268 lib/fencing/st_client.c const char *attr, const char *value, int level) value 273 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return -EINVAL); value 286 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); value 320 lib/fencing/st_client.c const char *attr, const char *value, value 327 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); value 344 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); value 349 lib/fencing/st_client.c int adding = strlen(device_list->value); value 354 lib/fencing/st_client.c crm_trace("Adding %s (%dc) at offset %d", device_list->value, adding, len); value 361 lib/fencing/st_client.c sprintf(list + len, "%s%s", len?",":"", device_list->value); value 374 lib/fencing/st_client.c const char *attr, const char *value, value 378 lib/fencing/st_client.c xmlNode *data = create_level_registration_xml(node, pattern, attr, value, value 397 lib/fencing/st_client.c append_arg(const char *key, const char *value, char **args) value 403 lib/fencing/st_client.c CRM_CHECK(value != NULL, return); value 414 lib/fencing/st_client.c len += strlen(value); value 420 lib/fencing/st_client.c crm_trace("Appending: %s=%s", key, value); value 421 lib/fencing/st_client.c sprintf((*args) + last, "%s=%s\n", key, value); value 425 lib/fencing/st_client.c append_config_arg(gpointer key, gpointer value, gpointer user_data) value 432 lib/fencing/st_client.c append_arg(key, value, user_data); value 465 lib/fencing/st_client.c const char *value = NULL; value 479 lib/fencing/st_client.c value = victim; value 483 lib/fencing/st_client.c value = g_hash_table_lookup(params, key); value 487 lib/fencing/st_client.c if (value) { value 488 lib/fencing/st_client.c crm_debug("Setting '%s'='%s' (%s) for %s", name, value, param, victim); value 489 lib/fencing/st_client.c append_arg(name, value, arg_list); value 515 lib/fencing/st_client.c const char *value = NULL; value 521 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); value 524 lib/fencing/st_client.c if (value == NULL && device_args) { value 527 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); value 530 lib/fencing/st_client.c if (value == NULL && device_args && safe_str_eq(action, "off")) { value 532 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, "pcmk_poweroff_action"); value 535 lib/fencing/st_client.c if (value) { value 536 lib/fencing/st_client.c crm_info("Substituting action '%s' for requested operation '%s'", value, action); value 537 lib/fencing/st_client.c action = value; value 564 lib/fencing/st_client.c value = agent; value 573 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, param); value 577 lib/fencing/st_client.c value = map; /* Nothing more to do */ value 581 lib/fencing/st_client.c value = param; /* Nothing more to do */ value 584 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, param); value 588 lib/fencing/st_client.c if (value == NULL || safe_str_eq(value, "dynamic")) { value 696 lib/fencing/st_client.c const char *value = NULL; value 699 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); value 701 lib/fencing/st_client.c if (value) { value 702 lib/fencing/st_client.c action->max_retries = atoi(value); value 2051 lib/fencing/st_client.c stonith_dump_pending_op(gpointer key, gpointer value, gpointer user_data) value 2054 lib/fencing/st_client.c stonith_callback_client_t *blob = value; value 2504 lib/fencing/st_client.c stonith_key_value_add(stonith_key_value_t * head, const char *key, const char *value) value 2512 lib/fencing/st_client.c if (value) { value 2513 lib/fencing/st_client.c p->value = strdup(value); value 2541 lib/fencing/st_client.c free(head->value); value 39 lib/lrmd/lrmd_alerts.c const char *value) value 43 lib/lrmd/lrmd_alerts.c if (value == NULL) { value 44 lib/lrmd/lrmd_alerts.c value = ""; value 47 lib/lrmd/lrmd_alerts.c crm_trace("Setting alert key %s = '%s'", *key, value); value 48 lib/lrmd/lrmd_alerts.c head = lrmd_key_value_add(head, *key, value); value 55 lib/lrmd/lrmd_alerts.c int value) value 57 lib/lrmd/lrmd_alerts.c char *value_s = crm_itoa(value); value 65 lib/lrmd/lrmd_alerts.c set_ev_kv(gpointer key, gpointer value, gpointer user_data) value 69 lib/lrmd/lrmd_alerts.c if (value) { value 71 lib/lrmd/lrmd_alerts.c (char*)key, (char*)value); value 72 lib/lrmd/lrmd_alerts.c *head = lrmd_key_value_add(*head, key, value); value 90 lib/lrmd/lrmd_alerts.c is_target_alert(char **list, const char *value) value 95 lib/lrmd/lrmd_alerts.c CRM_CHECK(value != NULL, return FALSE); value 104 lib/lrmd/lrmd_alerts.c if (strcmp(list[cnt], value) == 0) { value 165 lib/lrmd/lrmd_alerts.c copy_params = lrmd_key_value_add(copy_params, head->key, head->value); value 116 lib/lrmd/lrmd_client.c lrmd_list_add(lrmd_list_t * head, const char *value) value 121 lib/lrmd/lrmd_client.c p->val = strdup(value); value 153 lib/lrmd/lrmd_client.c lrmd_key_value_add(lrmd_key_value_t * head, const char *key, const char *value) value 159 lib/lrmd/lrmd_client.c p->value = strdup(value); value 183 lib/lrmd/lrmd_client.c free(head->value); value 879 lib/lrmd/lrmd_client.c const char *value; value 885 lib/lrmd/lrmd_client.c value = g_hash_table_lookup(hash, "stonith-watchdog-timeout"); value 886 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_WATCHDOG, value); value 1649 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); value 1675 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); value 1717 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, dIter->value); value 32 lib/pengine/common.c check_health(const char *value) value 34 lib/pengine/common.c if (safe_str_eq(value, "none")) { value 37 lib/pengine/common.c } else if (safe_str_eq(value, "custom")) { value 40 lib/pengine/common.c } else if (safe_str_eq(value, "only-green")) { value 43 lib/pengine/common.c } else if (safe_str_eq(value, "progressive")) { value 46 lib/pengine/common.c } else if (safe_str_eq(value, "migrate-on-red")) { value 53 lib/pengine/common.c check_stonith_action(const char *value) value 55 lib/pengine/common.c if (safe_str_eq(value, "reboot")) { value 58 lib/pengine/common.c } else if (safe_str_eq(value, "poweroff")) { value 61 lib/pengine/common.c } else if (safe_str_eq(value, "off")) { value 68 lib/pengine/common.c check_placement_strategy(const char *value) value 70 lib/pengine/common.c if (safe_str_eq(value, "default")) { value 73 lib/pengine/common.c } else if (safe_str_eq(value, "utilization")) { value 76 lib/pengine/common.c } else if (safe_str_eq(value, "minimal")) { value 79 lib/pengine/common.c } else if (safe_str_eq(value, "balanced")) { value 423 lib/pengine/common.c add_hash_param(GHashTable * hash, const char *name, const char *value) value 427 lib/pengine/common.c crm_trace("adding: name=%s value=%s", crm_str(name), crm_str(value)); value 428 lib/pengine/common.c if (name == NULL || value == NULL) { value 431 lib/pengine/common.c } else if (safe_str_eq(value, "#default")) { value 435 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); value 125 lib/pengine/complex.c dup_attr(gpointer key, gpointer value, gpointer user_data) value 127 lib/pengine/complex.c add_hash_param(user_data, key, value); value 389 lib/pengine/complex.c const char *value; value 394 lib/pengine/complex.c value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_ISOLATION); value 395 lib/pengine/complex.c if (top->isolation_wrapper == NULL && (value == NULL || crm_is_true(value))) { value 472 lib/pengine/complex.c const char *value = NULL; value 535 lib/pengine/complex.c value = crm_element_value((*rsc)->xml, XML_RSC_ATTR_INCARNATION); value 536 lib/pengine/complex.c if (value) { value 537 lib/pengine/complex.c (*rsc)->id = crm_concat(id, value, ':'); value 538 lib/pengine/complex.c add_hash_param((*rsc)->meta, XML_RSC_ATTR_INCARNATION, value); value 572 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_CIB_ATTR_PRIORITY); value 573 lib/pengine/complex.c (*rsc)->priority = crm_parse_int(value, "0"); value 576 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_NOTIFY); value 577 lib/pengine/complex.c if (crm_is_true(value)) { value 590 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_OP_ATTR_ALLOW_MIGRATE); value 594 lib/pengine/complex.c if (crm_is_true(value) && has_versioned_params) { value 596 lib/pengine/complex.c } else if (crm_is_true(value)) { value 598 lib/pengine/complex.c } else if ((value == NULL) && baremetal_remote_node && !has_versioned_params) { value 609 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_MANAGED); value 610 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { value 613 lib/pengine/complex.c crm_str_to_boolean(value, &bool_value); value 621 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_MAINTENANCE); value 622 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { value 625 lib/pengine/complex.c crm_str_to_boolean(value, &bool_value); value 641 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_UNIQUE); value 642 lib/pengine/complex.c if (crm_is_true(value) || pe_rsc_is_clone(top) == FALSE) { value 646 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_RESTART); value 647 lib/pengine/complex.c if (safe_str_eq(value, "restart")) { value 656 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_MULTIPLE); value 657 lib/pengine/complex.c if (safe_str_eq(value, "stop_only")) { value 661 lib/pengine/complex.c } else if (safe_str_eq(value, "block")) { value 670 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_STICKINESS); value 671 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { value 672 lib/pengine/complex.c (*rsc)->stickiness = char2score(value); value 675 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_FAIL_STICKINESS); value 676 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { value 677 lib/pengine/complex.c (*rsc)->migration_threshold = char2score(value); value 679 lib/pengine/complex.c } else if (value == NULL) { value 692 lib/pengine/complex.c value = legacy; value 706 lib/pengine/complex.c if (value == NULL) { value 707 lib/pengine/complex.c value = legacy; value 715 lib/pengine/complex.c if (value) { value 716 lib/pengine/complex.c int fail_sticky = char2score(value); value 722 lib/pengine/complex.c (*rsc)->migration_threshold, (*rsc)->id, value); value 733 lib/pengine/complex.c (*rsc)->id, (*rsc)->migration_threshold, (*rsc)->stickiness, value); value 744 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_REQUIRES); value 747 lib/pengine/complex.c if (safe_str_eq(value, "nothing")) { value 749 lib/pengine/complex.c } else if (safe_str_eq(value, "quorum")) { value 752 lib/pengine/complex.c } else if (safe_str_eq(value, "unfencing")) { value 755 lib/pengine/complex.c value = "quorum"; value 761 lib/pengine/complex.c value = "quorum"; value 770 lib/pengine/complex.c } else if (safe_str_eq(value, "fencing")) { value 777 lib/pengine/complex.c if (value) { value 779 lib/pengine/complex.c (*rsc)->id, value, value 785 lib/pengine/complex.c value = "quorum"; value 788 lib/pengine/complex.c value = "unfencing"; value 791 lib/pengine/complex.c value = "fencing"; value 794 lib/pengine/complex.c value = "nothing"; value 797 lib/pengine/complex.c value = "quorum"; value 802 lib/pengine/complex.c pe_rsc_trace((*rsc), "\tRequired to start: %s%s", value, isdefault?" (default)":""); value 803 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->meta, XML_RSC_ATTR_FAIL_TIMEOUT); value 804 lib/pengine/complex.c if (value != NULL) { value 806 lib/pengine/complex.c (*rsc)->failure_timeout = (crm_get_msec(value) / 1000); value 810 lib/pengine/complex.c value = g_hash_table_lookup((*rsc)->parameters, XML_REMOTE_ATTR_RECONNECT_INTERVAL); value 811 lib/pengine/complex.c if (value) { value 814 lib/pengine/complex.c (*rsc)->remote_reconnect_interval = (crm_get_msec(value) / 1000); value 758 lib/pengine/container.c const char *value; value 775 lib/pengine/container.c value = g_hash_table_lookup(rsc->parameters, name); value 776 lib/pengine/container.c if (safe_str_eq(value, "#uname") == FALSE) { value 782 lib/pengine/container.c value = crm_element_value(rsc->xml, attr_list[lpc]); value 783 lib/pengine/container.c if (safe_str_eq(value, value_list[lpc]) == FALSE) { value 831 lib/pengine/container.c const char *value = NULL; value 855 lib/pengine/container.c value = crm_element_value(xml_obj, "masters"); value 856 lib/pengine/container.c container_data->masters = crm_parse_int(value, "0"); value 863 lib/pengine/container.c value = crm_element_value(xml_obj, "replicas"); value 864 lib/pengine/container.c if ((value == NULL) && (container_data->masters > 0)) { value 867 lib/pengine/container.c container_data->replicas = crm_parse_int(value, "1"); value 879 lib/pengine/container.c value = crm_element_value(xml_obj, "replicas-per-host"); value 880 lib/pengine/container.c container_data->replicas_per_host = crm_parse_int(value, "1"); value 951 lib/pengine/container.c char *value = NULL; value 969 lib/pengine/container.c value = crm_itoa(container_data->replicas); value 971 lib/pengine/container.c XML_RSC_ATTR_INCARNATION_MAX, value); value 972 lib/pengine/container.c free(value); value 974 lib/pengine/container.c value = crm_itoa(container_data->replicas_per_host); value 976 lib/pengine/container.c XML_RSC_ATTR_INCARNATION_NODEMAX, value); value 977 lib/pengine/container.c free(value); value 984 lib/pengine/container.c value = crm_itoa(container_data->masters); value 986 lib/pengine/container.c XML_RSC_ATTR_MASTER_MAX, value); value 987 lib/pengine/container.c free(value); value 241 lib/pengine/failcounts.c const char *value = NULL; value 251 lib/pengine/failcounts.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 253 lib/pengine/failcounts.c failcount = merge_weights(failcount, char2score(value)); value 255 lib/pengine/failcounts.c last = QB_MAX(last, crm_int_helper(value, NULL)); value 246 lib/pengine/native.c const char *value = NULL; value 269 lib/pengine/native.c value = g_hash_table_lookup(hash, name); value 270 lib/pengine/native.c if (value == NULL) { value 272 lib/pengine/native.c value = g_hash_table_lookup(rsc->meta, name); value 275 lib/pengine/native.c if (value != NULL) { value 276 lib/pengine/native.c value_copy = strdup(value); value 312 lib/pengine/native.c native_print_attr(gpointer key, gpointer value, gpointer user_data) value 317 lib/pengine/native.c status_print("Option: %s = %s\n", (char *)key, (char *)value); value 86 lib/pengine/rules.c const char *value = NULL; value 89 lib/pengine/rules.c value = crm_element_value(rule, XML_RULE_ATTR_BOOLEAN_OP); value 90 lib/pengine/rules.c if (safe_str_eq(value, "or")) { value 229 lib/pengine/rules.c const char *value = NULL; value 235 lib/pengine/rules.c value = crm_element_value(expr, XML_EXPR_ATTR_VALUE); value 249 lib/pengine/rules.c if (text2role(value) == role) { value 258 lib/pengine/rules.c } else if (text2role(value) != role) { value 283 lib/pengine/rules.c const char *value = NULL; value 288 lib/pengine/rules.c value = crm_element_value(expr, XML_EXPR_ATTR_VALUE); value 294 lib/pengine/rules.c " (\'%s\' \'%s\' \'%s\')", crm_str(attr), crm_str(op), crm_str(value)); value 316 lib/pengine/rules.c const char *param_name = value; value 321 lib/pengine/rules.c value = param_value; value 335 lib/pengine/rules.c if (value != NULL && h_val != NULL) { value 350 lib/pengine/rules.c cmp = strcasecmp(h_val, value); value 354 lib/pengine/rules.c int value_f = crm_parse_int(value, NULL); value 365 lib/pengine/rules.c cmp = compare_version(h_val, value); value 369 lib/pengine/rules.c } else if (value == NULL && h_val == NULL) { value 371 lib/pengine/rules.c } else if (value == NULL) { value 388 lib/pengine/rules.c if ((h_val == value) || cmp == 0) { value 393 lib/pengine/rules.c if ((h_val == NULL && value != NULL) value 394 lib/pengine/rules.c || (h_val != NULL && value == NULL) value 399 lib/pengine/rules.c } else if (value == NULL || h_val == NULL) { value 461 lib/pengine/rules.c decodeNVpair(const char *srcstring, char separator, char **name, char **value) value 467 lib/pengine/rules.c CRM_ASSERT(name != NULL && value != NULL); value 469 lib/pengine/rules.c *value = NULL; value 489 lib/pengine/rules.c *value = NULL; value 492 lib/pengine/rules.c *value = calloc(1, len + 1); value 493 lib/pengine/rules.c if (*value == NULL) { value 497 lib/pengine/rules.c memcpy(*value, temp, len); value 498 lib/pengine/rules.c (*value)[len] = '\0'; value 511 lib/pengine/rules.c *value = NULL; value 517 lib/pengine/rules.c value = crm_element_value(cron_spec, xml_field); \ value 518 lib/pengine/rules.c if(value != NULL) { \ value 520 lib/pengine/rules.c decodeNVpair(value, '-', &value_low, &value_high); \ value 522 lib/pengine/rules.c value_low = strdup(value); \ value 538 lib/pengine/rules.c crm_debug("Condition '%s' in %s: failed", value, xml_field); \ value 541 lib/pengine/rules.c crm_debug("Condition '%s' in %s: passed", value, xml_field); \ value 547 lib/pengine/rules.c const char *value = NULL; value 586 lib/pengine/rules.c value = crm_element_value(duration_spec, xml_field); \ value 587 lib/pengine/rules.c if(value != NULL) { \ value 588 lib/pengine/rules.c int value_i = crm_parse_int(value, "0"); \ value 596 lib/pengine/rules.c const char *value = NULL; value 617 lib/pengine/rules.c const char *value = NULL; value 630 lib/pengine/rules.c value = crm_element_value(time_expr, "start"); value 631 lib/pengine/rules.c if (value != NULL) { value 632 lib/pengine/rules.c start = crm_time_new(value); value 634 lib/pengine/rules.c value = crm_element_value(time_expr, "end"); value 635 lib/pengine/rules.c if (value != NULL) { value 636 lib/pengine/rules.c end = crm_time_new(value); value 715 lib/pengine/rules.c const char *value = NULL; value 735 lib/pengine/rules.c value = crm_element_value(an_attr, XML_NVPAIR_ATTR_VALUE); value 736 lib/pengine/rules.c if (value == NULL) { value 737 lib/pengine/rules.c value = crm_element_value(ref_nvpair, XML_NVPAIR_ATTR_VALUE); value 740 lib/pengine/rules.c if (name == NULL || value == NULL) { value 747 lib/pengine/rules.c if (safe_str_eq(value, "#default")) { value 749 lib/pengine/rules.c crm_trace("Removing value for %s (%s)", name, value); value 755 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); value 758 lib/pengine/rules.c crm_debug("Overwriting value of %s: %s -> %s", name, old_value, value); value 759 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); value 51 lib/pengine/rules_alerts.c const char *value = NULL; value 57 lib/pengine/rules_alerts.c value = g_hash_table_lookup(config_hash, XML_ALERT_ATTR_TIMEOUT); value 58 lib/pengine/rules_alerts.c if (value) { value 59 lib/pengine/rules_alerts.c entry->timeout = crm_get_msec(value); value 66 lib/pengine/rules_alerts.c entry->id, (char*)value, CRM_ALERT_DEFAULT_TIMEOUT_MS); value 77 lib/pengine/rules_alerts.c value = g_hash_table_lookup(config_hash, XML_ALERT_ATTR_TSTAMP_FORMAT); value 78 lib/pengine/rules_alerts.c if (value) { value 82 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(value); value 112 lib/pengine/rules_alerts.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); value 114 lib/pengine/rules_alerts.c if (value == NULL) { value 115 lib/pengine/rules_alerts.c value = ""; value 117 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); value 119 lib/pengine/rules_alerts.c entry->id, name, value); value 58 lib/pengine/status.c const char *value = crm_element_value(data_set->input, XML_ATTR_HAVE_QUORUM); value 80 lib/pengine/status.c if (crm_is_true(value)) { value 178 lib/pengine/unpack.c const char *value = NULL; value 193 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, XML_ATTR_HAVE_WATCHDOG); value 194 lib/pengine/unpack.c if (value && crm_is_true(value)) { value 204 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "stonith-timeout"); value 205 lib/pengine/unpack.c data_set->stonith_timeout = crm_get_msec(value); value 228 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "default-resource-stickiness"); value 229 lib/pengine/unpack.c if (value) { value 235 lib/pengine/unpack.c data_set->default_resource_stickiness = char2score(value); value 238 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "no-quorum-policy"); value 240 lib/pengine/unpack.c if (safe_str_eq(value, "ignore")) { value 243 lib/pengine/unpack.c } else if (safe_str_eq(value, "freeze")) { value 246 lib/pengine/unpack.c } else if (safe_str_eq(value, "suicide")) { value 466 lib/pengine/unpack.c const char *value = crm_element_value(attr, XML_NVPAIR_ATTR_VALUE); value 470 lib/pengine/unpack.c remote_name = value; value 472 lib/pengine/unpack.c remote_server = value; value 474 lib/pengine/unpack.c remote_port = value; value 476 lib/pengine/unpack.c connect_timeout = value; value 478 lib/pengine/unpack.c remote_allow_migrate=value; value 480 lib/pengine/unpack.c container_managed = value; value 925 lib/pengine/unpack.c get_ticket_state_legacy(gpointer key, gpointer value, gpointer user_data) value 955 lib/pengine/unpack.c is_granted = value; value 961 lib/pengine/unpack.c last_granted = value; value 987 lib/pengine/unpack.c g_hash_table_replace(ticket->state, state_key, strdup(value)); value 2367 lib/pengine/unpack.c set_node_score(gpointer key, gpointer value, gpointer user_data) value 2369 lib/pengine/unpack.c node_t *node = value; value 34 lib/pengine/utils.c void print_str_str(gpointer key, gpointer value, gpointer user_data); value 35 lib/pengine/utils.c gboolean ghash_free_str_str(gpointer key, gpointer value, gpointer user_data); value 307 lib/pengine/utils.c append_dump_text(gpointer key, gpointer value, gpointer user_data) value 313 lib/pengine/utils.c len = strlen(*dump_text) + strlen(" ") + strlen(key) + strlen("=") + strlen(value) + 1; value 315 lib/pengine/utils.c sprintf(new_text, "%s %s=%s", *dump_text, (char *)key, (char *)value); value 633 lib/pengine/utils.c const char *value = g_hash_table_lookup(action->meta, XML_OP_ATTR_ON_FAIL); value 635 lib/pengine/utils.c if (safe_str_eq(action->task, CRMD_ACTION_STOP) && safe_str_eq(value, "standby")) { value 638 lib/pengine/utils.c } else if (safe_str_eq(action->task, CRMD_ACTION_DEMOTE) && !value) { value 650 lib/pengine/utils.c operation && !value; operation = __xml_next_element(operation)) { value 670 lib/pengine/utils.c value = on_fail; value 674 lib/pengine/utils.c return value; value 683 lib/pengine/utils.c const char *value = NULL; value 694 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); value 695 lib/pengine/utils.c if (!include_disabled && value && crm_is_true(value) == FALSE) { value 719 lib/pengine/utils.c unpack_start_delay(const char *value, GHashTable *meta) value 723 lib/pengine/utils.c if (value != NULL) { value 724 lib/pengine/utils.c start_delay = crm_get_msec(value); value 739 lib/pengine/utils.c unpack_interval_origin(const char *value, GHashTable *meta, xmlNode *xml_obj, value 744 lib/pengine/utils.c if (interval > 0 && value) { value 745 lib/pengine/utils.c crm_time_t *origin = crm_time_new(value); value 753 lib/pengine/utils.c crm_trace("Origin: %s, interval: %d", value, interval_s); value 795 lib/pengine/utils.c ID(xml_obj), value); value 803 lib/pengine/utils.c unpack_timeout(const char *value, action_t *action, xmlNode *xml_obj, value 808 lib/pengine/utils.c if (value == NULL && xml_obj == NULL && action && value 814 lib/pengine/utils.c value = crm_element_value(min_interval_mon, XML_ATTR_TIMEOUT); value 817 lib/pengine/utils.c action->uuid, value); value 821 lib/pengine/utils.c if (value == NULL && config_hash) { value 822 lib/pengine/utils.c value = pe_pref(config_hash, "default-action-timeout"); value 823 lib/pengine/utils.c if (value) { value 832 lib/pengine/utils.c if (value == NULL) { value 833 lib/pengine/utils.c value = CRM_DEFAULT_OP_TIMEOUT_S; value 836 lib/pengine/utils.c timeout = crm_get_msec(value); value 892 lib/pengine/utils.c const char *value = crm_element_value(attr, XML_NVPAIR_ATTR_VALUE); value 895 lib/pengine/utils.c int start_delay = unpack_start_delay(value, NULL); value 899 lib/pengine/utils.c int start_delay = unpack_interval_origin(value, NULL, xml_obj, interval, now); value 904 lib/pengine/utils.c int timeout = unpack_timeout(value, NULL, NULL, 0, NULL); value 920 lib/pengine/utils.c const char *value = NULL; value 959 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, field); value 960 lib/pengine/utils.c if (value != NULL) { value 961 lib/pengine/utils.c interval = crm_get_interval(value); value 972 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, "requires"); value 973 lib/pengine/utils.c if (value) { value 982 lib/pengine/utils.c value = "nothing (not start/promote)"; value 984 lib/pengine/utils.c } else if (safe_str_eq(value, "nothing")) { value 987 lib/pengine/utils.c } else if (safe_str_eq(value, "quorum")) { value 990 lib/pengine/utils.c } else if (safe_str_eq(value, "unfencing")) { value 998 lib/pengine/utils.c && safe_str_eq(value, "fencing")) { value 1007 lib/pengine/utils.c value = "fencing (resource)"; value 1011 lib/pengine/utils.c value = "quorum (resource)"; value 1015 lib/pengine/utils.c value = "nothing (resource)"; value 1018 lib/pengine/utils.c pe_rsc_trace(action->rsc, "\tAction %s requires: %s", action->task, value); value 1020 lib/pengine/utils.c value = unpack_operation_on_fail(action); value 1022 lib/pengine/utils.c if (value == NULL) { value 1024 lib/pengine/utils.c } else if (safe_str_eq(value, "block")) { value 1028 lib/pengine/utils.c } else if (safe_str_eq(value, "fence")) { value 1030 lib/pengine/utils.c value = "node fencing"; value 1036 lib/pengine/utils.c value = "stop resource"; value 1039 lib/pengine/utils.c } else if (safe_str_eq(value, "standby")) { value 1041 lib/pengine/utils.c value = "node standby"; value 1043 lib/pengine/utils.c } else if (safe_str_eq(value, "ignore") value 1044 lib/pengine/utils.c || safe_str_eq(value, "nothing")) { value 1046 lib/pengine/utils.c value = "ignore"; value 1048 lib/pengine/utils.c } else if (safe_str_eq(value, "migrate")) { value 1050 lib/pengine/utils.c value = "force migration"; value 1052 lib/pengine/utils.c } else if (safe_str_eq(value, "stop")) { value 1055 lib/pengine/utils.c value = "stop resource"; value 1057 lib/pengine/utils.c } else if (safe_str_eq(value, "restart")) { value 1059 lib/pengine/utils.c value = "restart (and possibly migrate)"; value 1061 lib/pengine/utils.c } else if (safe_str_eq(value, "restart-container")) { value 1064 lib/pengine/utils.c value = "restart container (and possibly migrate)"; value 1067 lib/pengine/utils.c value = NULL; value 1071 lib/pengine/utils.c pe_err("Resource %s: Unknown failure type (%s)", action->rsc->id, value); value 1072 lib/pengine/utils.c value = NULL; value 1076 lib/pengine/utils.c if (value == NULL && container) { value 1078 lib/pengine/utils.c value = "restart container (and possibly migrate) (default)"; value 1089 lib/pengine/utils.c } else if (((value == NULL) || !is_set(action->rsc->flags, pe_rsc_managed)) && value 1097 lib/pengine/utils.c value = "stop unmanaged baremetal remote node (enforcing default)"; value 1101 lib/pengine/utils.c value = "fence baremetal remote node (default)"; value 1103 lib/pengine/utils.c value = "recover baremetal remote node connection (default)"; value 1112 lib/pengine/utils.c } else if (value == NULL && safe_str_eq(action->task, CRMD_ACTION_STOP)) { value 1115 lib/pengine/utils.c value = "resource fence (default)"; value 1119 lib/pengine/utils.c value = "resource block (default)"; value 1122 lib/pengine/utils.c } else if (value == NULL) { value 1124 lib/pengine/utils.c value = "restart (and possibly migrate) (default)"; value 1127 lib/pengine/utils.c pe_rsc_trace(action->rsc, "\t%s failure handling: %s", action->task, value); value 1129 lib/pengine/utils.c value = NULL; value 1131 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, "role_after_failure"); value 1133 lib/pengine/utils.c if (value != NULL && action->fail_role == RSC_ROLE_UNKNOWN) { value 1134 lib/pengine/utils.c action->fail_role = text2role(value); value 1148 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, XML_OP_ATTR_START_DELAY); value 1149 lib/pengine/utils.c if (value) { value 1150 lib/pengine/utils.c unpack_start_delay(value, action->meta); value 1152 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, XML_OP_ATTR_ORIGIN); value 1153 lib/pengine/utils.c unpack_interval_origin(value, action->meta, xml_obj, interval, data_set->now); value 1157 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, field); value 1158 lib/pengine/utils.c timeout = unpack_timeout(value, action, xml_obj, interval, data_set->config_hash); value 1174 lib/pengine/utils.c const char *value = NULL; value 1186 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); value 1187 lib/pengine/utils.c if (!include_disabled && value && crm_is_true(value) == FALSE) { value 1276 lib/pengine/utils.c print_str_str(gpointer key, gpointer value, gpointer user_data) value 1280 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); value 1329 lib/pengine/utils.c const char *value = NULL; value 1338 lib/pengine/utils.c value = g_hash_table_lookup(action->meta, XML_LRM_ATTR_INTERVAL); value 1339 lib/pengine/utils.c if (value == NULL) { value 1341 lib/pengine/utils.c } else if (safe_str_eq(value, "0")) { value 1693 lib/pengine/utils.c const char *value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_TARGET_ROLE); value 1697 lib/pengine/utils.c if (value == NULL || safe_str_eq("started", value) value 1698 lib/pengine/utils.c || safe_str_eq("default", value)) { value 1702 lib/pengine/utils.c local_role = text2role(value); value 1704 lib/pengine/utils.c crm_config_err("%s: Unknown value for %s: %s", rsc->id, XML_RSC_ATTR_TARGET_ROLE, value); value 1716 lib/pengine/utils.c rsc->id, XML_RSC_ATTR_TARGET_ROLE, value); value 1877 lib/pengine/utils.c char *value = NULL; value 1881 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { value 1882 lib/pengine/utils.c crm_xml_add(params, key, value); value 23 lib/services/dbus.c void (*callback)(const char *name, const char *value, void *userdata); value 309 lib/services/dbus.c DBusBasicValue value; value 331 lib/services/dbus.c dbus_message_iter_get_basic(&v, &value); value 333 lib/services/dbus.c crm_trace("Property %s[%s] is '%s'", data->object, name.str, value.str); value 335 lib/services/dbus.c data->callback(name.str, value.str, data->userdata); value 339 lib/services/dbus.c output = strdup(value.str); value 374 lib/services/dbus.c char *value = NULL; value 380 lib/services/dbus.c value = pcmk_dbus_lookup_result(reply, user_data); value 381 lib/services/dbus.c free(value); value 391 lib/services/dbus.c void (*callback)(const char *name, const char *value, void *userdata), value 39 lib/services/pcmk-dbus.h void (*callback)(const char *name, const char *value, void *userdata), void *userdata, value 320 lib/services/services.c char *value = NULL; value 325 lib/services/services.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value) && value 340 lib/services/services.c op->opaque->args[index + 1] = strdup(value); value 442 lib/services/services.c set_alert_env(gpointer key, gpointer value, gpointer user_data) value 446 lib/services/services.c if (value) { value 447 lib/services/services.c rc = setenv(key, value, 1); value 454 lib/services/services.c (char*)key, (value? (char*)value : "")); value 456 lib/services/services.c crm_trace("setenv %s=%s", (char*)key, (value? (char*)value : "")); value 461 lib/services/services.c unset_alert_env(gpointer key, gpointer value, gpointer user_data) value 977 lib/services/services.c lsb_meta_helper_get_value(const char *line, char **value, const char *prefix) value 979 lib/services/services.c if (!*value && crm_starts_with(line, prefix)) { value 980 lib/services/services.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); value 146 lib/services/services_linux.c set_ocf_env(const char *key, const char *value, gpointer user_data) value 148 lib/services/services_linux.c if (setenv(key, value, 1) != 0) { value 149 lib/services/services_linux.c crm_perror(LOG_ERR, "setenv failed for key:%s and value:%s", key, value); value 154 lib/services/services_linux.c set_ocf_env_with_prefix(gpointer key, gpointer value, gpointer user_data) value 159 lib/services/services_linux.c set_ocf_env(buffer, value, user_data); value 125 lib/services/systemd.c void (*callback)(const char *name, const char *value, void *userdata), value 397 lib/services/systemd.c DBusBasicValue value; value 413 lib/services/systemd.c dbus_message_iter_get_basic(&elem, &value); value 414 lib/services/systemd.c if (value.str == NULL) { value 418 lib/services/systemd.c crm_trace("DBus ListUnitFiles listed: %s", value.str); value 420 lib/services/systemd.c match = systemd_unit_extension(value.str); value 424 lib/services/systemd.c value.str); value 429 lib/services/systemd.c basename = strrchr(value.str, '/'); value 433 lib/services/systemd.c basename = value.str; value 449 lib/services/systemd.c value.str); value 197 lib/services/upstart.c DBusBasicValue value; value 205 lib/services/upstart.c dbus_message_iter_get_basic(&unit, &value); value 207 lib/services/upstart.c if(value.str) { value 209 lib/services/upstart.c path = value.str; value 210 lib/services/upstart.c job = value.str; value 278 lib/services/upstart.c DBusBasicValue value; value 280 lib/services/upstart.c dbus_message_iter_get_basic(&unit, &value); value 282 lib/services/upstart.c if(value.str) { value 283 lib/services/upstart.c instance = strdup(value.str); value 35 lib/transition/unpack.c const char *value = crm_element_value(xml_action, XML_ATTR_ID); value 37 lib/transition/unpack.c if (value == NULL) { value 50 lib/transition/unpack.c action->id = crm_parse_int(value, NULL); value 67 lib/transition/unpack.c value = g_hash_table_lookup(action->params, "CRM_meta_timeout"); value 68 lib/transition/unpack.c if (value != NULL) { value 69 lib/transition/unpack.c action->timeout = crm_parse_int(value, NULL); value 73 lib/transition/unpack.c value = g_hash_table_lookup(action->params, "CRM_meta_start_delay"); value 74 lib/transition/unpack.c if (value != NULL) { value 75 lib/transition/unpack.c action->timeout += crm_parse_int(value, NULL); value 78 lib/transition/unpack.c value = g_hash_table_lookup(action->params, "CRM_meta_interval"); value 79 lib/transition/unpack.c if (value != NULL) { value 80 lib/transition/unpack.c action->interval = crm_parse_int(value, NULL); value 83 lib/transition/unpack.c value = g_hash_table_lookup(action->params, "CRM_meta_can_fail"); value 84 lib/transition/unpack.c if (value != NULL) { value 85 lib/transition/unpack.c crm_str_to_boolean(value, &(action->can_fail)); value 96 lib/transition/unpack.c const char *value = NULL; value 107 lib/transition/unpack.c value = crm_element_value(xml_synapse, XML_CIB_ATTR_PRIORITY); value 108 lib/transition/unpack.c if (value != NULL) { value 109 lib/transition/unpack.c new_synapse->priority = crm_parse_int(value, NULL); value 303 lib/transition/unpack.c const char *value = NULL; value 328 lib/transition/unpack.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { value 329 lib/transition/unpack.c g_hash_table_insert(op->params, strdup(name), strdup(value)); value 65 lrmd/ipc_proxy.c gpointer value = NULL; value 68 lrmd/ipc_proxy.c if (g_hash_table_iter_next(&iter, &key, &value)) { value 69 lrmd/ipc_proxy.c return (crm_client_t*)value; value 395 lrmd/lrmd.c send_client_notify(gpointer key, gpointer value, gpointer user_data) value 398 lrmd/lrmd.c crm_client_t *client = value; value 532 lrmd/lrmd.c char *value = NULL; value 538 lrmd/lrmd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 539 lrmd/lrmd.c hash2smartfield((gpointer) key, (gpointer) value, args); value 1116 lrmd/lrmd.c char *value = NULL; value 1123 lrmd/lrmd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 1124 lrmd/lrmd.c device_params = stonith_key_value_add(device_params, key, value); value 144 lrmd/main.c const char *value = crm_element_value(request, F_LRMD_CLIENTNAME); value 146 lrmd/main.c if (value == NULL) { value 149 lrmd/main.c client->name = strdup(value); value 413 lrmd/test.c char *value = NULL; value 416 lrmd/test.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 417 lrmd/test.c options.params = lrmd_key_value_add(options.params, key, value); value 424 lrmd/test.c char *value = NULL; value 427 lrmd/test.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 430 lrmd/test.c options.params = lrmd_key_value_add(options.params, crm_name, value); value 105 lrmd/tls_backend.c const char *value = crm_element_value(request, F_LRMD_CLIENTNAME); value 107 lrmd/tls_backend.c if (value) { value 108 lrmd/tls_backend.c client->name = strdup(value); value 156 mcp/corosync.c hdb_handle_t object_handle, const char *key, char **value, const char *fallback) value 163 mcp/corosync.c if (*value) { value 164 mcp/corosync.c free(*value); value 165 mcp/corosync.c *value = NULL; value 170 mcp/corosync.c *value = strdup(buffer); value 174 mcp/corosync.c if (*value) { value 175 mcp/corosync.c crm_info("Found '%s' for option: %s", *value, key); value 183 mcp/corosync.c if (*value) { value 184 mcp/corosync.c crm_info("Found '%s' in ENV for option: %s", *value, key); value 185 mcp/corosync.c *value = strdup(env_value); value 191 mcp/corosync.c *value = strdup(fallback); value 238 mcp/corosync.c get_config_opt(uint64_t unused, cmap_handle_t object_handle, const char *key, char **value, value 243 mcp/corosync.c cs_repeat(retries, 5, rc = cmap_get_string(object_handle, key, value)); value 247 mcp/corosync.c *value = strdup(fallback); value 249 mcp/corosync.c *value = NULL; value 252 mcp/corosync.c crm_trace("%s: %s", key, *value); value 273 mcp/corosync.c char *value = NULL; value 341 mcp/corosync.c get_config_opt(config, local_handle, "name", &value, NULL); value 342 mcp/corosync.c if (safe_str_eq("pacemaker", value)) { value 343 mcp/corosync.c get_config_opt(config, local_handle, "ver", &value, "0"); value 344 mcp/corosync.c if (safe_str_eq(value, "1")) { value 345 mcp/corosync.c get_config_opt(config, local_handle, "use_logd", &value, "no"); value 346 mcp/corosync.c set_daemon_option("use_logd", value); value 347 mcp/corosync.c set_daemon_option("LOGD", value); value 349 mcp/corosync.c get_config_opt(config, local_handle, "use_mgmtd", &value, "no"); value 350 mcp/corosync.c enable_mgmtd(crm_is_true(value)); value 361 mcp/corosync.c free(value); value 161 pengine/allocate.c const char *value = NULL; value 171 pengine/allocate.c value = crm_element_value(rsc->xml, attr_list[attr_lpc]); value 173 pengine/allocate.c if (value == old_value /* i.e. NULL */ value 174 pengine/allocate.c || crm_str_eq(value, old_value, TRUE)) { value 184 pengine/allocate.c crm_str(old_value), crm_str(value)); value 771 pengine/allocate.c const char *value = (const char *)gValue; value 782 pengine/allocate.c score = char2score(value); value 2388 pengine/allocate.c const char *value = NULL; value 2395 pengine/allocate.c value = pe_pref(data_set->config_hash, "cluster-delay"); value 2396 pengine/allocate.c crm_xml_add(data_set->graph, "cluster-delay", value); value 2398 pengine/allocate.c value = pe_pref(data_set->config_hash, "stonith-timeout"); value 2399 pengine/allocate.c crm_xml_add(data_set->graph, "stonith-timeout", value); value 2409 pengine/allocate.c value = pe_pref(data_set->config_hash, "batch-limit"); value 2410 pengine/allocate.c crm_xml_add(data_set->graph, "batch-limit", value); value 2414 pengine/allocate.c value = pe_pref(data_set->config_hash, "migration-limit"); value 2415 pengine/allocate.c if (crm_int_helper(value, NULL) > 0) { value 2416 pengine/allocate.c crm_xml_add(data_set->graph, "migration-limit", value); value 655 pengine/constraints.c const char *value = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE); value 657 pengine/constraints.c if(value) { value 658 pengine/constraints.c resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, value); value 663 pengine/constraints.c value = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE_PATTERN); value 664 pengine/constraints.c if(value) { value 669 pengine/constraints.c if(value[0] == '!') { value 670 pengine/constraints.c value++; value 674 pengine/constraints.c if (regcomp(r_patt, value, REG_EXTENDED)) { value 675 pengine/constraints.c crm_config_err("Bad regex '%s' for constraint '%s'", value, id); value 707 pengine/constraints.c crm_debug("'%s' matched '%s' for %s", r->id, value, id); value 711 pengine/constraints.c crm_debug("'%s' is an inverted match of '%s' for %s", r->id, value, id); value 715 pengine/constraints.c crm_trace("'%s' does not match '%s' for %s", r->id, value, id); value 1203 pengine/graph.c const char *value = g_hash_table_lookup(action->rsc->meta, "external-ip"); value 1218 pengine/graph.c if(value) { value 1219 pengine/graph.c hash2smartfield((gpointer)"pcmk_external_ip", (gpointer)value, (gpointer)args_xml); value 95 pengine/group.c const char *value = NULL; value 121 pengine/group.c value = g_hash_table_lookup(rsc->meta, "stateful"); value 122 pengine/group.c if (crm_is_true(value)) { value 968 pengine/master.c const char *value = NULL; value 977 pengine/master.c value = pe_node_attribute_raw(other, attr); value 982 pengine/master.c if (safe_str_eq(value, tmp)) { value 200 pengine/native.c node_list_attr_score(GHashTable * list, const char *attr, const char *value) value 221 pengine/native.c if (safe_str_eq(value, tmp)) { value 230 pengine/native.c attr, value, best_node ? best_node : "<none>", best_score); value 592 pengine/native.c const char *value = NULL; value 599 pengine/native.c value = crm_element_value(operation, "name"); value 600 pengine/native.c if (safe_str_neq(value, name)) { value 604 pengine/native.c value = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); value 605 pengine/native.c if (value == NULL) { value 606 pengine/native.c value = "0"; value 609 pengine/native.c if (safe_str_neq(value, interval)) { value 634 pengine/native.c const char *value = NULL; value 644 pengine/native.c value = crm_element_value(operation, "role"); value 645 pengine/native.c if (value && text2role(value) == RSC_ROLE_STOPPED) { value 716 pengine/native.c if ((rsc->next_role == RSC_ROLE_MASTER && value == NULL) value 717 pengine/native.c || (value != NULL && text2role(value) != rsc->next_role)) { value 766 pengine/native.c result, key, value ? value : role2text(RSC_ROLE_SLAVE), value 1683 pengine/native.c const char *value = NULL; value 1697 pengine/native.c value = pe_node_attribute_raw(rsc_rh->allocated_to, attribute); value 1712 pengine/native.c if (do_check && safe_str_eq(tmp, value)) { value 3325 pengine/native.c char *value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_INCARNATION); value 3328 pengine/native.c if (value) { value 3332 pengine/native.c crm_xml_add(xml, name, value); value 3336 pengine/native.c value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_REMOTE_NODE); value 3337 pengine/native.c if (value) { value 3341 pengine/native.c crm_xml_add(xml, name, value); value 3387 pengine/native.c value = g_hash_table_lookup(last_parent->meta, XML_RSC_ATTR_INCARNATION); value 3388 pengine/native.c CRM_ASSERT(value != NULL); value 3390 pengine/native.c iso = crm_concat(crm_element_value(last_parent->xml, XML_ATTR_ID), value, '_'); value 3414 pengine/native.c value = g_hash_table_lookup(iso_parent->meta, XML_RSC_ATTR_INCARNATION); value 3415 pengine/native.c if (value) { value 3417 pengine/native.c iso = crm_concat(crm_element_value(iso_parent->xml, XML_ATTR_ID), value, '_'); value 231 pengine/notif.c dup_attr(gpointer key, gpointer value, gpointer user_data) value 233 pengine/notif.c add_hash_param(user_data, key, value); value 242 pengine/notif.c const char *value = NULL; value 261 pengine/notif.c value = g_hash_table_lookup(op->meta, "notify_type"); value 264 pengine/notif.c pe_rsc_trace(rsc, "Creating notify actions for %s: %s (%s-%s)", op->uuid, rsc->id, value, task); value 266 pengine/notif.c key = generate_notify_key(rsc->id, value, task); value 93 pengine/pengine.c const char *value = NULL; value 133 pengine/pengine.c value = pe_pref(data_set.config_hash, series[series_id].param); value 135 pengine/pengine.c if (value != NULL) { value 136 pengine/pengine.c series_wrap = crm_int_helper(value, NULL); value 148 pengine/pengine.c series[series_id].name, series_wrap, seq, value); value 40 pengine/utilization.c do_compare_capacity1(gpointer key, gpointer value, gpointer user_data) value 46 pengine/utilization.c node1_capacity = crm_parse_int(value, "0"); value 58 pengine/utilization.c do_compare_capacity2(gpointer key, gpointer value, gpointer user_data) value 69 pengine/utilization.c node2_capacity = crm_parse_int(value, "0"); value 102 pengine/utilization.c do_calculate_utilization(gpointer key, gpointer value, gpointer user_data) value 110 pengine/utilization.c result = crm_itoa(crm_parse_int(current, "0") + crm_parse_int(value, "0")); value 114 pengine/utilization.c result = crm_itoa(crm_parse_int(current, "0") - crm_parse_int(value, "0")); value 142 pengine/utilization.c check_capacity(gpointer key, gpointer value, gpointer user_data) value 148 pengine/utilization.c required = crm_parse_int(value, "0"); value 29 replace/setenv.c setenv(const char *name, const char *value, int why) value 33 replace/setenv.c if (name && value) { value 36 replace/setenv.c envp = malloc(strlen(name) + strlen(value) + 2); value 43 replace/setenv.c sprintf(envp, "%s=%s", name, value); value 60 tools/cibadmin.c char *value; value 936 tools/crm_mon.c print_nvpair(FILE *stream, const char *name, const char *value, value 957 tools/crm_mon.c if (value) { value 961 tools/crm_mon.c print_as("%s%s", value, (units? units : "")); value 966 tools/crm_mon.c fprintf(stream, "%s%s", value, (units? units : "")); value 970 tools/crm_mon.c fprintf(stream, "\"%s%s\"", value, (units? units : "")); value 1415 tools/crm_mon.c const char *value = NULL; value 1448 tools/crm_mon.c value = crm_element_value(xml_op, attr); value 1449 tools/crm_mon.c if (value) { value 1450 tools/crm_mon.c int_value = crm_parse_int(value, NULL); value 1457 tools/crm_mon.c value = crm_element_value(xml_op, attr); value 1458 tools/crm_mon.c if (value) { value 1459 tools/crm_mon.c int_value = crm_parse_int(value, NULL); value 1466 tools/crm_mon.c value = crm_element_value(xml_op, attr); value 1467 tools/crm_mon.c if (value) { value 1468 tools/crm_mon.c print_nvpair(stream, attr, value, "ms", 0); value 1472 tools/crm_mon.c value = crm_element_value(xml_op, attr); value 1473 tools/crm_mon.c if (value) { value 1474 tools/crm_mon.c print_nvpair(stream, attr, value, "ms", 0); value 1645 tools/crm_mon.c int value = crm_parse_int(attrvalue, "0"); value 1661 tools/crm_mon.c if (value <= 0) { value 1663 tools/crm_mon.c } else if (value < expected_score) { value 1670 tools/crm_mon.c if (value <= 0) { value 1672 tools/crm_mon.c } else if (value < expected_score) { value 1703 tools/crm_mon.c create_attr_list(gpointer name, gpointer value, gpointer data) value 1729 tools/crm_mon.c const char *value = NULL; value 1732 tools/crm_mon.c value = pe_node_attribute_raw(data->node, name); value 1738 tools/crm_mon.c print_as(" + %-32s\t: %-10s", (char *)name, value); value 1744 tools/crm_mon.c (char *)name, value); value 1750 tools/crm_mon.c (char *)name, value); value 1759 tools/crm_mon.c name, value); value 1836 tools/crm_mon.c print_ticket(gpointer name, gpointer value, gpointer data) value 1838 tools/crm_mon.c ticket_t *ticket = (ticket_t *) value; value 3335 tools/crm_mon.c # define add_snmp_field(list, oid_string, value) do { \ value 3339 tools/crm_mon.c int s_rc = snmp_add_var(list, name, name_length, 's', (value)); \ value 3341 tools/crm_mon.c crm_err("Could not add %s=%s rc=%d", oid_string, value, s_rc); \ value 3343 tools/crm_mon.c crm_trace("Added %s=%s", oid_string, value); \ value 3350 tools/crm_mon.c # define add_snmp_field_int(list, oid_string, value) do { \ value 3356 tools/crm_mon.c (u_char *) & value, sizeof(value))) { \ value 3357 tools/crm_mon.c crm_err("Could not add %s=%d", oid_string, value); \ value 3359 tools/crm_mon.c crm_trace("Added %s=%d", oid_string, value); \ value 680 tools/crm_node.c crm_add_member(gpointer key, gpointer value, gpointer user_data) value 683 tools/crm_node.c crm_node_t *node = value; value 763 tools/crm_resource.c char *value = calloc(1, strlen(argv[optind])); value 764 tools/crm_resource.c int rc = sscanf(argv[optind], "%[^=]=%s", name, value); value 767 tools/crm_resource.c g_hash_table_replace(override_params, name, value); value 771 tools/crm_resource.c free(value); value 82 tools/crm_resource_print.c const char *value = crm_element_value(op, "requires"); value 84 tools/crm_resource_print.c if (safe_str_eq(value, "nothing")) { value 320 tools/crm_resource_print.c const char *value = NULL; value 346 tools/crm_resource_print.c value = g_hash_table_lookup(params, attr); value 347 tools/crm_resource_print.c if (value != NULL) { value 348 tools/crm_resource_print.c fprintf(stdout, "%s\n", value); value 363 tools/crm_resource_print.c const char *value = crm_element_value(rsc->xml, attr); value 365 tools/crm_resource_print.c if (value != NULL) { value 366 tools/crm_resource_print.c fprintf(stdout, "%s\n", value); value 92 tools/crm_resource_runtime.c const char *set_name, const char *attr_id, const char *attr_name, char **value) value 99 tools/crm_resource_runtime.c if(value) { value 100 tools/crm_resource_runtime.c *value = NULL; value 153 tools/crm_resource_runtime.c } else if(value) { value 157 tools/crm_resource_runtime.c *value = strdup(tmp); value 288 tools/crm_resource_runtime.c const char *value = NULL; value 294 tools/crm_resource_runtime.c value = crm_element_value(cib_top, "ignore_dtd"); value 295 tools/crm_resource_runtime.c if (value != NULL) { value 299 tools/crm_resource_runtime.c value = crm_element_value(cib_top, XML_ATTR_VALIDATION); value 300 tools/crm_resource_runtime.c if (crm_ends_with_ext(value, "-0.6")) { value 455 tools/crm_resource_runtime.c const char *value = NULL; value 505 tools/crm_resource_runtime.c value = crm_copy_xml_element(rsc->xml, xml_rsc, XML_ATTR_TYPE); value 506 tools/crm_resource_runtime.c if (value == NULL) { value 511 tools/crm_resource_runtime.c value = crm_copy_xml_element(rsc->xml, xml_rsc, XML_AGENT_ATTR_CLASS); value 512 tools/crm_resource_runtime.c if (value == NULL) { value 753 tools/crm_resource_runtime.c char *value = NULL; value 756 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 757 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); value 764 tools/crm_resource_runtime.c char *value = NULL; value 767 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { value 770 tools/crm_resource_runtime.c g_hash_table_insert(combined, crm_name, strdup(value)); value 1028 tools/crm_resource_runtime.c const char *value = g_hash_table_lookup(stop->meta, XML_ATTR_TIMEOUT); value 1030 tools/crm_resource_runtime.c max_delay = crm_int_helper(value, NULL); value 1553 tools/crm_resource_runtime.c char *value = NULL; value 1556 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & name, (gpointer *) & value)) { value 1558 tools/crm_resource_runtime.c rsc->id, name, value); value 1559 tools/crm_resource_runtime.c g_hash_table_replace(op->params, strdup(name), strdup(value)); value 62 tools/crm_simulate.c int value = 0; value 65 tools/crm_simulate.c crm_element_value_int(data_set->input, "execution-date", &value); value 66 tools/crm_simulate.c original_date = value; value 105 tools/crm_ticket.c const char *value = NULL; value 111 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { value 118 tools/crm_ticket.c print_date(crm_parse_int(value, 0)); value 120 tools/crm_ticket.c fprintf(stdout, "%s", value); value 285 tools/crm_ticket.c const char *attr_name, char **value) value 293 tools/crm_ticket.c CRM_ASSERT(value != NULL); value 294 tools/crm_ticket.c *value = NULL; value 355 tools/crm_ticket.c *value = strdup(tmp); value 476 tools/crm_ticket.c const char *value = NULL; value 483 tools/crm_ticket.c if (g_hash_table_lookup_extended(attr_set, "granted", NULL, (gpointer *) & value)) { value 484 tools/crm_ticket.c if (crm_is_true(value)) { value 519 tools/crm_ticket.c char *value = NULL; value 558 tools/crm_ticket.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) & key, (gpointer *) & value)) { value 559 tools/crm_ticket.c crm_xml_add(ticket_state_xml, key, value); value 563 tools/crm_ticket.c && crm_is_true(value)) { value 589 tools/crm_ticket.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) & key, (gpointer *) & value)) { value 909 tools/crm_ticket.c const char *value = NULL; value 917 tools/crm_ticket.c rc = get_ticket_state_attr(ticket_id, get_attr_name, &value, &data_set); value 919 tools/crm_ticket.c fprintf(stdout, "%s\n", value); value 63 tools/fake_transition.c inject_transient_attr(xmlNode * cib_node, const char *name, const char *value) value 72 tools/fake_transition.c name, value, node_path, ID(cib_node)); value 87 tools/fake_transition.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); value 81 tools/ipmiservicelogd.c unsigned int raw_value, double value, void *cb_data, value 352 tools/ipmiservicelogd.c double value, void *cb_data, ipmi_event_t * event)