root 52 cib/common.c cib_prepare_common(xmlNode * root, const char *section) root 57 cib/common.c if (root == NULL) { root 60 cib/common.c } else if (safe_str_eq(crm_element_name(root), XML_TAG_FRAGMENT) root 61 cib/common.c || safe_str_eq(crm_element_name(root), F_CRM_DATA) root 62 cib/common.c || safe_str_eq(crm_element_name(root), F_CIB_CALLDATA)) { root 63 cib/common.c data = first_named_child(root, XML_TAG_CIB); root 66 cib/common.c data = root; root 79 cib/io.c xmlNode *root = NULL; root 83 cib/io.c switch (cib_file_read_and_verify(filename, sigfile, &root)) { root 95 cib/io.c return root; root 205 cib/io.c xmlNode *root = NULL; root 217 cib/io.c root = retrieveCib(filename, sigfile); root 221 cib/io.c if (root == NULL) { root 229 cib/io.c while (root == NULL && lpc > 1) { root 239 cib/io.c if (cib_file_read_and_verify(filename, sigfile, &root) < 0) { root 251 cib/io.c if (root == NULL) { root 252 cib/io.c root = createEmptyCib(0); root 263 cib/io.c status = find_xml_node(root, XML_CIB_TAG_STATUS, FALSE); root 270 cib/io.c create_xml_node(root, XML_CIB_TAG_STATUS); root 277 cib/io.c value = crm_element_value(root, name); root 285 cib/io.c crm_xml_add_int(root, name, 0); root 289 cib/io.c value = crm_element_value(root, name); root 291 cib/io.c crm_xml_add_int(root, name, 0); root 295 cib/io.c value = crm_element_value(root, name); root 297 cib/io.c crm_xml_add_int(root, name, 0); root 301 cib/io.c xml_remove_prop(root, XML_ATTR_DC_UUID); root 304 cib/io.c crm_log_xml_trace(root, "[on-disk]"); root 307 cib/io.c validation = crm_element_value(root, XML_ATTR_VALIDATION); root 308 cib/io.c if (validate_xml(root, NULL, TRUE) == FALSE) { root 315 cib/io.c update_validation(&root, &version, 0, FALSE, FALSE); root 325 cib/io.c return root; root 217 include/crm/cib/internal.h xmlNode **root); root 197 include/crm/common/xml.h int find_xml_children(xmlNode ** children, xmlNode * root, root 234 include/crm/common/xml.h void xml_validate(const xmlNode * root); root 236 include/crm/common/xml.h gboolean xml_has_children(const xmlNode * root); root 208 include/crm/services.h GList *get_directory_list(const char *root, gboolean files, gboolean executable); root 86 lib/cib/cib_file.c cib_file_verify_digest(xmlNode *root, const char *sigfile) root 104 lib/cib/cib_file.c passed = crm_digest_verify(root, expected); root 125 lib/cib/cib_file.c cib_file_read_and_verify(const char *filename, const char *sigfile, xmlNode **root) root 133 lib/cib/cib_file.c if (root) { root 134 lib/cib/cib_file.c *root = NULL; root 167 lib/cib/cib_file.c if (root) { root 168 lib/cib/cib_file.c *root = local_root; root 315 lib/cib/cib_file.c cib_file_prepare_xml(xmlNode *root) root 320 lib/cib/cib_file.c crm_xml_add(root, XML_ATTR_NUMUPDATES, "0"); root 321 lib/cib/cib_file.c crm_xml_add_last_written(root); root 325 lib/cib/cib_file.c cib_status_root = find_xml_node(root, XML_CIB_TAG_STATUS, TRUE); root 531 lib/cib/cib_file.c xmlNode *root = NULL; root 540 lib/cib/cib_file.c root = filename2xml(filename); root 541 lib/cib/cib_file.c if (root == NULL) { root 546 lib/cib/cib_file.c if (find_xml_node(root, XML_CIB_TAG_STATUS, FALSE) == NULL) { root 547 lib/cib/cib_file.c create_xml_node(root, XML_CIB_TAG_STATUS); root 551 lib/cib/cib_file.c ignore_dtd = crm_element_value(root, XML_ATTR_VALIDATION); root 552 lib/cib/cib_file.c if (validate_xml(root, NULL, TRUE) == FALSE) { root 554 lib/cib/cib_file.c free_xml(root); root 559 lib/cib/cib_file.c in_mem_cib = root; root 108 lib/common/xml.c static xmlNode *find_xml_comment(xmlNode * root, xmlNode * search_comment, gboolean exact); root 2235 lib/common/xml.c find_xml_node(xmlNode * root, const char *search_path, gboolean must_find) root 2240 lib/common/xml.c if (root != NULL) { root 2241 lib/common/xml.c name = crm_element_name(root); root 2249 lib/common/xml.c for (a_child = __xml_first_child(root); a_child != NULL; a_child = __xml_next(a_child)) { root 2258 lib/common/xml.c } else if (root != NULL) { root 4329 lib/common/xml.c find_xml_comment(xmlNode * root, xmlNode * search_comment, gboolean exact) root 4336 lib/common/xml.c for (a_child = __xml_first_child(root); a_child != NULL; a_child = __xml_next(a_child)) { root 4706 lib/common/xml.c find_xml_children(xmlNode ** children, xmlNode * root, root 4711 lib/common/xml.c CRM_CHECK(root != NULL, return FALSE); root 4714 lib/common/xml.c if (tag != NULL && safe_str_neq(tag, crm_element_name(root))) { root 4716 lib/common/xml.c } else if (value != NULL && safe_str_neq(value, crm_element_value(root, field))) { root 4722 lib/common/xml.c add_node_copy(*children, root); root 4729 lib/common/xml.c for (child = __xml_first_child(root); child != NULL; child = __xml_next(child)) { root 1351 lib/services/services.c get_directory_list(const char *root, gboolean files, gboolean executable) root 1353 lib/services/services.c return services_os_get_directory_list(root, files, executable); root 809 lib/services/services_linux.c services_os_get_directory_list(const char *root, gboolean files, gboolean executable) root 816 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); root 829 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); root 52 lib/services/services_private.h GList *services_os_get_directory_list(const char *root, gboolean files, gboolean executable);