xpath_string 365 daemons/controld/controld_schedulerd.c char *xpath_string = NULL; xpath_string 368 daemons/controld/controld_schedulerd.c xpath_string = crm_strdup_printf("%.128s//%s//nvpair[@name='%.128s']", xpath_string 371 daemons/controld/controld_schedulerd.c xpathObj = xpath_search(xml, xpath_string); xpath_string 373 daemons/controld/controld_schedulerd.c free(xpath_string); xpath_string 56 lib/cib/cib_attrs.c char *xpath_string = NULL; xpath_string 88 lib/cib/cib_attrs.c xpath_string = calloc(1, XPATH_MAX); xpath_string 89 lib/cib/cib_attrs.c if (xpath_string == NULL) { xpath_string 94 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "%.128s", get_object_path(section)); xpath_string 97 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", node_type); xpath_string 106 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%s']", node_type, xpath_string 111 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s[@id='%.128s']", set_type, xpath_string 114 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//%s", set_type); xpath_string 117 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "//nvpair["); xpath_string 119 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@id='%s'", attr_id); xpath_string 124 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, " and "); xpath_string 126 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); xpath_string 128 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "]"); xpath_string 131 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search, xpath_string 136 lib/cib/cib_attrs.c attr_name, section, crm_str(node_uuid), crm_str(set_name), xpath_string, xpath_string 163 lib/cib/cib_attrs.c free(xpath_string); xpath_string 487 lib/cib/cib_attrs.c char *xpath_string; xpath_string 500 lib/cib/cib_attrs.c xpath_string = crm_strdup_printf(XPATH_NODE, host_lowercase, host_lowercase, host_lowercase, host_lowercase); xpath_string 501 lib/cib/cib_attrs.c if (cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, xpath_string 508 lib/cib/cib_attrs.c free(xpath_string); xpath_string 2880 lib/common/xml.c char *xpath_string = crm_strdup_printf("//%s[@id='%s']", tag, ref); xpath_string 2882 lib/common/xml.c result = get_xpath_object(xpath_string, top, LOG_ERR); xpath_string 2886 lib/common/xml.c crm_err("No match for %s found in %s: Invalid configuration", xpath_string, xpath_string 2890 lib/common/xml.c free(xpath_string); xpath_string 320 lib/pacemaker/pcmk_sched_transition.c char *xpath_string = NULL; xpath_string 325 lib/pacemaker/pcmk_sched_transition.c xpath_string = calloc(1, XPATH_MAX); xpath_string 326 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 329 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 333 lib/pacemaker/pcmk_sched_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 351 lib/pacemaker/pcmk_sched_transition.c free(xpath_string); xpath_string 249 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 251 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("//rsc_location[@id='cli-prefer-%s'][rule[@id='cli-prefer-rule-%s']/expression[@attribute='#uname' and @value='%s']]", xpath_string 254 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); xpath_string 261 tools/crm_resource_ban.c free(xpath_string); xpath_string 348 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 399 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location[%s]/rule[expression[@attribute='#uname' and @value='%s']]%s", xpath_string 402 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location/rule[expression[@attribute='#uname' and @value='%s']]%s", xpath_string 406 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s%s", first_half, date_substr); xpath_string 413 tools/crm_resource_ban.c return xpath_string; xpath_string 434 tools/crm_resource_ban.c char *xpath_string = NULL; xpath_string 436 tools/crm_resource_ban.c xpath_string = build_clear_xpath_string(constraint_node, rsc, node, promoted_role_only); xpath_string 437 tools/crm_resource_ban.c if (xpath_string == NULL) { xpath_string 441 tools/crm_resource_ban.c date_expr_node = get_xpath_object(xpath_string, constraint_node, LOG_DEBUG); xpath_string 443 tools/crm_resource_ban.c free(xpath_string); xpath_string 466 tools/crm_resource_ban.c free(xpath_string); xpath_string 474 tools/crm_resource_ban.c free(xpath_string); xpath_string 111 tools/crm_resource_runtime.c char *xpath_string = NULL; xpath_string 121 tools/crm_resource_runtime.c xpath_string = calloc(1, XPATH_MAX); xpath_string 123 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); xpath_string 125 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); xpath_string 128 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); xpath_string 130 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); xpath_string 134 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); xpath_string 136 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); xpath_string 141 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); xpath_string 143 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); xpath_string 145 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); xpath_string 148 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 180 tools/crm_resource_runtime.c free(xpath_string); xpath_string 147 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 152 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 153 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); xpath_string 156 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", xpath_string 161 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 179 tools/crm_ticket.c free(xpath_string); xpath_string 190 tools/crm_ticket.c char *xpath_string = NULL; xpath_string 195 tools/crm_ticket.c xpath_string = calloc(1, XPATH_MAX); xpath_string 197 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", xpath_string 201 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", xpath_string 206 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, xpath_string 217 tools/crm_ticket.c free(xpath_string);