cib_root 47 daemons/based/based_io.c char *new = crm_strdup_printf("%s/cib.auto.XXXXXX", cib_root); cib_root 112 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a->d_name); cib_root 161 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a[0]->d_name); cib_root 162 daemons/based/based_io.c char *b_path = crm_strdup_printf("%s/%s", cib_root, b[0]->d_name); cib_root 220 daemons/based/based_io.c crm_warn("Primary configuration corrupt or unusable, trying backups in %s", cib_root); cib_root 221 daemons/based/based_io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); cib_root 223 daemons/based/based_io.c crm_err("scandir(%s) failed: %s", cib_root, pcmk_rc_str(errno)); cib_root 232 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); cib_root 452 daemons/based/based_io.c exit_rc = cib_file_write_with_digest(cib_local, cib_root, "cib.xml"); cib_root 42 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 243 daemons/based/pacemaker-based.c if (cib_root == NULL) { cib_root 244 daemons/based/pacemaker-based.c cib_root = g_strdup(CRM_CONFIG_DIR); cib_root 246 daemons/based/pacemaker-based.c crm_notice("Using custom config location: %s", cib_root); cib_root 249 daemons/based/pacemaker-based.c if (!pcmk__daemon_can_write(cib_root, NULL)) { cib_root 251 daemons/based/pacemaker-based.c crm_err("Terminating due to bad permissions on %s", cib_root); cib_root 253 daemons/based/pacemaker-based.c "Bad permissions on %s (see logs for details)", cib_root); cib_root 288 daemons/based/pacemaker-based.c g_free(cib_root); cib_root 413 daemons/based/pacemaker-based.c xmlNode *cib = readCibXmlFile(cib_root, filename, !preserve_status); cib_root 64 daemons/based/pacemaker-based.h extern gchar *cib_root; cib_root 296 include/crm/cib/internal.h int cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 446 lib/cib/cib_file.c cib_file_write_live(xmlNode *cib_root, char *path) cib_root 496 lib/cib/cib_file.c if (cib_file_write_with_digest(cib_root, cib_dirname, cib_root 918 lib/cib/cib_file.c cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 926 lib/cib/cib_file.c const char *epoch = crm_element_value(cib_root, XML_ATTR_GENERATION); cib_root 927 lib/cib/cib_file.c const char *admin_epoch = crm_element_value(cib_root, cib_root 959 lib/cib/cib_file.c cib_file_prepare_xml(cib_root); cib_root 985 lib/cib/cib_file.c if (write_xml_fd(cib_root, tmp_cib, fd, FALSE) <= 0) { cib_root 992 lib/cib/cib_file.c digest = calculate_on_disk_digest(cib_root); cib_root 240 lib/cib/cib_utils.c xmlNode *cib_root = NULL, *config = NULL; cib_root 242 lib/cib/cib_utils.c cib_root = create_xml_node(NULL, XML_TAG_CIB); cib_root 243 lib/cib/cib_utils.c crm_xml_add(cib_root, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); cib_root 244 lib/cib/cib_utils.c crm_xml_add(cib_root, XML_ATTR_VALIDATION, xml_latest_schema()); cib_root 246 lib/cib/cib_utils.c crm_xml_add_int(cib_root, XML_ATTR_GENERATION, cib_epoch); cib_root 247 lib/cib/cib_utils.c crm_xml_add_int(cib_root, XML_ATTR_NUMUPDATES, 0); cib_root 248 lib/cib/cib_utils.c crm_xml_add_int(cib_root, XML_ATTR_GENERATION_ADMIN, 0); cib_root 250 lib/cib/cib_utils.c config = create_xml_node(cib_root, XML_CIB_TAG_CONFIGURATION); cib_root 251 lib/cib/cib_utils.c create_xml_node(cib_root, XML_CIB_TAG_STATUS); cib_root 271 lib/cib/cib_utils.c return cib_root;