cib_root 46 daemons/based/based_io.c char *new = crm_strdup_printf("%s/cib.auto.XXXXXX", cib_root); cib_root 111 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a->d_name); cib_root 160 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a[0]->d_name); cib_root 161 daemons/based/based_io.c char *b_path = crm_strdup_printf("%s/%s", cib_root, b[0]->d_name); cib_root 219 daemons/based/based_io.c crm_warn("Primary configuration corrupt or unusable, trying backups in %s", cib_root); cib_root 220 daemons/based/based_io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); cib_root 222 daemons/based/based_io.c crm_err("scandir(%s) failed: %s", cib_root, pcmk_rc_str(errno)); cib_root 231 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); cib_root 451 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 150 daemons/based/pacemaker-based.c { "cib-root", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_FILENAME, &cib_root, cib_root 260 daemons/based/pacemaker-based.c if (cib_root == NULL) { cib_root 261 daemons/based/pacemaker-based.c cib_root = g_strdup(CRM_CONFIG_DIR); cib_root 263 daemons/based/pacemaker-based.c crm_notice("Using custom config location: %s", cib_root); cib_root 266 daemons/based/pacemaker-based.c if (!pcmk__daemon_can_write(cib_root, NULL)) { cib_root 268 daemons/based/pacemaker-based.c crm_err("Terminating due to bad permissions on %s", cib_root); cib_root 270 daemons/based/pacemaker-based.c "Bad permissions on %s (see logs for details)", cib_root); cib_root 305 daemons/based/pacemaker-based.c g_free(cib_root); cib_root 429 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 261 include/crm/cib/internal.h int cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 452 lib/cib/cib_file.c cib_file_write_live(xmlNode *cib_root, char *path) cib_root 502 lib/cib/cib_file.c if (cib_file_write_with_digest(cib_root, cib_dirname, cib_root 934 lib/cib/cib_file.c cib_file_write_with_digest(xmlNode *cib_root, const char *cib_dirname, cib_root 942 lib/cib/cib_file.c const char *epoch = crm_element_value(cib_root, PCMK_XA_EPOCH); cib_root 943 lib/cib/cib_file.c const char *admin_epoch = crm_element_value(cib_root, PCMK_XA_ADMIN_EPOCH); cib_root 971 lib/cib/cib_file.c cib_file_prepare_xml(cib_root); cib_root 997 lib/cib/cib_file.c if (pcmk__xml_write_fd(cib_root, tmp_cib, fd, false, NULL) != pcmk_rc_ok) { cib_root 1004 lib/cib/cib_file.c digest = calculate_on_disk_digest(cib_root); cib_root 230 lib/cib/cib_utils.c xmlNode *cib_root = NULL, *config = NULL; cib_root 232 lib/cib/cib_utils.c cib_root = pcmk__xe_create(NULL, PCMK_XE_CIB); cib_root 233 lib/cib/cib_utils.c crm_xml_add(cib_root, PCMK_XA_CRM_FEATURE_SET, CRM_FEATURE_SET); cib_root 234 lib/cib/cib_utils.c crm_xml_add(cib_root, PCMK_XA_VALIDATE_WITH, pcmk__highest_schema_name()); cib_root 236 lib/cib/cib_utils.c crm_xml_add_int(cib_root, PCMK_XA_EPOCH, cib_epoch); cib_root 237 lib/cib/cib_utils.c crm_xml_add_int(cib_root, PCMK_XA_NUM_UPDATES, 0); cib_root 238 lib/cib/cib_utils.c crm_xml_add_int(cib_root, PCMK_XA_ADMIN_EPOCH, 0); cib_root 240 lib/cib/cib_utils.c config = pcmk__xe_create(cib_root, PCMK_XE_CONFIGURATION); cib_root 241 lib/cib/cib_utils.c pcmk__xe_create(cib_root, PCMK_XE_STATUS); cib_root 261 lib/cib/cib_utils.c return cib_root;