xpath 103 daemons/attrd/pacemaker-attrd.c char *xpath = crm_strdup_printf(XPATH_TRANSIENT, attrd_cluster->uname); xpath 106 daemons/attrd/pacemaker-attrd.c xpath); xpath 108 daemons/attrd/pacemaker-attrd.c call_id = the_cib->cmds->remove(the_cib, xpath, NULL, xpath 110 daemons/attrd/pacemaker-attrd.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, xpath, xpath 1169 daemons/based/based_callbacks.c calculate_section_digest(const char *xpath, xmlNode * xml_obj) xpath 1177 daemons/based/based_callbacks.c xml_section = get_xpath_object(xpath, xml_obj, LOG_TRACE); xpath 248 daemons/controld/controld_based.c char *xpath = NULL; xpath 254 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_LRM, uname); xpath 258 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_LRM_UNLOCKED, uname, uname); xpath 263 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ATTRS, uname); xpath 267 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ALL, uname); xpath 271 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ALL_UNLOCKED, xpath 286 daemons/controld/controld_based.c call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options); xpath 288 daemons/controld/controld_based.c desc, call_id, xpath); xpath 292 daemons/controld/controld_based.c free(xpath); xpath 319 daemons/controld/controld_based.c char *xpath = NULL; xpath 332 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_RESOURCE_HISTORY, node, rsc_id); xpath 333 daemons/controld/controld_based.c rc = cib_internal_op(fsa_cib_conn, PCMK__CIB_REQUEST_DELETE, NULL, xpath, xpath 343 daemons/controld/controld_based.c free(xpath); xpath 357 daemons/controld/controld_based.c desc, rc, xpath); xpath 362 daemons/controld/controld_based.c free(xpath); xpath 312 daemons/controld/controld_membership.c GString *xpath = NULL; xpath 320 daemons/controld/controld_membership.c if (xpath == NULL) { xpath 321 daemons/controld/controld_membership.c xpath = g_string_sized_new(512); xpath 323 daemons/controld/controld_membership.c g_string_truncate(xpath, 0); xpath 332 daemons/controld/controld_membership.c pcmk__g_strcat(xpath, xpath 339 daemons/controld/controld_membership.c (const char *) xpath->str, xpath 347 daemons/controld/controld_membership.c if (xpath != NULL) { xpath 348 daemons/controld/controld_membership.c g_string_free(xpath, TRUE); xpath 222 daemons/controld/controld_te_callbacks.c const char *op, const char *xpath) xpath 265 daemons/controld/controld_te_callbacks.c static char *extract_node_uuid(const char *xpath) xpath 267 daemons/controld/controld_te_callbacks.c char *mutable_path = strdup(xpath); xpath 292 daemons/controld/controld_te_callbacks.c abort_unless_down(const char *xpath, const char *op, xmlNode *change, xpath 303 daemons/controld/controld_te_callbacks.c node_uuid = extract_node_uuid(xpath); xpath 305 daemons/controld/controld_te_callbacks.c crm_err("Could not extract node ID from %s", xpath); xpath 312 daemons/controld/controld_te_callbacks.c crm_trace("Not expecting %s to be down (%s)", node_uuid, xpath); xpath 315 daemons/controld/controld_te_callbacks.c crm_trace("Expecting changes to %s (%s)", node_uuid, xpath); xpath 321 daemons/controld/controld_te_callbacks.c process_op_deletion(const char *xpath, xmlNode *change) xpath 323 daemons/controld/controld_te_callbacks.c char *mutable_key = strdup(xpath); xpath 335 daemons/controld/controld_te_callbacks.c xpath); xpath 341 daemons/controld/controld_te_callbacks.c node_uuid = extract_node_uuid(xpath); xpath 351 daemons/controld/controld_te_callbacks.c process_delete_diff(const char *xpath, const char *op, xmlNode *change) xpath 353 daemons/controld/controld_te_callbacks.c if (strstr(xpath, "/" XML_LRM_TAG_RSC_OP "[")) { xpath 354 daemons/controld/controld_te_callbacks.c process_op_deletion(xpath, change); xpath 356 daemons/controld/controld_te_callbacks.c } else if (strstr(xpath, "/" XML_CIB_TAG_LRM "[")) { xpath 357 daemons/controld/controld_te_callbacks.c abort_unless_down(xpath, op, change, "Resource state removal"); xpath 359 daemons/controld/controld_te_callbacks.c } else if (strstr(xpath, "/" XML_CIB_TAG_STATE "[")) { xpath 360 daemons/controld/controld_te_callbacks.c abort_unless_down(xpath, op, change, "Node state removal"); xpath 363 daemons/controld/controld_te_callbacks.c crm_trace("Ignoring delete of %s", xpath); xpath 369 daemons/controld/controld_te_callbacks.c const char *xpath) xpath 373 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(state), lrm, change, op, xpath); xpath 378 daemons/controld/controld_te_callbacks.c const char *xpath) xpath 382 daemons/controld/controld_te_callbacks.c process_node_state_diff(state, change, op, xpath); xpath 388 daemons/controld/controld_te_callbacks.c const char *xpath) xpath 394 daemons/controld/controld_te_callbacks.c process_status_diff(status, change, op, xpath); xpath 412 daemons/controld/controld_te_callbacks.c const char *xpath = crm_element_value(change, XML_DIFF_PATH); xpath 421 daemons/controld/controld_te_callbacks.c } else if (xpath == NULL) { xpath 426 daemons/controld/controld_te_callbacks.c && (strstr(xpath, xpath 432 daemons/controld/controld_te_callbacks.c crm_trace("Ignoring move change at %s", xpath); xpath 448 daemons/controld/controld_te_callbacks.c op, xpath); xpath 454 daemons/controld/controld_te_callbacks.c crm_trace("Ignoring %s operation for comment at %s", op, xpath); xpath 461 daemons/controld/controld_te_callbacks.c op, (xpath? xpath : "CIB"), xpath 464 daemons/controld/controld_te_callbacks.c if (strstr(xpath, "/" XML_TAG_CIB "/" XML_CIB_TAG_CONFIGURATION)) { xpath 469 daemons/controld/controld_te_callbacks.c } else if (strstr(xpath, "/" XML_CIB_TAG_TICKETS) xpath 475 daemons/controld/controld_te_callbacks.c } else if (strstr(xpath, "/" XML_TAG_TRANSIENT_NODEATTRS "[") xpath 478 daemons/controld/controld_te_callbacks.c abort_unless_down(xpath, op, change, "Transient attribute change"); xpath 482 daemons/controld/controld_te_callbacks.c process_delete_diff(xpath, op, change); xpath 486 daemons/controld/controld_te_callbacks.c op, xpath); xpath 489 daemons/controld/controld_te_callbacks.c process_cib_diff(match, change, op, xpath); xpath 492 daemons/controld/controld_te_callbacks.c process_status_diff(match, change, op, xpath); xpath 495 daemons/controld/controld_te_callbacks.c process_node_state_diff(match, change, op, xpath); xpath 498 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(match), match, change, op, xpath); xpath 501 daemons/controld/controld_te_callbacks.c char *local_node = pcmk__xpath_node_id(xpath, "lrm"); xpath 503 daemons/controld/controld_te_callbacks.c process_resource_updates(local_node, match, change, op, xpath); xpath 507 daemons/controld/controld_te_callbacks.c char *local_node = pcmk__xpath_node_id(xpath, "lrm"); xpath 513 daemons/controld/controld_te_callbacks.c char *local_node = pcmk__xpath_node_id(xpath, "lrm"); xpath 520 daemons/controld/controld_te_callbacks.c op, xpath, name); xpath 330 daemons/controld/controld_te_events.c char *xpath = crm_strdup_printf(XPATH_DOWNED, target); xpath 342 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); xpath 354 daemons/controld/controld_te_events.c free(xpath); xpath 903 daemons/fenced/fenced_commands.c xmlXPathObjectPtr xpath = NULL; xpath 913 daemons/fenced/fenced_commands.c xpath = xpath_search(xml, "//parameter[@name='nodeid']"); xpath 914 daemons/fenced/fenced_commands.c if (numXpathResults(xpath) <= 0) { xpath 915 daemons/fenced/fenced_commands.c freeXpathObject(xpath); xpath 919 daemons/fenced/fenced_commands.c freeXpathObject(xpath); xpath 926 daemons/fenced/fenced_commands.c xmlXPathObjectPtr xpath = NULL; xpath 934 daemons/fenced/fenced_commands.c xpath = xpath_search(device->agent_metadata, "//action"); xpath 935 daemons/fenced/fenced_commands.c max = numXpathResults(xpath); xpath 938 daemons/fenced/fenced_commands.c freeXpathObject(xpath); xpath 944 daemons/fenced/fenced_commands.c xmlNode *match = getXpathResult(xpath, lpc); xpath 975 daemons/fenced/fenced_commands.c freeXpathObject(xpath); xpath 571 daemons/fenced/pacemaker-fenced.c const char *xpath = "//" XML_TAG_FENCING_LEVEL; xpath 578 daemons/fenced/pacemaker-fenced.c xpathObj = xpath_search(local_cib, xpath); xpath 843 daemons/fenced/pacemaker-fenced.c const char *xpath = crm_element_value(change, XML_DIFF_PATH); xpath 848 daemons/fenced/pacemaker-fenced.c strstr(xpath, "/"XML_CIB_TAG_STATUS)) { xpath 850 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(op, "delete", pcmk__str_casei) && strstr(xpath, "/"XML_CIB_TAG_RESOURCE)) { xpath 855 daemons/fenced/pacemaker-fenced.c if (strstr(xpath, XML_TAG_ATTR_SETS) || xpath 856 daemons/fenced/pacemaker-fenced.c strstr(xpath, XML_TAG_META_SETS)) { xpath 861 daemons/fenced/pacemaker-fenced.c mutable = strdup(xpath); xpath 877 daemons/fenced/pacemaker-fenced.c } else if (strstr(xpath, "/"XML_CIB_TAG_RESOURCES) || xpath 878 daemons/fenced/pacemaker-fenced.c strstr(xpath, "/"XML_CIB_TAG_CONSTRAINTS) || xpath 879 daemons/fenced/pacemaker-fenced.c strstr(xpath, "/"XML_CIB_TAG_RSCCONFIG)) { xpath 880 daemons/fenced/pacemaker-fenced.c shortpath = strrchr(xpath, '/'); CRM_ASSERT(shortpath); xpath 991 daemons/fenced/pacemaker-fenced.c GString *xpath = NULL; xpath 1002 daemons/fenced/pacemaker-fenced.c xpath = g_string_sized_new(256); xpath 1003 daemons/fenced/pacemaker-fenced.c pcmk__g_strcat(xpath, xpath 1010 daemons/fenced/pacemaker-fenced.c match = get_xpath_object((const char *) xpath->str, local_cib, LOG_NEVER); xpath 1012 daemons/fenced/pacemaker-fenced.c g_string_free(xpath, TRUE); xpath 1038 daemons/fenced/pacemaker-fenced.c const char *xpath; xpath 1047 daemons/fenced/pacemaker-fenced.c xpath = "//" F_CIB_UPDATE_RESULT "//" XML_TAG_DIFF_REMOVED "//" XML_TAG_FENCING_LEVEL; xpath 1048 daemons/fenced/pacemaker-fenced.c xpathObj = xpath_search(msg, xpath); xpath 1054 daemons/fenced/pacemaker-fenced.c xpath = "//" F_CIB_UPDATE_RESULT "//" XML_TAG_DIFF_ADDED "//" XML_TAG_FENCING_LEVEL; xpath 1055 daemons/fenced/pacemaker-fenced.c xpathObj = xpath_search(msg, xpath); xpath 1070 daemons/fenced/pacemaker-fenced.c const char *xpath = crm_element_value(change, XML_DIFF_PATH); xpath 1075 daemons/fenced/pacemaker-fenced.c } else if(strstr(xpath, "/" XML_TAG_FENCING_LEVEL) != NULL) { xpath 1078 daemons/fenced/pacemaker-fenced.c crm_trace("Handling %s operation %d.%d.%d for %s", op, add[0], add[1], add[2], xpath); xpath 1096 daemons/fenced/pacemaker-fenced.c op, add[0], add[1], add[2], xpath); xpath 1101 daemons/fenced/pacemaker-fenced.c } else if (strstr(xpath, "/" XML_TAG_FENCING_TOPOLOGY) != NULL) { xpath 1104 daemons/fenced/pacemaker-fenced.c op, add[0], add[1], add[2], xpath); xpath 1108 daemons/fenced/pacemaker-fenced.c } else if (strstr(xpath, "/" XML_CIB_TAG_CONFIGURATION)) { xpath 1112 daemons/fenced/pacemaker-fenced.c op, add[0], add[1], add[2], xpath); xpath 1116 daemons/fenced/pacemaker-fenced.c op, add[0], add[1], add[2], xpath); xpath 1123 daemons/fenced/pacemaker-fenced.c op, add[0], add[1], add[2], xpath); xpath 173 include/crm/common/xml.h xmlNode *get_xpath_object(const char *xpath, xmlNode * xml_obj, int error_level); xpath 174 include/crm/common/xml.h xmlNode *get_xpath_object_relative(const char *xpath, xmlNode * xml_obj, int error_level); xpath 266 include/crm/common/xml.h void crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xpath 316 include/crm/common/xml_internal.h pcmk__xpath_node_id(const char *xpath, const char *node); xpath 61 lib/cib/cib_attrs.c GString *xpath = NULL; xpath 96 lib/cib/cib_attrs.c xpath = g_string_sized_new(1024); xpath 97 lib/cib/cib_attrs.c g_string_append(xpath, xpath_base); xpath 100 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, "//", node_type, NULL); xpath 109 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, xpath 114 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, "//", set_type, NULL); xpath 116 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, "[@" XML_ATTR_ID "='", set_name, "']", NULL); xpath 119 lib/cib/cib_attrs.c g_string_append(xpath, "//nvpair"); xpath 122 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, xpath 127 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, "[@" XML_ATTR_ID "='", attr_id, "']", NULL); xpath 130 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, "[@" XML_ATTR_NAME "='", attr_name, "']", NULL); xpath 134 lib/cib/cib_attrs.c (const char *) xpath->str, NULL, &xml_search, xpath 140 lib/cib/cib_attrs.c pcmk__s(set_name, "<null>"), (const char *) xpath->str, xpath 147 lib/cib/cib_attrs.c g_string_free(xpath, TRUE); xpath 29 lib/common/acl.c char *xpath; xpath 38 lib/common/acl.c free(acl->xpath); xpath 56 lib/common/acl.c const char *xpath = crm_element_value(xml, XML_ACL_ATTR_XPATH); xpath 68 lib/common/acl.c if ((tag == NULL) && (ref == NULL) && (xpath == NULL)) { xpath 79 lib/common/acl.c if (xpath) { xpath 80 lib/common/acl.c acl->xpath = strdup(xpath); xpath 81 lib/common/acl.c CRM_ASSERT(acl->xpath != NULL); xpath 83 lib/common/acl.c crm_element_name(xml), acl->xpath); xpath 104 lib/common/acl.c acl->xpath = strdup((const char *) buf->str); xpath 105 lib/common/acl.c CRM_ASSERT(acl->xpath != NULL); xpath 109 lib/common/acl.c crm_element_name(xml), acl->xpath); xpath 241 lib/common/acl.c xpathObj = xpath_search(xml, acl->xpath); xpath 263 lib/common/acl.c acl->xpath); xpath 268 lib/common/acl.c acl_to_text(acl->mode), acl->xpath, max, xpath 473 lib/common/acl.c } else if (acl->xpath) { xpath 475 lib/common/acl.c xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath); xpath 489 lib/common/acl.c user, acl->xpath, max, xpath 664 lib/common/acl.c GString *xpath = NULL; xpath 670 lib/common/acl.c xpath = pcmk__element_xpath(xml); xpath 672 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); xpath 679 lib/common/acl.c (const char *) xpath->str); xpath 680 lib/common/acl.c g_string_free(xpath, TRUE); xpath 706 lib/common/acl.c xpath = pcmk__element_xpath(xml); xpath 708 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); xpath 716 lib/common/acl.c (const char *) xpath->str); xpath 717 lib/common/acl.c g_string_free(xpath, TRUE); xpath 726 lib/common/acl.c xpath = pcmk__element_xpath(xml); xpath 728 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); xpath 735 lib/common/acl.c (const char *) xpath->str); xpath 736 lib/common/acl.c g_string_free(xpath, TRUE); xpath 222 lib/common/alerts.c const char *xpath = crm_element_value(change, XML_DIFF_PATH); xpath 224 lib/common/alerts.c if (xpath == NULL) { xpath 228 lib/common/alerts.c if ((!config || !strstr(xpath, XPATH_CRMCONFIG)) xpath 229 lib/common/alerts.c && !strstr(xpath, XPATH_ALERTS)) { xpath 236 lib/common/alerts.c if ((strcmp(xpath, XPATH_CONFIG) != 0) || xpath 95 lib/common/patchset.c GString *xpath = pcmk__element_xpath(xml->parent); xpath 97 lib/common/patchset.c if (xpath != NULL) { xpath 103 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, (const char *) xpath->str); xpath 106 lib/common/patchset.c g_string_free(xpath, TRUE); xpath 123 lib/common/patchset.c GString *xpath = pcmk__element_xpath(xml); xpath 125 lib/common/patchset.c if (xpath != NULL) { xpath 129 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, (const char *) xpath->str); xpath 132 lib/common/patchset.c g_string_free(xpath, TRUE); xpath 174 lib/common/patchset.c GString *xpath = pcmk__element_xpath(xml); xpath 179 lib/common/patchset.c if (xpath != NULL) { xpath 183 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, (const char *) xpath->str); xpath 186 lib/common/patchset.c g_string_free(xpath, TRUE); xpath 514 lib/common/patchset.c const char *xpath = crm_element_value(change, XML_DIFF_PATH); xpath 519 lib/common/patchset.c char *prefix = crm_strdup_printf("++ %s: ", xpath); xpath 538 lib/common/patchset.c "+~ %s moved to offset %s", xpath, xpath 569 lib/common/patchset.c "+ %s: %s", xpath, xpath 575 lib/common/patchset.c "-- %s: %s", xpath, xpath 586 lib/common/patchset.c "-- %s (%d)", xpath, position); xpath 590 lib/common/patchset.c "-- %s", xpath); xpath 1145 lib/common/patchset.c const char *xpath = crm_element_value(change, XML_DIFF_PATH); xpath 1158 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); xpath 1159 lib/common/patchset.c crm_trace("Performing %s on %s with %p", op, xpath, match); xpath 1162 lib/common/patchset.c crm_debug("No %s match for %s in %p", op, xpath, xml->doc); xpath 1166 lib/common/patchset.c crm_err("No %s match for %s in %p", op, xpath, xml->doc); xpath 1223 lib/common/patchset.c const char *xpath = NULL; xpath 1228 lib/common/patchset.c xpath = crm_element_value(change, XML_DIFF_PATH); xpath 1230 lib/common/patchset.c crm_trace("Continue performing %s on %s with %p", op, xpath, match); xpath 832 lib/common/xml.c GString *xpath = NULL; xpath 835 lib/common/xml.c xpath = pcmk__element_xpath(child); xpath 838 lib/common/xml.c __LINE__, 0, (const char *) xpath->str, xpath 840 lib/common/xml.c g_string_free(xpath, TRUE); xpath 847 lib/common/xml.c GString *xpath = pcmk__element_xpath(child); xpath 849 lib/common/xml.c if (xpath != NULL) { xpath 853 lib/common/xml.c (const char *) xpath->str, child, doc); xpath 856 lib/common/xml.c deleted_obj->path = strdup((const char *) xpath->str); xpath 859 lib/common/xml.c g_string_free(xpath, TRUE); xpath 173 lib/common/xpath.c crm_foreach_xpath_result(xmlNode *xml, const char *xpath, xpath 176 lib/common/xpath.c xmlXPathObjectPtr xpathObj = xpath_search(xml, xpath); xpath 192 lib/common/xpath.c get_xpath_object_relative(const char *xpath, xmlNode * xml_obj, int error_level) xpath 198 lib/common/xpath.c if (xml_obj == NULL || xpath == NULL) { xpath 204 lib/common/xpath.c xpath_full = crm_strdup_printf("%s%s", xpath_prefix, xpath); xpath 214 lib/common/xpath.c get_xpath_object(const char *xpath, xmlNode * xml_obj, int error_level) xpath 222 lib/common/xpath.c if (xpath == NULL) { xpath 226 lib/common/xpath.c xpathObj = xpath_search(xml_obj, xpath); xpath 233 lib/common/xpath.c xpath, pcmk__s(nodePath, "unknown path")); xpath 242 lib/common/xpath.c xpath, pcmk__s(nodePath, "unknown path")); xpath 251 lib/common/xpath.c xpath, lpc, xpath 284 lib/common/xpath.c GString *xpath = NULL; xpath 292 lib/common/xpath.c xpath = pcmk__element_xpath(parent); xpath 293 lib/common/xpath.c if (xpath == NULL) { xpath 294 lib/common/xpath.c xpath = g_string_sized_new(256); xpath 299 lib/common/xpath.c g_string_append_c(xpath, '/'); xpath 301 lib/common/xpath.c g_string_append(xpath, TYPE(xml)); xpath 303 lib/common/xpath.c pcmk__g_strcat(xpath, "/", TYPE(xml), NULL); xpath 308 lib/common/xpath.c pcmk__g_strcat(xpath, "[@" XML_ATTR_ID "='", id, "']", NULL); xpath 311 lib/common/xpath.c return xpath; xpath 315 lib/common/xpath.c pcmk__xpath_node_id(const char *xpath, const char *node) xpath 322 lib/common/xpath.c if (node == NULL || xpath == NULL) { xpath 327 lib/common/xpath.c start = strstr(xpath, patt); xpath 2389 lib/fencing/st_client.c xmlXPathObjectPtr xpath = NULL; xpath 2395 lib/fencing/st_client.c xpath = xpath_search(metadata, "//parameter"); xpath 2396 lib/fencing/st_client.c max = numXpathResults(xpath); xpath 2399 lib/fencing/st_client.c freeXpathObject(xpath); xpath 2405 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpath, lpc); xpath 2424 lib/fencing/st_client.c freeXpathObject(xpath); xpath 95 lib/fencing/st_rhcs.c char *xpath = NULL; xpath 101 lib/fencing/st_rhcs.c xpath = crm_strdup_printf("//parameter[@name='%s']", parameter); xpath 104 lib/fencing/st_rhcs.c xpathObj = xpath_search(metadata, xpath); xpath 111 lib/fencing/st_rhcs.c free(xpath); xpath 126 lib/pacemaker/pcmk_injections.c char *xpath = crm_strdup_printf(XPATH_NODE_CONFIG, node); xpath 128 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, xpath 144 lib/pacemaker/pcmk_injections.c free(xpath); xpath 226 lib/pacemaker/pcmk_injections.c char *xpath = crm_strdup_printf(XPATH_NODE_STATE, node); xpath 232 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, xpath 237 lib/pacemaker/pcmk_injections.c xpath); xpath 239 lib/pacemaker/pcmk_injections.c free(xpath); xpath 261 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, xpath 266 lib/pacemaker/pcmk_injections.c free(xpath); xpath 319 lib/pacemaker/pcmk_injections.c char *xpath = crm_strdup_printf(XPATH_RSC_HISTORY, node, resource); xpath 320 lib/pacemaker/pcmk_injections.c xmlNode *match = get_xpath_object(xpath, cib_node, LOG_TRACE); xpath 322 lib/pacemaker/pcmk_injections.c free(xpath); xpath 426 lib/pacemaker/pcmk_injections.c GString *xpath = g_string_sized_new(256); xpath 431 lib/pacemaker/pcmk_injections.c g_string_append(xpath, xpath 436 lib/pacemaker/pcmk_injections.c pcmk__g_strcat(xpath, xpath 440 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, xpath 442 lib/pacemaker/pcmk_injections.c g_string_free(xpath, TRUE); xpath 646 lib/pacemaker/pcmk_injections.c char *xpath = NULL; xpath 658 lib/pacemaker/pcmk_injections.c xpath = crm_strdup_printf("//node_state[@uname='%s']/%s", xpath 660 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, xpath 662 lib/pacemaker/pcmk_injections.c free(xpath); xpath 664 lib/pacemaker/pcmk_injections.c xpath = crm_strdup_printf("//node_state[@uname='%s']/%s", xpath 666 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, xpath 668 lib/pacemaker/pcmk_injections.c free(xpath); xpath 33 lib/pacemaker/pcmk_resource.c char *xpath = NULL; xpath 42 lib/pacemaker/pcmk_resource.c xpath = crm_strdup_printf(XPATH_OP_HISTORY, node->details->uname, rsc->id); xpath 43 lib/pacemaker/pcmk_resource.c history = get_xpath_object(xpath, data_set->input, LOG_NEVER); xpath 44 lib/pacemaker/pcmk_resource.c free(xpath); xpath 127 lib/pacemaker/pcmk_rule.c char *xpath = NULL; xpath 147 lib/pacemaker/pcmk_rule.c xpath = crm_strdup_printf(XPATH_NODE_RULE, rule_id); xpath 148 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath 151 lib/pacemaker/pcmk_rule.c free(xpath); xpath 166 lib/pacemaker/pcmk_rule.c xpath = crm_strdup_printf(XPATH_NODE_RULE "//date_expression", rule_id); xpath 167 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath 170 lib/pacemaker/pcmk_rule.c free(xpath); xpath 183 lib/pacemaker/pcmk_rule.c xpath = crm_strdup_printf(XPATH_NODE_RULE "//date_expression[" xpath 186 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath 189 lib/pacemaker/pcmk_rule.c free(xpath); xpath 194 lib/pacemaker/pcmk_rule.c xpath = crm_strdup_printf(XPATH_NODE_RULE "//date_expression[" xpath 198 lib/pacemaker/pcmk_rule.c xpath_obj = xpath_search(cib_constraints, xpath); xpath 201 lib/pacemaker/pcmk_rule.c free(xpath); xpath 1914 lib/pacemaker/pcmk_sched_actions.c char *xpath = NULL; xpath 1917 lib/pacemaker/pcmk_sched_actions.c xpath = crm_strdup_printf(XPATH_NODE_HISTORY, node->details->uname); xpath 1918 lib/pacemaker/pcmk_sched_actions.c history = get_xpath_object(xpath, data_set->input, LOG_NEVER); xpath 1919 lib/pacemaker/pcmk_sched_actions.c free(xpath); xpath 687 lib/pacemaker/pcmk_simulate.c GString *xpath = g_string_sized_new(512); xpath 700 lib/pacemaker/pcmk_simulate.c pcmk__g_strcat(xpath, xpath 704 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, xpath 707 lib/pacemaker/pcmk_simulate.c g_string_truncate(xpath, 0); xpath 708 lib/pacemaker/pcmk_simulate.c pcmk__g_strcat(xpath, xpath 712 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, xpath 716 lib/pacemaker/pcmk_simulate.c g_string_free(xpath, TRUE); xpath 95 lib/pengine/failcounts.c char *xpath = crm_strdup_printf("//primitive[@id='%s']//op[@on-fail='block']", xpath 98 lib/pengine/failcounts.c xmlXPathObject *xpathObj = xpath_search(rsc->xml, xpath); xpath 101 lib/pengine/failcounts.c free(xpath); xpath 182 lib/pengine/unpack.c set_if_xpath(uint64_t flag, const char *xpath, pe_working_set_t *data_set) xpath 187 lib/pengine/unpack.c result = xpath_search(data_set->input, xpath); xpath 2584 lib/pengine/unpack.c GString *xpath = NULL; xpath 2590 lib/pengine/unpack.c xpath = g_string_sized_new(256); xpath 2591 lib/pengine/unpack.c pcmk__g_strcat(xpath, xpath 2600 lib/pengine/unpack.c pcmk__g_strcat(xpath, xpath 2605 lib/pengine/unpack.c pcmk__g_strcat(xpath, xpath 2609 lib/pengine/unpack.c g_string_append_c(xpath, ']'); xpath 2612 lib/pengine/unpack.c xml = get_xpath_object((const char *) xpath->str, data_set->input, xpath 2614 lib/pengine/unpack.c g_string_free(xpath, TRUE); xpath 2633 lib/pengine/unpack.c GString *xpath = NULL; xpath 2638 lib/pengine/unpack.c xpath = g_string_sized_new(256); xpath 2639 lib/pengine/unpack.c pcmk__g_strcat(xpath, xpath 2646 lib/pengine/unpack.c xml = get_xpath_object((const char *) xpath->str, data_set->input, xpath 2649 lib/pengine/unpack.c g_string_free(xpath, TRUE); xpath 1828 tools/crm_mon.c const char *xpath = crm_element_value(change, XML_DIFF_PATH); xpath 1855 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); xpath 1856 tools/crm_mon.c if(xpath == NULL) { xpath 1860 tools/crm_mon.c crm_debug("No result for %s operation to %s", op, xpath); xpath 1882 tools/crm_mon.c char *local_node = pcmk__xpath_node_id(xpath, "lrm"); xpath 1888 tools/crm_mon.c char *local_node = pcmk__xpath_node_id(xpath, "lrm"); xpath 1894 tools/crm_mon.c char *local_node = pcmk__xpath_node_id(xpath, "lrm"); xpath 1900 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); xpath 81 tools/crm_resource_runtime.c GString *xpath = NULL; xpath 98 tools/crm_resource_runtime.c xpath = g_string_sized_new(1024); xpath 99 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, xpath 103 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, "/", attr_set_type, NULL); xpath 105 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, "[@" XML_ATTR_ID "=\"", set_name, "\"]", xpath 110 tools/crm_resource_runtime.c g_string_append(xpath, "//" XML_CIB_TAG_NVPAIR "["); xpath 112 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, "@" XML_ATTR_ID "=\"", attr_id, "\"", NULL); xpath 117 tools/crm_resource_runtime.c g_string_append(xpath, " and "); xpath 119 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, "@" XML_NVPAIR_ATTR_NAME "=\"", attr_name, "\"", xpath 122 tools/crm_resource_runtime.c g_string_append_c(xpath, ']'); xpath 124 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, xpath 152 tools/crm_resource_runtime.c g_string_free(xpath, TRUE); xpath 346 tools/crm_ticket.c GString *xpath = NULL; xpath 351 tools/crm_ticket.c xpath = g_string_sized_new(1024); xpath 352 tools/crm_ticket.c g_string_append(xpath, xpath 357 tools/crm_ticket.c pcmk__g_strcat(xpath, xpath 362 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, xpath 365 tools/crm_ticket.c g_string_free(xpath, TRUE); xpath 389 tools/crm_ticket.c GString *xpath = NULL; xpath 401 tools/crm_ticket.c xpath = g_string_sized_new(1024); xpath 402 tools/crm_ticket.c pcmk__g_strcat(xpath, xpath_base, "/" XML_CONS_TAG_RSC_TICKET, NULL); xpath 405 tools/crm_ticket.c pcmk__g_strcat(xpath, xpath 410 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, xpath 413 tools/crm_ticket.c g_string_free(xpath, TRUE);