key 1422 daemons/based/based_callbacks.c disconnect_remote_client(gpointer key, gpointer value, gpointer user_data) key 46 daemons/based/based_notify.c cib_notify_send_one(gpointer key, gpointer value, gpointer user_data) key 38 daemons/controld/controld_execd.c static gboolean stop_recurring_actions(gpointer key, gpointer value, gpointer user_data); key 71 daemons/controld/controld_execd.c copy_instance_keys(gpointer key, gpointer value, gpointer user_data) key 73 daemons/controld/controld_execd.c if (strstr(key, CRM_META "_") == NULL) { key 74 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); key 79 daemons/controld/controld_execd.c copy_meta_keys(gpointer key, gpointer value, gpointer user_data) key 81 daemons/controld/controld_execd.c if (strstr(key, CRM_META "_") != NULL) { key 82 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); key 397 daemons/controld/controld_execd.c const char *key = NULL; key 439 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, (gpointer*)&key, (gpointer*)&pending)) { key 440 daemons/controld/controld_execd.c do_crm_log(log_level, "Pending action: %s (%s)", key, pending->op_key); key 475 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&hIter, (gpointer*)&key, (gpointer*)&pending)) { key 479 daemons/controld/controld_execd.c key, pending->op_key, when); key 923 daemons/controld/controld_execd.c lrm_remove_deleted_rsc(gpointer key, gpointer value, gpointer user_data) key 936 daemons/controld/controld_execd.c lrm_remove_deleted_op(gpointer key, gpointer value, gpointer user_data) key 1049 daemons/controld/controld_execd.c const char *key, const char *orig_op, int call_id) key 1053 daemons/controld/controld_execd.c CRM_CHECK((rsc_id != NULL) && (key != NULL), return); key 1057 daemons/controld/controld_execd.c lrm_state->node_name, rsc_id, key, key 1062 daemons/controld/controld_execd.c lrm_state->node_name, rsc_id, key, key 1066 daemons/controld/controld_execd.c lrm_state->node_name, rsc_id, key); key 1070 daemons/controld/controld_execd.c key, rsc_id, call_id); key 1138 daemons/controld/controld_execd.c cancel_op(lrm_state_t * lrm_state, const char *rsc_id, const char *key, int op, gboolean remove) key 1146 daemons/controld/controld_execd.c if (key == NULL) { key 1148 daemons/controld/controld_execd.c key = local_key; key 1150 daemons/controld/controld_execd.c pending = g_hash_table_lookup(lrm_state->pending_ops, key); key 1155 daemons/controld/controld_execd.c crm_debug("Scheduling %s for removal", key); key 1159 daemons/controld/controld_execd.c crm_debug("Operation %s already cancelled", key); key 1166 daemons/controld/controld_execd.c crm_info("No pending op found for %s", key); key 1171 daemons/controld/controld_execd.c crm_debug("Cancelling op %d for %s (%s)", op, rsc_id, key); key 1175 daemons/controld/controld_execd.c crm_debug("Op %d for %s (%s): cancelled", op, rsc_id, key); key 1180 daemons/controld/controld_execd.c crm_debug("Op %d for %s (%s): Nothing to cancel", op, rsc_id, key); key 1197 daemons/controld/controld_execd.c const char *key; key 1203 daemons/controld/controld_execd.c cancel_action_by_key(gpointer key, gpointer value, gpointer user_data) key 1209 daemons/controld/controld_execd.c if (pcmk__str_eq(op->op_key, data->key, pcmk__str_none)) { key 1211 daemons/controld/controld_execd.c remove = !cancel_op(data->lrm_state, data->rsc->id, key, op->call_id, data->remove); key 1217 daemons/controld/controld_execd.c cancel_op_key(lrm_state_t * lrm_state, lrmd_rsc_info_t * rsc, const char *key, gboolean remove) key 1223 daemons/controld/controld_execd.c CRM_CHECK(key != NULL, return FALSE); key 1225 daemons/controld/controld_execd.c data.key = key; key 1894 daemons/controld/controld_execd.c char *key = NULL; key 1901 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1903 daemons/controld/controld_execd.c g_hash_table_replace(params, key, value); key 1910 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1911 daemons/controld/controld_execd.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); key 1913 daemons/controld/controld_execd.c if (pcmk__str_eq(key, XML_ATTR_TIMEOUT, pcmk__str_casei)) { key 1915 daemons/controld/controld_execd.c } else if (pcmk__str_eq(key, XML_OP_ATTR_START_DELAY, pcmk__str_casei)) { key 1924 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1926 daemons/controld/controld_execd.c g_hash_table_replace(params, key, value); key 2150 daemons/controld/controld_execd.c stop_recurring_action_by_rsc(gpointer key, gpointer value, gpointer user_data) key 2159 daemons/controld/controld_execd.c crm_debug("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, (char*)key); key 2160 daemons/controld/controld_execd.c remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE); key 2167 daemons/controld/controld_execd.c stop_recurring_actions(gpointer key, gpointer value, gpointer user_data) key 2175 daemons/controld/controld_execd.c (const char *) key); key 2176 daemons/controld/controld_execd.c remove = !cancel_op(lrm_state, op->rsc_id, key, op->call_id, FALSE); key 2319 daemons/controld/controld_execd.c char *key = NULL; key 2324 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 2325 daemons/controld/controld_execd.c params = lrmd_key_value_add(params, key, value); key 60 daemons/controld/controld_execd_state.c fail_pending_op(gpointer key, gpointer value, gpointer user_data) key 68 daemons/controld/controld_execd_state.c lrm_state->node_name, (char*)key, op->user_data); key 147 daemons/controld/controld_execd_state.c remote_proxy_remove_by_node(gpointer key, gpointer value, gpointer user_data) key 67 daemons/controld/controld_fencing.c const char *key = NULL; key 76 daemons/controld/controld_fencing.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, key 80 daemons/controld/controld_fencing.c target = (const char*)key; key 120 daemons/controld/controld_fencing.c const char *key = NULL; key 124 daemons/controld/controld_fencing.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, key 24 daemons/controld/controld_join_dc.c void finalize_join_for(gpointer key, gpointer value, gpointer user_data); key 118 daemons/controld/controld_join_dc.c join_make_offer(gpointer key, gpointer value, gpointer user_data) key 616 daemons/controld/controld_join_dc.c finalize_join_for(gpointer key, gpointer value, gpointer user_data) key 32 daemons/controld/controld_membership.c reap_dead_nodes(gpointer key, gpointer value, gpointer user_data) key 181 daemons/controld/controld_metadata.c char *key = NULL; key 188 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); key 189 daemons/controld/controld_metadata.c if (!key) { key 219 daemons/controld/controld_metadata.c controld_set_ra_flags(md, key, ra_supports_reload); key 241 daemons/controld/controld_metadata.c controld_set_ra_flags(md, key, ra_uses_private); key 247 daemons/controld/controld_metadata.c g_hash_table_replace(mdc, key, md); key 252 daemons/controld/controld_metadata.c free(key); key 261 daemons/controld/controld_metadata.c char *key = NULL; key 265 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); key 266 daemons/controld/controld_metadata.c if (key) { key 267 daemons/controld/controld_metadata.c metadata = g_hash_table_lookup(mdc, key); key 268 daemons/controld/controld_metadata.c free(key); key 387 daemons/controld/controld_remote_ra.c g_hash_table_insert(op.params, strdup(tmp->key), strdup(tmp->value)); key 739 daemons/controld/controld_remote_ra.c if (pcmk__strcase_any_of(tmp->key, XML_RSC_ATTR_REMOTE_RA_ADDR, key 742 daemons/controld/controld_remote_ra.c } else if (pcmk__str_eq(tmp->key, XML_RSC_ATTR_REMOTE_RA_PORT, pcmk__str_casei)) { key 744 daemons/controld/controld_remote_ra.c } else if (pcmk__str_eq(tmp->key, CRM_META "_" XML_RSC_ATTR_CONTAINER, pcmk__str_casei)) { key 356 daemons/controld/controld_te_callbacks.c char *key; key 360 daemons/controld/controld_te_callbacks.c key = strrchr(mutable_key, '\''); key 361 daemons/controld/controld_te_callbacks.c if (key != NULL) { key 362 daemons/controld/controld_te_callbacks.c *key = '\0'; key 363 daemons/controld/controld_te_callbacks.c key = strrchr(mutable_key, '\''); key 365 daemons/controld/controld_te_callbacks.c if (key == NULL) { key 371 daemons/controld/controld_te_callbacks.c ++key; key 374 daemons/controld/controld_te_callbacks.c if (confirm_cancel_action(key, node_uuid) == FALSE) { key 492 daemons/execd/cts-exec-helper.c char *key = NULL; key 496 daemons/execd/cts-exec-helper.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 497 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, value); key 503 daemons/execd/cts-exec-helper.c char *key = NULL; key 507 daemons/execd/cts-exec-helper.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 508 daemons/execd/cts-exec-helper.c char *crm_name = crm_meta_name(key); key 527 daemons/execd/cts-exec-helper.c char *key = NULL; key 608 daemons/execd/cts-exec-helper.c key = optarg; key 609 daemons/execd/cts-exec-helper.c if (key && val) { key 610 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); key 611 daemons/execd/cts-exec-helper.c key = val = NULL; key 616 daemons/execd/cts-exec-helper.c if (key && val) { key 617 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); key 618 daemons/execd/cts-exec-helper.c key = val = NULL; key 500 daemons/execd/execd_commands.c send_client_notify(gpointer key, gpointer value, gpointer user_data) key 607 daemons/execd/execd_commands.c char *key = NULL; key 614 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 615 daemons/execd/execd_commands.c hash2smartfield((gpointer) key, (gpointer) value, args); key 821 daemons/execd/execd_commands.c notify_one_client(gpointer key, gpointer value, gpointer user_data) key 827 daemons/execd/execd_commands.c send_client_notify(key, (gpointer) client, (gpointer) data->notify); key 884 daemons/execd/execd_commands.c char *key = NULL; key 887 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & rsc)) { key 1158 daemons/execd/execd_commands.c char *key = NULL; key 1161 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & rsc)) { key 1216 daemons/execd/execd_commands.c char *key = NULL; key 1226 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 1227 daemons/execd/execd_commands.c device_params = stonith_key_value_add(device_params, key, value); key 1827 daemons/execd/execd_commands.c char *key = NULL; key 1830 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, key 387 daemons/execd/remoted_proxy.c char *key = NULL; key 394 daemons/execd/remoted_proxy.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & ipc_client)) { key 35 daemons/execd/remoted_tls.c extern int lrmd_tls_set_key(gnutls_datum_t *key); key 254 daemons/execd/remoted_tls.c lrmd_tls_server_key_cb(gnutls_session_t session, const char *username, gnutls_datum_t * key) key 256 daemons/execd/remoted_tls.c return lrmd_tls_set_key(key); key 825 daemons/fenced/fenced_commands.c char *key = crm_strdup_printf("pcmk_%s_action", action); key 827 daemons/fenced/fenced_commands.c if (g_hash_table_lookup(params, key)) { key 829 daemons/fenced/fenced_commands.c STONITH_ATTR_ACTION_OP, value, key); key 830 daemons/fenced/fenced_commands.c free(key); key 833 daemons/fenced/fenced_commands.c STONITH_ATTR_ACTION_OP, value, key, value); key 834 daemons/fenced/fenced_commands.c g_hash_table_insert(params, key, strdup(value)); key 1100 daemons/fenced/fenced_commands.c char *key = NULL; key 1105 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&value)) { key 1107 daemons/fenced/fenced_commands.c if(strstr(key, "CRM_meta") == key) { key 1109 daemons/fenced/fenced_commands.c } else if(strcmp(key, "crm_feature_set") == 0) { key 1112 daemons/fenced/fenced_commands.c char *other_value = g_hash_table_lookup(second, key); key 1115 daemons/fenced/fenced_commands.c crm_trace("Different value for %s: %s != %s", key, other_value, value); key 1711 daemons/fenced/fenced_commands.c search_devices(gpointer key, gpointer value, gpointer user_data) key 1727 daemons/fenced/fenced_commands.c char *key = NULL; key 1744 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&device)) { key 66 daemons/fenced/fenced_history.c stonith_remove_history_entry (gpointer key, key 131 daemons/fenced/fenced_remote.c count_peer_device(gpointer key, gpointer value, gpointer user_data) key 1316 daemons/fenced/fenced_remote.c add_device_timeout(gpointer key, gpointer value, gpointer user_data) key 1318 daemons/fenced/fenced_remote.c const char *device_id = key; key 287 daemons/fenced/pacemaker-fenced.c stonith_notify_client(gpointer key, gpointer value, gpointer user_data) key 453 daemons/fenced/pacemaker-fenced.c char *key = stonith_level_key(match, -1); key 456 daemons/fenced/pacemaker-fenced.c topology_remove_helper(key, index); key 457 daemons/fenced/pacemaker-fenced.c free(key); key 179 daemons/pacemakerd/pcmkd_corosync.c get_config_opt(uint64_t unused, cmap_handle_t object_handle, const char *key, char **value, key 184 daemons/pacemakerd/pcmkd_corosync.c cs_repeat(retries, 5, rc = cmap_get_string(object_handle, key, value)); key 186 daemons/pacemakerd/pcmkd_corosync.c crm_trace("Search for %s failed %d, defaulting to %s", key, rc, fallback); key 193 daemons/pacemakerd/pcmkd_corosync.c crm_trace("%s: %s", key, *value); key 294 daemons/pacemakerd/pcmkd_corosync.c char key[PATH_MAX]; key 295 daemons/pacemakerd/pcmkd_corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); key 296 daemons/pacemakerd/pcmkd_corosync.c rc = cmap_set_uint8(local_handle, key, 1); key 356 include/crm/cluster/internal.h gboolean node_name_is_valid(const char *key, const char *name); key 200 include/crm/common/ipc_internal.h pcmk__client_t *pcmk__new_unauth_client(void *key); key 41 include/crm/common/nvpair.h void hash2nvpair(gpointer key, gpointer value, gpointer user_data); key 42 include/crm/common/nvpair.h void hash2field(gpointer key, gpointer value, gpointer user_data); key 43 include/crm/common/nvpair.h void hash2metafield(gpointer key, gpointer value, gpointer user_data); key 44 include/crm/common/nvpair.h void hash2smartfield(gpointer key, gpointer value, gpointer user_data); key 33 include/crm/common/strings_internal.h int pcmk__guint_from_hash(GHashTable *table, const char *key, guint default_val, key 121 include/crm/common/util.h gboolean parse_op_key(const char *key, char **rsc_id, char **op_type, key 123 include/crm/common/util.h gboolean decode_transition_key(const char *key, char **uuid, int *transition_id, key 29 include/crm/lrmd.h char *key; key 168 include/crm/lrmd.h lrmd_key_value_t *lrmd_key_value_add(lrmd_key_value_t * kvp, const char *key, const char *value); key 370 include/crm/pengine/internal.h pe_hash_table_lookup(GHashTable * hash, gconstpointer key) key 373 include/crm/pengine/internal.h return g_hash_table_lookup(hash, key); key 383 include/crm/pengine/internal.h extern void print_str_str(gpointer key, gpointer value, gpointer user_data); key 401 include/crm/pengine/internal.h extern xmlNode *find_rsc_op_entry(pe_resource_t * rsc, const char *key); key 403 include/crm/pengine/internal.h extern pe_action_t *custom_action(pe_resource_t * rsc, char *key, const char *task, pe_node_t * on_node, key 460 include/crm/pengine/internal.h extern GListPtr find_actions(GListPtr input, const char *key, const pe_node_t *on_node); key 461 include/crm/pengine/internal.h GList *find_actions_exact(GList *input, const char *key, key 93 include/crm/stonith-ng.h char *key; key 437 include/crm/stonith-ng.h stonith_key_value_t *stonith_key_value_add(stonith_key_value_t * kvp, const char *key, key 664 lib/cib/cib_client.c cib_dump_pending_op(gpointer key, gpointer value, gpointer user_data) key 666 lib/cib/cib_client.c int call = GPOINTER_TO_INT(key); key 336 lib/cluster/cluster.c node_name_is_valid(const char *key, const char *name) key 341 lib/cluster/cluster.c crm_trace("%s is empty", key); key 345 lib/cluster/cluster.c crm_trace("%s contains an ipv4 address, ignoring: %s", key, name); key 349 lib/cluster/cluster.c crm_trace("%s contains an ipv6 address, ignoring: %s", key, name); key 352 lib/cluster/cluster.c crm_trace("%s is valid", key); key 126 lib/cluster/corosync.c char *key = NULL; key 128 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); key 129 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &id); key 130 lib/cluster/corosync.c crm_trace("Checking %u vs %u from %s", nodeid, id, key); key 131 lib/cluster/corosync.c free(key); key 140 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.name", lpc); key 141 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); key 142 lib/cluster/corosync.c crm_trace("%s = %s", key, name); key 143 lib/cluster/corosync.c free(key); key 146 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.ring0_addr", lpc); key 147 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); key 148 lib/cluster/corosync.c crm_trace("%s = %s", key, name); key 150 lib/cluster/corosync.c if (node_name_is_valid(key, name) == FALSE) { key 154 lib/cluster/corosync.c free(key); key 585 lib/cluster/corosync.c char *key = NULL; key 587 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); key 588 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &nodeid); key 589 lib/cluster/corosync.c free(key); key 415 lib/cluster/cpg.c const struct cpg_address *key, **sorted; key 447 lib/cluster/cpg.c key = &left_list[i]; key 448 lib/cluster/cpg.c rival = bsearch(&key, sorted, member_list_entries, key 363 lib/cluster/election.c char *key = NULL; key 374 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, (gpointer *) & key, NULL)) { key 375 lib/cluster/election.c crm_warn("* actual vote: %s", key); key 201 lib/cluster/membership.c mark_dirty(gpointer key, gpointer value, gpointer user_data) key 207 lib/cluster/membership.c is_dirty(gpointer key, gpointer value, gpointer user_data) key 293 lib/cluster/membership.c crm_reap_dead_member(gpointer key, gpointer value, gpointer user_data) key 354 lib/cluster/membership.c crm_count_peer(gpointer key, gpointer value, gpointer user_data) key 475 lib/cluster/membership.c static gboolean crm_hash_find_by_data(gpointer key, gpointer value, gpointer user_data) key 156 lib/common/alerts.c for (const char **key = pcmk__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 = pcmk__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 28 lib/common/cib_secrets.c static void add_secret_params(gpointer key, gpointer value, gpointer user_data); key 101 lib/common/cib_secrets.c char *key, *pvalue, *secret_value; key 128 lib/common/cib_secrets.c key = (char *)(l->data); key 129 lib/common/cib_secrets.c pvalue = g_hash_table_lookup(params, key); key 131 lib/common/cib_secrets.c crm_err("odd, no parameter %s for rsc %s found now", key, rsc_id); key 135 lib/common/cib_secrets.c if ((strlen(key) + strlen(local_file)) >= FILENAME_MAX-2) { key 136 lib/common/cib_secrets.c crm_err("%s: parameter name %s too big", rsc_id, key); key 141 lib/common/cib_secrets.c strcpy(start_pname, key); key 145 lib/common/cib_secrets.c rsc_id, key, LRM_CIBSECRETS_DIR); key 163 lib/common/cib_secrets.c "cannot be read from %s", rsc_id, key, hash_file); key 170 lib/common/cib_secrets.c "does not match", rsc_id, key); key 178 lib/common/cib_secrets.c g_hash_table_replace(params, strdup(key), secret_value); key 185 lib/common/cib_secrets.c add_secret_params(gpointer key, gpointer value, gpointer user_data) key 190 lib/common/cib_secrets.c *lp = g_list_append(*lp, (char *)key); key 497 lib/common/ipc_controld.c char *key; key 513 lib/common/ipc_controld.c key = pcmk__transition_key(0, getpid(), 0, key 515 lib/common/ipc_controld.c crm_xml_add(msg_data, XML_ATTR_TRANSITION_KEY, key); key 516 lib/common/ipc_controld.c free(key); key 539 lib/common/ipc_controld.c key = crm_meta_name(XML_ATTR_TIMEOUT); key 540 lib/common/ipc_controld.c crm_xml_add(params, key, "60000"); /* 1 minute */ //@TODO pass as arg key 541 lib/common/ipc_controld.c free(key); key 72 lib/common/ipc_server.c gpointer key; key 78 lib/common/ipc_server.c while (g_hash_table_iter_next(&iter, &key, (gpointer *) & client)) { key 152 lib/common/ipc_server.c client_from_connection(qb_ipcs_connection_t *c, void *key, uid_t uid_client) key 174 lib/common/ipc_server.c if (key == NULL) { key 175 lib/common/ipc_server.c key = c; key 186 lib/common/ipc_server.c if (key == NULL) { key 187 lib/common/ipc_server.c key = client->id; key 193 lib/common/ipc_server.c g_hash_table_insert(client_connections, key, client); key 205 lib/common/ipc_server.c pcmk__new_unauth_client(void *key) key 207 lib/common/ipc_server.c pcmk__client_t *client = client_from_connection(NULL, key, 0); key 500 lib/common/logging.c char *key = crm_strdup_printf("%s:%d", cs->function, cs->lineno); key 502 lib/common/logging.c if (strstr(trace_blackbox, key) != NULL) { key 505 lib/common/logging.c free(key); key 751 lib/common/nvpair.c hash2smartfield(gpointer key, gpointer value, gpointer user_data) key 753 lib/common/nvpair.c const char *name = key; key 785 lib/common/nvpair.c hash2field(gpointer key, gpointer value, gpointer user_data) key 787 lib/common/nvpair.c const char *name = key; key 813 lib/common/nvpair.c hash2metafield(gpointer key, gpointer value, gpointer user_data) key 817 lib/common/nvpair.c if (key == NULL || value == NULL) { key 824 lib/common/nvpair.c for (crm_name = key; *crm_name; ++crm_name) { key 830 lib/common/nvpair.c crm_name = crm_meta_name(key); key 886 lib/common/nvpair.c hash2nvpair(gpointer key, gpointer value, gpointer user_data) key 888 lib/common/nvpair.c const char *name = key; key 943 lib/common/nvpair.c const char *key = crm_element_value(child, XML_NVPAIR_ATTR_NAME); key 946 lib/common/nvpair.c crm_trace("Added %s=%s", key, value); key 947 lib/common/nvpair.c if (key != NULL && value != NULL) { key 948 lib/common/nvpair.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); key 68 lib/common/operations.c try_fast_match(const char *key, const char *underbar1, const char *underbar2, key 78 lib/common/operations.c *rsc_id = strndup(key, underbar1-key); key 89 lib/common/operations.c try_basic_match(const char *key, char **rsc_id, char **op_type, guint *interval_ms) key 95 lib/common/operations.c interval_sep = strrchr(key, '_'); key 111 lib/common/operations.c } else if (type_sep == key) { key 130 lib/common/operations.c *rsc_id = strndup(key, type_sep-key); key 137 lib/common/operations.c try_migrate_notify_match(const char *key, char **rsc_id, char **op_type, guint *interval_ms) key 151 lib/common/operations.c rc = regexec(notify_migrate_re, key, nmatch, pmatch, 0); key 157 lib/common/operations.c *rsc_id = strndup(key+pmatch[1].rm_so, pmatch[1].rm_eo-pmatch[1].rm_so); key 161 lib/common/operations.c *op_type = strndup(key+pmatch[2].rm_so, pmatch[2].rm_eo-pmatch[2].rm_so); key 165 lib/common/operations.c if (!convert_interval(key+pmatch[7].rm_so, interval_ms)) { key 184 lib/common/operations.c parse_op_key(const char *key, char **rsc_id, char **op_type, guint *interval_ms) key 203 lib/common/operations.c CRM_CHECK(key && *key, return FALSE); key 205 lib/common/operations.c underbar1 = strchr(key, '_'); key 218 lib/common/operations.c return try_fast_match(key, underbar1, underbar2, key 220 lib/common/operations.c } else if (try_migrate_notify_match(key, rsc_id, op_type, interval_ms)) { key 223 lib/common/operations.c return try_basic_match(key, rsc_id, op_type, interval_ms); key 258 lib/common/operations.c char *key = NULL; key 266 lib/common/operations.c res = sscanf(magic, "%d:%d;%ms", &local_op_status, &local_op_rc, &key); key 268 lib/common/operations.c key = calloc(1, strlen(magic) - 3); // magic must have >=4 other characters key 269 lib/common/operations.c CRM_ASSERT(key); key 270 lib/common/operations.c res = sscanf(magic, "%d:%d;%s", &local_op_status, &local_op_rc, key); key 287 lib/common/operations.c result = decode_transition_key(key, uuid, transition_id, action_id, key 290 lib/common/operations.c free(key); key 317 lib/common/operations.c decode_transition_key(const char *key, char **uuid, int *transition_id, int *action_id, key 339 lib/common/operations.c CRM_CHECK(key != NULL, return FALSE); key 340 lib/common/operations.c if (sscanf(key, "%d:%d:%d:%36s", &local_action_id, &local_transition_id, key 342 lib/common/operations.c crm_err("Invalid transition key '%s'", key); key 346 lib/common/operations.c crm_warn("Invalid UUID '%s' in transition key '%s'", local_uuid, key); key 373 lib/common/operations.c char *key = NULL; key 397 lib/common/operations.c key = crm_meta_name(XML_LRM_ATTR_INTERVAL_MS); key 398 lib/common/operations.c if (crm_element_value_ms(param_set, key, &interval_ms) != pcmk_ok) { key 401 lib/common/operations.c free(key); key 403 lib/common/operations.c key = crm_meta_name(XML_ATTR_TIMEOUT); key 404 lib/common/operations.c timeout = crm_element_value_copy(param_set, key); key 420 lib/common/operations.c crm_xml_add(param_set, key, timeout); key 424 lib/common/operations.c free(key); key 431 lib/common/output_html.c char *key = va_arg(ap, char *); key 434 lib/common/output_html.c if (key == NULL) { key 439 lib/common/output_html.c xmlSetProp(header_node, (pcmkXmlStr) key, (pcmkXmlStr) value); key 1032 lib/common/patchset.c search_v2_xpath(xmlNode *top, const char *key, int target_position) key 1035 lib/common/patchset.c const char *current = key; key 1044 lib/common/patchset.c CRM_CHECK(key != NULL, return NULL); key 1045 lib/common/patchset.c key_len = strlen(key); key 1100 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); key 1103 lib/common/patchset.c crm_debug("No match for %s", key); key 290 lib/common/strings.c pcmk__guint_from_hash(GHashTable *table, const char *key, guint default_val, key 296 lib/common/strings.c CRM_CHECK((table != NULL) && (key != NULL), return EINVAL); key 298 lib/common/strings.c value = g_hash_table_lookup(table, key); key 581 lib/common/strings.c copy_str_table_entry(gpointer key, gpointer value, gpointer user_data) key 583 lib/common/strings.c if (key && value && user_data) { key 584 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); key 481 lib/common/utils.c char *key = NULL; key 484 lib/common/utils.c key = crm_meta_name(field); key 485 lib/common/utils.c if (key) { key 486 lib/common/utils.c value = g_hash_table_lookup(hash, key); key 487 lib/common/utils.c free(key); key 302 lib/fencing/st_client.c hash2field((gpointer) params->key, (gpointer) params->value, args); key 460 lib/fencing/st_client.c append_arg(const char *key, const char *value, GHashTable **args) key 462 lib/fencing/st_client.c CRM_CHECK(key != NULL, return); key 466 lib/fencing/st_client.c if (strstr(key, "pcmk_")) { key 468 lib/fencing/st_client.c } else if (strstr(key, CRM_META)) { key 470 lib/fencing/st_client.c } else if (pcmk__str_eq(key, "crm_feature_set", pcmk__str_casei)) { key 479 lib/fencing/st_client.c crm_trace("Appending: %s=%s", key, value); key 480 lib/fencing/st_client.c g_hash_table_replace(*args, strdup(key), strdup(value)); key 484 lib/fencing/st_client.c append_config_arg(gpointer key, gpointer value, gpointer user_data) key 490 lib/fencing/st_client.c if (!pcmk__str_eq(key, STONITH_ATTR_ACTION_OP, pcmk__str_casei)) { key 491 lib/fencing/st_client.c append_arg(key, value, user_data); key 1700 lib/fencing/st_client.c stonith_dump_pending_op(gpointer key, gpointer value, gpointer user_data) key 1702 lib/fencing/st_client.c int call = GPOINTER_TO_INT(key); key 2050 lib/fencing/st_client.c if (pcmk__str_eq(params->key, STONITH_ATTR_HOSTARG, pcmk__str_casei)) { key 2055 lib/fencing/st_client.c if (!pcmk__starts_with(params->key, "pcmk_") key 2056 lib/fencing/st_client.c && strcmp(params->key, "provides") key 2057 lib/fencing/st_client.c && strcmp(params->key, "stonith-timeout")) { key 2058 lib/fencing/st_client.c g_hash_table_insert(params_table, strdup(params->key), key 2207 lib/fencing/st_client.c stonith_key_value_add(stonith_key_value_t * head, const char *key, const char *value) key 2212 lib/fencing/st_client.c if (key) { key 2213 lib/fencing/st_client.c p->key = strdup(key); key 2241 lib/fencing/st_client.c free(head->key); key 31 lib/lrmd/lrmd_alerts.c const char **key; key 36 lib/lrmd/lrmd_alerts.c for (key = pcmk__alert_keys[name]; *key; key++) { key 37 lib/lrmd/lrmd_alerts.c crm_trace("Setting alert key %s = '%s'", *key, value); key 38 lib/lrmd/lrmd_alerts.c head = lrmd_key_value_add(head, *key, value); key 66 lib/lrmd/lrmd_alerts.c set_ev_kv(gpointer key, gpointer value, gpointer user_data) key 72 lib/lrmd/lrmd_alerts.c (char*)key, (char*)value); key 73 lib/lrmd/lrmd_alerts.c *head = lrmd_key_value_add(*head, key, value); key 171 lib/lrmd/lrmd_alerts.c copy_params = lrmd_key_value_add(copy_params, head->key, head->value); key 63 lib/lrmd/lrmd_client.c int lrmd_tls_set_key(gnutls_datum_t * key); key 145 lib/lrmd/lrmd_client.c lrmd_key_value_add(lrmd_key_value_t * head, const char *key, const char *value) key 150 lib/lrmd/lrmd_client.c p->key = strdup(key); key 174 lib/lrmd/lrmd_client.c free(head->key); key 1063 lib/lrmd/lrmd_client.c set_key(gnutls_datum_t * key, const char *location) key 1076 lib/lrmd/lrmd_client.c copy_gnutls_datum(key, &key_cache); key 1091 lib/lrmd/lrmd_client.c key->data = gnutls_malloc(buf_len); key 1092 lib/lrmd/lrmd_client.c key->size = 0; key 1102 lib/lrmd/lrmd_client.c if (key->size == buf_len) { key 1103 lib/lrmd/lrmd_client.c buf_len = key->size + KEY_READ_LEN; key 1104 lib/lrmd/lrmd_client.c key->data = gnutls_realloc(key->data, buf_len); key 1105 lib/lrmd/lrmd_client.c CRM_ASSERT(key->data); key 1107 lib/lrmd/lrmd_client.c key->data[key->size++] = (unsigned char) next; key 1111 lib/lrmd/lrmd_client.c if (key->size == 0) { key 1112 lib/lrmd/lrmd_client.c clear_gnutls_datum(key); key 1117 lib/lrmd/lrmd_client.c copy_gnutls_datum(&key_cache, key); key 1126 lib/lrmd/lrmd_client.c lrmd_tls_set_key(gnutls_datum_t * key) key 1130 lib/lrmd/lrmd_client.c if (set_key(key, specific_location) == 0) { key 1138 lib/lrmd/lrmd_client.c if ((set_key(key, DEFAULT_REMOTE_KEY_LOCATION) != 0) key 1139 lib/lrmd/lrmd_client.c && (set_key(key, ALT_REMOTE_KEY_LOCATION) != 0)) { key 1780 lib/lrmd/lrmd_client.c g_hash_table_insert(params_table, strdup(param->key), strdup(param->value)); key 1835 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); key 1861 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); key 224 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; key 239 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 241 lib/pacemaker/pcmk_sched_allocate.c pe_rsc_trace(rsc, "Checking parameters for %s", key); key 242 lib/pacemaker/pcmk_sched_allocate.c op_match = find_rsc_op_entry(rsc, key); key 247 lib/pacemaker/pcmk_sched_allocate.c free(key); key 251 lib/pacemaker/pcmk_sched_allocate.c pe_rsc_debug(rsc, "Orphan action detected: %s on %s", key, active_node->details->uname); key 252 lib/pacemaker/pcmk_sched_allocate.c free(key); key 255 lib/pacemaker/pcmk_sched_allocate.c free(key); key 256 lib/pacemaker/pcmk_sched_allocate.c key = NULL; key 295 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 297 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); key 310 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 320 lib/pacemaker/pcmk_sched_allocate.c op = custom_action(rsc, key, task, active_node, TRUE, TRUE, data_set); key 329 lib/pacemaker/pcmk_sched_allocate.c free(key); key 338 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); key 784 lib/pacemaker/pcmk_sched_allocate.c const char *key = (const char *)gKey; key 792 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__starts_with(key, "#health")) { key 1771 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; key 1776 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 1777 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, key, NULL); key 1783 lib/pacemaker/pcmk_sched_allocate.c free(key); key 1869 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; key 1874 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(lh_rsc->id, op_type, interval_ms); key 1877 lib/pacemaker/pcmk_sched_allocate.c free(key); key 1882 lib/pacemaker/pcmk_sched_allocate.c free(key); key 1889 lib/pacemaker/pcmk_sched_allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); key 1178 lib/pacemaker/pcmk_sched_clone.c char *key = action->uuid; key 1179 lib/pacemaker/pcmk_sched_clone.c int lpc = strlen(key); key 1182 lib/pacemaker/pcmk_sched_clone.c if (key[lpc] == '_' && stop == 0) { key 1185 lib/pacemaker/pcmk_sched_clone.c } else if (key[lpc] == '_') { key 1189 lib/pacemaker/pcmk_sched_clone.c task_mutable = strdup(key + lpc); key 1192 lib/pacemaker/pcmk_sched_clone.c crm_trace("Extracted action '%s' from '%s'", task_mutable, key); key 1429 lib/pacemaker/pcmk_sched_constraints.c task_from_action_or_key(pe_action_t *action, const char *key) key 1435 lib/pacemaker/pcmk_sched_constraints.c } else if (key) { key 1436 lib/pacemaker/pcmk_sched_constraints.c parse_op_key(key, NULL, &res, NULL); key 1695 lib/pacemaker/pcmk_sched_constraints.c char *key = NULL; key 1767 lib/pacemaker/pcmk_sched_constraints.c key = pcmk__op_key(resource->id, action, 0); key 1786 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, key 1796 lib/pacemaker/pcmk_sched_constraints.c free(key); key 714 lib/pacemaker/pcmk_sched_native.c char *key = NULL; key 752 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); key 753 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { key 756 lib/pacemaker/pcmk_sched_native.c free(key); key 764 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s %s due to %s", key, key 769 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s optional", key); key 774 lib/pacemaker/pcmk_sched_native.c possible_matches = find_actions_exact(rsc->actions, key, node); key 777 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s mandatory: not active", key); key 832 lib/pacemaker/pcmk_sched_native.c result, key, role ? role : role2text(RSC_ROLE_SLAVE), key 835 lib/pacemaker/pcmk_sched_native.c free(key); key 839 lib/pacemaker/pcmk_sched_native.c mon = custom_action(rsc, key, name, node, is_optional, TRUE, data_set); key 840 lib/pacemaker/pcmk_sched_native.c key = mon->uuid; key 871 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, key 875 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, key 913 lib/pacemaker/pcmk_sched_native.c char *key = NULL; key 948 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); key 949 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { key 952 lib/pacemaker/pcmk_sched_native.c free(key); key 970 lib/pacemaker/pcmk_sched_native.c possible_matches = find_actions_exact(rsc->actions, key, node); key 986 lib/pacemaker/pcmk_sched_native.c key, role, role2text(rsc->next_role), node_uname); key 1010 lib/pacemaker/pcmk_sched_native.c possible_matches = find_actions_exact(rsc->actions, key, stop_node); key 1012 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s mandatory on %s: not active", key, key 1016 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s optional on %s: already active", key, key 1022 lib/pacemaker/pcmk_sched_native.c stopped_mon = custom_action(rsc, strdup(key), name, stop_node, is_optional, TRUE, data_set); key 1065 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), stopped_mon, key 1078 lib/pacemaker/pcmk_sched_native.c key, crm_str(stop_node_uname)); key 1101 lib/pacemaker/pcmk_sched_native.c free(key); key 2515 lib/pacemaker/pcmk_sched_native.c char *key = NULL; key 2650 lib/pacemaker/pcmk_sched_native.c key = stop_key(rsc); key 2655 lib/pacemaker/pcmk_sched_native.c possible_matches = find_actions(rsc->actions, key, node); key 2669 lib/pacemaker/pcmk_sched_native.c free(key); key 2918 lib/pacemaker/pcmk_sched_native.c char *key = NULL; key 3083 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, RSC_STATUS, 0); key 3084 lib/pacemaker/pcmk_sched_native.c probe = custom_action(rsc, key, RSC_STATUS, node, FALSE, TRUE, data_set); key 188 lib/pacemaker/pcmk_sched_notif.c dup_attr(gpointer key, gpointer value, gpointer user_data) key 190 lib/pacemaker/pcmk_sched_notif.c add_hash_param(user_data, key, value); key 207 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; key 233 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, value, task); key 234 lib/pacemaker/pcmk_sched_notif.c trigger = custom_action(rsc, key, op->task, node, key 300 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; key 312 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "pre", start->task); key 314 lib/pacemaker/pcmk_sched_notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, key 329 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "confirmed-pre", start->task); key 330 lib/pacemaker/pcmk_sched_notif.c n_data->pre_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, key 351 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "post", end->task); key 352 lib/pacemaker/pcmk_sched_notif.c n_data->post = custom_action(rsc, key, RSC_NOTIFY, NULL, key 374 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "confirmed-post", end->task); key 375 lib/pacemaker/pcmk_sched_notif.c n_data->post_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, key 508 lib/pacemaker/pcmk_sched_notif.c #define add_notify_env(n_data, key, value) do { \ key 509 lib/pacemaker/pcmk_sched_notif.c n_data->keys = pcmk_prepend_nvpair(n_data->keys, key, value); \ key 512 lib/pacemaker/pcmk_sched_notif.c #define add_notify_env_free(n_data, key, value) do { \ key 513 lib/pacemaker/pcmk_sched_notif.c n_data->keys = pcmk_prepend_nvpair(n_data->keys, key, value); \ key 412 lib/pacemaker/pcmk_sched_promotable.c char *key = clone_strip(rsc->id); key 420 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); key 423 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Found %s for %s active on %s: done", active->id, key, node->details->uname); key 424 lib/pacemaker/pcmk_sched_promotable.c free(key); key 427 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Found %s for %s on %s: not %s", active->id, key, node->details->uname, rsc->id); key 428 lib/pacemaker/pcmk_sched_promotable.c free(key); key 431 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "%s on %s: not active", key, node->details->uname); key 446 lib/pacemaker/pcmk_sched_promotable.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); key 449 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Checking %s for %s on %s", rsc->id, key, node->details->uname); key 451 lib/pacemaker/pcmk_sched_promotable.c free(key); key 456 lib/pacemaker/pcmk_sched_promotable.c free(key); key 537 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; key 550 lib/pacemaker/pcmk_sched_transition.c key = calloc(1, strlen(spec) + 1); key 552 lib/pacemaker/pcmk_sched_transition.c rc = sscanf(spec, "%[^@]@%[^=]=%d", key, node, &outcome); key 555 lib/pacemaker/pcmk_sched_transition.c free(key); key 560 lib/pacemaker/pcmk_sched_transition.c parse_op_key(key, &resource, &task, &interval_ms); key 592 lib/pacemaker/pcmk_sched_transition.c free(key); key 697 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; key 701 lib/pacemaker/pcmk_sched_transition.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type, key 703 lib/pacemaker/pcmk_sched_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { key 706 lib/pacemaker/pcmk_sched_transition.c free(key); key 709 lib/pacemaker/pcmk_sched_transition.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", lrm_name, op->op_type, key 711 lib/pacemaker/pcmk_sched_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { key 714 lib/pacemaker/pcmk_sched_transition.c free(key); key 30 lib/pacemaker/pcmk_sched_utilization.c do_compare_capacity1(gpointer key, gpointer value, gpointer user_data) key 38 lib/pacemaker/pcmk_sched_utilization.c crm_parse_int(g_hash_table_lookup(data->node2->details->utilization, key), "0"); key 48 lib/pacemaker/pcmk_sched_utilization.c do_compare_capacity2(gpointer key, gpointer value, gpointer user_data) key 54 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { key 92 lib/pacemaker/pcmk_sched_utilization.c do_calculate_utilization(gpointer key, gpointer value, gpointer user_data) key 98 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); key 101 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); key 105 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); key 132 lib/pacemaker/pcmk_sched_utilization.c check_capacity(gpointer key, gpointer value, gpointer user_data) key 139 lib/pacemaker/pcmk_sched_utilization.c remaining = crm_parse_int(g_hash_table_lookup(data->node->details->utilization, key), "0"); key 146 lib/pacemaker/pcmk_sched_utilization.c data->node->details->uname, (char *)key, data->rsc_id, required, remaining); key 503 lib/pacemaker/pcmk_sched_utils.c char *key = pcmk__op_key(rsc->id, task, interval_ms); key 505 lib/pacemaker/pcmk_sched_utils.c cancel_op = custom_action(rsc, key, RSC_CANCEL, node, FALSE, TRUE, key 609 lib/pacemaker/pcmk_sched_utils.c char *key = NULL; key 639 lib/pacemaker/pcmk_sched_utils.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); key 667 lib/pacemaker/pcmk_sched_utils.c op_id = strdup(key); key 693 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); key 765 lib/pacemaker/pcmk_sched_utils.c free(key); key 183 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); key 189 lib/pacemaker/pcmk_trans_utils.c input->id, actiontype2text(input->type), key, key 199 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); key 203 lib/pacemaker/pcmk_trans_utils.c actiontype2text(action->type), key); key 94 lib/pengine/complex.c dup_attr(gpointer key, gpointer value, gpointer user_data) key 96 lib/pengine/complex.c add_hash_param(user_data, key, value); key 212 lib/pengine/complex.c char *key = NULL; key 219 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); key 220 lib/pengine/complex.c return key; key 301 lib/pengine/complex.c char *key = template_op_key(op); key 303 lib/pengine/complex.c g_hash_table_insert(rsc_ops_hash, key, op); key 309 lib/pengine/complex.c char *key = template_op_key(op); key 311 lib/pengine/complex.c if (g_hash_table_lookup(rsc_ops_hash, key) == NULL) { key 315 lib/pengine/complex.c free(key); key 254 lib/pengine/failcounts.c char *key = NULL; key 265 lib/pengine/failcounts.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 266 lib/pengine/failcounts.c if (regexec(&failcount_re, key, 0, NULL, 0) == 0) { key 268 lib/pengine/failcounts.c } else if (regexec(&lastfailure_re, key, 0, NULL, 0) == 0) { key 363 lib/pengine/failcounts.c char *key = NULL; key 368 lib/pengine/failcounts.c key = pcmk__op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); key 369 lib/pengine/failcounts.c clear = custom_action(rsc, key, CRM_OP_CLEAR_FAILCOUNT, node, FALSE, TRUE, key 388 lib/pengine/native.c native_print_attr(gpointer key, gpointer value, gpointer user_data) key 393 lib/pengine/native.c status_print("Option: %s = %s\n", (char *)key, (char *)value); key 771 lib/pengine/native.c gpointer key, value; key 775 lib/pengine/native.c while (g_hash_table_iter_next(&iter, &key, &value)) { key 776 lib/pengine/native.c out->list_item(out, NULL, "Option: %s = %s", (char *) key, (char *) value); key 838 lib/pengine/native.c gpointer key, value; key 842 lib/pengine/native.c while (g_hash_table_iter_next(&iter, &key, &value)) { key 843 lib/pengine/native.c out->list_item(out, NULL, "Option: %s = %s", (char *) key, (char *) value); key 2152 lib/pengine/unpack.c char *key = NULL; key 2184 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); key 2185 lib/pengine/unpack.c pe_rsc_trace(rsc, "Creating %s/%s", key, node->details->uname); key 2186 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, TRUE, data_set); key 2452 lib/pengine/unpack.c set_node_score(gpointer key, gpointer value, gpointer user_data) key 2769 lib/pengine/unpack.c const char *key = crm_element_value(xIter, XML_LRM_ATTR_TASK_KEY); key 2772 lib/pengine/unpack.c if(pcmk__str_eq(op_key, key, pcmk__str_casei) && pcmk__str_eq(uname, node->details->uname, pcmk__str_casei)) { key 2786 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); key 2787 lib/pengine/unpack.c if(key == NULL) { key 2788 lib/pengine/unpack.c key = ID(xml_op); key 2790 lib/pengine/unpack.c return key; key 2911 lib/pengine/unpack.c const char *key = get_op_key(xml_op); key 2961 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); key 2964 lib/pengine/unpack.c fail2text(action->on_fail), action->uuid, key); key 3072 lib/pengine/unpack.c const char *key = get_op_key(xml_op); key 3101 lib/pengine/unpack.c key, node->details->uname); key 3106 lib/pengine/unpack.c key, node->details->uname, key 3427 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); key 3429 lib/pengine/unpack.c if (key == NULL) { key 3432 lib/pengine/unpack.c decode_transition_key(key, NULL, NULL, NULL, &target_rc); key 3437 lib/pengine/unpack.c get_action_on_fail(pe_resource_t *rsc, const char *key, const char *task, pe_working_set_t * data_set) key 3440 lib/pengine/unpack.c pe_action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); key 24 lib/pengine/utils.c void print_str_str(gpointer key, gpointer value, gpointer user_data); key 25 lib/pengine/utils.c gboolean ghash_free_str_str(gpointer key, gpointer value, gpointer user_data); key 28 lib/pengine/utils.c static xmlNode *find_rsc_op_entry_helper(pe_resource_t * rsc, const char *key, key 339 lib/pengine/utils.c append_dump_text(gpointer key, gpointer value, gpointer user_data) key 343 lib/pengine/utils.c *dump_text, (char *)key, (char *)value); key 465 lib/pengine/utils.c custom_action(pe_resource_t * rsc, char *key, const char *task, key 472 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 473 lib/pengine/utils.c CRM_CHECK(task != NULL, free(key); return NULL); key 476 lib/pengine/utils.c possible_matches = find_actions(rsc->actions, key, on_node); key 479 lib/pengine/utils.c action = g_hash_table_lookup(data_set->singletons, key); key 482 lib/pengine/utils.c possible_matches = find_actions(data_set->actions, key, on_node); key 510 lib/pengine/utils.c task, (rsc? rsc->id : "no resource"), key, key 525 lib/pengine/utils.c action->uuid = strdup(key); key 552 lib/pengine/utils.c action->op_entry = find_rsc_op_entry_helper(rsc, key, TRUE); key 553 lib/pengine/utils.c parse_op_key(key, NULL, NULL, &interval_ms); key 695 lib/pengine/utils.c free(key); key 1299 lib/pengine/utils.c find_rsc_op_entry_helper(pe_resource_t * rsc, const char *key, gboolean include_disabled) key 1325 lib/pengine/utils.c if (pcmk__str_eq(key, match_key, pcmk__str_casei)) { key 1332 lib/pengine/utils.c if (pcmk__str_eq(key, match_key, pcmk__str_casei)) { key 1351 lib/pengine/utils.c if (strstr(key, CRMD_ACTION_MIGRATE) || strstr(key, CRMD_ACTION_MIGRATED)) { key 1353 lib/pengine/utils.c key = local_key; key 1356 lib/pengine/utils.c } else if (strstr(key, "_notify_")) { key 1358 lib/pengine/utils.c key = local_key; key 1366 lib/pengine/utils.c find_rsc_op_entry(pe_resource_t * rsc, const char *key) key 1368 lib/pengine/utils.c return find_rsc_op_entry_helper(rsc, key, FALSE); key 1411 lib/pengine/utils.c print_str_str(gpointer key, gpointer value, gpointer user_data) key 1415 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); key 1533 lib/pengine/utils.c find_actions(GListPtr input, const char *key, const pe_node_t *on_node) key 1538 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 1543 lib/pengine/utils.c if (!pcmk__str_eq(key, action->uuid, pcmk__str_casei)) { key 1544 lib/pengine/utils.c crm_trace("%s does not match action %s", key, action->uuid); key 1548 lib/pengine/utils.c crm_trace("Action %s matches (ignoring node)", key); key 1553 lib/pengine/utils.c key, on_node->details->uname); key 1559 lib/pengine/utils.c crm_trace("Action %s on %s matches", key, on_node->details->uname); key 1564 lib/pengine/utils.c key, action->node->details->uname, key 1573 lib/pengine/utils.c find_actions_exact(GList *input, const char *key, const pe_node_t *on_node) key 1577 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 1581 lib/pengine/utils.c key); key 1590 lib/pengine/utils.c key, action->uuid); key 1592 lib/pengine/utils.c } else if (!pcmk__str_eq(key, action->uuid, pcmk__str_casei)) { key 1593 lib/pengine/utils.c crm_trace("Desired action %s doesn't match %s", key, action->uuid); key 1597 lib/pengine/utils.c key, on_node->details->id, action->node->details->id); key 1600 lib/pengine/utils.c crm_trace("Action %s matches", key); key 1625 lib/pengine/utils.c char *key = pcmk__op_key(rsc->id, task, 0); key 1628 lib/pengine/utils.c result = find_actions_exact(rsc->actions, key, node); key 1630 lib/pengine/utils.c result = find_actions(rsc->actions, key, node); key 1632 lib/pengine/utils.c free(key); key 2027 lib/pengine/utils.c char *key = NULL; key 2032 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 2033 lib/pengine/utils.c crm_xml_add(params, key, value); key 2054 lib/pengine/utils.c rsc_action_digest(pe_resource_t *rsc, const char *task, const char *key, key 2060 lib/pengine/utils.c data = g_hash_table_lookup(node->details->digest_cache, key); key 2063 lib/pengine/utils.c pe_action_t *action = custom_action(rsc, strdup(key), task, node, TRUE, FALSE, data_set); key 2141 lib/pengine/utils.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); key 2153 lib/pengine/utils.c char *key = NULL; key 2168 lib/pengine/utils.c key = pcmk__op_key(rsc->id, task, interval_ms); key 2169 lib/pengine/utils.c data = rsc_action_digest(rsc, task, key, node, xml_op, key 2176 lib/pengine/utils.c key, node->details->uname, key 2187 lib/pengine/utils.c key, node->details->uname, key 2194 lib/pengine/utils.c free(key); key 2283 lib/pengine/utils.c char *key = pcmk__op_key(rsc->id, STONITH_DIGEST_TASK, 0); key 2284 lib/pengine/utils.c op_digest_cache_t *data = rsc_action_digest(rsc, STONITH_DIGEST_TASK, key, key 2287 lib/pengine/utils.c free(key); key 2790 lib/pengine/utils.c char *key = NULL; key 2793 lib/pengine/utils.c key = pcmk__op_key(rsc->id, CRM_OP_LRM_DELETE, 0); key 2794 lib/pengine/utils.c return custom_action(rsc, key, CRM_OP_LRM_DELETE, node, FALSE, TRUE, key 267 lib/services/services.c char *key = NULL; key 274 lib/services/services.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value) && key 277 lib/services/services.c if (pcmk__str_eq(key, XML_ATTR_CRM_VERSION, pcmk__str_casei) || strstr(key, CRM_META "_")) { key 280 lib/services/services.c op->opaque->args[index++] = crm_strdup_printf("--%s", key); key 363 lib/services/services_linux.c set_ocf_env(const char *key, const char *value, gpointer user_data) key 365 lib/services/services_linux.c if (setenv(key, value, 1) != 0) { key 366 lib/services/services_linux.c crm_perror(LOG_ERR, "setenv failed for key:%s and value:%s", key, value); key 371 lib/services/services_linux.c set_ocf_env_with_prefix(gpointer key, gpointer value, gpointer user_data) key 375 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), strcmp(key, "OCF_CHECK_LEVEL") != 0 ? "OCF_RESKEY_%s" : "%s", (char *)key); key 380 lib/services/services_linux.c set_alert_env(gpointer key, gpointer value, gpointer user_data) key 385 lib/services/services_linux.c rc = setenv(key, value, 1); key 387 lib/services/services_linux.c rc = unsetenv(key); key 392 lib/services/services_linux.c (char*)key, (value? (char*)value : "")); key 394 lib/services/services_linux.c crm_trace("setenv %s=%s", (char*)key, (value? (char*)value : "")); key 443 lib/services/services_linux.c pipe_in_single_parameter(gpointer key, gpointer value, gpointer user_data) key 446 lib/services/services_linux.c char *buffer = crm_strdup_printf("%s=%s\n", (char *)key, (char *) value); key 106 libltdl/libltdl/lt__private.h lt_dlinterface_id key; key 2314 libltdl/ltdl.c void lt_dlinterface_free (lt_dlinterface_id key) key 2316 libltdl/ltdl.c lt__interface_id *interface_id = (lt__interface_id *)key; key 2322 libltdl/ltdl.c lt_dlcaller_set_data (lt_dlinterface_id key, lt_dlhandle handle, void *data) key 2330 libltdl/ltdl.c while (cur->interface_data[n_elements].key) key 2335 libltdl/ltdl.c if (cur->interface_data[i].key == key) key 2358 libltdl/ltdl.c cur->interface_data[i].key = key; key 2359 libltdl/ltdl.c cur->interface_data[1+ i].key = 0; key 2369 libltdl/ltdl.c lt_dlcaller_get_data (lt_dlinterface_id key, lt_dlhandle handle) key 2378 libltdl/ltdl.c for (i = 0; cur->interface_data[i].key; ++i) key 2380 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 467 tools/crm_mon_print.c gpointer key, value; key 480 tools/crm_mon_print.c while (g_hash_table_iter_next(&iter, &key, &value)) { key 567 tools/crm_mon_print.c gpointer key, value; key 570 tools/crm_mon_print.c while (g_hash_table_iter_next (&iter, &key, &value)) { key 571 tools/crm_mon_print.c attr_list = append_attr_list(attr_list, key); key 951 tools/crm_resource_runtime.c char *key = NULL; key 955 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 956 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); key 962 tools/crm_resource_runtime.c char *key = NULL; key 966 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 967 tools/crm_resource_runtime.c char *crm_name = crm_meta_name(key); key 1211 tools/crm_resource_runtime.c char *key = crm_strdup_printf("%s_%s_0", rsc->id, RSC_STOP); key 1212 tools/crm_resource_runtime.c pe_action_t *stop = custom_action(rsc, key, RSC_STOP, NULL, TRUE, FALSE, data_set); key 543 tools/crm_simulate.c char *key = NULL; key 558 tools/crm_simulate.c key = pcmk__notify_key(clone_name, n_type, n_task); key 561 tools/crm_simulate.c key = pcmk__op_key(clone_name, task, interval_ms); key 565 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix, key, action_host); key 567 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s", prefix, key); key 569 tools/crm_simulate.c free(key); key 355 tools/crm_ticket.c const char *key = (const char *)list_iter->data; key 357 tools/crm_ticket.c if (pcmk__str_eq(key, "granted", pcmk__str_casei)) { key 378 tools/crm_ticket.c char *key = NULL; key 405 tools/crm_ticket.c const char *key = (const char *)list_iter->data; key 406 tools/crm_ticket.c xml_remove_prop(ticket_state_xml, key); key 412 tools/crm_ticket.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) & key, (gpointer *) & value)) { key 413 tools/crm_ticket.c crm_xml_add(ticket_state_xml, key, value); key 415 tools/crm_ticket.c if (pcmk__str_eq(key, "granted", pcmk__str_casei) key 243 tools/stonith_admin.c char *key = crm_strdup_printf("OCF_RESKEY_%s", optarg); key 244 tools/stonith_admin.c const char *env = getenv(key); key 255 tools/stonith_admin.c free(key); key 605 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL;