tag 181 daemons/based/based_messages.c const char *tag = TYPE(the_cib); tag 182 daemons/based/based_messages.c xmlNode *shallow = create_xml_node(NULL, tag); tag 375 daemons/based/based_messages.c const char *tag = crm_element_name(input); tag 378 daemons/based/based_messages.c if (rc == pcmk_ok && pcmk__str_eq(tag, XML_TAG_CIB, pcmk__str_casei)) { tag 207 include/crm/common/ipc_internal.h uint32_t request, uint32_t flags, const char *tag, tag 209 include/crm/common/ipc_internal.h #define pcmk__ipc_send_ack(c, req, flags, tag, st) \ tag 210 include/crm/common/ipc_internal.h pcmk__ipc_send_ack_as(__func__, __LINE__, (c), (req), (flags), (tag), (st)) tag 325 include/crm/common/logging.h # define crm_log_tag(level, tag, fmt, args...) do { \ tag 331 include/crm/common/logging.h int converted_tag = g_quark_try_string(tag); \ tag 160 include/crm/common/xml.h const char *tag, const char *field, const char *value, tag 469 include/crm/pengine/internal.h extern void resource_location(pe_resource_t * rsc, pe_node_t * node, int score, const char *tag, tag 596 include/crm/pengine/internal.h bool pe__rsc_has_tag(pe_working_set_t *data_set, const char *rsc, const char *tag); tag 597 include/crm/pengine/internal.h bool pe__uname_has_tag(pe_working_set_t *data_set, const char *node, const char *tag); tag 175 lib/cib/cib_attrs.c const char *tag = NULL; tag 222 lib/cib/cib_attrs.c tag = XML_CIB_TAG_NODE; tag 226 lib/cib/cib_attrs.c tag = XML_TAG_TRANSIENT_NODEATTRS; tag 236 lib/cib/cib_attrs.c tag = section; tag 273 lib/cib/cib_attrs.c crm_trace("Creating %s/%s", section, tag); tag 274 lib/cib/cib_attrs.c if (tag != NULL) { tag 275 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_obj, tag); tag 402 lib/cib/cib_attrs.c const char *tag; tag 411 lib/cib/cib_attrs.c tag = (const char *) (result->name); tag 412 lib/cib/cib_attrs.c if (pcmk__str_eq(tag, "xpath-query", pcmk__str_casei)) { tag 415 lib/cib/cib_attrs.c tag = (const char *) (result->name); tag 418 lib/cib/cib_attrs.c if (pcmk__str_eq(tag, XML_CIB_TAG_NODE, pcmk__str_casei)) { tag 429 lib/cib/cib_attrs.c } else if (pcmk__str_eq(tag, XML_CIB_TAG_RESOURCE, pcmk__str_casei)) { tag 435 lib/cib/cib_attrs.c } else if (pcmk__str_eq(tag, XML_CIB_TAG_NVPAIR, pcmk__str_casei)) { tag 441 lib/cib/cib_attrs.c } else if (pcmk__str_eq(tag, XML_CIB_TAG_STATE, pcmk__str_casei)) { tag 56 lib/cib/cib_ops.c const char *tag = TYPE(obj_root); tag 57 lib/cib/cib_ops.c xmlNode *shallow = create_xml_node(*answer, tag); tag 172 lib/cib/cib_ops.c const char *tag = NULL; tag 188 lib/cib/cib_ops.c tag = crm_element_name(input); tag 193 lib/cib/cib_ops.c } else if (pcmk__str_eq(tag, section, pcmk__str_casei)) { tag 197 lib/cib/cib_ops.c if (pcmk__str_eq(tag, XML_TAG_CIB, pcmk__str_casei)) { tag 751 lib/cib/cib_ops.c const char *tag = TYPE(match); tag 752 lib/cib/cib_ops.c xmlNode *shallow = create_xml_node(*answer, tag); tag 56 lib/common/acl.c const char *tag = crm_element_value(xml, XML_ACL_ATTR_TAG); tag 61 lib/common/acl.c if (tag == NULL) { tag 63 lib/common/acl.c tag = crm_element_value(xml, XML_ACL_ATTR_TAGv1); tag 70 lib/common/acl.c if ((tag == NULL) && (ref == NULL) && (xpath == NULL)) { tag 91 lib/common/acl.c if (tag) { tag 93 lib/common/acl.c "//%s", tag); tag 153 lib/common/acl.c const char *tag = crm_element_name(child); tag 156 lib/common/acl.c if (strcmp(XML_ACL_TAG_PERMISSION, tag) == 0){ tag 158 lib/common/acl.c crm_trace("Unpacking ACL <%s> element of kind '%s'", tag, kind); tag 159 lib/common/acl.c tag = kind; tag 161 lib/common/acl.c crm_trace("Unpacking ACL <%s> element", tag); tag 164 lib/common/acl.c if (strcmp(XML_ACL_TAG_ROLE_REF, tag) == 0 tag 165 lib/common/acl.c || strcmp(XML_ACL_TAG_ROLE_REFv1, tag) == 0) { tag 187 lib/common/acl.c } else if (strcmp(XML_ACL_TAG_READ, tag) == 0) { tag 190 lib/common/acl.c } else if (strcmp(XML_ACL_TAG_WRITE, tag) == 0) { tag 193 lib/common/acl.c } else if (strcmp(XML_ACL_TAG_DENY, tag) == 0) { tag 198 lib/common/acl.c (kind? "kind" : "element"), tag); tag 329 lib/common/acl.c const char *tag = crm_element_name(child); tag 331 lib/common/acl.c if (!strcmp(tag, XML_ACL_TAG_USER) tag 332 lib/common/acl.c || !strcmp(tag, XML_ACL_TAG_USERv1)) { tag 780 lib/common/ipc_server.c uint32_t request, uint32_t flags, const char *tag, tag 786 lib/common/ipc_server.c xmlNode *ack = create_xml_node(NULL, tag); tag 789 lib/common/ipc_server.c pcmk__client_name(c), tag, status); tag 473 lib/common/logging.c crm_quark_to_string(uint32_t tag) tag 475 lib/common/logging.c const char *text = g_quark_to_string(tag); tag 548 lib/common/logging.c uint32_t tag; tag 558 lib/common/logging.c tag = g_quark_from_string(token); tag 559 lib/common/logging.c crm_info("Created GQuark %u from token '%s' in '%s'", tag, token, trace_tags); tag 230 lib/common/patchset.c const char *tag = NULL; tag 243 lib/common/patchset.c tag = "diff-removed"; tag 244 lib/common/patchset.c diff_child = find_xml_node(local_diff, tag, FALSE); tag 246 lib/common/patchset.c diff_child = create_xml_node(local_diff, tag); tag 249 lib/common/patchset.c tag = XML_TAG_CIB; tag 250 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); tag 252 lib/common/patchset.c cib = create_xml_node(diff_child, tag); tag 264 lib/common/patchset.c tag = "diff-added"; tag 265 lib/common/patchset.c diff_child = find_xml_node(local_diff, tag, FALSE); tag 267 lib/common/patchset.c diff_child = create_xml_node(local_diff, tag); tag 270 lib/common/patchset.c tag = XML_TAG_CIB; tag 271 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); tag 273 lib/common/patchset.c cib = create_xml_node(diff_child, tag); tag 1039 lib/common/patchset.c char *tag; tag 1060 lib/common/patchset.c tag = calloc(key_len, sizeof(char)); tag 1061 lib/common/patchset.c CRM_ASSERT(tag != NULL); tag 1068 lib/common/patchset.c int f = sscanf(section, "%[^[][@id='%[^']", tag, id); tag 1080 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, tag 1084 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, tag 1108 lib/common/patchset.c free(tag); tag 2630 lib/common/xml.c const char *tag, const char *field, const char *value, gboolean search_matches) tag 2637 lib/common/xml.c if (tag != NULL && !pcmk__str_eq(tag, crm_element_name(root), pcmk__str_casei)) { tag 2654 lib/common/xml.c match_found += find_xml_children(children, child, tag, field, value, search_matches); tag 2852 lib/common/xml.c const char *tag = NULL; tag 2863 lib/common/xml.c tag = crm_element_name(result); tag 2867 lib/common/xml.c char *xpath_string = crm_strdup_printf("//%s[@id='%s']", tag, ref); tag 77 lib/pacemaker/pcmk_sched_constraints.c const char *tag = crm_element_name(xml_obj); tag 81 lib/pacemaker/pcmk_sched_constraints.c XML_ATTR_ID, tag); tag 85 lib/pacemaker/pcmk_sched_constraints.c crm_trace("Processing constraint %s %s", tag, id); tag 96 lib/pacemaker/pcmk_sched_constraints.c crm_info("Constraint %s %s is not active", tag, id); tag 98 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_ORDER, tag, pcmk__str_casei)) { tag 101 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_DEPEND, tag, pcmk__str_casei)) { tag 104 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_LOCATION, tag, pcmk__str_casei)) { tag 107 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_TICKET, tag, pcmk__str_casei)) { tag 111 lib/pacemaker/pcmk_sched_constraints.c pe_err("Unsupported constraint type: %s", tag); tag 213 lib/pacemaker/pcmk_sched_constraints.c pe_find_constraint_tag(pe_working_set_t * data_set, const char * id, pe_tag_t ** tag) tag 217 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; tag 219 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); tag 223 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); tag 229 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { tag 234 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { tag 244 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t ** rsc, pe_tag_t ** tag) tag 256 lib/pacemaker/pcmk_sched_constraints.c if (tag) { tag 257 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; tag 258 lib/pacemaker/pcmk_sched_constraints.c rc = pe_find_constraint_tag(data_set, id, tag); tag 545 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; tag 552 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { tag 562 lib/pacemaker/pcmk_sched_constraints.c } else if (tag) { tag 588 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 646 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; tag 664 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { tag 669 lib/pacemaker/pcmk_sched_constraints.c } else if (tag) { tag 678 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 107 lib/pengine/rules.c const char *tag = NULL; tag 111 lib/pengine/rules.c tag = crm_element_name(expr); tag 113 lib/pengine/rules.c if (pcmk__str_eq(tag, "date_expression", pcmk__str_casei)) { tag 116 lib/pengine/rules.c } else if (pcmk__str_eq(tag, "rsc_expression", pcmk__str_casei)) { tag 119 lib/pengine/rules.c } else if (pcmk__str_eq(tag, "op_expression", pcmk__str_casei)) { tag 122 lib/pengine/rules.c } else if (pcmk__str_eq(tag, XML_TAG_RULE, pcmk__str_casei)) { tag 125 lib/pengine/rules.c } else if (!pcmk__str_eq(tag, "expression", pcmk__str_casei)) { tag 752 lib/pengine/unpack.c pe_tag_t *tag = data; tag 754 lib/pengine/unpack.c if (tag) { tag 755 lib/pengine/unpack.c free(tag->id); tag 756 lib/pengine/unpack.c g_list_free_full(tag->refs, free); tag 757 lib/pengine/unpack.c free(tag); tag 1637 lib/pengine/utils.c resource_node_score(pe_resource_t * rsc, pe_node_t * node, int score, const char *tag) tag 1642 lib/pengine/utils.c && pcmk__str_eq(tag, "symmetric_default", pcmk__str_casei)) { tag 1655 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag); tag 1659 lib/pengine/utils.c pe_rsc_trace(rsc, "Setting %s for %s on %s: %d", tag, rsc->id, node->details->uname, score); tag 1669 lib/pengine/utils.c resource_location(pe_resource_t * rsc, pe_node_t * node, int score, const char *tag, tag 1673 lib/pengine/utils.c resource_node_score(rsc, node, score, tag); tag 1681 lib/pengine/utils.c resource_node_score(rsc, node_iter, score, tag); tag 1690 lib/pengine/utils.c resource_node_score(rsc, node_iter, score, tag); tag 2586 lib/pengine/utils.c pe_tag_t *tag = NULL; tag 2592 lib/pengine/utils.c tag = g_hash_table_lookup(tags, tag_name); tag 2593 lib/pengine/utils.c if (tag == NULL) { tag 2594 lib/pengine/utils.c tag = calloc(1, sizeof(pe_tag_t)); tag 2595 lib/pengine/utils.c if (tag == NULL) { tag 2598 lib/pengine/utils.c tag->id = strdup(tag_name); tag 2599 lib/pengine/utils.c tag->refs = NULL; tag 2600 lib/pengine/utils.c g_hash_table_insert(tags, strdup(tag_name), tag); tag 2603 lib/pengine/utils.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 2613 lib/pengine/utils.c tag->refs = g_list_append(tag->refs, strdup(obj_ref)); tag 2614 lib/pengine/utils.c crm_trace("Added: tag=%s ref=%s", tag->id, obj_ref); tag 323 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); tag 335 tools/crm_resource_runtime.c xml_top = create_xml_node(NULL, tag); tag 1047 tools/crm_resource_runtime.c static void dump_list(GList *items, const char *tag) tag 1053 tools/crm_resource_runtime.c crm_trace("%s[%d]: %s", tag, lpc, (char*)item->data); tag 1058 tools/crm_resource_runtime.c static void display_list(GList *items, const char *tag) tag 1063 tools/crm_resource_runtime.c fprintf(stdout, "%s%s\n", tag, (const char *)item->data);