v 80 daemons/attrd/attrd_commands.c attribute_value_t *v = data; v 82 daemons/attrd/attrd_commands.c free(v->nodename); v 83 daemons/attrd/attrd_commands.c free(v->current); v 84 daemons/attrd/attrd_commands.c free(v->requested); v 85 daemons/attrd/attrd_commands.c free(v); v 132 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 137 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { v 138 daemons/attrd/attrd_commands.c v->seen = FALSE; v 139 daemons/attrd/attrd_commands.c crm_trace("Clear seen flag %s[%s] = %s.", a->id, v->nodename, v->current); v 289 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 292 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); v 294 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); v 411 daemons/attrd/attrd_commands.c attribute_value_t *v; v 424 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); v 432 daemons/attrd/attrd_commands.c (v? v->current : NULL)); v 439 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &v)) { v 445 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_NODE_NAME, v->nodename); v 446 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_VALUE, v->current); v 644 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 652 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { v 653 daemons/attrd/attrd_commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); v 655 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, FALSE); v 707 daemons/attrd/attrd_commands.c attribute_value_t *v = g_hash_table_lookup(values, host); v 725 daemons/attrd/attrd_commands.c if (v == NULL) { v 726 daemons/attrd/attrd_commands.c v = calloc(1, sizeof(attribute_value_t)); v 727 daemons/attrd/attrd_commands.c CRM_ASSERT(v != NULL); v 729 daemons/attrd/attrd_commands.c v->nodename = strdup(host); v 730 daemons/attrd/attrd_commands.c CRM_ASSERT(v->nodename != NULL); v 732 daemons/attrd/attrd_commands.c v->is_remote = is_remote; v 733 daemons/attrd/attrd_commands.c g_hash_table_replace(values, v->nodename, v); v 735 daemons/attrd/attrd_commands.c return(v); v 744 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 753 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { v 754 daemons/attrd/attrd_commands.c if (pcmk__str_eq(v->nodename, attrd_cluster->uname, pcmk__str_casei) && v->seen == FALSE) { v 755 daemons/attrd/attrd_commands.c crm_trace("Syncing %s[%s] = %s to everyone.(from local only attributes)", a->id, v->nodename, v->current); v 759 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); v 761 daemons/attrd/attrd_commands.c crm_trace("Local attribute(%s[%s] = %s) was ignore.(another host) : [%s]", a->id, v->nodename, v->current, attrd_cluster->uname); v 779 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 864 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); v 866 daemons/attrd/attrd_commands.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) v 872 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); v 875 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); v 877 daemons/attrd/attrd_commands.c a->is_private, v->nodename, v->nodeid, v->current, FALSE); v 885 daemons/attrd/attrd_commands.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { v 887 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); v 888 daemons/attrd/attrd_commands.c free(v->current); v 889 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); v 923 daemons/attrd/attrd_commands.c v->seen = TRUE; v 926 daemons/attrd/attrd_commands.c if ((v->nodeid == 0) && (v->is_remote == FALSE) v 928 daemons/attrd/attrd_commands.c (int*)&v->nodeid) == 0)) { v 930 daemons/attrd/attrd_commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); v 1008 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 1047 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & peer, (gpointer *) & v)) { v 1048 daemons/attrd/attrd_commands.c do_crm_log(level, "* %s[%s]=%s", a->id, peer, v->requested); v 1049 daemons/attrd/attrd_commands.c free(v->requested); v 1050 daemons/attrd/attrd_commands.c v->requested = NULL; v 1155 daemons/attrd/attrd_commands.c set_alert_attribute_value(GHashTable *t, attribute_value_t *v) v 1161 daemons/attrd/attrd_commands.c a_v->nodeid = v->nodeid; v 1162 daemons/attrd/attrd_commands.c a_v->nodename = strdup(v->nodename); v 1164 daemons/attrd/attrd_commands.c if (v->current != NULL) { v 1165 daemons/attrd/attrd_commands.c a_v->current = strdup(v->current); v 1193 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 1246 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & v)) { v 1247 daemons/attrd/attrd_commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); v 1252 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); v 1257 daemons/attrd/attrd_commands.c if (peer->id && (v->nodeid == 0)) { v 1258 daemons/attrd/attrd_commands.c crm_trace("Learned ID %u for node %s", peer->id, v->nodename); v 1259 daemons/attrd/attrd_commands.c v->nodeid = peer->id; v 1273 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); v 1279 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current, v 1280 daemons/attrd/attrd_commands.c peer->uname, peer->uuid, peer->id, v->nodeid); v 1281 daemons/attrd/attrd_commands.c build_update_element(xml_top, a, peer->uuid, v->current); v 1285 daemons/attrd/attrd_commands.c set_alert_attribute_value(alert_attribute_value, v); v 1287 daemons/attrd/attrd_commands.c free(v->requested); v 1288 daemons/attrd/attrd_commands.c v->requested = NULL; v 1289 daemons/attrd/attrd_commands.c if (v->current) { v 1290 daemons/attrd/attrd_commands.c v->requested = strdup(v->current); v 561 daemons/controld/controld_execd.c const char *v = g_hash_table_lookup(op->params, param->rap_name); v 563 daemons/controld/controld_execd.c if (v != NULL) { v 564 daemons/controld/controld_execd.c crm_trace("Adding attr %s=%s to the xml result", param->rap_name, v); v 565 daemons/controld/controld_execd.c crm_xml_add(*result, param->rap_name, v); v 82 include/crm/common/util_compat.h guint g_str_hash_traditional(gconstpointer v); v 91 include/crm/common/util_compat.h guint crm_strcase_hash(gconstpointer v); v 91 lib/common/md5.c set_uint32 (char *cp, uint32_t v) v 93 lib/common/md5.c memcpy (cp, &v, sizeof v); v 312 lib/common/patchset.c xmlNode *v = NULL; v 334 lib/common/patchset.c v = create_xml_node(version, XML_DIFF_VSOURCE); v 341 lib/common/patchset.c crm_xml_add(v, vfields[lpc], value); v 344 lib/common/patchset.c v = create_xml_node(version, XML_DIFF_VTARGET); v 351 lib/common/patchset.c crm_xml_add(v, vfields[lpc], value); v 33 lib/common/schemas.c unsigned char v[2]; v 36 lib/common/schemas.c #define SCHEMA_ZERO { .v = { 0, 0 } } v 39 lib/common/schemas.c sscanf((s), prefix "%hhu.%hhu" suffix, &((version).v[0]), &((version).v[1])) v 42 lib/common/schemas.c crm_strdup_printf(prefix "%u.%u" suffix, (version).v[0], (version).v[1]) v 102 lib/common/schemas.c if (known_schemas[lpc].version.v[0] v 103 lib/common/schemas.c < known_schemas[best].version.v[0]) { v 164 lib/common/schemas.c if (a_version.v[i] < b_version.v[i]) { v 166 lib/common/schemas.c } else if (a_version.v[i] > b_version.v[i]) { v 198 lib/common/schemas.c known_schemas[last].version.v[i] = version->v[i]; v 199 lib/common/schemas.c if (version->v[i]) { v 410 lib/common/schemas.c && (version.v[0] < next_version.v[0])) { v 587 lib/common/strings.c pcmk__str_hash(gconstpointer v) v 592 lib/common/strings.c for (p = v; *p != '\0'; p++) v 625 lib/common/strings.c pcmk__strcase_hash(gconstpointer v) v 630 lib/common/strings.c for (p = v; *p != '\0'; p++) v 1211 lib/common/strings.c g_str_hash_traditional(gconstpointer v) v 1213 lib/common/strings.c return pcmk__str_hash(v); v 1223 lib/common/strings.c crm_strcase_hash(gconstpointer v) v 1225 lib/common/strings.c return pcmk__strcase_hash(v); v 479 lib/common/xml.c #define attr_matches(c, n, v) pcmk__str_eq(crm_element_value((c), (n)), \ v 480 lib/common/xml.c (v), pcmk__str_none) v 91 lib/gnu/md5.c set_uint32 (char *cp, uint32_t v) v 93 lib/gnu/md5.c memcpy (cp, &v, sizeof v); v 1501 lib/pengine/pe_output.c int v; v 1504 lib/pengine/pe_output.c v = 0; v 1506 lib/pengine/pe_output.c pcmk__scan_min_int(value, &v, INT_MIN); v 1508 lib/pengine/pe_output.c if (v <= 0) { v 1510 lib/pengine/pe_output.c } else if (v < expected_score) { v 1531 lib/pengine/pe_output.c int v; v 1536 lib/pengine/pe_output.c v = 0; v 1538 lib/pengine/pe_output.c pcmk__scan_min_int(value, &v, INT_MIN); v 1544 lib/pengine/pe_output.c if (v <= 0) { v 1546 lib/pengine/pe_output.c } else if (v < expected_score) {