key 1439 daemons/based/based_callbacks.c disconnect_remote_client(gpointer key, gpointer value, gpointer user_data) key 47 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 399 daemons/controld/controld_execd.c const char *key = NULL; key 441 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, (gpointer*)&key, (gpointer*)&pending)) { key 442 daemons/controld/controld_execd.c do_crm_log(log_level, "Pending action: %s (%s)", key, pending->op_key); key 477 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&hIter, (gpointer*)&key, (gpointer*)&pending)) { key 481 daemons/controld/controld_execd.c key, pending->op_key, when); key 920 daemons/controld/controld_execd.c lrm_remove_deleted_rsc(gpointer key, gpointer value, gpointer user_data) key 933 daemons/controld/controld_execd.c lrm_remove_deleted_op(gpointer key, gpointer value, gpointer user_data) key 1046 daemons/controld/controld_execd.c const char *key, const char *orig_op, int call_id) key 1050 daemons/controld/controld_execd.c CRM_CHECK((rsc_id != NULL) && (key != NULL), return); key 1054 daemons/controld/controld_execd.c lrm_state->node_name, rsc_id, key, key 1059 daemons/controld/controld_execd.c lrm_state->node_name, rsc_id, key, key 1063 daemons/controld/controld_execd.c lrm_state->node_name, rsc_id, key); key 1067 daemons/controld/controld_execd.c key, rsc_id, call_id); key 1135 daemons/controld/controld_execd.c cancel_op(lrm_state_t * lrm_state, const char *rsc_id, const char *key, int op, gboolean remove) key 1143 daemons/controld/controld_execd.c if (key == NULL) { key 1145 daemons/controld/controld_execd.c key = local_key; key 1147 daemons/controld/controld_execd.c pending = g_hash_table_lookup(lrm_state->pending_ops, key); key 1152 daemons/controld/controld_execd.c crm_debug("Scheduling %s for removal", key); key 1156 daemons/controld/controld_execd.c crm_debug("Operation %s already cancelled", key); key 1163 daemons/controld/controld_execd.c crm_info("No pending op found for %s", key); key 1168 daemons/controld/controld_execd.c crm_debug("Cancelling op %d for %s (%s)", op, rsc_id, key); key 1172 daemons/controld/controld_execd.c crm_debug("Op %d for %s (%s): cancelled", op, rsc_id, key); key 1177 daemons/controld/controld_execd.c crm_debug("Op %d for %s (%s): Nothing to cancel", op, rsc_id, key); key 1194 daemons/controld/controld_execd.c const char *key; key 1200 daemons/controld/controld_execd.c cancel_action_by_key(gpointer key, gpointer value, gpointer user_data) key 1206 daemons/controld/controld_execd.c if (pcmk__str_eq(op->op_key, data->key, pcmk__str_none)) { key 1208 daemons/controld/controld_execd.c remove = !cancel_op(data->lrm_state, data->rsc->id, key, op->call_id, data->remove); key 1214 daemons/controld/controld_execd.c cancel_op_key(lrm_state_t * lrm_state, lrmd_rsc_info_t * rsc, const char *key, gboolean remove) key 1220 daemons/controld/controld_execd.c CRM_CHECK(key != NULL, return FALSE); key 1222 daemons/controld/controld_execd.c data.key = key; key 1897 daemons/controld/controld_execd.c char *key = NULL; key 1904 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1906 daemons/controld/controld_execd.c g_hash_table_replace(params, key, value); key 1913 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1914 daemons/controld/controld_execd.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); key 1916 daemons/controld/controld_execd.c if (pcmk__str_eq(key, XML_ATTR_TIMEOUT, pcmk__str_casei)) { key 1918 daemons/controld/controld_execd.c } else if (pcmk__str_eq(key, XML_OP_ATTR_START_DELAY, pcmk__str_casei)) { key 1927 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 1929 daemons/controld/controld_execd.c g_hash_table_replace(params, key, value); key 2153 daemons/controld/controld_execd.c stop_recurring_action_by_rsc(gpointer key, gpointer value, gpointer user_data) key 2162 daemons/controld/controld_execd.c crm_debug("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, (char*)key); key 2163 daemons/controld/controld_execd.c remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE); key 2170 daemons/controld/controld_execd.c stop_recurring_actions(gpointer key, gpointer value, gpointer user_data) key 2178 daemons/controld/controld_execd.c (const char *) key); key 2179 daemons/controld/controld_execd.c remove = !cancel_op(lrm_state, op->rsc_id, key, op->call_id, FALSE); key 2322 daemons/controld/controld_execd.c char *key = NULL; key 2327 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 2328 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 137 daemons/controld/controld_execd_state.c remote_proxy_remove_by_node(gpointer key, gpointer value, gpointer user_data) key 65 daemons/controld/controld_fencing.c const char *key = NULL; key 74 daemons/controld/controld_fencing.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, key 78 daemons/controld/controld_fencing.c target = (const char*)key; key 118 daemons/controld/controld_fencing.c const char *key = NULL; key 122 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 619 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 206 daemons/controld/controld_metadata.c char *key = NULL; key 215 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); key 216 daemons/controld/controld_metadata.c if (!key) { key 245 daemons/controld/controld_metadata.c log_ra_ocf_version(key, (const char *) content); key 262 daemons/controld/controld_metadata.c controld_set_ra_flags(md, key, ra_supports_reload_agent); key 265 daemons/controld/controld_metadata.c "because it does not support OCF 1.1 or later", key); key 270 daemons/controld/controld_metadata.c controld_set_ra_flags(md, key, ra_supports_legacy_reload); key 313 daemons/controld/controld_metadata.c g_hash_table_replace(mdc, key, md); key 318 daemons/controld/controld_metadata.c free(key); key 341 daemons/controld/controld_metadata.c char *key = NULL; key 347 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); key 348 daemons/controld/controld_metadata.c if (key != NULL) { key 349 daemons/controld/controld_metadata.c metadata = g_hash_table_lookup(lrm_state->metadata_cache, key); key 350 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 338 daemons/controld/controld_te_callbacks.c char *key; key 342 daemons/controld/controld_te_callbacks.c key = strrchr(mutable_key, '\''); key 343 daemons/controld/controld_te_callbacks.c if (key != NULL) { key 344 daemons/controld/controld_te_callbacks.c *key = '\0'; key 345 daemons/controld/controld_te_callbacks.c key = strrchr(mutable_key, '\''); key 347 daemons/controld/controld_te_callbacks.c if (key == NULL) { key 353 daemons/controld/controld_te_callbacks.c ++key; key 356 daemons/controld/controld_te_callbacks.c if (confirm_cancel_action(key, node_uuid) == FALSE) { key 491 daemons/execd/cts-exec-helper.c char *key = NULL; key 495 daemons/execd/cts-exec-helper.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 496 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, value); key 501 daemons/execd/cts-exec-helper.c char *key = NULL; key 505 daemons/execd/cts-exec-helper.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 506 daemons/execd/cts-exec-helper.c char *crm_name = crm_meta_name(key); key 525 daemons/execd/cts-exec-helper.c char *key = NULL; key 606 daemons/execd/cts-exec-helper.c key = optarg; key 607 daemons/execd/cts-exec-helper.c if (key && val) { key 608 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); key 609 daemons/execd/cts-exec-helper.c key = val = NULL; key 614 daemons/execd/cts-exec-helper.c if (key && val) { key 615 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); key 616 daemons/execd/cts-exec-helper.c key = val = NULL; key 520 daemons/execd/execd_commands.c send_client_notify(gpointer key, gpointer value, gpointer user_data) key 626 daemons/execd/execd_commands.c char *key = NULL; key 633 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 634 daemons/execd/execd_commands.c hash2smartfield((gpointer) key, (gpointer) value, args); key 841 daemons/execd/execd_commands.c notify_one_client(gpointer key, gpointer value, gpointer user_data) key 847 daemons/execd/execd_commands.c send_client_notify(key, (gpointer) client, (gpointer) data->notify); key 904 daemons/execd/execd_commands.c char *key = NULL; key 907 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & rsc)) { key 1178 daemons/execd/execd_commands.c char *key = NULL; key 1181 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & rsc)) { key 1236 daemons/execd/execd_commands.c char *key = NULL; key 1246 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 1247 daemons/execd/execd_commands.c device_params = stonith_key_value_add(device_params, key, value); key 1851 daemons/execd/execd_commands.c char *key = NULL; key 1854 daemons/execd/execd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, key 402 daemons/execd/remoted_proxy.c char *key = NULL; key 409 daemons/execd/remoted_proxy.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & ipc_client)) { key 252 daemons/execd/remoted_tls.c lrmd_tls_server_key_cb(gnutls_session_t session, const char *username, gnutls_datum_t * key) key 254 daemons/execd/remoted_tls.c return (lrmd__init_remote_key(key) == pcmk_rc_ok)? 0 : -1; key 851 daemons/fenced/fenced_commands.c char *key = crm_strdup_printf("pcmk_%s_action", action); key 853 daemons/fenced/fenced_commands.c if (g_hash_table_lookup(params, key)) { key 855 daemons/fenced/fenced_commands.c STONITH_ATTR_ACTION_OP, value, key); key 856 daemons/fenced/fenced_commands.c free(key); key 859 daemons/fenced/fenced_commands.c STONITH_ATTR_ACTION_OP, value, key, value); key 860 daemons/fenced/fenced_commands.c g_hash_table_insert(params, key, strdup(value)); key 1136 daemons/fenced/fenced_commands.c char *key = NULL; key 1141 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&value)) { key 1143 daemons/fenced/fenced_commands.c if(strstr(key, "CRM_meta") == key) { key 1145 daemons/fenced/fenced_commands.c } else if(strcmp(key, "crm_feature_set") == 0) { key 1148 daemons/fenced/fenced_commands.c char *other_value = g_hash_table_lookup(second, key); key 1151 daemons/fenced/fenced_commands.c crm_trace("Different value for %s: %s != %s", key, other_value, value); key 1773 daemons/fenced/fenced_commands.c search_devices(gpointer key, gpointer value, gpointer user_data) key 1789 daemons/fenced/fenced_commands.c char *key = NULL; key 1807 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 1341 daemons/fenced/fenced_remote.c add_device_timeout(gpointer key, gpointer value, gpointer user_data) key 1343 daemons/fenced/fenced_remote.c const char *device_id = key; key 296 daemons/fenced/pacemaker-fenced.c stonith_notify_client(gpointer key, gpointer value, gpointer user_data) key 462 daemons/fenced/pacemaker-fenced.c char *key = stonith_level_key(match, -1); key 465 daemons/fenced/pacemaker-fenced.c topology_remove_helper(key, index); key 466 daemons/fenced/pacemaker-fenced.c free(key); key 225 daemons/pacemakerd/pcmkd_corosync.c get_config_opt(uint64_t unused, cmap_handle_t object_handle, const char *key, char **value, key 230 daemons/pacemakerd/pcmkd_corosync.c cs_repeat(retries, 5, rc = cmap_get_string(object_handle, key, value)); key 232 daemons/pacemakerd/pcmkd_corosync.c crm_trace("Search for %s failed %d, defaulting to %s", key, rc, fallback); key 239 daemons/pacemakerd/pcmkd_corosync.c crm_trace("%s: %s", key, *value); key 340 daemons/pacemakerd/pcmkd_corosync.c char key[PATH_MAX]; key 341 daemons/pacemakerd/pcmkd_corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); key 342 daemons/pacemakerd/pcmkd_corosync.c rc = cmap_set_uint8(local_handle, key, 1); 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 85 include/crm/common/strings_internal.h pcmk__intkey_table_insert(GHashTable *hash_table, int key, gpointer value) key 87 include/crm/common/strings_internal.h return g_hash_table_insert(hash_table, GINT_TO_POINTER(key), value); key 100 include/crm/common/strings_internal.h pcmk__intkey_table_lookup(GHashTable *hash_table, int key) key 102 include/crm/common/strings_internal.h return g_hash_table_lookup(hash_table, GINT_TO_POINTER(key)); key 115 include/crm/common/strings_internal.h pcmk__intkey_table_remove(GHashTable *hash_table, int key) key 117 include/crm/common/strings_internal.h return g_hash_table_remove(hash_table, GINT_TO_POINTER(key)); key 60 include/crm/common/util.h gboolean parse_op_key(const char *key, char **rsc_id, char **op_type, key 62 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 73 include/crm/lrmd_internal.h int lrmd__init_remote_key(gnutls_datum_t *key); key 351 include/crm/pengine/internal.h pe_hash_table_lookup(GHashTable * hash, gconstpointer key) key 354 include/crm/pengine/internal.h return g_hash_table_lookup(hash, key); key 363 include/crm/pengine/internal.h extern void print_str_str(gpointer key, gpointer value, gpointer user_data); key 379 include/crm/pengine/internal.h extern xmlNode *find_rsc_op_entry(pe_resource_t * rsc, const char *key); key 381 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 438 include/crm/pengine/internal.h extern GList *find_actions(GList *input, const char *key, const pe_node_t *on_node); key 439 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 677 lib/cib/cib_client.c cib_dump_pending_op(gpointer key, gpointer value, gpointer user_data) key 679 lib/cib/cib_client.c int call = GPOINTER_TO_INT(key); key 68 lib/cluster/corosync.c node_name_is_valid(const char *key, const char *name) key 73 lib/cluster/corosync.c crm_trace("%s is empty", key); key 77 lib/cluster/corosync.c crm_trace("%s contains an IPv4 address (%s), ignoring", key, name); key 81 lib/cluster/corosync.c crm_trace("%s contains an IPv6 address (%s), ignoring", key, name); key 84 lib/cluster/corosync.c crm_trace("'%s: %s' is valid", key, name); key 168 lib/cluster/corosync.c char *key = NULL; key 170 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); key 171 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &id); key 172 lib/cluster/corosync.c crm_trace("Checking %u vs %u from %s", nodeid, id, key); key 173 lib/cluster/corosync.c free(key); key 183 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.name", lpc); key 184 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); key 185 lib/cluster/corosync.c crm_trace("%s = %s", key, crm_str(name)); key 186 lib/cluster/corosync.c free(key); key 189 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.ring0_addr", lpc); key 190 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); key 191 lib/cluster/corosync.c crm_trace("%s = %s", key, crm_str(name)); key 193 lib/cluster/corosync.c if (!node_name_is_valid(key, name)) { key 197 lib/cluster/corosync.c free(key); key 598 lib/cluster/corosync.c char *key = NULL; key 600 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); key 601 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &nodeid); key 602 lib/cluster/corosync.c free(key); key 639 lib/cluster/cpg.c const struct cpg_address *key, **sorted; key 672 lib/cluster/cpg.c key = &left_list[i]; key 673 lib/cluster/cpg.c rival = bsearch(&key, sorted, member_list_entries, key 369 lib/cluster/election.c char *key = NULL; key 380 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, (gpointer *) & key, NULL)) { key 381 lib/cluster/election.c crm_warn("* actual vote: %s", key); key 228 lib/cluster/membership.c mark_dirty(gpointer key, gpointer value, gpointer user_data) key 234 lib/cluster/membership.c is_dirty(gpointer key, gpointer value, gpointer user_data) key 304 lib/cluster/membership.c crm_reap_dead_member(gpointer key, gpointer value, gpointer user_data) key 365 lib/cluster/membership.c count_peer(gpointer key, gpointer value, gpointer user_data) key 490 lib/cluster/membership.c 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), pcmk__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 164 lib/common/ipc_server.c client_from_connection(qb_ipcs_connection_t *c, void *key, uid_t uid_client) key 184 lib/common/ipc_server.c if (key == NULL) { key 185 lib/common/ipc_server.c key = c; key 196 lib/common/ipc_server.c if (key == NULL) { key 197 lib/common/ipc_server.c key = client->id; key 203 lib/common/ipc_server.c g_hash_table_insert(client_connections, key, client); key 215 lib/common/ipc_server.c pcmk__new_unauth_client(void *key) key 217 lib/common/ipc_server.c pcmk__client_t *client = client_from_connection(NULL, key, 0); key 549 lib/common/logging.c char *key = crm_strdup_printf("%s:%d", cs->function, cs->lineno); key 551 lib/common/logging.c if (strstr(trace_blackbox, key) != NULL) { key 554 lib/common/logging.c free(key); key 752 lib/common/nvpair.c hash2smartfield(gpointer key, gpointer value, gpointer user_data) key 754 lib/common/nvpair.c const char *name = key; key 786 lib/common/nvpair.c hash2field(gpointer key, gpointer value, gpointer user_data) key 788 lib/common/nvpair.c const char *name = key; key 814 lib/common/nvpair.c hash2metafield(gpointer key, gpointer value, gpointer user_data) key 818 lib/common/nvpair.c if (key == NULL || value == NULL) { key 825 lib/common/nvpair.c for (crm_name = key; *crm_name; ++crm_name) { key 831 lib/common/nvpair.c crm_name = crm_meta_name(key); key 887 lib/common/nvpair.c hash2nvpair(gpointer key, gpointer value, gpointer user_data) key 889 lib/common/nvpair.c const char *name = key; key 944 lib/common/nvpair.c const char *key = crm_element_value(child, XML_NVPAIR_ATTR_NAME); key 947 lib/common/nvpair.c crm_trace("Added %s=%s", key, value); key 948 lib/common/nvpair.c if (key != NULL && value != NULL) { key 949 lib/common/nvpair.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); key 69 lib/common/operations.c try_fast_match(const char *key, const char *underbar1, const char *underbar2, key 79 lib/common/operations.c *rsc_id = strndup(key, underbar1-key); key 90 lib/common/operations.c try_basic_match(const char *key, char **rsc_id, char **op_type, guint *interval_ms) key 96 lib/common/operations.c interval_sep = strrchr(key, '_'); key 112 lib/common/operations.c } else if (type_sep == key) { key 131 lib/common/operations.c *rsc_id = strndup(key, type_sep-key); key 138 lib/common/operations.c try_migrate_notify_match(const char *key, char **rsc_id, char **op_type, guint *interval_ms) key 152 lib/common/operations.c rc = regexec(notify_migrate_re, key, nmatch, pmatch, 0); key 158 lib/common/operations.c *rsc_id = strndup(key+pmatch[1].rm_so, pmatch[1].rm_eo-pmatch[1].rm_so); key 162 lib/common/operations.c *op_type = strndup(key+pmatch[2].rm_so, pmatch[2].rm_eo-pmatch[2].rm_so); key 166 lib/common/operations.c if (!convert_interval(key+pmatch[7].rm_so, interval_ms)) { key 185 lib/common/operations.c parse_op_key(const char *key, char **rsc_id, char **op_type, guint *interval_ms) key 204 lib/common/operations.c CRM_CHECK(key && *key, return FALSE); key 206 lib/common/operations.c underbar1 = strchr(key, '_'); key 219 lib/common/operations.c return try_fast_match(key, underbar1, underbar2, key 221 lib/common/operations.c } else if (try_migrate_notify_match(key, rsc_id, op_type, interval_ms)) { key 224 lib/common/operations.c return try_basic_match(key, rsc_id, op_type, interval_ms); key 259 lib/common/operations.c char *key = NULL; key 267 lib/common/operations.c res = sscanf(magic, "%d:%d;%ms", &local_op_status, &local_op_rc, &key); key 269 lib/common/operations.c key = calloc(1, strlen(magic) - 3); // magic must have >=4 other characters key 270 lib/common/operations.c CRM_ASSERT(key); key 271 lib/common/operations.c res = sscanf(magic, "%d:%d;%s", &local_op_status, &local_op_rc, key); key 288 lib/common/operations.c result = decode_transition_key(key, uuid, transition_id, action_id, key 291 lib/common/operations.c free(key); key 318 lib/common/operations.c decode_transition_key(const char *key, char **uuid, int *transition_id, int *action_id, key 340 lib/common/operations.c CRM_CHECK(key != NULL, return FALSE); key 341 lib/common/operations.c if (sscanf(key, "%d:%d:%d:%36s", &local_action_id, &local_transition_id, key 343 lib/common/operations.c crm_err("Invalid transition key '%s'", key); key 347 lib/common/operations.c crm_warn("Invalid UUID '%s' in transition key '%s'", local_uuid, key); key 392 lib/common/operations.c char *key = NULL; key 403 lib/common/operations.c key = crm_meta_name(XML_LRM_ATTR_INTERVAL_MS); key 404 lib/common/operations.c if (crm_element_value_ms(param_set, key, &interval_ms) != pcmk_ok) { key 407 lib/common/operations.c free(key); key 408 lib/common/operations.c key = NULL; key 410 lib/common/operations.c key = crm_meta_name(XML_ATTR_TIMEOUT); key 411 lib/common/operations.c timeout = crm_element_value_copy(param_set, key); key 419 lib/common/operations.c crm_xml_add(param_set, key, timeout); key 422 lib/common/operations.c free(key); key 445 lib/common/output_html.c char *key = va_arg(ap, char *); key 448 lib/common/output_html.c if (key == NULL) { key 453 lib/common/output_html.c crm_xml_add(header_node, key, value); key 1026 lib/common/patchset.c search_v2_xpath(xmlNode *top, const char *key, int target_position) key 1029 lib/common/patchset.c const char *current = key; key 1038 lib/common/patchset.c CRM_CHECK(key != NULL, return NULL); key 1039 lib/common/patchset.c key_len = strlen(key); key 1094 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); key 1097 lib/common/patchset.c crm_debug("No match for %s", key); key 311 lib/common/strings.c pcmk__guint_from_hash(GHashTable *table, const char *key, guint default_val, key 318 lib/common/strings.c CRM_CHECK((table != NULL) && (key != NULL), return EINVAL); key 324 lib/common/strings.c value = g_hash_table_lookup(table, key); key 656 lib/common/strings.c copy_str_table_entry(gpointer key, gpointer value, gpointer user_data) key 658 lib/common/strings.c if (key && value && user_data) { key 659 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); key 535 lib/common/utils.c char *key = NULL; key 538 lib/common/utils.c key = crm_meta_name(field); key 539 lib/common/utils.c if (key) { key 540 lib/common/utils.c value = g_hash_table_lookup(hash, key); key 541 lib/common/utils.c free(key); key 303 lib/fencing/st_client.c hash2field((gpointer) params->key, (gpointer) params->value, args); key 461 lib/fencing/st_client.c append_config_arg(gpointer key, gpointer value, gpointer user_data) key 468 lib/fencing/st_client.c if (!pcmk__str_eq(key, STONITH_ATTR_ACTION_OP, pcmk__str_casei) key 469 lib/fencing/st_client.c && !pcmk_stonith_param(key) key 470 lib/fencing/st_client.c && (strstr(key, CRM_META) == NULL) key 471 lib/fencing/st_client.c && !pcmk__str_eq(key, "crm_feature_set", pcmk__str_casei)) { key 474 lib/fencing/st_client.c (const char *) key, (const char *) (value? value : "")); key 476 lib/fencing/st_client.c strdup(key), strdup(value? value : "")); key 1693 lib/fencing/st_client.c stonith_dump_pending_op(gpointer key, gpointer value, gpointer user_data) key 1695 lib/fencing/st_client.c int call = GPOINTER_TO_INT(key); key 2043 lib/fencing/st_client.c if (pcmk__str_eq(params->key, PCMK_STONITH_HOST_ARGUMENT, key 2047 lib/fencing/st_client.c if (!pcmk_stonith_param(params->key)) { key 2048 lib/fencing/st_client.c g_hash_table_insert(params_table, strdup(params->key), key 2196 lib/fencing/st_client.c stonith_key_value_add(stonith_key_value_t * head, const char *key, const char *value) key 2201 lib/fencing/st_client.c if (key) { key 2202 lib/fencing/st_client.c p->key = strdup(key); key 2230 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 172 lib/lrmd/lrmd_alerts.c copy_params = lrmd_key_value_add(copy_params, head->key, head->value); 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 1065 lib/lrmd/lrmd_client.c read_gnutls_key(const char *location, gnutls_datum_t *key) key 1070 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { key 1079 lib/lrmd/lrmd_client.c key->data = gnutls_malloc(buf_len); key 1080 lib/lrmd/lrmd_client.c key->size = 0; key 1091 lib/lrmd/lrmd_client.c if (key->size == buf_len) { key 1092 lib/lrmd/lrmd_client.c buf_len = key->size + KEY_READ_LEN; key 1093 lib/lrmd/lrmd_client.c key->data = gnutls_realloc(key->data, buf_len); key 1094 lib/lrmd/lrmd_client.c CRM_ASSERT(key->data); key 1096 lib/lrmd/lrmd_client.c key->data[key->size++] = (unsigned char) next; key 1100 lib/lrmd/lrmd_client.c if (key->size == 0) { key 1101 lib/lrmd/lrmd_client.c clear_gnutls_datum(key); key 1112 lib/lrmd/lrmd_client.c gnutls_datum_t key; // Cached key key 1130 lib/lrmd/lrmd_client.c clear_gnutls_datum(&(key_cache->key)); key 1139 lib/lrmd/lrmd_client.c get_cached_key(struct key_cache_s *key_cache, gnutls_datum_t *key) key 1141 lib/lrmd/lrmd_client.c copy_gnutls_datum(key, &(key_cache->key)); key 1147 lib/lrmd/lrmd_client.c cache_key(struct key_cache_s *key_cache, gnutls_datum_t *key, key 1152 lib/lrmd/lrmd_client.c copy_gnutls_datum(&(key_cache->key), key); key 1168 lib/lrmd/lrmd_client.c get_remote_key(const char *location, gnutls_datum_t *key) key 1173 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { key 1181 lib/lrmd/lrmd_client.c get_cached_key(&key_cache, key); key 1186 lib/lrmd/lrmd_client.c rc = read_gnutls_key(location, key); key 1190 lib/lrmd/lrmd_client.c cache_key(&key_cache, key, location); key 1208 lib/lrmd/lrmd_client.c lrmd__init_remote_key(gnutls_datum_t *key) key 1227 lib/lrmd/lrmd_client.c env_rc = get_remote_key(env_location, key); key 1247 lib/lrmd/lrmd_client.c default_rc = get_remote_key(DEFAULT_REMOTE_KEY_LOCATION, key); key 1254 lib/lrmd/lrmd_client.c alt_rc = get_remote_key(ALT_REMOTE_KEY_LOCATION, key); key 1956 lib/lrmd/lrmd_client.c g_hash_table_insert(params_table, strdup(param->key), strdup(param->value)); key 2011 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); key 2037 lib/lrmd/lrmd_client.c hash2smartfield((gpointer) tmp->key, (gpointer) tmp->value, args); key 851 lib/pacemaker/pcmk_output.c char *key = NULL; key 961 lib/pacemaker/pcmk_output.c key = stop_key(rsc); key 966 lib/pacemaker/pcmk_output.c possible_matches = find_actions(rsc->actions, key, node); key 982 lib/pacemaker/pcmk_output.c free(key); key 226 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; key 241 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 243 lib/pacemaker/pcmk_sched_allocate.c pe_rsc_trace(rsc, "Checking parameters for %s", key); key 244 lib/pacemaker/pcmk_sched_allocate.c op_match = find_rsc_op_entry(rsc, key); key 249 lib/pacemaker/pcmk_sched_allocate.c free(key); key 253 lib/pacemaker/pcmk_sched_allocate.c pe_rsc_debug(rsc, "Orphan action detected: %s on %s", key, active_node->details->uname); key 254 lib/pacemaker/pcmk_sched_allocate.c free(key); key 257 lib/pacemaker/pcmk_sched_allocate.c free(key); key 258 lib/pacemaker/pcmk_sched_allocate.c key = NULL; key 298 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 300 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); key 313 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 323 lib/pacemaker/pcmk_sched_allocate.c op = custom_action(rsc, key, task, active_node, TRUE, TRUE, data_set); key 332 lib/pacemaker/pcmk_sched_allocate.c free(key); key 342 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); key 788 lib/pacemaker/pcmk_sched_allocate.c const char *key = (const char *)gKey; key 796 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__starts_with(key, "#health")) { key 1782 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; key 1787 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(rsc->id, task, interval_ms); key 1788 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, key, NULL); key 1794 lib/pacemaker/pcmk_sched_allocate.c free(key); key 1880 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; key 1885 lib/pacemaker/pcmk_sched_allocate.c key = pcmk__op_key(lh_rsc->id, op_type, interval_ms); key 1888 lib/pacemaker/pcmk_sched_allocate.c free(key); key 1894 lib/pacemaker/pcmk_sched_allocate.c free(key); key 1901 lib/pacemaker/pcmk_sched_allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); key 1229 lib/pacemaker/pcmk_sched_clone.c char *key = action->uuid; key 1230 lib/pacemaker/pcmk_sched_clone.c int lpc = strlen(key); key 1233 lib/pacemaker/pcmk_sched_clone.c if (key[lpc] == '_' && stop == 0) { key 1236 lib/pacemaker/pcmk_sched_clone.c } else if (key[lpc] == '_') { key 1240 lib/pacemaker/pcmk_sched_clone.c task_mutable = strdup(key + lpc); key 1243 lib/pacemaker/pcmk_sched_clone.c crm_trace("Extracted action '%s' from '%s'", task_mutable, key); key 1436 lib/pacemaker/pcmk_sched_constraints.c task_from_action_or_key(pe_action_t *action, const char *key) key 1442 lib/pacemaker/pcmk_sched_constraints.c } else if (key) { key 1443 lib/pacemaker/pcmk_sched_constraints.c parse_op_key(key, NULL, &res, NULL); key 1702 lib/pacemaker/pcmk_sched_constraints.c char *key = NULL; key 1774 lib/pacemaker/pcmk_sched_constraints.c key = pcmk__op_key(resource->id, action, 0); key 1793 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, key 1803 lib/pacemaker/pcmk_sched_constraints.c free(key); key 713 lib/pacemaker/pcmk_sched_native.c char *key = NULL; key 751 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); key 752 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { key 755 lib/pacemaker/pcmk_sched_native.c free(key); key 763 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s %s due to %s", key, key 768 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s optional", key); key 773 lib/pacemaker/pcmk_sched_native.c possible_matches = find_actions_exact(rsc->actions, key, node); key 776 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Marking %s mandatory: not active", key); key 831 lib/pacemaker/pcmk_sched_native.c result, key, role ? role : role2text(RSC_ROLE_UNPROMOTED), key 834 lib/pacemaker/pcmk_sched_native.c free(key); key 838 lib/pacemaker/pcmk_sched_native.c mon = custom_action(rsc, key, name, node, is_optional, TRUE, data_set); key 839 lib/pacemaker/pcmk_sched_native.c key = mon->uuid; key 870 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, key 874 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, key 912 lib/pacemaker/pcmk_sched_native.c char *key = NULL; key 947 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); key 948 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { key 951 lib/pacemaker/pcmk_sched_native.c free(key); key 969 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 2644 lib/pacemaker/pcmk_sched_native.c char *key = NULL; key 2809 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, RSC_STATUS, 0); key 2810 lib/pacemaker/pcmk_sched_native.c probe = custom_action(rsc, key, RSC_STATUS, node, FALSE, TRUE, data_set); key 190 lib/pacemaker/pcmk_sched_notif.c dup_attr(gpointer key, gpointer value, gpointer user_data) key 192 lib/pacemaker/pcmk_sched_notif.c add_hash_param(user_data, key, value); key 209 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; key 235 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, value, task); key 236 lib/pacemaker/pcmk_sched_notif.c trigger = custom_action(rsc, key, op->task, node, key 302 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; key 314 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "pre", start->task); key 316 lib/pacemaker/pcmk_sched_notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, key 331 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "confirmed-pre", start->task); key 332 lib/pacemaker/pcmk_sched_notif.c n_data->pre_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, key 353 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "post", end->task); key 354 lib/pacemaker/pcmk_sched_notif.c n_data->post = custom_action(rsc, key, RSC_NOTIFY, NULL, key 376 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "confirmed-post", end->task); key 377 lib/pacemaker/pcmk_sched_notif.c n_data->post_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, key 510 lib/pacemaker/pcmk_sched_notif.c #define add_notify_env(n_data, key, value) do { \ key 511 lib/pacemaker/pcmk_sched_notif.c n_data->keys = pcmk_prepend_nvpair(n_data->keys, key, value); \ key 514 lib/pacemaker/pcmk_sched_notif.c #define add_notify_env_free(n_data, key, value) do { \ key 515 lib/pacemaker/pcmk_sched_notif.c n_data->keys = pcmk_prepend_nvpair(n_data->keys, key, value); \ key 414 lib/pacemaker/pcmk_sched_promotable.c char *key = clone_strip(rsc->id); key 422 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); key 425 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 426 lib/pacemaker/pcmk_sched_promotable.c free(key); key 429 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 430 lib/pacemaker/pcmk_sched_promotable.c free(key); key 433 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "%s on %s: not active", key, node->details->uname); key 448 lib/pacemaker/pcmk_sched_promotable.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); key 451 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Checking %s for %s on %s", rsc->id, key, node->details->uname); key 453 lib/pacemaker/pcmk_sched_promotable.c free(key); key 458 lib/pacemaker/pcmk_sched_promotable.c free(key); key 533 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; key 546 lib/pacemaker/pcmk_sched_transition.c key = calloc(1, strlen(spec) + 1); key 548 lib/pacemaker/pcmk_sched_transition.c rc = sscanf(spec, "%[^@]@%[^=]=%d", key, node, &outcome); key 551 lib/pacemaker/pcmk_sched_transition.c free(key); key 556 lib/pacemaker/pcmk_sched_transition.c parse_op_key(key, &resource, &task, &interval_ms); key 588 lib/pacemaker/pcmk_sched_transition.c free(key); key 691 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; key 695 lib/pacemaker/pcmk_sched_transition.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type, key 697 lib/pacemaker/pcmk_sched_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { key 700 lib/pacemaker/pcmk_sched_transition.c free(key); key 703 lib/pacemaker/pcmk_sched_transition.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", lrm_name, op->op_type, key 705 lib/pacemaker/pcmk_sched_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { key 708 lib/pacemaker/pcmk_sched_transition.c free(key); key 46 lib/pacemaker/pcmk_sched_utilization.c do_compare_capacity1(gpointer key, gpointer value, gpointer user_data) key 53 lib/pacemaker/pcmk_sched_utilization.c node2_capacity = utilization_value(g_hash_table_lookup(data->node2->details->utilization, key)); key 63 lib/pacemaker/pcmk_sched_utilization.c do_compare_capacity2(gpointer key, gpointer value, gpointer user_data) key 69 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { key 107 lib/pacemaker/pcmk_sched_utilization.c do_calculate_utilization(gpointer key, gpointer value, gpointer user_data) key 113 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); key 116 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); key 120 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); key 147 lib/pacemaker/pcmk_sched_utilization.c check_capacity(gpointer key, gpointer value, gpointer user_data) key 154 lib/pacemaker/pcmk_sched_utilization.c remaining = utilization_value(g_hash_table_lookup(data->node->details->utilization, key)); key 161 lib/pacemaker/pcmk_sched_utilization.c data->node->details->uname, (char *)key, data->rsc_id, required, remaining); key 507 lib/pacemaker/pcmk_sched_utils.c char *key = pcmk__op_key(rsc->id, task, interval_ms); key 509 lib/pacemaker/pcmk_sched_utils.c cancel_op = custom_action(rsc, key, RSC_CANCEL, node, FALSE, TRUE, key 613 lib/pacemaker/pcmk_sched_utils.c char *key = NULL; key 650 lib/pacemaker/pcmk_sched_utils.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); key 678 lib/pacemaker/pcmk_sched_utils.c op_id = strdup(key); key 704 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); key 766 lib/pacemaker/pcmk_sched_utils.c free(key); key 184 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); key 190 lib/pacemaker/pcmk_trans_utils.c input->id, actiontype2text(input->type), key, key 200 lib/pacemaker/pcmk_trans_utils.c const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); key 204 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 121 lib/pengine/complex.c char *key = NULL; key 125 lib/pengine/complex.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 128 lib/pengine/complex.c dup_attr(key, value, meta_hash); key 255 lib/pengine/complex.c char *key = NULL; key 263 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); key 264 lib/pengine/complex.c return key; key 343 lib/pengine/complex.c char *key = template_op_key(op); key 345 lib/pengine/complex.c g_hash_table_insert(rsc_ops_hash, key, op); key 351 lib/pengine/complex.c char *key = template_op_key(op); key 353 lib/pengine/complex.c if (g_hash_table_lookup(rsc_ops_hash, key) == NULL) { key 357 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 367 lib/pengine/failcounts.c char *key = NULL; key 372 lib/pengine/failcounts.c key = pcmk__op_key(rsc->id, CRM_OP_CLEAR_FAILCOUNT, 0); key 373 lib/pengine/failcounts.c clear = custom_action(rsc, key, CRM_OP_CLEAR_FAILCOUNT, node, FALSE, TRUE, key 88 lib/pengine/pe_digest.c char *key = NULL; key 93 lib/pengine/pe_digest.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, (gpointer *) &value)) { key 94 lib/pengine/pe_digest.c crm_xml_add(params, key, value); key 367 lib/pengine/pe_digest.c char *key = pcmk__op_key(rsc->id, task, interval_ms); key 369 lib/pengine/pe_digest.c data = g_hash_table_lookup(node->details->digest_cache, key); key 374 lib/pengine/pe_digest.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); key 376 lib/pengine/pe_digest.c free(key); key 160 lib/pengine/pe_output.c add_dump_node(gpointer key, gpointer value, gpointer user_data) key 163 lib/pengine/pe_output.c pcmk_create_xml_text_node(node, (const char *) key, (const char *) value); key 167 lib/pengine/pe_output.c append_dump_text(gpointer key, gpointer value, gpointer user_data) key 171 lib/pengine/pe_output.c *dump_text, (char *)key, (char *)value); key 1709 lib/pengine/pe_output.c gpointer key; key 1716 lib/pengine/pe_output.c while (g_hash_table_iter_next (&iter, &key, NULL)) { key 1717 lib/pengine/pe_output.c attr_list = filter_attr_list(attr_list, key); key 2654 lib/pengine/pe_output.c gpointer key, value; key 2667 lib/pengine/pe_output.c while (g_hash_table_iter_next(&iter, &key, &value)) { key 2214 lib/pengine/unpack.c char *key = NULL; key 2246 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); key 2247 lib/pengine/unpack.c pe_rsc_trace(rsc, "Creating %s/%s", key, node->details->uname); key 2248 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, TRUE, data_set); key 2535 lib/pengine/unpack.c set_node_score(gpointer key, gpointer value, gpointer user_data) key 2852 lib/pengine/unpack.c const char *key = crm_element_value(xIter, XML_LRM_ATTR_TASK_KEY); key 2855 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 2869 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); key 2870 lib/pengine/unpack.c if(key == NULL) { key 2871 lib/pengine/unpack.c key = ID(xml_op); key 2873 lib/pengine/unpack.c return key; key 2994 lib/pengine/unpack.c const char *key = get_op_key(xml_op); key 3044 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); key 3047 lib/pengine/unpack.c fail2text(action->on_fail), action->uuid, key); key 3156 lib/pengine/unpack.c const char *key = get_op_key(xml_op); key 3185 lib/pengine/unpack.c key, node->details->uname); key 3190 lib/pengine/unpack.c key, node->details->uname, key 3511 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); key 3513 lib/pengine/unpack.c if (key == NULL) { key 3516 lib/pengine/unpack.c decode_transition_key(key, NULL, NULL, NULL, &target_rc); key 3521 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 3524 lib/pengine/unpack.c pe_action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); key 27 lib/pengine/utils.c void print_str_str(gpointer key, gpointer value, gpointer user_data); key 28 lib/pengine/utils.c gboolean ghash_free_str_str(gpointer key, gpointer value, gpointer user_data); key 31 lib/pengine/utils.c static xmlNode *find_rsc_op_entry_helper(pe_resource_t * rsc, const char *key, key 415 lib/pengine/utils.c custom_action(pe_resource_t * rsc, char *key, const char *task, key 422 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 423 lib/pengine/utils.c CRM_CHECK(task != NULL, free(key); return NULL); key 426 lib/pengine/utils.c possible_matches = find_actions(rsc->actions, key, on_node); key 429 lib/pengine/utils.c action = g_hash_table_lookup(data_set->singletons, key); key 432 lib/pengine/utils.c possible_matches = find_actions(data_set->actions, key, on_node); key 460 lib/pengine/utils.c task, (rsc? rsc->id : "no resource"), key, key 475 lib/pengine/utils.c action->uuid = strdup(key); key 502 lib/pengine/utils.c action->op_entry = find_rsc_op_entry_helper(rsc, key, TRUE); key 503 lib/pengine/utils.c parse_op_key(key, NULL, NULL, &interval_ms); key 645 lib/pengine/utils.c free(key); key 1254 lib/pengine/utils.c find_rsc_op_entry_helper(pe_resource_t * rsc, const char *key, gboolean include_disabled) key 1280 lib/pengine/utils.c if (pcmk__str_eq(key, match_key, pcmk__str_casei)) { key 1287 lib/pengine/utils.c if (pcmk__str_eq(key, match_key, pcmk__str_casei)) { key 1306 lib/pengine/utils.c if (strstr(key, CRMD_ACTION_MIGRATE) || strstr(key, CRMD_ACTION_MIGRATED)) { key 1308 lib/pengine/utils.c key = local_key; key 1311 lib/pengine/utils.c } else if (strstr(key, "_notify_")) { key 1313 lib/pengine/utils.c key = local_key; key 1321 lib/pengine/utils.c find_rsc_op_entry(pe_resource_t * rsc, const char *key) key 1323 lib/pengine/utils.c return find_rsc_op_entry_helper(rsc, key, FALSE); key 1330 lib/pengine/utils.c print_str_str(gpointer key, gpointer value, gpointer user_data) key 1334 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); key 1452 lib/pengine/utils.c find_actions(GList *input, const char *key, const pe_node_t *on_node) key 1457 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 1462 lib/pengine/utils.c if (!pcmk__str_eq(key, action->uuid, pcmk__str_casei)) { key 1463 lib/pengine/utils.c crm_trace("%s does not match action %s", key, action->uuid); key 1467 lib/pengine/utils.c crm_trace("Action %s matches (ignoring node)", key); key 1472 lib/pengine/utils.c key, on_node->details->uname); key 1478 lib/pengine/utils.c crm_trace("Action %s on %s matches", key, on_node->details->uname); key 1483 lib/pengine/utils.c key, action->node->details->uname, key 1492 lib/pengine/utils.c find_actions_exact(GList *input, const char *key, const pe_node_t *on_node) key 1496 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); key 1500 lib/pengine/utils.c key); key 1509 lib/pengine/utils.c key, action->uuid); key 1511 lib/pengine/utils.c } else if (!pcmk__str_eq(key, action->uuid, pcmk__str_casei)) { key 1512 lib/pengine/utils.c crm_trace("Desired action %s doesn't match %s", key, action->uuid); key 1516 lib/pengine/utils.c key, on_node->details->id, action->node->details->id); key 1519 lib/pengine/utils.c crm_trace("Action %s matches", key); key 1544 lib/pengine/utils.c char *key = pcmk__op_key(rsc->id, task, 0); key 1547 lib/pengine/utils.c result = find_actions_exact(rsc->actions, key, node); key 1549 lib/pengine/utils.c result = find_actions(rsc->actions, key, node); key 1551 lib/pengine/utils.c free(key); key 2384 lib/pengine/utils.c char *key = NULL; key 2387 lib/pengine/utils.c key = pcmk__op_key(rsc->id, CRM_OP_LRM_DELETE, 0); key 2388 lib/pengine/utils.c return custom_action(rsc, key, CRM_OP_LRM_DELETE, node, FALSE, TRUE, key 297 lib/services/services.c char *key = NULL; key 304 lib/services/services.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value) && key 307 lib/services/services.c if (pcmk__str_eq(key, XML_ATTR_CRM_VERSION, pcmk__str_casei) || strstr(key, CRM_META "_")) { key 310 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 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 938 tools/crm_resource_runtime.c char *key = NULL; key 946 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { key 947 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); 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 char *crm_name = crm_meta_name(key); key 1209 tools/crm_resource_runtime.c char *key = crm_strdup_printf("%s_%s_0", rsc->id, RSC_STOP); key 1210 tools/crm_resource_runtime.c pe_action_t *stop = custom_action(rsc, key, RSC_STOP, NULL, TRUE, FALSE, data_set); key 449 tools/crm_simulate.c char *key = NULL; key 464 tools/crm_simulate.c key = pcmk__notify_key(clone_name, n_type, n_task); key 467 tools/crm_simulate.c key = pcmk__op_key(clone_name, task, interval_ms); key 471 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix, key, action_host); key 473 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s", prefix, key); key 475 tools/crm_simulate.c free(key); key 358 tools/crm_ticket.c const char *key = (const char *)list_iter->data; key 360 tools/crm_ticket.c if (pcmk__str_eq(key, "granted", pcmk__str_casei)) { key 381 tools/crm_ticket.c char *key = NULL; key 408 tools/crm_ticket.c const char *key = (const char *)list_iter->data; key 409 tools/crm_ticket.c xml_remove_prop(ticket_state_xml, key); key 415 tools/crm_ticket.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) & key, (gpointer *) & value)) { key 416 tools/crm_ticket.c crm_xml_add(ticket_state_xml, key, value); key 418 tools/crm_ticket.c if (pcmk__str_eq(key, "granted", pcmk__str_casei) key 244 tools/stonith_admin.c char *key = crm_strdup_printf("OCF_RESKEY_%s", optarg); key 245 tools/stonith_admin.c const char *env = getenv(key); key 256 tools/stonith_admin.c free(key); key 597 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL;