root               35 daemons/based/based_common.c cib_prepare_common(xmlNode * root, const char *section)
root               40 daemons/based/based_common.c     if (root == NULL) {
root               43 daemons/based/based_common.c     } else if (pcmk__strcase_any_of(crm_element_name(root), XML_TAG_FRAGMENT,
root               45 daemons/based/based_common.c         data = first_named_child(root, XML_TAG_CIB);
root               48 daemons/based/based_common.c         data = root;
root               67 daemons/based/based_io.c     xmlNode *root = NULL;
root               71 daemons/based/based_io.c     switch (cib_file_read_and_verify(filename, sigfile, &root)) {
root               83 daemons/based/based_io.c     return root;
root              194 daemons/based/based_io.c     xmlNode *root = NULL;
root              209 daemons/based/based_io.c     root = retrieveCib(filename, sigfilepath);
root              213 daemons/based/based_io.c     if (root == NULL) {
root              221 daemons/based/based_io.c     while (root == NULL && lpc > 1) {
root              231 daemons/based/based_io.c         if (cib_file_read_and_verify(filename, sigfile, &root) < 0) {
root              243 daemons/based/based_io.c     if (root == NULL) {
root              244 daemons/based/based_io.c         root = createEmptyCib(0);
root              255 daemons/based/based_io.c     status = find_xml_node(root, XML_CIB_TAG_STATUS, FALSE);
root              262 daemons/based/based_io.c         create_xml_node(root, XML_CIB_TAG_STATUS);
root              269 daemons/based/based_io.c     value = crm_element_value(root, name);
root              277 daemons/based/based_io.c         crm_xml_add_int(root, name, 0);
root              281 daemons/based/based_io.c     value = crm_element_value(root, name);
root              283 daemons/based/based_io.c         crm_xml_add_int(root, name, 0);
root              287 daemons/based/based_io.c     value = crm_element_value(root, name);
root              289 daemons/based/based_io.c         crm_xml_add_int(root, name, 0);
root              293 daemons/based/based_io.c     xml_remove_prop(root, XML_ATTR_DC_UUID);
root              296 daemons/based/based_io.c         crm_log_xml_trace(root, "[on-disk]");
root              299 daemons/based/based_io.c     validation = crm_element_value(root, XML_ATTR_VALIDATION);
root              300 daemons/based/based_io.c     if (validate_xml(root, NULL, TRUE) == FALSE) {
root              307 daemons/based/based_io.c         update_validation(&root, &version, 0, FALSE, FALSE);
root              317 daemons/based/based_io.c     return root;
root              211 include/crm/cib/internal.h                              xmlNode **root);
root              159 include/crm/common/xml.h int find_xml_children(xmlNode ** children, xmlNode * root,
root              184 include/crm/common/xml.h gboolean xml_has_children(const xmlNode * root);
root              171 include/crm/services.h     GList *get_directory_list(const char *root, gboolean files, gboolean executable);
root               97 lib/cib/cib_file.c cib_file_verify_digest(xmlNode *root, const char *sigfile)
root              118 lib/cib/cib_file.c     passed = pcmk__verify_digest(root, expected);
root              139 lib/cib/cib_file.c cib_file_read_and_verify(const char *filename, const char *sigfile, xmlNode **root)
root              147 lib/cib/cib_file.c     if (root) {
root              148 lib/cib/cib_file.c         *root = NULL;
root              181 lib/cib/cib_file.c     if (root) {
root              182 lib/cib/cib_file.c         *root = local_root;
root              329 lib/cib/cib_file.c cib_file_prepare_xml(xmlNode *root)
root              334 lib/cib/cib_file.c     crm_xml_add(root, XML_ATTR_NUMUPDATES, "0");
root              335 lib/cib/cib_file.c     pcmk__xe_add_last_written(root);
root              339 lib/cib/cib_file.c     cib_status_root = find_xml_node(root, XML_CIB_TAG_STATUS, TRUE);
root              547 lib/cib/cib_file.c     xmlNode *root = NULL;
root              555 lib/cib/cib_file.c     root = filename2xml(filename);
root              556 lib/cib/cib_file.c     if (root == NULL) {
root              561 lib/cib/cib_file.c     if (find_xml_node(root, XML_CIB_TAG_STATUS, FALSE) == NULL) {
root              562 lib/cib/cib_file.c         create_xml_node(root, XML_CIB_TAG_STATUS);
root              566 lib/cib/cib_file.c     if (validate_xml(root, NULL, TRUE) == FALSE) {
root              567 lib/cib/cib_file.c         const char *schema = crm_element_value(root, XML_ATTR_VALIDATION);
root              570 lib/cib/cib_file.c         free_xml(root);
root              575 lib/cib/cib_file.c     in_mem_cib = root;
root              117 lib/common/crmcommon_private.h xmlNode *pcmk__xc_match(xmlNode *root, xmlNode *search_comment, bool exact);
root               59 lib/common/output_html.c     xmlNode *root;
root               72 lib/common/output_html.c     xmlFreeNode(priv->root);
root               97 lib/common/output_html.c     priv->root = create_xml_node(NULL, "html");
root               98 lib/common/output_html.c     xmlCreateIntSubset(priv->root->doc, (pcmkXmlStr) "html", NULL, NULL);
root              100 lib/common/output_html.c     xmlSetProp(priv->root, (pcmkXmlStr) "lang", (pcmkXmlStr) "en");
root              101 lib/common/output_html.c     g_queue_push_tail(priv->parent_q, priv->root);
root              160 lib/common/output_html.c     xmlAddPrevSibling(priv->root->children, head_node);
root              169 lib/common/output_html.c         htmlDocDump(out->dest, priv->root->doc);
root              180 lib/common/output_html.c     if (priv == NULL || priv->root == NULL) {
root              187 lib/common/output_html.c         *copy_dest = copy_xml(priv->root);
root               71 lib/common/output_xml.c     xmlNode *root;
root               85 lib/common/output_xml.c     xmlFreeNode(priv->root);
root              109 lib/common/output_xml.c         priv->root = create_xml_node(NULL, "crm_mon");
root              110 lib/common/output_xml.c         xmlSetProp(priv->root, (pcmkXmlStr) "version", (pcmkXmlStr) VERSION);
root              112 lib/common/output_xml.c         priv->root = create_xml_node(NULL, "pacemaker-result");
root              113 lib/common/output_xml.c         xmlSetProp(priv->root, (pcmkXmlStr) "api-version", (pcmkXmlStr) PCMK__API_VERSION);
root              116 lib/common/output_xml.c             xmlSetProp(priv->root, (pcmkXmlStr) "request", (pcmkXmlStr) out->request);
root              122 lib/common/output_xml.c     g_queue_push_tail(priv->parent_q, priv->root);
root              159 lib/common/output_xml.c         node = create_xml_node(priv->root, "status");
root              172 lib/common/output_xml.c         char *buf = dump_xml_formatted_with_text(priv->root);
root              185 lib/common/output_xml.c     if (priv == NULL || priv->root == NULL) {
root              192 lib/common/output_xml.c         *copy_dest = copy_xml(priv->root);
root              447 lib/common/xml.c find_xml_node(xmlNode * root, const char *search_path, gboolean must_find)
root              452 lib/common/xml.c     if (root != NULL) {
root              453 lib/common/xml.c         name = crm_element_name(root);
root              461 lib/common/xml.c     for (a_child = pcmk__xml_first_child(root); a_child != NULL;
root              471 lib/common/xml.c     } else if (root != NULL) {
root             2415 lib/common/xml.c pcmk__xc_match(xmlNode *root, xmlNode *search_comment, bool exact)
root             2422 lib/common/xml.c     for (a_child = pcmk__xml_first_child(root); a_child != NULL;
root             2629 lib/common/xml.c find_xml_children(xmlNode ** children, xmlNode * root,
root             2634 lib/common/xml.c     CRM_CHECK(root != NULL, return FALSE);
root             2637 lib/common/xml.c     if (tag != NULL && !pcmk__str_eq(tag, crm_element_name(root), pcmk__str_casei)) {
root             2639 lib/common/xml.c     } else if (value != NULL && !pcmk__str_eq(value, crm_element_value(root, field), pcmk__str_casei)) {
root             2645 lib/common/xml.c         add_node_copy(*children, root);
root             2652 lib/common/xml.c         for (child = pcmk__xml_first_child(root); child != NULL;
root              912 lib/services/services.c get_directory_list(const char *root, gboolean files, gboolean executable)
root              914 lib/services/services.c     return services_os_get_directory_list(root, files, executable);
root             1081 lib/services/services_linux.c services_os_get_directory_list(const char *root, gboolean files, gboolean executable)
root             1088 lib/services/services_linux.c     entries = scandir(root, &namelist, NULL, alphasort);
root             1101 lib/services/services_linux.c         snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name);
root               44 lib/services/services_private.h GList *services_os_get_directory_list(const char *root, gboolean files, gboolean executable);
root              286 tools/crm_resource.c build_constraint_list(xmlNode *root)
root              293 tools/crm_resource.c     cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, root);
root               35 tools/crm_resource.h int cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options,
root              398 tools/crm_resource_ban.c cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options,
root              407 tools/crm_resource_ban.c     cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, root);