cib_root 44 daemons/based/based_io.c char *new = crm_strdup_printf("%s/cib.auto.XXXXXX", cib_root); cib_root 106 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a->d_name); cib_root 155 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a[0]->d_name); cib_root 156 daemons/based/based_io.c char *b_path = crm_strdup_printf("%s/%s", cib_root, b[0]->d_name); cib_root 214 daemons/based/based_io.c crm_warn("Primary configuration corrupt or unusable, trying backups in %s", cib_root); cib_root 215 daemons/based/based_io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); cib_root 217 daemons/based/based_io.c crm_perror(LOG_NOTICE, "scandir(%s) failed", cib_root); cib_root 226 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); cib_root 446 daemons/based/based_io.c exit_rc = cib_file_write_with_digest(cib_local, cib_root, "cib.xml"); cib_root 37 daemons/based/pacemaker-based.c const char *cib_root = NULL; cib_root 151 daemons/based/pacemaker-based.c cib_root = optarg; cib_root 191 daemons/based/pacemaker-based.c if (cib_root == NULL) { cib_root 192 daemons/based/pacemaker-based.c cib_root = CRM_CONFIG_DIR; cib_root 194 daemons/based/pacemaker-based.c crm_notice("Using custom config location: %s", cib_root); cib_root 197 daemons/based/pacemaker-based.c if (pcmk__daemon_can_write(cib_root, NULL) == FALSE) { cib_root 198 daemons/based/pacemaker-based.c crm_err("Terminating due to bad permissions on %s", cib_root); cib_root 200 daemons/based/pacemaker-based.c cib_root); cib_root 352 daemons/based/pacemaker-based.c xmlNode *cib = readCibXmlFile(cib_root, filename, !preserve_status); cib_root 70 daemons/based/pacemaker-based.h extern const char *cib_root; cib_root 232 include/crm/cib/internal.h int cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 362 lib/cib/cib_file.c cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 370 lib/cib/cib_file.c const char *epoch = crm_element_value(cib_root, XML_ATTR_GENERATION); cib_root 371 lib/cib/cib_file.c const char *admin_epoch = crm_element_value(cib_root, cib_root 403 lib/cib/cib_file.c cib_file_prepare_xml(cib_root); cib_root 429 lib/cib/cib_file.c if (write_xml_fd(cib_root, tmp_cib, fd, FALSE) <= 0) { cib_root 436 lib/cib/cib_file.c digest = calculate_on_disk_digest(cib_root); cib_root 91 lib/cib/cib_utils.c xmlNode *cib_root = NULL, *config = NULL; cib_root 93 lib/cib/cib_utils.c cib_root = create_xml_node(NULL, XML_TAG_CIB); cib_root 94 lib/cib/cib_utils.c crm_xml_add(cib_root, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); cib_root 95 lib/cib/cib_utils.c crm_xml_add(cib_root, XML_ATTR_VALIDATION, xml_latest_schema()); cib_root 97 lib/cib/cib_utils.c crm_xml_add_int(cib_root, XML_ATTR_GENERATION, cib_epoch); cib_root 98 lib/cib/cib_utils.c crm_xml_add_int(cib_root, XML_ATTR_NUMUPDATES, 0); cib_root 99 lib/cib/cib_utils.c crm_xml_add_int(cib_root, XML_ATTR_GENERATION_ADMIN, 0); cib_root 101 lib/cib/cib_utils.c config = create_xml_node(cib_root, XML_CIB_TAG_CONFIGURATION); cib_root 102 lib/cib/cib_utils.c create_xml_node(cib_root, XML_CIB_TAG_STATUS); cib_root 122 lib/cib/cib_utils.c return cib_root;