tag 212 cib/messages.c const char *tag = TYPE(the_cib); tag 213 cib/messages.c xmlNode *shallow = create_xml_node(NULL, tag); tag 372 cib/messages.c const char *tag = crm_element_name(input); tag 375 cib/messages.c if (rc == pcmk_ok && safe_str_eq(tag, XML_TAG_CIB)) { tag 93 crmd/crmd_utils.h void erase_status_tag(const char *uname, const char *tag, int options); tag 999 crmd/utils.c erase_status_tag(const char *uname, const char *tag, int options) tag 1003 crmd/utils.c char *xpath = crm_strdup_printf(XPATH_STATUS_TAG, uname, tag); tag 1006 crmd/utils.c tag, uname, xpath); tag 118 include/crm/common/ipcs.h const char *tag, const char *function, int line); tag 235 include/crm/common/logging.h # define crm_log_tag(level, tag, fmt, args...) do { \ tag 237 include/crm/common/logging.h int converted_tag = g_quark_try_string(tag); \ tag 198 include/crm/common/xml.h const char *tag, const char *field, const char *value, tag 240 include/crm/pengine/internal.h extern void resource_location(resource_t * rsc, node_t * node, int score, const char *tag, tag 182 lib/cib/cib_attrs.c const char *tag = NULL; tag 229 lib/cib/cib_attrs.c tag = XML_CIB_TAG_NODE; tag 233 lib/cib/cib_attrs.c tag = XML_TAG_TRANSIENT_NODEATTRS; tag 243 lib/cib/cib_attrs.c tag = section; tag 278 lib/cib/cib_attrs.c crm_trace("Creating %s/%s", section, tag); tag 279 lib/cib/cib_attrs.c if (tag != NULL) { tag 280 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_obj, tag); tag 407 lib/cib/cib_attrs.c const char *tag; tag 416 lib/cib/cib_attrs.c tag = (const char *) (result->name); tag 417 lib/cib/cib_attrs.c if (safe_str_eq(tag, "xpath-query")) { tag 420 lib/cib/cib_attrs.c tag = (const char *) (result->name); tag 423 lib/cib/cib_attrs.c if (safe_str_eq(tag, XML_CIB_TAG_NODE)) { tag 434 lib/cib/cib_attrs.c } else if (safe_str_eq(tag, XML_CIB_TAG_RESOURCE)) { tag 440 lib/cib/cib_attrs.c } else if (safe_str_eq(tag, XML_CIB_TAG_NVPAIR)) { tag 446 lib/cib/cib_attrs.c } else if (safe_str_eq(tag, XML_CIB_TAG_STATE)) { tag 64 lib/cib/cib_ops.c const char *tag = TYPE(obj_root); tag 65 lib/cib/cib_ops.c xmlNode *shallow = create_xml_node(*answer, tag); tag 180 lib/cib/cib_ops.c const char *tag = NULL; tag 196 lib/cib/cib_ops.c tag = crm_element_name(input); tag 201 lib/cib/cib_ops.c } else if (safe_str_eq(tag, section)) { tag 205 lib/cib/cib_ops.c if (safe_str_eq(tag, XML_TAG_CIB)) { tag 756 lib/cib/cib_ops.c const char *tag = TYPE(match); tag 757 lib/cib/cib_ops.c xmlNode *shallow = create_xml_node(*answer, tag); tag 155 lib/cluster/heartbeat.c const char *tag = NULL; tag 160 lib/cluster/heartbeat.c tag = cl_get_string(msg, F_XML_TAGNAME); tag 161 lib/cluster/heartbeat.c if (tag == NULL) { tag 162 lib/cluster/heartbeat.c tag = field; tag 164 lib/cluster/heartbeat.c } else if (parent && safe_str_neq(field, tag)) { tag 167 lib/cluster/heartbeat.c crm_element_name(parent), tag); tag 172 lib/cluster/heartbeat.c parent = create_xml_node(NULL, tag); tag 176 lib/cluster/heartbeat.c child = create_xml_node(parent, tag); tag 786 lib/common/ipc.c crm_ipcs_send_ack(crm_client_t * c, uint32_t request, uint32_t flags, const char *tag, const char *function, tag 790 lib/common/ipc.c xmlNode *ack = create_xml_node(NULL, tag); tag 489 lib/common/logging.c crm_quark_to_string(uint32_t tag) tag 491 lib/common/logging.c const char *text = g_quark_to_string(tag); tag 564 lib/common/logging.c uint32_t tag; tag 574 lib/common/logging.c tag = g_quark_from_string(token); tag 575 lib/common/logging.c crm_info("Created GQuark %u from token '%s' in '%s'", tag, token, trace_tags); tag 373 lib/common/xml.c const char *tag = crm_element_value(xml, XML_ACL_ATTR_TAG); tag 377 lib/common/xml.c if(tag == NULL) { tag 379 lib/common/xml.c tag = crm_element_value(xml, XML_ACL_ATTR_TAGv1); tag 392 lib/common/xml.c } else if (tag == NULL && ref == NULL && xpath == NULL) { tag 411 lib/common/xml.c if(tag) { tag 412 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "//%s", tag); tag 453 lib/common/xml.c const char *tag = crm_element_name(child); tag 456 lib/common/xml.c if (strcmp(XML_ACL_TAG_PERMISSION, tag) == 0){ tag 457 lib/common/xml.c tag = kind; tag 460 lib/common/xml.c crm_trace("Processing %s %p", tag, child); tag 461 lib/common/xml.c if(tag == NULL) { tag 462 lib/common/xml.c CRM_ASSERT(tag != NULL); tag 464 lib/common/xml.c } else if (strcmp(XML_ACL_TAG_ROLE_REF, tag) == 0 tag 465 lib/common/xml.c || strcmp(XML_ACL_TAG_ROLE_REFv1, tag) == 0) { tag 484 lib/common/xml.c } else if (strcmp(XML_ACL_TAG_READ, tag) == 0) { tag 487 lib/common/xml.c } else if (strcmp(XML_ACL_TAG_WRITE, tag) == 0) { tag 490 lib/common/xml.c } else if (strcmp(XML_ACL_TAG_DENY, tag) == 0) { tag 494 lib/common/xml.c crm_warn("Unknown ACL entry: %s/%s", tag, kind); tag 620 lib/common/xml.c const char *tag = crm_element_name(child); tag 622 lib/common/xml.c if (strcmp(tag, XML_ACL_TAG_USER) == 0 || strcmp(tag, XML_ACL_TAG_USERv1) == 0) { tag 1135 lib/common/xml.c const char *tag = NULL; tag 1148 lib/common/xml.c tag = "diff-removed"; tag 1149 lib/common/xml.c diff_child = find_xml_node(local_diff, tag, FALSE); tag 1151 lib/common/xml.c diff_child = create_xml_node(local_diff, tag); tag 1154 lib/common/xml.c tag = XML_TAG_CIB; tag 1155 lib/common/xml.c cib = find_xml_node(diff_child, tag, FALSE); tag 1157 lib/common/xml.c cib = create_xml_node(diff_child, tag); tag 1169 lib/common/xml.c tag = "diff-added"; tag 1170 lib/common/xml.c diff_child = find_xml_node(local_diff, tag, FALSE); tag 1172 lib/common/xml.c diff_child = create_xml_node(local_diff, tag); tag 1175 lib/common/xml.c tag = XML_TAG_CIB; tag 1176 lib/common/xml.c cib = find_xml_node(diff_child, tag, FALSE); tag 1178 lib/common/xml.c cib = create_xml_node(diff_child, tag); tag 1953 lib/common/xml.c char *tag = malloc(XML_BUFFER_SIZE); tag 1970 lib/common/xml.c } else if(tag && section) { tag 1971 lib/common/xml.c int f = sscanf (section, "%[^[][@id='%[^']", tag, id); tag 1981 lib/common/xml.c target = __first_xml_child_match(target, tag, NULL, current_position); tag 1984 lib/common/xml.c target = __first_xml_child_match(target, tag, id, current_position); tag 2016 lib/common/xml.c free(tag); tag 4707 lib/common/xml.c const char *tag, const char *field, const char *value, gboolean search_matches) tag 4714 lib/common/xml.c if (tag != NULL && safe_str_neq(tag, crm_element_name(root))) { tag 4730 lib/common/xml.c match_found += find_xml_children(children, child, tag, field, value, search_matches); tag 5127 lib/common/xml.c const char *tag = NULL; tag 5139 lib/common/xml.c tag = crm_element_name(result); tag 5147 lib/common/xml.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//%s[@id='%s']", tag, ref); tag 192 lib/pengine/rules.c const char *tag = NULL; tag 196 lib/pengine/rules.c tag = crm_element_name(expr); tag 198 lib/pengine/rules.c if (safe_str_eq(tag, "date_expression")) { tag 201 lib/pengine/rules.c } else if (safe_str_eq(tag, XML_TAG_RULE)) { tag 204 lib/pengine/rules.c } else if (safe_str_neq(tag, "expression")) { tag 715 lib/pengine/unpack.c tag_t *tag = data; tag 717 lib/pengine/unpack.c if (tag) { tag 718 lib/pengine/unpack.c free(tag->id); tag 719 lib/pengine/unpack.c g_list_free_full(tag->refs, free); tag 720 lib/pengine/unpack.c free(tag); tag 1484 lib/pengine/utils.c resource_node_score(resource_t * rsc, node_t * node, int score, const char *tag) tag 1489 lib/pengine/utils.c && safe_str_eq(tag, "symmetric_default")) { tag 1502 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag); tag 1506 lib/pengine/utils.c pe_rsc_trace(rsc, "Setting %s for %s on %s: %d", tag, rsc->id, node->details->uname, score); tag 1516 lib/pengine/utils.c resource_location(resource_t * rsc, node_t * node, int score, const char *tag, tag 1520 lib/pengine/utils.c resource_node_score(rsc, node, score, tag); tag 1528 lib/pengine/utils.c resource_node_score(rsc, node_iter, score, tag); tag 1537 lib/pengine/utils.c resource_node_score(rsc, node_iter, score, tag); tag 2257 lib/pengine/utils.c tag_t *tag = NULL; tag 2263 lib/pengine/utils.c tag = g_hash_table_lookup(tags, tag_name); tag 2264 lib/pengine/utils.c if (tag == NULL) { tag 2265 lib/pengine/utils.c tag = calloc(1, sizeof(tag_t)); tag 2266 lib/pengine/utils.c if (tag == NULL) { tag 2269 lib/pengine/utils.c tag->id = strdup(tag_name); tag 2270 lib/pengine/utils.c tag->refs = NULL; tag 2271 lib/pengine/utils.c g_hash_table_insert(tags, strdup(tag_name), tag); tag 2274 lib/pengine/utils.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 2284 lib/pengine/utils.c tag->refs = g_list_append(tag->refs, strdup(obj_ref)); tag 2285 lib/pengine/utils.c crm_trace("Added: tag=%s ref=%s", tag->id, obj_ref); tag 68 pengine/constraints.c const char *tag = crm_element_name(xml_obj); tag 71 pengine/constraints.c crm_config_err("Constraint <%s...> must have an id", tag); tag 75 pengine/constraints.c crm_trace("Processing constraint %s %s", tag, id); tag 85 pengine/constraints.c crm_info("Constraint %s %s is not active", tag, id); tag 87 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_ORDER, tag)) { tag 90 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_DEPEND, tag)) { tag 93 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_LOCATION, tag)) { tag 96 pengine/constraints.c } else if (safe_str_eq(XML_CONS_TAG_RSC_TICKET, tag)) { tag 100 pengine/constraints.c pe_err("Unsupported constraint type: %s", tag); tag 201 pengine/constraints.c pe_find_constraint_tag(pe_working_set_t * data_set, const char * id, tag_t ** tag) tag 205 pengine/constraints.c *tag = NULL; tag 207 pengine/constraints.c NULL, (gpointer*) tag); tag 211 pengine/constraints.c NULL, (gpointer*) tag); tag 217 pengine/constraints.c } else if (*tag == NULL) { tag 222 pengine/constraints.c } else if (*tag == NULL) { tag 232 pengine/constraints.c resource_t ** rsc, tag_t ** tag) tag 244 pengine/constraints.c if (tag) { tag 245 pengine/constraints.c *tag = NULL; tag 246 pengine/constraints.c rc = pe_find_constraint_tag(data_set, id, tag); tag 478 pengine/constraints.c tag_t *tag = NULL; tag 485 pengine/constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { tag 493 pengine/constraints.c } else if (tag) { tag 519 pengine/constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 576 pengine/constraints.c tag_t *tag = NULL; tag 601 pengine/constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { tag 605 pengine/constraints.c } else if (tag) { tag 614 pengine/constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 290 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); tag 315 tools/crm_resource_runtime.c if (use_attributes_tag && safe_str_eq(tag, XML_CIB_TAG_MASTER)) { tag 316 tools/crm_resource_runtime.c tag = "master_slave"; /* use the old name */ tag 319 tools/crm_resource_runtime.c xml_top = create_xml_node(NULL, tag); tag 868 tools/crm_resource_runtime.c static void dump_list(GList *items, const char *tag) tag 874 tools/crm_resource_runtime.c crm_trace("%s[%d]: %s", tag, lpc, (char*)item->data); tag 879 tools/crm_resource_runtime.c static void display_list(GList *items, const char *tag) tag 884 tools/crm_resource_runtime.c fprintf(stdout, "%s%s\n", tag, (const char *)item->data);