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 291 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 294 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); v 296 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); v 413 daemons/attrd/attrd_commands.c attribute_value_t *v; v 426 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); v 434 daemons/attrd/attrd_commands.c (v? v->current : NULL)); v 441 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &v)) { v 447 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_NODE_NAME, v->nodename); v 448 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_VALUE, v->current); v 641 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 649 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { v 650 daemons/attrd/attrd_commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); v 652 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, FALSE); v 704 daemons/attrd/attrd_commands.c attribute_value_t *v = g_hash_table_lookup(values, host); v 722 daemons/attrd/attrd_commands.c if (v == NULL) { v 723 daemons/attrd/attrd_commands.c v = calloc(1, sizeof(attribute_value_t)); v 724 daemons/attrd/attrd_commands.c CRM_ASSERT(v != NULL); v 726 daemons/attrd/attrd_commands.c v->nodename = strdup(host); v 727 daemons/attrd/attrd_commands.c CRM_ASSERT(v->nodename != NULL); v 729 daemons/attrd/attrd_commands.c v->is_remote = is_remote; v 730 daemons/attrd/attrd_commands.c g_hash_table_replace(values, v->nodename, v); v 732 daemons/attrd/attrd_commands.c return(v); v 741 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 750 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { v 751 daemons/attrd/attrd_commands.c if (pcmk__str_eq(v->nodename, attrd_cluster->uname, pcmk__str_casei) && v->seen == FALSE) { v 752 daemons/attrd/attrd_commands.c crm_trace("Syncing %s[%s] = %s to everyone.(from local only attributes)", a->id, v->nodename, v->current); v 756 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); v 758 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 776 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 861 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); v 863 daemons/attrd/attrd_commands.c if (filter && !pcmk__str_eq(v->current, value, pcmk__str_casei) v 869 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); v 872 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); v 874 daemons/attrd/attrd_commands.c a->is_private, v->nodename, v->nodeid, v->current, FALSE); v 882 daemons/attrd/attrd_commands.c } else if (!pcmk__str_eq(v->current, value, pcmk__str_casei)) { v 884 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); v 885 daemons/attrd/attrd_commands.c free(v->current); v 886 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); v 909 daemons/attrd/attrd_commands.c v->seen = TRUE; v 912 daemons/attrd/attrd_commands.c if ((v->nodeid == 0) && (v->is_remote == FALSE) v 914 daemons/attrd/attrd_commands.c (int*)&v->nodeid) == 0)) { v 916 daemons/attrd/attrd_commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); v 994 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 1033 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & peer, (gpointer *) & v)) { v 1034 daemons/attrd/attrd_commands.c do_crm_log(level, "* %s[%s]=%s", a->id, peer, v->requested); v 1035 daemons/attrd/attrd_commands.c free(v->requested); v 1036 daemons/attrd/attrd_commands.c v->requested = NULL; v 1141 daemons/attrd/attrd_commands.c set_alert_attribute_value(GHashTable *t, attribute_value_t *v) v 1147 daemons/attrd/attrd_commands.c a_v->nodeid = v->nodeid; v 1148 daemons/attrd/attrd_commands.c a_v->nodename = strdup(v->nodename); v 1150 daemons/attrd/attrd_commands.c if (v->current != NULL) { v 1151 daemons/attrd/attrd_commands.c a_v->current = strdup(v->current); v 1179 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; v 1234 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & v)) { v 1235 daemons/attrd/attrd_commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); v 1240 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); v 1245 daemons/attrd/attrd_commands.c if (peer->id && (v->nodeid == 0)) { v 1246 daemons/attrd/attrd_commands.c crm_trace("Learned ID %u for node %s", peer->id, v->nodename); v 1247 daemons/attrd/attrd_commands.c v->nodeid = peer->id; v 1261 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current); v 1267 daemons/attrd/attrd_commands.c a->id, v->nodename, v->current, v 1268 daemons/attrd/attrd_commands.c peer->uname, peer->uuid, peer->id, v->nodeid); v 1269 daemons/attrd/attrd_commands.c build_update_element(xml_top, a, peer->uuid, v->current); v 1273 daemons/attrd/attrd_commands.c set_alert_attribute_value(alert_attribute_value, v); v 1275 daemons/attrd/attrd_commands.c free(v->requested); v 1276 daemons/attrd/attrd_commands.c v->requested = NULL; v 1277 daemons/attrd/attrd_commands.c if (v->current) { v 1278 daemons/attrd/attrd_commands.c v->requested = strdup(v->current); v 549 daemons/controld/controld_execd.c const char *v = g_hash_table_lookup(op->params, param->rap_name); v 551 daemons/controld/controld_execd.c if (v != NULL) { v 552 daemons/controld/controld_execd.c crm_trace("Adding attr %s=%s to the xml result", param->rap_name, v); v 553 daemons/controld/controld_execd.c crm_xml_add(result, param->rap_name, v); v 57 include/crm/common/util.h guint crm_strcase_hash(gconstpointer v); v 58 include/crm/common/util.h guint g_str_hash_traditional(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 317 lib/common/patchset.c xmlNode *v = NULL; v 339 lib/common/patchset.c v = create_xml_node(version, XML_DIFF_VSOURCE); v 346 lib/common/patchset.c crm_xml_add(v, vfields[lpc], value); v 349 lib/common/patchset.c v = create_xml_node(version, XML_DIFF_VTARGET); v 356 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 550 lib/common/strings.c g_str_hash_traditional(gconstpointer v) v 555 lib/common/strings.c for (p = v; *p != '\0'; p++) v 569 lib/common/strings.c crm_strcase_hash(gconstpointer v) v 574 lib/common/strings.c for (p = v; *p != '\0'; p++) v 480 lib/common/xml.c #define attr_matches(c, n, v) pcmk__str_eq(crm_element_value((c), (n)), \ v 481 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 1241 lib/pengine/pe_output.c int v = crm_parse_int(value, "0"); v 1243 lib/pengine/pe_output.c if (v <= 0) { v 1245 lib/pengine/pe_output.c } else if (v < expected_score) { v 1266 lib/pengine/pe_output.c int v = crm_parse_int(value, "0"); v 1273 lib/pengine/pe_output.c if (v <= 0) { v 1275 lib/pengine/pe_output.c } else if (v < expected_score) {