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 328 include/crm/common/logging.h # define crm_log_tag(level, tag, fmt, args...) do { \ tag 334 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 447 include/crm/pengine/internal.h extern void resource_location(pe_resource_t * rsc, pe_node_t * node, int score, const char *tag, tag 587 include/crm/pengine/internal.h bool pe__rsc_has_tag(pe_working_set_t *data_set, const char *rsc, const char *tag); tag 588 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 314 lib/common/acl.c const char *tag = crm_element_name(child); tag 316 lib/common/acl.c if (!strcmp(tag, XML_ACL_TAG_USER) tag 317 lib/common/acl.c || !strcmp(tag, XML_ACL_TAG_USERv1)) { tag 789 lib/common/ipc_server.c uint32_t request, uint32_t flags, const char *tag, tag 795 lib/common/ipc_server.c xmlNode *ack = create_xml_node(NULL, tag); tag 798 lib/common/ipc_server.c pcmk__client_name(c), tag, status); tag 522 lib/common/logging.c crm_quark_to_string(uint32_t tag) tag 524 lib/common/logging.c const char *text = g_quark_to_string(tag); tag 597 lib/common/logging.c uint32_t tag; tag 607 lib/common/logging.c tag = g_quark_from_string(token); tag 608 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 1033 lib/common/patchset.c char *tag; tag 1054 lib/common/patchset.c tag = calloc(key_len, sizeof(char)); tag 1055 lib/common/patchset.c CRM_ASSERT(tag != NULL); tag 1062 lib/common/patchset.c int f = sscanf(section, "%[^[][@id='%[^']", tag, id); tag 1074 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, tag 1078 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, tag 1102 lib/common/patchset.c free(tag); tag 2644 lib/common/xml.c const char *tag, const char *field, const char *value, gboolean search_matches) tag 2651 lib/common/xml.c if (tag != NULL && !pcmk__str_eq(tag, crm_element_name(root), pcmk__str_casei)) { tag 2668 lib/common/xml.c match_found += find_xml_children(children, child, tag, field, value, search_matches); tag 2865 lib/common/xml.c const char *tag = NULL; tag 2876 lib/common/xml.c tag = crm_element_name(result); tag 2880 lib/common/xml.c char *xpath_string = crm_strdup_printf("//%s[@id='%s']", tag, ref); tag 80 lib/pacemaker/pcmk_sched_constraints.c const char *tag = crm_element_name(xml_obj); tag 84 lib/pacemaker/pcmk_sched_constraints.c XML_ATTR_ID, tag); tag 88 lib/pacemaker/pcmk_sched_constraints.c crm_trace("Processing constraint %s %s", tag, id); tag 99 lib/pacemaker/pcmk_sched_constraints.c crm_info("Constraint %s %s is not active", tag, id); tag 101 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_ORDER, tag, pcmk__str_casei)) { tag 104 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_DEPEND, tag, pcmk__str_casei)) { tag 107 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_LOCATION, tag, pcmk__str_casei)) { tag 110 lib/pacemaker/pcmk_sched_constraints.c } else if (pcmk__str_eq(XML_CONS_TAG_RSC_TICKET, tag, pcmk__str_casei)) { tag 114 lib/pacemaker/pcmk_sched_constraints.c pe_err("Unsupported constraint type: %s", tag); tag 216 lib/pacemaker/pcmk_sched_constraints.c pe_find_constraint_tag(pe_working_set_t * data_set, const char * id, pe_tag_t ** tag) tag 220 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; tag 222 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); tag 226 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); tag 232 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { tag 237 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { tag 247 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t ** rsc, pe_tag_t ** tag) tag 259 lib/pacemaker/pcmk_sched_constraints.c if (tag) { tag 260 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; tag 261 lib/pacemaker/pcmk_sched_constraints.c rc = pe_find_constraint_tag(data_set, id, tag); tag 548 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; tag 555 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { tag 565 lib/pacemaker/pcmk_sched_constraints.c } else if (tag) { tag 591 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 649 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; tag 667 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { tag 672 lib/pacemaker/pcmk_sched_constraints.c } else if (tag) { tag 681 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 744 lib/pengine/unpack.c pe_tag_t *tag = data; tag 746 lib/pengine/unpack.c if (tag) { tag 747 lib/pengine/unpack.c free(tag->id); tag 748 lib/pengine/unpack.c g_list_free_full(tag->refs, free); tag 749 lib/pengine/unpack.c free(tag); tag 1556 lib/pengine/utils.c resource_node_score(pe_resource_t * rsc, pe_node_t * node, int score, const char *tag) tag 1561 lib/pengine/utils.c && pcmk__str_eq(tag, "symmetric_default", pcmk__str_casei)) { tag 1574 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag); tag 1578 lib/pengine/utils.c pe_rsc_trace(rsc, "Setting %s for %s on %s: %d", tag, rsc->id, node->details->uname, score); tag 1588 lib/pengine/utils.c resource_location(pe_resource_t * rsc, pe_node_t * node, int score, const char *tag, tag 1592 lib/pengine/utils.c resource_node_score(rsc, node, score, tag); tag 1600 lib/pengine/utils.c resource_node_score(rsc, node_iter, score, tag); tag 1609 lib/pengine/utils.c resource_node_score(rsc, node_iter, score, tag); tag 2180 lib/pengine/utils.c pe_tag_t *tag = NULL; tag 2186 lib/pengine/utils.c tag = g_hash_table_lookup(tags, tag_name); tag 2187 lib/pengine/utils.c if (tag == NULL) { tag 2188 lib/pengine/utils.c tag = calloc(1, sizeof(pe_tag_t)); tag 2189 lib/pengine/utils.c if (tag == NULL) { tag 2192 lib/pengine/utils.c tag->id = strdup(tag_name); tag 2193 lib/pengine/utils.c tag->refs = NULL; tag 2194 lib/pengine/utils.c g_hash_table_insert(tags, strdup(tag_name), tag); tag 2197 lib/pengine/utils.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { tag 2207 lib/pengine/utils.c tag->refs = g_list_append(tag->refs, strdup(obj_ref)); tag 2208 lib/pengine/utils.c crm_trace("Added: tag=%s ref=%s", tag->id, obj_ref); tag 356 tools/crm_resource_runtime.c const char *tag = crm_element_name(rsc->xml); tag 368 tools/crm_resource_runtime.c xml_top = create_xml_node(NULL, tag); tag 1035 tools/crm_resource_runtime.c static void dump_list(GList *items, const char *tag) tag 1041 tools/crm_resource_runtime.c crm_trace("%s[%d]: %s", tag, lpc, (char*)item->data); tag 1046 tools/crm_resource_runtime.c static void display_list(pcmk__output_t *out, GList *items, const char *tag) tag 1051 tools/crm_resource_runtime.c out->info(out, "%s%s", tag, (const char *)item->data);