key 526 attrd/legacy.c update_for_hash_entry(gpointer key, gpointer value, gpointer user_data) key 536 attrd/legacy.c local_update_for_hash_entry(gpointer key, gpointer value, gpointer user_data) key 921 attrd/legacy.c const char *key = crm_element_value(msg, F_ATTRD_KEY); key 923 attrd/legacy.c if (key) { key 924 attrd/legacy.c hash_entry->uuid = strdup(key); key 1615 cib/callbacks.c disconnect_remote_client(gpointer key, gpointer value, gpointer user_data) key 110 cib/main.c log_cib_client(gpointer key, gpointer value, gpointer user_data) key 55 cib/notify.c need_pre_notify(gpointer key, gpointer value, gpointer user_data) key 67 cib/notify.c need_post_notify(gpointer key, gpointer value, gpointer user_data) key 79 cib/notify.c cib_notify_send_one(gpointer key, gpointer value, gpointer user_data) key 242 crmd/control.c void log_connected_client(gpointer key, gpointer value, gpointer user_data); key 245 crmd/control.c log_connected_client(gpointer key, gpointer value, gpointer user_data) key 179 crmd/crmd_metadata.c char *key = NULL; key 186 crmd/crmd_metadata.c key = crm_generate_ra_key(rsc->class, rsc->provider, rsc->type); key 187 crmd/crmd_metadata.c if (!key) { key 245 crmd/crmd_metadata.c g_hash_table_replace(mdc, key, md); key 250 crmd/crmd_metadata.c free(key); key 259 crmd/crmd_metadata.c char *key = NULL; key 263 crmd/crmd_metadata.c key = crm_generate_ra_key(rsc->class, rsc->provider, rsc->type); key 264 crmd/crmd_metadata.c if (key) { key 265 crmd/crmd_metadata.c metadata = g_hash_table_lookup(mdc, key); key 266 crmd/crmd_metadata.c free(key); key 84 crmd/fsa.c void ghash_print_node(gpointer key, gpointer value, gpointer user_data); key 670 crmd/fsa.c ghash_print_node(gpointer key, gpointer value, gpointer user_data) key 673 crmd/fsa.c const char *uname = key; key 35 crmd/join_dc.c void finalize_join_for(gpointer key, gpointer value, gpointer user_data); key 134 crmd/join_dc.c join_make_offer(gpointer key, gpointer value, gpointer user_data) key 574 crmd/join_dc.c finalize_join_for(gpointer key, gpointer value, gpointer user_data) key 626 crmd/join_dc.c void ghash_print_node(gpointer key, gpointer value, gpointer user_data); key 52 crmd/lrm.c static gboolean stop_recurring_actions(gpointer key, gpointer value, gpointer user_data); key 95 crmd/lrm.c copy_instance_keys(gpointer key, gpointer value, gpointer user_data) key 97 crmd/lrm.c if (strstr(key, CRM_META "_") == NULL) { key 98 crmd/lrm.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); key 103 crmd/lrm.c copy_meta_keys(gpointer key, gpointer value, gpointer user_data) key 105 crmd/lrm.c if (strstr(key, CRM_META "_") != NULL) { key 106 crmd/lrm.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); key 413 crmd/lrm.c const char *key = NULL; key 454 crmd/lrm.c while (g_hash_table_iter_next(&gIter, (gpointer*)&key, (gpointer*)&pending)) { key 455 crmd/lrm.c do_crm_log(log_level, "Pending action: %s (%s)", key, pending->op_key); key 490 crmd/lrm.c while (g_hash_table_iter_next(&hIter, (gpointer*)&key, (gpointer*)&pending)) { key 494 crmd/lrm.c key, pending->op_key, when); key 917 crmd/lrm.c lrm_remove_deleted_rsc(gpointer key, gpointer value, gpointer user_data) key 930 crmd/lrm.c lrm_remove_deleted_op(gpointer key, gpointer value, gpointer user_data) key 1071 crmd/lrm.c const char *key, const char *orig_op, int call_id) key 1075 crmd/lrm.c CRM_CHECK((rsc_id != NULL) && (key != NULL), return); key 1079 crmd/lrm.c lrm_state->node_name, rsc_id, key, key 1084 crmd/lrm.c lrm_state->node_name, rsc_id, key, key 1088 crmd/lrm.c lrm_state->node_name, rsc_id, key); key 1092 crmd/lrm.c key, rsc_id, call_id); key 1160 crmd/lrm.c cancel_op(lrm_state_t * lrm_state, const char *rsc_id, const char *key, int op, gboolean remove) key 1168 crmd/lrm.c if (key == NULL) { key 1170 crmd/lrm.c key = local_key; key 1172 crmd/lrm.c pending = g_hash_table_lookup(lrm_state->pending_ops, key); key 1177 crmd/lrm.c crm_debug("Scheduling %s for removal", key); key 1181 crmd/lrm.c crm_debug("Operation %s already cancelled", key); key 1189 crmd/lrm.c crm_info("No pending op found for %s", key); key 1194 crmd/lrm.c crm_debug("Cancelling op %d for %s (%s)", op, rsc_id, key); key 1197 crmd/lrm.c crm_debug("Op %d for %s (%s): cancelled", op, rsc_id, key); key 1202 crmd/lrm.c crm_debug("Op %d for %s (%s): Nothing to cancel", op, rsc_id, key); key 1219 crmd/lrm.c const char *key; key 1225 crmd/lrm.c cancel_action_by_key(gpointer key, gpointer value, gpointer user_data) key 1231 crmd/lrm.c if (crm_str_eq(op->op_key, data->key, TRUE)) { key 1233 crmd/lrm.c remove = !cancel_op(data->lrm_state, data->rsc->id, key, op->call_id, data->remove); key 1239 crmd/lrm.c cancel_op_key(lrm_state_t * lrm_state, lrmd_rsc_info_t * rsc, const char *key, gboolean remove) key 1245 crmd/lrm.c CRM_CHECK(key != NULL, return FALSE); key 1247 crmd/lrm.c data.key = key; key 1865 crmd/lrm.c char *key = NULL; key 1872 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1874 crmd/lrm.c g_hash_table_replace(params, key, value); key 1877 crmd/lrm.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); key 1884 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1885 crmd/lrm.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); key 1887 crmd/lrm.c if (safe_str_eq(key, XML_ATTR_TIMEOUT)) { key 1889 crmd/lrm.c } else if (safe_str_eq(key, XML_OP_ATTR_START_DELAY)) { key 1898 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1900 crmd/lrm.c g_hash_table_replace(params, key, value); key 2032 crmd/lrm.c stop_recurring_action_by_rsc(gpointer key, gpointer value, gpointer user_data) key 2039 crmd/lrm.c crm_debug("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, (char*)key); key 2040 crmd/lrm.c remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE); key 2047 crmd/lrm.c stop_recurring_actions(gpointer key, gpointer value, gpointer user_data) key 2054 crmd/lrm.c crm_info("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, key); key 2055 crmd/lrm.c remove = !cancel_op(lrm_state, op->rsc_id, key, op->call_id, FALSE); key 2196 crmd/lrm.c char *key = NULL; key 2201 crmd/lrm.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 2202 crmd/lrm.c params = lrmd_key_value_add(params, key, value); key 74 crmd/lrm_state.c fail_pending_op(gpointer key, gpointer value, gpointer user_data) key 82 crmd/lrm_state.c lrm_state->node_name, (char*)key, op->user_data); key 161 crmd/lrm_state.c remote_proxy_remove_by_node(gpointer key, gpointer value, gpointer user_data) key 47 crmd/membership.c reap_dead_nodes(gpointer key, gpointer value, gpointer user_data) key 3 crmd/membership.h void reap_dead_ccm_nodes(gpointer key, gpointer value, gpointer user_data); key 385 crmd/remote_lrmd_ra.c g_hash_table_insert(op.params, strdup(tmp->key), strdup(tmp->value)); key 727 crmd/remote_lrmd_ra.c if (safe_str_eq(tmp->key, "addr") || safe_str_eq(tmp->key, "server")) { key 730 crmd/remote_lrmd_ra.c if (safe_str_eq(tmp->key, "port")) { key 470 crmd/te_callbacks.c char *key, *node_uuid; key 473 crmd/te_callbacks.c key = strrchr(mutable_key, '\''); key 474 crmd/te_callbacks.c if (key != NULL) { key 475 crmd/te_callbacks.c *key = '\0'; key 476 crmd/te_callbacks.c key = strrchr(mutable_key, '\''); key 478 crmd/te_callbacks.c if (key == NULL) { key 483 crmd/te_callbacks.c ++key; key 486 crmd/te_callbacks.c cancel = get_cancel_action(key, node_uuid); key 491 crmd/te_callbacks.c crm_info("Cancellation of %s on %s confirmed (%d)", key, node_uuid, cancel->id); key 642 crmd/te_callbacks.c const char *key = NULL; key 651 crmd/te_callbacks.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 653 crmd/te_callbacks.c target = (const char*)key; key 693 crmd/te_callbacks.c const char *key = NULL; key 697 crmd/te_callbacks.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, key 527 fencing/admin.c char *key = crm_concat("OCF_RESKEY", optarg, '_'); key 528 fencing/admin.c const char *env = getenv(key); key 537 fencing/admin.c free(key); key 830 fencing/commands.c char *key = crm_strdup_printf("pcmk_%s_action", action); key 832 fencing/commands.c if (g_hash_table_lookup(params, key)) { key 834 fencing/commands.c STONITH_ATTR_ACTION_OP, value, key); key 835 fencing/commands.c free(key); key 838 fencing/commands.c STONITH_ATTR_ACTION_OP, value, key, value); key 839 fencing/commands.c g_hash_table_insert(params, key, strdup(value)); key 1095 fencing/commands.c char *key = NULL; key 1100 fencing/commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&value)) { key 1102 fencing/commands.c if(strstr(key, "CRM_meta") == key) { key 1104 fencing/commands.c } else if(strcmp(key, "crm_feature_set") == 0) { key 1107 fencing/commands.c char *other_value = g_hash_table_lookup(second, key); key 1110 fencing/commands.c crm_trace("Different value for %s: %s != %s", key, other_value, value); key 1665 fencing/commands.c search_devices(gpointer key, gpointer value, gpointer user_data) key 1681 fencing/commands.c char *key = NULL; key 1698 fencing/commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&device)) { key 17 fencing/config.y static void add_line_value(char *key, char *val); key 151 fencing/config.y add_line_value(char *key, char *val) key 154 fencing/config.y line_val.keys[line_val.val_count] = key; key 315 fencing/main.c stonith_notify_client(gpointer key, gpointer value, gpointer user_data) key 479 fencing/main.c char *key = stonith_level_key(match, -1); key 482 fencing/main.c topology_remove_helper(key, index); key 483 fencing/main.c free(key); key 129 fencing/remote.c count_peer_device(gpointer key, gpointer value, gpointer user_data) key 1259 fencing/remote.c add_device_timeout(gpointer key, gpointer value, gpointer user_data) key 1261 fencing/remote.c const char *device_id = key; key 35 fencing/standalone_config.c char *key; key 122 fencing/standalone_config.c standalone_cfg_add_device_options(const char *device, const char *key, const char *value) key 126 fencing/standalone_config.c if (!device || !key || !value) { key 130 fencing/standalone_config.c device, key, value); key 136 fencing/standalone_config.c dev->key_vals[dev->key_vals_count].key = strdup(key); key 253 fencing/standalone_config.c free(dev->key_vals[i].key); key 307 fencing/standalone_config.c params stonith_key_value_add(params, dev->key_vals[i].key, dev->key_vals[i].val); key 61 fencing/standalone_config.h int standalone_cfg_add_device_options(const char *device, const char *key, const char *value); key 470 include/crm/cluster/internal.h gboolean node_name_is_valid(const char *key, const char *name); key 111 include/crm/common/ipcs.h crm_client_t *crm_client_alloc(void *key); key 122 include/crm/common/util.h gboolean parse_op_key(const char *key, char **rsc_id, char **op_type, key 124 include/crm/common/util.h gboolean decode_transition_key(const char *key, char **uuid, int *action, key 61 include/crm/common/xml.h void hash2nvpair(gpointer key, gpointer value, gpointer user_data); key 62 include/crm/common/xml.h void hash2field(gpointer key, gpointer value, gpointer user_data); key 63 include/crm/common/xml.h void hash2metafield(gpointer key, gpointer value, gpointer user_data); key 64 include/crm/common/xml.h void hash2smartfield(gpointer key, gpointer value, gpointer user_data); key 33 include/crm/lrmd.h char *key; key 174 include/crm/lrmd.h lrmd_key_value_t *lrmd_key_value_add(lrmd_key_value_t * kvp, const char *key, const char *value); key 61 include/crm/pengine/internal.h void append_hashtable(gpointer key, gpointer value, gpointer user_data); key 135 include/crm/pengine/internal.h pe_hash_table_lookup(GHashTable * hash, gconstpointer key) key 138 include/crm/pengine/internal.h return g_hash_table_lookup(hash, key); key 175 include/crm/pengine/internal.h extern xmlNode *find_rsc_op_entry(resource_t * rsc, const char *key); key 177 include/crm/pengine/internal.h extern action_t *custom_action(resource_t * rsc, char *key, const char *task, node_t * on_node, key 234 include/crm/pengine/internal.h extern GListPtr find_actions(GListPtr input, const char *key, const node_t *on_node); key 235 include/crm/pengine/internal.h extern GListPtr find_actions_exact(GListPtr input, const char *key, node_t * on_node); key 75 include/crm/stonith-ng.h char *key; key 384 include/crm/stonith-ng.h stonith_key_value_t *stonith_key_value_add(stonith_key_value_t * kvp, const char *key, key 84 include/portability.h gpointer key; key 89 include/portability.h g_hash_prepend_value(gpointer key, gpointer value, gpointer user_data) key 110 include/portability.h g_hash_table_nth_data(gpointer key, gpointer value, gpointer user_data) key 115 include/portability.h iter->key = key; key 128 include/portability.h iter->key = NULL; key 133 include/portability.h g_hash_table_iter_next(GHashTableIter * iter, gpointer * key, gpointer * value) key 138 include/portability.h iter->key = NULL; key 144 include/portability.h if (key) key 145 include/portability.h *key = iter->key; key 154 include/portability.h g_hash_table_remove(iter->hash, iter->key); key 706 lib/ais/plugin.c ais_mark_unseen_peer_dead(gpointer key, gpointer value, gpointer user_data) key 1157 lib/ais/plugin.c member_vote_count_fn(gpointer key, gpointer value, gpointer user_data) key 1167 lib/ais/plugin.c member_loop_fn(gpointer key, gpointer value, gpointer user_data) key 1334 lib/ais/plugin.c ghash_send_update(gpointer key, gpointer value, gpointer data) key 1434 lib/ais/plugin.c deliver_transient_msg(gpointer key, gpointer value, gpointer user_data) key 1440 lib/ais/plugin.c int rc = send_client_ipc(key, mutable); key 1672 lib/ais/plugin.c ghash_send_removal(gpointer key, gpointer value, gpointer data) key 1711 lib/ais/plugin.c gpointer key = 0; key 1717 lib/ais/plugin.c while (g_hash_table_iter_next(&iter, &key, (void **)&node)) { key 1719 lib/ais/plugin.c uint32_t node_id = GPOINTER_TO_UINT(key); key 1767 lib/ais/plugin.c member_dump_fn(gpointer key, gpointer value, gpointer user_data) key 661 lib/ais/utils.c hdb_handle_t object_service_handle, char *key, char **value, const char *fallback) key 668 lib/ais/utils.c config->object_key_get(object_service_handle, key, strlen(key), (void **)value, NULL); key 672 lib/ais/utils.c ais_info("Found '%s' for option: %s", *value, key); key 676 lib/ais/utils.c env_key = ais_concat("HA", key, '_'); key 681 lib/ais/utils.c ais_info("Found '%s' in ENV for option: %s", *value, key); key 686 lib/ais/utils.c ais_info("Defaulting to '%s' for option: %s", fallback, key); key 690 lib/ais/utils.c ais_info("No default for option: %s", key); key 89 lib/ais/utils.h extern void member_loop_fn(gpointer key, gpointer value, gpointer user_data); key 112 lib/ais/utils.h char *key, char **value, const char *fallback); key 673 lib/cib/cib_client.c cib_dump_pending_op(gpointer key, gpointer value, gpointer user_data) key 675 lib/cib/cib_client.c int call = GPOINTER_TO_INT(key); key 651 lib/cluster/cluster.c node_name_is_valid(const char *key, const char *name) key 656 lib/cluster/cluster.c crm_trace("%s is empty", key); key 660 lib/cluster/cluster.c crm_trace("%s contains an ipv4 address, ignoring: %s", key, name); key 664 lib/cluster/cluster.c crm_trace("%s contains an ipv6 address, ignoring: %s", key, name); key 667 lib/cluster/cluster.c crm_trace("%s is valid", key); key 92 lib/cluster/corosync.c char *key = NULL; key 94 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); key 95 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &id); key 96 lib/cluster/corosync.c crm_trace("Checking %u vs %u from %s", nodeid, id, key); key 97 lib/cluster/corosync.c free(key); key 106 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.ring0_addr", lpc); key 107 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); key 108 lib/cluster/corosync.c crm_trace("%s = %s", key, name); key 110 lib/cluster/corosync.c if (node_name_is_valid(key, name) == FALSE) { key 114 lib/cluster/corosync.c free(key); key 118 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.name", lpc); key 119 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); key 120 lib/cluster/corosync.c crm_trace("%s = %s %d", key, name, rc); key 121 lib/cluster/corosync.c free(key); key 515 lib/cluster/corosync.c char *key = NULL; key 517 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); key 518 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &nodeid); key 519 lib/cluster/corosync.c free(key); key 273 lib/cluster/election.c char *key = NULL; key 283 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, (gpointer *) & key, NULL)) { key 284 lib/cluster/election.c crm_err("voted: %s", key); key 795 lib/cluster/legacy.c hdb_handle_t object_handle, const char *key, char **value, const char *fallback) key 808 lib/cluster/legacy.c if (CS_OK == confdb_key_get(config, object_handle, key, strlen(key), &buffer, &len)) { key 814 lib/cluster/legacy.c crm_info("Found '%s' for option: %s", *value, key); key 818 lib/cluster/legacy.c env_key = crm_concat("HA", key, '_'); key 823 lib/cluster/legacy.c crm_info("Found '%s' in ENV for option: %s", *value, key); key 829 lib/cluster/legacy.c crm_info("Defaulting to '%s' for option: %s", fallback, key); key 833 lib/cluster/legacy.c crm_info("No default for option: %s", key); key 224 lib/cluster/membership.c mark_dirty(gpointer key, gpointer value, gpointer user_data) key 230 lib/cluster/membership.c is_dirty(gpointer key, gpointer value, gpointer user_data) key 321 lib/cluster/membership.c crm_reap_dead_member(gpointer key, gpointer value, gpointer user_data) key 382 lib/cluster/membership.c crm_count_peer(gpointer key, gpointer value, gpointer user_data) key 493 lib/cluster/membership.c static gboolean crm_hash_find_by_data(gpointer key, gpointer value, gpointer user_data) key 141 lib/common/alerts.c const char **key; key 145 lib/common/alerts.c for(key = crm_alert_keys[name]; *key; key++) { key 146 lib/common/alerts.c crm_trace("Unsetting alert key %s", *key); key 147 lib/common/alerts.c unsetenv(*key); key 156 lib/common/alerts.c for (const char **key = crm_alert_keys[name]; *key; key++) { key 157 lib/common/alerts.c crm_trace("Inserting alert key %s = '%s'", *key, value); key 159 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), strdup(value)); key 161 lib/common/alerts.c g_hash_table_remove(table, *key); key 170 lib/common/alerts.c for (const char **key = crm_alert_keys[name]; *key; key++) { key 171 lib/common/alerts.c crm_trace("Inserting alert key %s = %d", *key, value); key 172 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), crm_itoa(value)); key 177 lib/common/alerts.c set_envvar(gpointer key, gpointer value, gpointer user_data) key 183 lib/common/alerts.c (char*)key, (value? (char*)value : "")); key 185 lib/common/alerts.c setenv(key, value, 1); key 187 lib/common/alerts.c unsetenv(key); key 29 lib/common/cib_secrets.c static void add_secret_params(gpointer key, gpointer value, gpointer user_data); key 105 lib/common/cib_secrets.c char *key, *pvalue, *secret_value; key 139 lib/common/cib_secrets.c key = (char *)(l->data); key 140 lib/common/cib_secrets.c pvalue = g_hash_table_lookup(params, key); key 142 lib/common/cib_secrets.c crm_err("odd, no parameter %s for rsc %s found now", key, rsc_id); key 146 lib/common/cib_secrets.c if ((strlen(key) + strlen(local_file)) >= FILENAME_MAX-2) { key 147 lib/common/cib_secrets.c crm_err("%d: parameter name %s too big", key); key 152 lib/common/cib_secrets.c strcpy(start_pname, key); key 157 lib/common/cib_secrets.c "will try "LRM_LEGACY_CIBSECRETS_DIR, rsc_id, key, dir_prefix); key 161 lib/common/cib_secrets.c rsc_id, key, dir_prefix); key 180 lib/common/cib_secrets.c "cannot be read from %s", rsc_id, key, hash_file); key 187 lib/common/cib_secrets.c "does not match", rsc_id, key); key 195 lib/common/cib_secrets.c g_hash_table_replace(params, strdup(key), secret_value); key 202 lib/common/cib_secrets.c add_secret_params(gpointer key, gpointer value, gpointer user_data) key 207 lib/common/cib_secrets.c *lp = g_list_append(*lp, (char *)key); key 220 lib/common/ipc.c gpointer key; key 226 lib/common/ipc.c while (g_hash_table_iter_next(&iter, &key, (gpointer *) & client)) { key 304 lib/common/ipc.c crm_client_alloc(void *key) key 310 lib/common/ipc.c g_hash_table_insert(client_connections, (key? key : client->id), client); key 516 lib/common/logging.c char *key = crm_strdup_printf("%s:%d", cs->function, cs->lineno); key 518 lib/common/logging.c if (strstr(trace_blackbox, key) != NULL) { key 521 lib/common/logging.c free(key); key 46 lib/common/operations.c parse_op_key(const char *key, char **rsc_id, char **op_type, int *interval) key 53 lib/common/operations.c CRM_CHECK(key != NULL, return FALSE); key 56 lib/common/operations.c len = strlen(key); key 59 lib/common/operations.c crm_trace("Source: %s", key); key 61 lib/common/operations.c while (offset > 0 && isdigit(key[offset])) { key 64 lib/common/operations.c ch = key[offset] - '0'; key 76 lib/common/operations.c CRM_CHECK(key[offset] == '_', return FALSE); key 78 lib/common/operations.c mutable_key = strdup(key); key 82 lib/common/operations.c while (offset > 0 && key[offset] != '_') { key 86 lib/common/operations.c CRM_CHECK(key[offset] == '_', free(mutable_key); key 178 lib/common/operations.c char *key = NULL; key 185 lib/common/operations.c key = calloc(1, strlen(magic) + 1); key 186 lib/common/operations.c res = sscanf(magic, "%d:%d;%s", op_status, op_rc, key); key 189 lib/common/operations.c free(key); key 193 lib/common/operations.c CRM_CHECK(decode_transition_key(key, uuid, transition_id, action_id, target_rc), result = FALSE); key 195 lib/common/operations.c free(key); key 217 lib/common/operations.c decode_transition_key(const char *key, char **uuid, int *transition_id, int *action_id, key 229 lib/common/operations.c res = sscanf(key, "%d:%d:%d:%36s", action_id, transition_id, target_rc, *uuid); key 242 lib/common/operations.c res = sscanf(key, "%d:%d:%36s", action_id, transition_id, *uuid); key 245 lib/common/operations.c res = sscanf(key, "%d:%36s", transition_id, *uuid); key 258 lib/common/operations.c res = sscanf(key, "%d:%36s", transition_id, *uuid); key 262 lib/common/operations.c crm_crit("Unhandled sscanf result (%d) for %s", res, key); key 266 lib/common/operations.c crm_warn("Bad UUID (%s) in sscanf result (%d) for %s", *uuid, res, key); key 270 lib/common/operations.c crm_err("Cannot decode '%s' rc=%d", key, res); key 285 lib/common/operations.c char *key = NULL; key 314 lib/common/operations.c key = crm_meta_name(XML_LRM_ATTR_INTERVAL); key 315 lib/common/operations.c interval = crm_element_value_copy(param_set, key); key 316 lib/common/operations.c free(key); key 318 lib/common/operations.c key = crm_meta_name(XML_ATTR_TIMEOUT); key 319 lib/common/operations.c timeout = crm_element_value_copy(param_set, key); key 342 lib/common/operations.c crm_xml_add(param_set, key, timeout); key 348 lib/common/operations.c free(key); key 460 lib/common/operations.c char *key = NULL; key 504 lib/common/operations.c key = generate_op_key(op->rsc_id, task, op->interval); key 506 lib/common/operations.c op_id = strdup(key); key 529 lib/common/operations.c op_id = strdup(key); key 554 lib/common/operations.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); key 621 lib/common/operations.c free(key); key 52 lib/common/procfs.c char key[16] = { 0 }, procpath[128] = { 0 }; key 95 lib/common/procfs.c if ((fscanf(file, "%15s%63s", key, name) != 2) key 96 lib/common/procfs.c || safe_str_neq(key, "Name:")) { key 374 lib/common/strings.c copy_str_table_entry(gpointer key, gpointer value, gpointer user_data) key 376 lib/common/strings.c if (key && value && user_data) { key 377 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); key 951 lib/common/utils.c char *key = NULL; key 954 lib/common/utils.c key = crm_meta_name(field); key 955 lib/common/utils.c if (key) { key 956 lib/common/utils.c value = g_hash_table_lookup(hash, key); key 957 lib/common/utils.c free(key); key 1949 lib/common/xml.c __xml_find_path(xmlNode *top, const char *key, int target_position) key 1955 lib/common/xml.c char *current = strdup(key); key 2007 lib/common/xml.c crm_trace("Found %s for %s", path, key); key 2010 lib/common/xml.c crm_debug("No match for %s", key); key 4858 lib/common/xml.c hash2nvpair(gpointer key, gpointer value, gpointer user_data) key 4860 lib/common/xml.c const char *name = key; key 4869 lib/common/xml.c hash2smartfield(gpointer key, gpointer value, gpointer user_data) key 4871 lib/common/xml.c const char *name = key; key 4892 lib/common/xml.c hash2field(gpointer key, gpointer value, gpointer user_data) key 4894 lib/common/xml.c const char *name = key; key 4908 lib/common/xml.c hash2metafield(gpointer key, gpointer value, gpointer user_data) key 4912 lib/common/xml.c if (key == NULL || value == NULL) { key 4919 lib/common/xml.c for (crm_name = key; *crm_name; ++crm_name) { key 4925 lib/common/xml.c crm_name = crm_meta_name(key); key 4959 lib/common/xml.c const char *key = crm_element_value(child, XML_NVPAIR_ATTR_NAME); key 4962 lib/common/xml.c crm_trace("Added %s=%s", key, value); key 4963 lib/common/xml.c if (key != NULL && value != NULL) { key 4964 lib/common/xml.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); key 228 lib/fencing/st_client.c hash2field((gpointer) params->key, (gpointer) params->value, args); key 397 lib/fencing/st_client.c append_arg(const char *key, const char *value, char **args) key 402 lib/fencing/st_client.c CRM_CHECK(key != NULL, return); key 405 lib/fencing/st_client.c if (strstr(key, "pcmk_")) { key 407 lib/fencing/st_client.c } else if (strstr(key, CRM_META)) { key 409 lib/fencing/st_client.c } else if (safe_str_eq(key, "crm_feature_set")) { key 413 lib/fencing/st_client.c len += strlen(key); key 420 lib/fencing/st_client.c crm_trace("Appending: %s=%s", key, value); key 421 lib/fencing/st_client.c sprintf((*args) + last, "%s=%s\n", key, value); key 425 lib/fencing/st_client.c append_config_arg(gpointer key, gpointer value, gpointer user_data) key 431 lib/fencing/st_client.c if (safe_str_neq(key, STONITH_ATTR_ACTION_OP)) { key 432 lib/fencing/st_client.c append_arg(key, value, user_data); key 481 lib/fencing/st_client.c char *key = crm_meta_name(param); key 483 lib/fencing/st_client.c value = g_hash_table_lookup(params, key); key 484 lib/fencing/st_client.c free(key); key 2051 lib/fencing/st_client.c stonith_dump_pending_op(gpointer key, gpointer value, gpointer user_data) key 2053 lib/fencing/st_client.c int call = GPOINTER_TO_INT(key); key 2504 lib/fencing/st_client.c stonith_key_value_add(stonith_key_value_t * head, const char *key, const char *value) key 2509 lib/fencing/st_client.c if (key) { key 2510 lib/fencing/st_client.c p->key = strdup(key); key 2538 lib/fencing/st_client.c free(head->key); key 41 lib/lrmd/lrmd_alerts.c const char **key; key 46 lib/lrmd/lrmd_alerts.c for (key = crm_alert_keys[name]; *key; key++) { key 47 lib/lrmd/lrmd_alerts.c crm_trace("Setting alert key %s = '%s'", *key, value); key 48 lib/lrmd/lrmd_alerts.c head = lrmd_key_value_add(head, *key, value); key 65 lib/lrmd/lrmd_alerts.c set_ev_kv(gpointer key, gpointer value, gpointer user_data) key 71 lib/lrmd/lrmd_alerts.c (char*)key, (char*)value); key 72 lib/lrmd/lrmd_alerts.c *head = lrmd_key_value_add(*head, key, value); key 165 lib/lrmd/lrmd_alerts.c copy_params = lrmd_key_value_add(copy_params, head->key, head->value); key 70 lib/lrmd/lrmd_client.c int lrmd_tls_set_key(gnutls_datum_t * key); key 153 lib/lrmd/lrmd_client.c lrmd_key_value_add(lrmd_key_value_t * head, const char *key, const char *value) key 158 lib/lrmd/lrmd_client.c p->key = strdup(key); key 182 lib/lrmd/lrmd_client.c free(head->key); key 994 lib/lrmd/lrmd_client.c set_key(gnutls_datum_t * key, const char *location) key 1012 lib/lrmd/lrmd_client.c key->data = gnutls_malloc(key_cache_len + 1); key 1013 lib/lrmd/lrmd_client.c key->size = key_cache_len; key 1014 lib/lrmd/lrmd_client.c memcpy(key->data, key_cache, key_cache_len); key 1032 lib/lrmd/lrmd_client.c key->data = gnutls_malloc(read_len); key 1038 lib/lrmd/lrmd_client.c key->data = gnutls_realloc(key->data, buf_len); key 1045 lib/lrmd/lrmd_client.c key->data[cur_len] = next; key 1050 lib/lrmd/lrmd_client.c key->size = cur_len; key 1052 lib/lrmd/lrmd_client.c gnutls_free(key->data); key 1053 lib/lrmd/lrmd_client.c key->data = 0; key 1058 lib/lrmd/lrmd_client.c key_cache = calloc(1, key->size + 1); key 1059 lib/lrmd/lrmd_client.c memcpy(key_cache, key->data, key->size); key 1061 lib/lrmd/lrmd_client.c key_cache_len = key->size; key 1069 lib/lrmd/lrmd_client.c lrmd_tls_set_key(gnutls_datum_t * key) key 1073 lib/lrmd/lrmd_client.c if (set_key(key, specific_location) == 0) { key 1081 lib/lrmd/lrmd_client.c if ((set_key(key, DEFAULT_REMOTE_KEY_LOCATION) != 0) key 1082 lib/lrmd/lrmd_client.c && (set_key(key, ALT_REMOTE_KEY_LOCATION) != 0)) { key 1649 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); key 1675 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); key 125 lib/pengine/complex.c dup_attr(gpointer key, gpointer value, gpointer user_data) key 127 lib/pengine/complex.c add_hash_param(user_data, key, value); key 228 lib/pengine/complex.c char *key = NULL; key 235 lib/pengine/complex.c key = crm_concat(name, role, '-'); key 236 lib/pengine/complex.c return key; key 313 lib/pengine/complex.c char *key = template_op_key(op); key 315 lib/pengine/complex.c g_hash_table_insert(rsc_ops_hash, key, op); key 319 lib/pengine/complex.c char *key = template_op_key(op); key 321 lib/pengine/complex.c if (g_hash_table_lookup(rsc_ops_hash, key) == NULL) { key 325 lib/pengine/complex.c free(key); key 435 lib/pengine/complex.c char *key; key 438 lib/pengine/complex.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, NULL)) { key 439 lib/pengine/complex.c if (crm_starts_with(key, "pcmk_")) { key 440 lib/pengine/complex.c char *cmp = key + 5; // the part after "pcmk_" key 240 lib/pengine/failcounts.c char *key = NULL; key 251 lib/pengine/failcounts.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 252 lib/pengine/failcounts.c if (regexec(&failcount_re, key, 0, NULL, 0) == 0) { key 254 lib/pengine/failcounts.c } else if (regexec(&lastfailure_re, key, 0, NULL, 0) == 0) { key 312 lib/pengine/native.c native_print_attr(gpointer key, gpointer value, gpointer user_data) key 317 lib/pengine/native.c status_print("Option: %s = %s\n", (char *)key, (char *)value); key 925 lib/pengine/unpack.c get_ticket_state_legacy(gpointer key, gpointer value, gpointer user_data) key 927 lib/pengine/unpack.c const char *long_key = key; key 2066 lib/pengine/unpack.c char *key = stop_key(rsc); key 2067 lib/pengine/unpack.c GListPtr possible_matches = find_actions(rsc->actions, key, node); key 2077 lib/pengine/unpack.c free(key); key 2099 lib/pengine/unpack.c char *key = NULL; key 2133 lib/pengine/unpack.c key = generate_op_key(rsc->id, task, interval); key 2134 lib/pengine/unpack.c pe_rsc_trace(rsc, "Creating %s/%s", key, node->details->uname); key 2135 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, TRUE, data_set); key 2367 lib/pengine/unpack.c set_node_score(gpointer key, gpointer value, gpointer user_data) key 2586 lib/pengine/unpack.c const char *key = crm_element_value(xIter, XML_LRM_ATTR_TASK_KEY); key 2589 lib/pengine/unpack.c if(safe_str_eq(op_key, key) && safe_str_eq(uname, node->details->uname)) { key 2603 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); key 2604 lib/pengine/unpack.c if(key == NULL) { key 2605 lib/pengine/unpack.c key = ID(xml_op); key 2607 lib/pengine/unpack.c return key; key 2618 lib/pengine/unpack.c const char *key = get_op_key(xml_op); key 2629 lib/pengine/unpack.c pe_rsc_trace(rsc, "is a probe: %s", key); key 2645 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); key 2651 lib/pengine/unpack.c fail2text(action->on_fail), action->uuid, key); key 2684 lib/pengine/unpack.c crm_warn("Compatibility handling for failed op %s on %s", key, node->details->uname); key 2740 lib/pengine/unpack.c const char *key = get_op_key(xml_op); key 2754 lib/pengine/unpack.c key, node->details->uname, key 2810 lib/pengine/unpack.c key, rsc->id, node->details->uname); key 2848 lib/pengine/unpack.c key, rc, node->details->uname); key 2862 lib/pengine/unpack.c const char *key = get_op_key(xml_op); key 2934 lib/pengine/unpack.c key, node->details->id); key 2937 lib/pengine/unpack.c crm_trace("Ignoring rsc op %s/%s on node %s", rsc->id, key, node->details->id); key 2945 lib/pengine/unpack.c char *key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); key 2946 lib/pengine/unpack.c action_t *clear_op = custom_action(rsc, key, CRM_OP_CLEAR_FAILCOUNT, key 2977 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); key 2978 lib/pengine/unpack.c if (key == NULL) { key 2982 lib/pengine/unpack.c decode_transition_key(key, &dummy_string, &dummy, &dummy, &target_rc); key 2989 lib/pengine/unpack.c get_action_on_fail(resource_t *rsc, const char *key, const char *task, pe_working_set_t * data_set) key 2992 lib/pengine/unpack.c action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); key 3096 lib/pengine/unpack.c const char *key = NULL; key 3116 lib/pengine/unpack.c key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); key 3179 lib/pengine/unpack.c key, node->details->uname, key 34 lib/pengine/utils.c void print_str_str(gpointer key, gpointer value, gpointer user_data); key 35 lib/pengine/utils.c gboolean ghash_free_str_str(gpointer key, gpointer value, gpointer user_data); key 38 lib/pengine/utils.c static xmlNode *find_rsc_op_entry_helper(resource_t * rsc, const char *key, key 307 lib/pengine/utils.c append_dump_text(gpointer key, gpointer value, gpointer user_data) key 313 lib/pengine/utils.c len = strlen(*dump_text) + strlen(" ") + strlen(key) + strlen("=") + strlen(value) + 1; key 315 lib/pengine/utils.c sprintf(new_text, "%s %s=%s", *dump_text, (char *)key, (char *)value); key 419 lib/pengine/utils.c custom_action(resource_t * rsc, char *key, const char *task, key 426 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 427 lib/pengine/utils.c CRM_CHECK(task != NULL, free(key); return NULL); key 430 lib/pengine/utils.c possible_matches = find_actions(rsc->actions, key, on_node); key 433 lib/pengine/utils.c action = g_hash_table_lookup(data_set->singletons, key); key 436 lib/pengine/utils.c possible_matches = find_actions(data_set->actions, key, on_node); key 461 lib/pengine/utils.c optional ? "" : " mandatory", data_set->action_id, key, key 477 lib/pengine/utils.c action->uuid = strdup(key); key 510 lib/pengine/utils.c action->op_entry = find_rsc_op_entry_helper(rsc, key, TRUE); key 625 lib/pengine/utils.c free(key); key 1168 lib/pengine/utils.c find_rsc_op_entry_helper(resource_t * rsc, const char *key, gboolean include_disabled) key 1193 lib/pengine/utils.c if (safe_str_eq(key, match_key)) { key 1200 lib/pengine/utils.c if (safe_str_eq(key, match_key)) { key 1219 lib/pengine/utils.c if (strstr(key, CRMD_ACTION_MIGRATE) || strstr(key, CRMD_ACTION_MIGRATED)) { key 1221 lib/pengine/utils.c key = local_key; key 1224 lib/pengine/utils.c } else if (strstr(key, "_notify_")) { key 1226 lib/pengine/utils.c key = local_key; key 1234 lib/pengine/utils.c find_rsc_op_entry(resource_t * rsc, const char *key) key 1236 lib/pengine/utils.c return find_rsc_op_entry_helper(rsc, key, FALSE); key 1276 lib/pengine/utils.c print_str_str(gpointer key, gpointer value, gpointer user_data) key 1280 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); key 1415 lib/pengine/utils.c find_actions(GListPtr input, const char *key, const node_t *on_node) key 1420 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 1425 lib/pengine/utils.c if (safe_str_neq(key, action->uuid)) { key 1426 lib/pengine/utils.c crm_trace("%s does not match action %s", key, action->uuid); key 1430 lib/pengine/utils.c crm_trace("Action %s matches (ignoring node)", key); key 1435 lib/pengine/utils.c key, on_node->details->uname); key 1441 lib/pengine/utils.c crm_trace("Action %s on %s matches", key, on_node->details->uname); key 1446 lib/pengine/utils.c key, action->node->details->uname, key 1455 lib/pengine/utils.c find_actions_exact(GListPtr input, const char *key, node_t * on_node) key 1460 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 1465 lib/pengine/utils.c crm_trace("Matching %s against %s", key, action->uuid); key 1466 lib/pengine/utils.c if (safe_str_neq(key, action->uuid)) { key 1467 lib/pengine/utils.c crm_trace("Key mismatch: %s vs. %s", key, action->uuid); key 1876 lib/pengine/utils.c char *key = NULL; key 1881 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1882 lib/pengine/utils.c crm_xml_add(params, key, value); key 1889 lib/pengine/utils.c rsc_action_digest(resource_t * rsc, const char *task, const char *key, key 1894 lib/pengine/utils.c data = g_hash_table_lookup(node->details->digest_cache, key); key 1897 lib/pengine/utils.c action_t *action = custom_action(rsc, strdup(key), task, node, TRUE, FALSE, data_set); key 1973 lib/pengine/utils.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); key 1985 lib/pengine/utils.c char *key = NULL; key 2002 lib/pengine/utils.c key = generate_op_key(rsc->id, task, interval); key 2003 lib/pengine/utils.c data = rsc_action_digest(rsc, task, key, node, xml_op, data_set); key 2008 lib/pengine/utils.c key, node->details->uname, key 2019 lib/pengine/utils.c key, node->details->uname, key 2026 lib/pengine/utils.c free(key); key 2035 lib/pengine/utils.c char *key = generate_op_key(rsc->id, STONITH_DIGEST_TASK, 0); key 2036 lib/pengine/utils.c op_digest_cache_t *data = rsc_action_digest(rsc, STONITH_DIGEST_TASK, key, node, NULL, data_set); key 2076 lib/pengine/utils.c free(key); key 319 lib/services/services.c char *key = NULL; key 325 lib/services/services.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value) && key 330 lib/services/services.c if (safe_str_eq(key, XML_ATTR_CRM_VERSION) || strstr(key, CRM_META "_")) { key 334 lib/services/services.c len += strlen(key); key 336 lib/services/services.c sprintf(long_opt, "--%s", key); key 442 lib/services/services.c set_alert_env(gpointer key, gpointer value, gpointer user_data) key 447 lib/services/services.c rc = setenv(key, value, 1); key 449 lib/services/services.c rc = unsetenv(key); key 454 lib/services/services.c (char*)key, (value? (char*)value : "")); key 456 lib/services/services.c crm_trace("setenv %s=%s", (char*)key, (value? (char*)value : "")); key 461 lib/services/services.c unset_alert_env(gpointer key, gpointer value, gpointer user_data) key 463 lib/services/services.c if (unsetenv(key) < 0) { key 464 lib/services/services.c crm_perror(LOG_ERR, "unset %s", (char*)key); key 466 lib/services/services.c crm_trace("unset %s", (char*)key); key 146 lib/services/services_linux.c set_ocf_env(const char *key, const char *value, gpointer user_data) key 148 lib/services/services_linux.c if (setenv(key, value, 1) != 0) { key 149 lib/services/services_linux.c crm_perror(LOG_ERR, "setenv failed for key:%s and value:%s", key, value); key 154 lib/services/services_linux.c set_ocf_env_with_prefix(gpointer key, gpointer value, gpointer user_data) key 158 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "OCF_RESKEY_%s", (char *)key); key 183 lib/transition/utils.c const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); key 185 lib/transition/utils.c char *desc = crm_strdup_printf("%s %s op %s", state, actiontype2text(action->type), key); key 198 lib/transition/utils.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); key 204 lib/transition/utils.c input->id, actiontype2text(input->type), key); key 207 lib/transition/utils.c input->id, actiontype2text(input->type), key, host); key 106 libltdl/libltdl/lt__private.h lt_dlinterface_id key; key 2307 libltdl/ltdl.c void lt_dlinterface_free (lt_dlinterface_id key) key 2309 libltdl/ltdl.c lt__interface_id *interface_id = (lt__interface_id *)key; key 2315 libltdl/ltdl.c lt_dlcaller_set_data (lt_dlinterface_id key, lt_dlhandle handle, void *data) key 2323 libltdl/ltdl.c while (cur->interface_data[n_elements].key) key 2328 libltdl/ltdl.c if (cur->interface_data[i].key == key) key 2351 libltdl/ltdl.c cur->interface_data[i].key = key; key 2352 libltdl/ltdl.c cur->interface_data[1+ i].key = 0; key 2362 libltdl/ltdl.c lt_dlcaller_get_data (lt_dlinterface_id key, lt_dlhandle handle) key 2371 libltdl/ltdl.c for (i = 0; cur->interface_data[i].key; ++i) key 2373 libltdl/ltdl.c if (cur->interface_data[i].key == key) key 123 libltdl/ltdl.h LT_SCOPE void lt_dlinterface_free (lt_dlinterface_id key); key 124 libltdl/ltdl.h LT_SCOPE void * lt_dlcaller_set_data (lt_dlinterface_id key, key 126 libltdl/ltdl.h LT_SCOPE void * lt_dlcaller_get_data (lt_dlinterface_id key, key 64 lrmd/ipc_proxy.c gpointer key = NULL; key 68 lrmd/ipc_proxy.c if (g_hash_table_iter_next(&iter, &key, &value)) { key 392 lrmd/ipc_proxy.c char *key = NULL; key 403 lrmd/ipc_proxy.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & ipc_client)) { key 395 lrmd/lrmd.c send_client_notify(gpointer key, gpointer value, gpointer user_data) key 531 lrmd/lrmd.c char *key = NULL; key 538 lrmd/lrmd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 539 lrmd/lrmd.c hash2smartfield((gpointer) key, (gpointer) value, args); key 777 lrmd/lrmd.c char *key = NULL; key 784 lrmd/lrmd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & client)) { key 790 lrmd/lrmd.c send_client_notify((gpointer) key, (gpointer) client, (gpointer) notify); key 843 lrmd/lrmd.c char *key = NULL; key 846 lrmd/lrmd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & rsc)) { key 1068 lrmd/lrmd.c char *key = NULL; key 1071 lrmd/lrmd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & rsc)) { key 1115 lrmd/lrmd.c char *key = NULL; key 1123 lrmd/lrmd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 1124 lrmd/lrmd.c device_params = stonith_key_value_add(device_params, key, value); key 70 lrmd/lrmd_private.h extern int lrmd_tls_set_key(gnutls_datum_t * key); key 278 lrmd/remote_ctl.c char *key = NULL; key 329 lrmd/remote_ctl.c key = optarg; key 330 lrmd/remote_ctl.c if (key && val) { key 331 lrmd/remote_ctl.c options.params = lrmd_key_value_add(options.params, key, val); key 332 lrmd/remote_ctl.c key = val = NULL; key 337 lrmd/remote_ctl.c if (key && val) { key 338 lrmd/remote_ctl.c options.params = lrmd_key_value_add(options.params, key, val); key 339 lrmd/remote_ctl.c key = val = NULL; key 412 lrmd/test.c char *key = NULL; key 416 lrmd/test.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 417 lrmd/test.c options.params = lrmd_key_value_add(options.params, key, value); key 423 lrmd/test.c char *key = NULL; key 427 lrmd/test.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 428 lrmd/test.c char *crm_name = crm_meta_name(key); key 448 lrmd/test.c char *key = NULL; key 526 lrmd/test.c key = optarg; key 527 lrmd/test.c if (key && val) { key 528 lrmd/test.c options.params = lrmd_key_value_add(options.params, key, val); key 529 lrmd/test.c key = val = NULL; key 534 lrmd/test.c if (key && val) { key 535 lrmd/test.c options.params = lrmd_key_value_add(options.params, key, val); key 536 lrmd/test.c key = val = NULL; key 237 lrmd/tls_backend.c lrmd_tls_server_key_cb(gnutls_session_t session, const char *username, gnutls_datum_t * key) key 239 lrmd/tls_backend.c return lrmd_tls_set_key(key); key 156 mcp/corosync.c hdb_handle_t object_handle, const char *key, char **value, const char *fallback) key 169 mcp/corosync.c if (CS_OK == confdb_key_get(config, object_handle, key, strlen(key), &buffer, &len)) { key 175 mcp/corosync.c crm_info("Found '%s' for option: %s", *value, key); key 179 mcp/corosync.c env_key = crm_concat("HA", key, '_'); key 184 mcp/corosync.c crm_info("Found '%s' in ENV for option: %s", *value, key); key 190 mcp/corosync.c crm_info("Defaulting to '%s' for option: %s", fallback, key); key 194 mcp/corosync.c crm_info("No default for option: %s", key); key 238 mcp/corosync.c get_config_opt(uint64_t unused, cmap_handle_t object_handle, const char *key, char **value, key 243 mcp/corosync.c cs_repeat(retries, 5, rc = cmap_get_string(object_handle, key, value)); key 245 mcp/corosync.c crm_trace("Search for %s failed %d, defaulting to %s", key, rc, fallback); key 252 mcp/corosync.c crm_trace("%s: %s", key, *value); key 477 mcp/corosync.c char key[PATH_MAX]; key 478 mcp/corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); key 479 mcp/corosync.c rc = cmap_set_uint8(local_handle, key, 1); key 206 pengine/allocate.c char *key = NULL; key 221 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); key 224 pengine/allocate.c key, active_node->details->uname, reason ? reason : "unknown"); key 227 pengine/allocate.c cancel = custom_action(rsc, strdup(key), RSC_CANCEL, active_node, FALSE, TRUE, data_set); key 239 pengine/allocate.c free(key); key 240 pengine/allocate.c key = NULL; key 247 pengine/allocate.c char *key = NULL; key 268 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); key 270 pengine/allocate.c pe_rsc_trace(rsc, "Checking parameters for %s", key); key 271 pengine/allocate.c op_match = find_rsc_op_entry(rsc, key); key 275 pengine/allocate.c free(key); key 279 pengine/allocate.c pe_rsc_debug(rsc, "Orphan action detected: %s on %s", key, active_node->details->uname); key 280 pengine/allocate.c free(key); key 283 pengine/allocate.c free(key); key 284 pengine/allocate.c key = NULL; key 322 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); key 324 pengine/allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); key 337 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); key 347 pengine/allocate.c op = custom_action(rsc, key, task, active_node, TRUE, TRUE, data_set); key 356 pengine/allocate.c free(key); key 365 pengine/allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); key 467 pengine/allocate.c char *key = NULL; key 470 pengine/allocate.c key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); key 472 pengine/allocate.c custom_action(rsc, key, CRM_OP_CLEAR_FAILCOUNT, node, FALSE, TRUE, data_set); key 625 pengine/allocate.c char *key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); key 626 pengine/allocate.c GListPtr list = find_actions_exact(rsc->actions, key, node); key 632 pengine/allocate.c free(key); key 770 pengine/allocate.c const char *key = (const char *)gKey; key 778 pengine/allocate.c if (crm_starts_with(key, "#health")) { key 1255 pengine/allocate.c char *key = generate_op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); key 1256 pengine/allocate.c action_t *clear_op = custom_action(rsc, key, CRM_OP_CLEAR_FAILCOUNT, key 1658 pengine/allocate.c char *key = NULL; key 1664 pengine/allocate.c key = generate_op_key(rsc->id, task, interval); key 1668 pengine/allocate.c list = find_actions(actions, key, NULL); key 1674 pengine/allocate.c free(key); key 1755 pengine/allocate.c char *key = NULL; key 1761 pengine/allocate.c key = generate_op_key(lh_rsc->id, op_type, interval); key 1764 pengine/allocate.c free(key); key 1769 pengine/allocate.c free(key); key 1776 pengine/allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); key 2248 pengine/allocate.c char *key = NULL; key 2250 pengine/allocate.c key = start_key(rsc); key 2251 pengine/allocate.c actions = find_actions(rsc->actions, key, NULL); key 2252 pengine/allocate.c free(key); key 2264 pengine/allocate.c key = generate_op_key(rsc->id, CRMD_ACTION_STATUS, 0); key 2265 pengine/allocate.c probes = find_actions(rsc->actions, key, NULL); key 2266 pengine/allocate.c free(key); key 714 pengine/clone.c find_rsc_action(resource_t * rsc, const char *key, gboolean active_only, GListPtr * list) key 720 pengine/clone.c possible = find_actions(rsc->actions, key, NULL); key 764 pengine/clone.c char *key = NULL; key 784 pengine/clone.c key = stop_key(child); key 785 pengine/clone.c stop = find_rsc_action(child, key, active_only, NULL); key 786 pengine/clone.c free(key); key 788 pengine/clone.c key = start_key(child); key 789 pengine/clone.c start = find_rsc_action(child, key, active_only, NULL); key 790 pengine/clone.c free(key); key 1114 pengine/clone.c char *key = action->uuid; key 1115 pengine/clone.c int lpc = strlen(key); key 1118 pengine/clone.c if (key[lpc] == '_' && stop == 0) { key 1121 pengine/clone.c } else if (key[lpc] == '_') { key 1125 pengine/clone.c task_mutable = strdup(key + lpc); key 1128 pengine/clone.c crm_trace("Extracted action '%s' from '%s'", task_mutable, key); key 1319 pengine/constraints.c task_from_action_or_key(action_t *action, const char *key) key 1328 pengine/constraints.c } else if (key) { key 1330 pengine/constraints.c rc = parse_op_key(key, &rsc_id, &op_type, &interval); key 1583 pengine/constraints.c char *key = NULL; key 1651 pengine/constraints.c key = generate_op_key(resource->id, action, 0); key 1670 pengine/constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, key 1680 pengine/constraints.c free(key); key 401 pengine/master.c char *key = clone_strip(rsc->id); key 406 pengine/master.c resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); key 413 pengine/master.c pe_rsc_trace(rsc, "Found %s for %s active on %s: done", active->id, key, node->details->uname); key 414 pengine/master.c free(key); key 417 pengine/master.c pe_rsc_trace(rsc, "Found %s for %s on %s: not %s", active->id, key, node->details->uname, rsc->id); key 418 pengine/master.c free(key); key 421 pengine/master.c pe_rsc_trace(rsc, "%s on %s: not active", key, node->details->uname); key 436 pengine/master.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); key 439 pengine/master.c pe_rsc_trace(rsc, "Checking %s for %s on %s", rsc->id, key, node->details->uname); key 441 pengine/master.c free(key); key 446 pengine/master.c free(key); key 632 pengine/native.c char *key = NULL; key 679 pengine/native.c key = generate_op_key(rsc->id, name, interval_ms); key 680 pengine/native.c if (find_rsc_op_entry(rsc, key) == NULL) { key 682 pengine/native.c free(key); key 688 pengine/native.c key, is_set(start->flags, pe_action_optional) ? "optional" : "mandatory", key 692 pengine/native.c pe_rsc_trace(rsc, "Marking %s optional", key); key 697 pengine/native.c possible_matches = find_actions_exact(rsc->actions, key, node); key 700 pengine/native.c pe_rsc_trace(rsc, "Marking %s mandatory: not active", key); key 722 pengine/native.c char *local_key = strdup(key); key 766 pengine/native.c result, key, value ? value : role2text(RSC_ROLE_SLAVE), key 769 pengine/native.c free(key); key 773 pengine/native.c mon = custom_action(rsc, key, name, node, is_optional, TRUE, data_set); key 774 pengine/native.c key = mon->uuid; key 803 pengine/native.c NULL, strdup(key), mon, key 807 pengine/native.c NULL, strdup(key), mon, key 843 pengine/native.c char *key = NULL; key 893 pengine/native.c key = generate_op_key(rsc->id, name, interval_ms); key 894 pengine/native.c if (find_rsc_op_entry(rsc, key) == NULL) { key 896 pengine/native.c free(key); key 902 pengine/native.c possible_matches = find_actions_exact(rsc->actions, key, node); key 905 pengine/native.c char *local_key = strdup(key); key 928 pengine/native.c key, role, role2text(rsc->next_role), crm_str(node_uname)); key 953 pengine/native.c possible_matches = find_actions_exact(rsc->actions, key, stop_node); key 955 pengine/native.c pe_rsc_trace(rsc, "Marking %s mandatory on %s: not active", key, key 959 pengine/native.c pe_rsc_trace(rsc, "Marking %s optional on %s: already active", key, key 965 pengine/native.c stopped_mon = custom_action(rsc, strdup(key), name, stop_node, is_optional, TRUE, data_set); key 1009 pengine/native.c NULL, strdup(key), stopped_mon, key 1023 pengine/native.c key, crm_str(stop_node_uname)); key 1044 pengine/native.c free(key); key 2296 pengine/native.c char *key = NULL; key 2350 pengine/native.c key = start_key(rsc); key 2351 pengine/native.c possible_matches = find_actions(rsc->actions, key, next); key 2352 pengine/native.c free(key); key 2358 pengine/native.c key = stop_key(rsc); key 2360 pengine/native.c possible_matches = find_actions(rsc->actions, key, NULL); key 2362 pengine/native.c possible_matches = find_actions(rsc->actions, key, current); key 2368 pengine/native.c free(key); key 2370 pengine/native.c key = promote_key(rsc); key 2371 pengine/native.c possible_matches = find_actions(rsc->actions, key, next); key 2372 pengine/native.c free(key); key 2378 pengine/native.c key = demote_key(rsc); key 2379 pengine/native.c possible_matches = find_actions(rsc->actions, key, next); key 2380 pengine/native.c free(key); key 2389 pengine/native.c key = generate_op_key(rsc->id, RSC_MIGRATED, 0); key 2390 pengine/native.c possible_matches = find_actions(rsc->actions, key, next); key 2391 pengine/native.c free(key); key 2437 pengine/native.c key = stop_key(rsc); key 2442 pengine/native.c possible_matches = find_actions(rsc->actions, key, node); key 2456 pengine/native.c free(key); key 2572 pengine/native.c char *key = NULL; key 2581 pengine/native.c key = start_key(rsc); key 2582 pengine/native.c action_list = find_actions_exact(rsc->actions, key, next); key 2583 pengine/native.c free(key); key 2601 pengine/native.c key = promote_key(rsc); key 2602 pengine/native.c action_list = find_actions_exact(rsc->actions, key, next); key 2603 pengine/native.c free(key); key 2802 pengine/native.c char *key = NULL; key 2976 pengine/native.c key = generate_op_key(rsc->id, RSC_STATUS, 0); key 2977 pengine/native.c probe = custom_action(rsc, key, RSC_STATUS, node, FALSE, TRUE, data_set); key 3101 pengine/native.c char *key = NULL; key 3116 pengine/native.c key = stop_key(rsc); key 3117 pengine/native.c action_list = find_actions(rsc->actions, key, target); key 3118 pengine/native.c free(key); key 3213 pengine/native.c key = demote_key(rsc); key 3214 pengine/native.c action_list = find_actions(rsc->actions, key, target); key 3215 pengine/native.c free(key); key 231 pengine/notif.c dup_attr(gpointer key, gpointer value, gpointer user_data) key 233 pengine/notif.c add_hash_param(user_data, key, value); key 240 pengine/notif.c char *key = NULL; key 266 pengine/notif.c key = generate_notify_key(rsc->id, value, task); key 267 pengine/notif.c trigger = custom_action(rsc, key, op->task, node, key 331 pengine/notif.c char *key = NULL; key 344 pengine/notif.c key = generate_notify_key(rsc->id, "pre", start->task); key 346 pengine/notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, is_set(start->flags, pe_action_optional), key 359 pengine/notif.c key = generate_notify_key(rsc->id, "confirmed-pre", start->task); key 361 pengine/notif.c custom_action(rsc, key, RSC_NOTIFIED, NULL, is_set(start->flags, pe_action_optional), key 379 pengine/notif.c key = generate_notify_key(rsc->id, "post", end->task); key 381 pengine/notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, is_set(end->flags, pe_action_optional), TRUE, key 399 pengine/notif.c key = generate_notify_key(rsc->id, "confirmed-post", end->task); key 401 pengine/notif.c custom_action(rsc, key, RSC_NOTIFIED, NULL, is_set(end->flags, pe_action_optional), key 40 pengine/utilization.c do_compare_capacity1(gpointer key, gpointer value, gpointer user_data) key 48 pengine/utilization.c crm_parse_int(g_hash_table_lookup(data->node2->details->utilization, key), "0"); key 58 pengine/utilization.c do_compare_capacity2(gpointer key, gpointer value, gpointer user_data) key 64 pengine/utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { key 102 pengine/utilization.c do_calculate_utilization(gpointer key, gpointer value, gpointer user_data) key 108 pengine/utilization.c current = g_hash_table_lookup(data->current_utilization, key); key 111 pengine/utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); key 115 pengine/utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); key 142 pengine/utilization.c check_capacity(gpointer key, gpointer value, gpointer user_data) key 149 pengine/utilization.c remaining = crm_parse_int(g_hash_table_lookup(data->node->details->utilization, key), "0"); key 156 pengine/utilization.c data->node->details->uname, (char *)key, data->rsc_id, required, remaining); key 680 tools/crm_node.c crm_add_member(gpointer key, gpointer value, gpointer user_data) key 451 tools/crm_resource_runtime.c char *key = NULL; key 485 tools/crm_resource_runtime.c key = generate_transition_key(0, getpid(), 0, "xxxxxxxx-xrsc-opxx-xcrm-resourcexxxx"); key 488 tools/crm_resource_runtime.c crm_xml_add(msg_data, XML_ATTR_TRANSITION_KEY, key); key 489 tools/crm_resource_runtime.c free(key); key 522 tools/crm_resource_runtime.c key = crm_meta_name(XML_LRM_ATTR_INTERVAL); key 523 tools/crm_resource_runtime.c crm_xml_add(params, key, "60000"); /* 1 minute */ key 524 tools/crm_resource_runtime.c free(key); key 752 tools/crm_resource_runtime.c char *key = NULL; key 756 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 757 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); key 763 tools/crm_resource_runtime.c char *key = NULL; key 767 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 768 tools/crm_resource_runtime.c char *crm_name = crm_meta_name(key); key 1026 tools/crm_resource_runtime.c char *key = crm_strdup_printf("%s_%s_0", rsc->id, RSC_STOP); key 1027 tools/crm_resource_runtime.c action_t *stop = custom_action(rsc, key, RSC_STOP, NULL, TRUE, FALSE, data_set); key 227 tools/crm_simulate.c char *key = NULL; key 240 tools/crm_simulate.c key = generate_notify_key(name, n_type, n_task); key 243 tools/crm_simulate.c key = generate_op_key(name, task, interval); key 247 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix ? prefix : "", key, action_host); key 249 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s", prefix ? prefix : "", key); key 251 tools/crm_simulate.c free(key); key 495 tools/crm_ticket.c const char *key = (const char *)list_iter->data; key 497 tools/crm_ticket.c if (safe_str_eq(key, "granted")) { key 518 tools/crm_ticket.c char *key = NULL; key 525 tools/crm_ticket.c const char *key = (const char *)list_iter->data; key 526 tools/crm_ticket.c delete_ticket_state_attr_legacy(ticket_id, set_name, attr_id, key, cib); key 551 tools/crm_ticket.c const char *key = (const char *)list_iter->data; key 552 tools/crm_ticket.c xml_remove_prop(ticket_state_xml, key); key 558 tools/crm_ticket.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) & key, (gpointer *) & value)) { key 559 tools/crm_ticket.c crm_xml_add(ticket_state_xml, key, value); key 561 tools/crm_ticket.c if (safe_str_eq(key, "granted") key 589 tools/crm_ticket.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) & key, (gpointer *) & value)) { key 590 tools/crm_ticket.c delete_ticket_state_attr_legacy(ticket_id, set_name, attr_id, key, cib); key 549 tools/fake_transition.c char *key = NULL; key 562 tools/fake_transition.c key = calloc(1, strlen(spec) + 1); key 564 tools/fake_transition.c rc = sscanf(spec, "%[^@]@%[^=]=%d", key, node, &outcome); key 567 tools/fake_transition.c free(key); key 572 tools/fake_transition.c parse_op_key(key, &resource, &task, &interval); key 603 tools/fake_transition.c free(key); key 705 tools/fake_transition.c char *key = NULL; key 707 tools/fake_transition.c key = calloc(1, 1 + strlen(spec)); key 708 tools/fake_transition.c snprintf(key, strlen(spec), "%s_%s_%d@%s=", resource, op->op_type, op->interval, node); key 710 tools/fake_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { key 718 tools/fake_transition.c free(key); key 725 tools/fake_transition.c free(key); key 728 tools/fake_transition.c free(key);