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 41 daemons/based/pacemaker-based.c gchar *cib_root = NULL; cib_root 138 daemons/based/pacemaker-based.c { "cib-root", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_FILENAME, &cib_root, cib_root 252 daemons/based/pacemaker-based.c if (cib_root == NULL) { cib_root 253 daemons/based/pacemaker-based.c cib_root = g_strdup(CRM_CONFIG_DIR); cib_root 255 daemons/based/pacemaker-based.c crm_notice("Using custom config location: %s", cib_root); cib_root 258 daemons/based/pacemaker-based.c if (!pcmk__daemon_can_write(cib_root, NULL)) { cib_root 260 daemons/based/pacemaker-based.c crm_err("Terminating due to bad permissions on %s", cib_root); cib_root 262 daemons/based/pacemaker-based.c "Bad permissions on %s (see logs for details)", cib_root); cib_root 297 daemons/based/pacemaker-based.c g_free(cib_root); cib_root 422 daemons/based/pacemaker-based.c xmlNode *cib = readCibXmlFile(cib_root, filename, !preserve_status); cib_root 68 daemons/based/pacemaker-based.h extern gchar *cib_root; cib_root 216 include/crm/cib/internal.h int cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 789 lib/cib/cib_file.c cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 797 lib/cib/cib_file.c const char *epoch = crm_element_value(cib_root, XML_ATTR_GENERATION); cib_root 798 lib/cib/cib_file.c const char *admin_epoch = crm_element_value(cib_root, cib_root 830 lib/cib/cib_file.c cib_file_prepare_xml(cib_root); cib_root 856 lib/cib/cib_file.c if (write_xml_fd(cib_root, tmp_cib, fd, FALSE) <= 0) { cib_root 863 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;