root               37 daemons/based/based_common.c cib_prepare_common(xmlNode * root, const char *section)
root               42 daemons/based/based_common.c     if (root == NULL) {
root               45 daemons/based/based_common.c     } else if (pcmk__strcase_any_of(crm_element_name(root), XML_TAG_FRAGMENT,
root               47 daemons/based/based_common.c         data = first_named_child(root, XML_TAG_CIB);
root               50 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              212 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              168 include/crm/services.h     GList *get_directory_list(const char *root, gboolean files, gboolean executable);
root               99 lib/cib/cib_file.c cib_file_verify_digest(xmlNode *root, const char *sigfile)
root              120 lib/cib/cib_file.c     passed = pcmk__verify_digest(root, expected);
root              141 lib/cib/cib_file.c cib_file_read_and_verify(const char *filename, const char *sigfile, xmlNode **root)
root              149 lib/cib/cib_file.c     if (root) {
root              150 lib/cib/cib_file.c         *root = NULL;
root              183 lib/cib/cib_file.c     if (root) {
root              184 lib/cib/cib_file.c         *root = local_root;
root              331 lib/cib/cib_file.c cib_file_prepare_xml(xmlNode *root)
root              336 lib/cib/cib_file.c     crm_xml_add(root, XML_ATTR_NUMUPDATES, "0");
root              337 lib/cib/cib_file.c     pcmk__xe_add_last_written(root);
root              341 lib/cib/cib_file.c     cib_status_root = find_xml_node(root, XML_CIB_TAG_STATUS, TRUE);
root              549 lib/cib/cib_file.c     xmlNode *root = NULL;
root              557 lib/cib/cib_file.c     root = filename2xml(filename);
root              558 lib/cib/cib_file.c     if (root == NULL) {
root              563 lib/cib/cib_file.c     if (find_xml_node(root, XML_CIB_TAG_STATUS, FALSE) == NULL) {
root              564 lib/cib/cib_file.c         create_xml_node(root, XML_CIB_TAG_STATUS);
root              568 lib/cib/cib_file.c     if (validate_xml(root, NULL, TRUE) == FALSE) {
root              569 lib/cib/cib_file.c         const char *schema = crm_element_value(root, XML_ATTR_VALIDATION);
root              572 lib/cib/cib_file.c         free_xml(root);
root              577 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               62 lib/common/output_html.c     xmlNode *root;
root               76 lib/common/output_html.c     xmlFreeNode(priv->root);
root              101 lib/common/output_html.c     priv->root = create_xml_node(NULL, "html");
root              102 lib/common/output_html.c     xmlCreateIntSubset(priv->root->doc, (pcmkXmlStr) "html", NULL, NULL);
root              104 lib/common/output_html.c     crm_xml_add(priv->root, "lang", "en");
root              105 lib/common/output_html.c     g_queue_push_tail(priv->parent_q, priv->root);
root              129 lib/common/output_html.c     if (priv == NULL || priv->root == NULL) {
root              172 lib/common/output_html.c     xmlAddPrevSibling(priv->root->children, head_node);
root              181 lib/common/output_html.c         htmlDocDump(out->dest, priv->root->doc);
root              185 lib/common/output_html.c         *copy_dest = copy_xml(priv->root);
root               75 lib/common/output_xml.c     xmlNode *root;
root               90 lib/common/output_xml.c     free_xml(priv->root);
root              114 lib/common/output_xml.c         priv->root = create_xml_node(NULL, "crm_mon");
root              115 lib/common/output_xml.c         crm_xml_add(priv->root, "version", PACEMAKER_VERSION);
root              117 lib/common/output_xml.c         priv->root = create_xml_node(NULL, "pacemaker-result");
root              118 lib/common/output_xml.c         crm_xml_add(priv->root, "api-version", PCMK__API_VERSION);
root              121 lib/common/output_xml.c             crm_xml_add(priv->root, "request", out->request);
root              127 lib/common/output_xml.c     g_queue_push_tail(priv->parent_q, priv->root);
root              156 lib/common/output_xml.c     if (priv == NULL || priv->root == NULL) {
root              174 lib/common/output_xml.c         node = create_xml_node(priv->root, "status");
root              188 lib/common/output_xml.c         char *buf = dump_xml_formatted_with_text(priv->root);
root              195 lib/common/output_xml.c         *copy_dest = copy_xml(priv->root);
root              446 lib/common/xml.c find_xml_node(xmlNode * root, const char *search_path, gboolean must_find)
root              451 lib/common/xml.c     if (root != NULL) {
root              452 lib/common/xml.c         name = crm_element_name(root);
root              460 lib/common/xml.c     for (a_child = pcmk__xml_first_child(root); a_child != NULL;
root              470 lib/common/xml.c     } else if (root != NULL) {
root             2431 lib/common/xml.c pcmk__xc_match(xmlNode *root, xmlNode *search_comment, bool exact)
root             2438 lib/common/xml.c     for (a_child = pcmk__xml_first_child(root); a_child != NULL;
root             2643 lib/common/xml.c find_xml_children(xmlNode ** children, xmlNode * root,
root             2648 lib/common/xml.c     CRM_CHECK(root != NULL, return FALSE);
root             2651 lib/common/xml.c     if (tag != NULL && !pcmk__str_eq(tag, crm_element_name(root), pcmk__str_casei)) {
root             2653 lib/common/xml.c     } else if (value != NULL && !pcmk__str_eq(value, crm_element_value(root, field), pcmk__str_casei)) {
root             2659 lib/common/xml.c         add_node_copy(*children, root);
root             2666 lib/common/xml.c         for (child = pcmk__xml_first_child(root); child != NULL;
root              953 lib/services/services.c get_directory_list(const char *root, gboolean files, gboolean executable)
root              955 lib/services/services.c     return services_os_get_directory_list(root, files, executable);
root             1081 lib/services/services_linux.c services_os_get_single_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             1136 lib/services/services_linux.c services_os_get_directory_list(const char *root, gboolean files, gboolean executable)
root             1139 lib/services/services_linux.c     char *dirs = strdup(root);
root             1161 lib/services/services_linux.c services_os_get_directory_list_provider(const char *root, const char *provider, gboolean files, gboolean executable)
root             1164 lib/services/services_linux.c     char *dirs = strdup(root);
root               47 lib/services/services_private.h GList *services_os_get_directory_list(const char *root, gboolean files, gboolean executable);
root              311 tools/crm_resource.c build_constraint_list(xmlNode *root)
root              318 tools/crm_resource.c     cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, root);
root               54 tools/crm_resource.h int cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options,
root              418 tools/crm_resource_ban.c cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options,
root              427 tools/crm_resource_ban.c     cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, root);