filename 70 daemons/based/based_io.c retrieveCib(const char *filename, const char *sigfile) filename 75 daemons/based/based_io.c filename, sigfile); filename 76 daemons/based/based_io.c switch (cib_file_read_and_verify(filename, sigfile, &root)) { filename 78 daemons/based/based_io.c crm_warn("Continuing but %s will NOT be used.", filename); filename 83 daemons/based/based_io.c crm_warn("Continuing but %s will NOT be used.", filename); filename 84 daemons/based/based_io.c cib_rename(filename); filename 193 daemons/based/based_io.c char *filename = NULL; filename 208 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", dir, file); filename 213 daemons/based/based_io.c root = retrieveCib(filename, sigfilepath); filename 214 daemons/based/based_io.c free(filename); filename 230 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); filename 231 daemons/based/based_io.c sigfile = crm_strdup_printf("%s.sig", filename); filename 234 daemons/based/based_io.c filename, sigfile); filename 235 daemons/based/based_io.c if (cib_file_read_and_verify(filename, sigfile, &root) < 0) { filename 236 daemons/based/based_io.c crm_warn("Continuing but %s will NOT be used.", filename); filename 238 daemons/based/based_io.c crm_notice("Continuing with last valid configuration archive: %s", filename); filename 242 daemons/based/based_io.c free(filename); filename 54 daemons/based/pacemaker-based.c static bool startCib(const char *filename); filename 412 daemons/based/pacemaker-based.c startCib(const char *filename) filename 415 daemons/based/pacemaker-based.c xmlNode *cib = readCibXmlFile(cib_root, filename, !preserve_status); filename 65 daemons/controld/controld_schedulerd.c char *filename = crm_strdup_printf(PCMK_SCHEDULER_INPUT_DIR "/pe-core-%s.bz2", id); filename 67 daemons/controld/controld_schedulerd.c if (pcmk__xml_write_file(output, filename, true) != pcmk_rc_ok) { filename 69 daemons/controld/controld_schedulerd.c filename); filename 72 daemons/controld/controld_schedulerd.c filename); filename 74 daemons/controld/controld_schedulerd.c free(filename); filename 97 daemons/execd/remoted_pidone.c load_env_vars(const char *filename) filename 102 daemons/execd/remoted_pidone.c FILE *fp = fopen(filename, "r"); filename 57 daemons/schedulerd/schedulerd_messages.c static char *filename = NULL; filename 136 daemons/schedulerd/schedulerd_messages.c free(filename); filename 137 daemons/schedulerd/schedulerd_messages.c filename = NULL; filename 140 daemons/schedulerd/schedulerd_messages.c free(filename); filename 141 daemons/schedulerd/schedulerd_messages.c filename = pcmk__series_filename(PCMK_SCHEDULER_INPUT_DIR, filename 145 daemons/schedulerd/schedulerd_messages.c crm_xml_add(reply, PCMK__XA_CRM_TGRAPH_IN, filename); filename 147 daemons/schedulerd/schedulerd_messages.c pcmk__log_transition_summary(scheduler, filename); filename 156 daemons/schedulerd/schedulerd_messages.c unlink(filename); filename 159 daemons/schedulerd/schedulerd_messages.c pcmk__xml_write_file(xml_data, filename, true); filename 38 include/crm/cib.h cib_t *cib_file_new(const char *filename); filename 262 include/crm/cib/internal.h int cib_file_read_and_verify(const char *filename, const char *sigfile, filename 112 include/crm/common/internal.h int pcmk__read_pidfile(const char *filename, pid_t *pid); filename 113 include/crm/common/internal.h int pcmk__pidfile_matches(const char *filename, pid_t expected_pid, filename 115 include/crm/common/internal.h int pcmk__lock_pidfile(const char *filename, const char *name); filename 33 include/crm/common/io_internal.h char *pcmk__full_path(const char *filename, const char *dirname); filename 37 include/crm/common/io_internal.h int pcmk__file_contents(const char *filename, char **contents); filename 229 include/crm/common/logging_internal.h int pcmk__add_logfile(const char *filename); filename 578 include/crm/common/output_internal.h const char *filename, char **argv); filename 907 include/crm/common/output_internal.h int pcmk__text_output_new(pcmk__output_t **out, const char *filename); filename 105 include/crm/common/unittest_internal.h void pcmk__test_init_logging(const char *name, const char *filename); filename 38 include/crm/common/xml_io.h const char *filename); filename 27 include/crm/common/xml_io_internal.h xmlNode *pcmk__xml_read(const char *filename); filename 34 include/crm/common/xml_io_internal.h int pcmk__xml_write_fd(const xmlNode *xml, const char *filename, int fd); filename 35 include/crm/common/xml_io_internal.h int pcmk__xml_write_file(const xmlNode *xml, const char *filename, filename 171 include/pcmki/pcmki_transition.h const char *filename); filename 49 lib/cib/cib_file.c char *filename; filename 145 lib/cib/cib_file.c cibfile->filename, \ filename 154 lib/cib/cib_file.c cibfile->filename, \ filename 190 lib/cib/cib_file.c cib_file_is_live(const char *filename) filename 194 lib/cib/cib_file.c if (filename != NULL) { filename 198 lib/cib/cib_file.c if (pcmk__real_path(filename, &real_filename) == pcmk_rc_ok) { filename 376 lib/cib/cib_file.c load_file_cib(const char *filename, xmlNode **output) filename 382 lib/cib/cib_file.c if (strcmp(filename, "-") && (stat(filename, &buf) < 0)) { filename 387 lib/cib/cib_file.c root = pcmk__xml_read(filename); filename 414 lib/cib/cib_file.c if (private->filename == NULL) { filename 417 lib/cib/cib_file.c rc = load_file_cib(private->filename, &private->cib_xml); filename 422 lib/cib/cib_file.c private->filename, pcmk__s(name, "client")); filename 429 lib/cib/cib_file.c private->filename, pcmk__s(name, "client"), private->id, filename 543 lib/cib/cib_file.c if (cib_file_write_live(private->cib_xml, private->filename) < 0) { filename 549 lib/cib/cib_file.c bool compress = pcmk__ends_with_ext(private->filename, ".bz2"); filename 551 lib/cib/cib_file.c if (pcmk__xml_write_file(private->cib_xml, private->filename, filename 558 lib/cib/cib_file.c crm_info("Wrote CIB to %s", private->filename); filename 561 lib/cib/cib_file.c crm_err("Could not write CIB to %s", private->filename); filename 584 lib/cib/cib_file.c free(private->filename); filename 643 lib/cib/cib_file.c char *filename = NULL; filename 657 lib/cib/cib_file.c filename = strdup(cib_location); filename 658 lib/cib/cib_file.c if (filename == NULL) { filename 666 lib/cib/cib_file.c free(filename); filename 671 lib/cib/cib_file.c private->filename = filename; filename 747 lib/cib/cib_file.c cib_file_read_and_verify(const char *filename, const char *sigfile, xmlNode **root) filename 754 lib/cib/cib_file.c pcmk__assert(filename != NULL); filename 760 lib/cib/cib_file.c s_res = stat(filename, &buf); filename 762 lib/cib/cib_file.c crm_perror(LOG_WARNING, "Could not verify cluster configuration file %s", filename); filename 765 lib/cib/cib_file.c crm_warn("Cluster configuration file %s is corrupt (size is zero)", filename); filename 770 lib/cib/cib_file.c local_root = pcmk__xml_read(filename); filename 772 lib/cib/cib_file.c crm_warn("Cluster configuration file %s is corrupt (unparseable as XML)", filename); filename 778 lib/cib/cib_file.c sigfile = local_sigfile = crm_strdup_printf("%s.sig", filename); filename 1078 lib/cib/cib_file.c private->id, private->filename, op, pcmk_rc_str(rc)); filename 1085 lib/cib/cib_file.c op, private->id, private->filename); filename 1129 lib/cib/cib_file.c private->id, private->filename); filename 1138 lib/cib/cib_file.c private->id, private->filename); filename 1175 lib/cib/cib_file.c private->id, private->filename, pcmk_rc_str(rc)); filename 21 lib/cib/fuzzers/cib_file_fuzzer.c char *filename = NULL; filename 30 lib/cib/fuzzers/cib_file_fuzzer.c filename = pcmk__assert_alloc(size + 1, sizeof(char)); filename 31 lib/cib/fuzzers/cib_file_fuzzer.c memcpy(filename, data, size); filename 32 lib/cib/fuzzers/cib_file_fuzzer.c filename[size] = '\0'; filename 34 lib/cib/fuzzers/cib_file_fuzzer.c cib = cib_file_new(filename); filename 37 lib/cib/fuzzers/cib_file_fuzzer.c free(filename); filename 345 lib/common/crmcommon_private.h const char *filename, char **argv); filename 428 lib/common/io.c pcmk__file_contents(const char *filename, char **contents) filename 434 lib/common/io.c if ((filename == NULL) || (contents == NULL)) { filename 438 lib/common/io.c fp = fopen(filename, "r"); filename 630 lib/common/io.c pcmk__full_path(const char *filename, const char *dirname) filename 632 lib/common/io.c pcmk__assert(filename != NULL); filename 634 lib/common/io.c if (filename[0] == '/') { filename 635 lib/common/io.c return pcmk__str_copy(filename); filename 638 lib/common/io.c return crm_strdup_printf("%s/%s", dirname, filename); filename 207 lib/common/logging.c logfile_disabled(const char *filename) filename 209 lib/common/logging.c return pcmk__str_eq(filename, PCMK_VALUE_NONE, pcmk__str_casei) filename 210 lib/common/logging.c || pcmk__str_eq(filename, "/dev/null", pcmk__str_none); filename 223 lib/common/logging.c chown_logfile(const char *filename, int logfd) filename 241 lib/common/logging.c "unavailable: %s", filename, pcmk_rc_str(rc)); filename 250 lib/common/logging.c filename, CRM_DAEMON_USER, pcmk_gid, strerror(errno)); filename 257 lib/common/logging.c chmod_logfile(const char *filename, int logfd) filename 271 lib/common/logging.c filename, filemode, strerror(errno)); filename 277 lib/common/logging.c set_logfile_permissions(const char *filename, FILE *logfile) filename 281 lib/common/logging.c int rc = chown_logfile(filename, logfd); filename 286 lib/common/logging.c chmod_logfile(filename, logfd); filename 315 lib/common/logging.c setenv_logfile(const char *filename) filename 319 lib/common/logging.c pcmk__set_env_option(PCMK__ENV_LOGFILE, filename, true); filename 331 lib/common/logging.c pcmk__add_logfile(const char *filename) filename 347 lib/common/logging.c if (filename == NULL) { filename 351 lib/common/logging.c filename = DEFAULT_LOG_FILE; filename 355 lib/common/logging.c if (logfile_disabled(filename)) { filename 360 lib/common/logging.c is_default = pcmk__str_eq(filename, DEFAULT_LOG_FILE, pcmk__str_none); filename 366 lib/common/logging.c logfile = fopen(filename, "a"); filename 370 lib/common/logging.c filename, strerror(rc), geteuid(), getegid()); filename 374 lib/common/logging.c rc = set_logfile_permissions(filename, logfile); filename 377 lib/common/logging.c filename, strerror(rc)); filename 384 lib/common/logging.c fd = qb_log_file_open(filename); filename 387 lib/common/logging.c filename, strerror(-fd)); filename 393 lib/common/logging.c setenv_logfile(filename); filename 396 lib/common/logging.c crm_notice("Switching logging to %s", filename); filename 400 lib/common/logging.c crm_notice("Additional logging available in %s", filename); filename 548 lib/common/logging.c cs->function, cs->lineno, cs->filename, buffer); filename 618 lib/common/logging.c } else if (trace_files && strstr(trace_files, cs->filename) != NULL) { filename 64 lib/common/output.c const char *filename, char **argv) filename 88 lib/common/output.c if (pcmk__str_eq(filename, "-", pcmk__str_null_matches)) { filename 91 lib/common/output.c (*out)->dest = fopen(filename, "w"); filename 114 lib/common/output.c const char *filename, char **argv) filename 116 lib/common/output.c int rc = pcmk__bare_output_new(out, fmt_name, filename, argv); filename 320 lib/common/output.c pcmk__text_output_new(pcmk__output_t **out, const char *filename) filename 330 lib/common/output.c rc = pcmk__output_new(out, "text", filename, (char **) argv); filename 107 lib/common/pid.c pcmk__read_pidfile(const char *filename, pid_t *pid) filename 115 lib/common/pid.c CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL); filename 117 lib/common/pid.c fd = open(filename, O_RDONLY); filename 142 lib/common/pid.c crm_trace("Read pid %lld from %s", pid_read, filename); filename 168 lib/common/pid.c pcmk__pidfile_matches(const char *filename, pid_t expected_pid, filename 172 lib/common/pid.c int rc = pcmk__read_pidfile(filename, &pidfile_pid); filename 180 lib/common/pid.c unlink(filename); filename 189 lib/common/pid.c unlink(filename); filename 210 lib/common/pid.c pcmk__lock_pidfile(const char *filename, const char *name) filename 217 lib/common/pid.c rc = pcmk__pidfile_matches(filename, 0, name, NULL); filename 223 lib/common/pid.c fd = open(filename, O_CREAT | O_WRONLY | O_EXCL, 0644); filename 233 lib/common/pid.c crm_perror(LOG_ERR, "Incomplete write to %s", filename); filename 237 lib/common/pid.c rc = pcmk__pidfile_matches(filename, mypid, name, NULL); filename 240 lib/common/pid.c unlink(filename); filename 155 lib/common/schemas.c version_from_filename(const char *filename, pcmk__schema_version_t *version) filename 157 lib/common/schemas.c if (pcmk__ends_with(filename, ".rng")) { filename 158 lib/common/schemas.c return sscanf(filename, "pacemaker-%hhu.%hhu.rng", &(version->v[0]), &(version->v[1])) == 2; filename 160 lib/common/schemas.c return sscanf(filename, "pacemaker-%hhu.%hhu", &(version->v[0]), &(version->v[1])) == 2; filename 164 lib/common/unittest.c pcmk__test_init_logging(const char *name, const char *filename) filename 167 lib/common/unittest.c if (filename != NULL) { filename 168 lib/common/unittest.c pcmk__add_logfile(filename); filename 39 lib/common/xml_io.c decompress_file(const char *filename) filename 45 lib/common/xml_io.c FILE *input = fopen(filename, "r"); filename 48 lib/common/xml_io.c crm_perror(LOG_ERR, "Could not open %s for reading", filename); filename 56 lib/common/xml_io.c QB_XS " rc=%d", filename, pcmk_rc_str(rc), rc); filename 78 lib/common/xml_io.c filename, pcmk_rc_str(rc), rc); filename 102 lib/common/xml_io.c pcmk__xml_read(const char *filename) filename 104 lib/common/xml_io.c bool use_stdin = pcmk__str_eq(filename, "-", pcmk__str_null_matches); filename 121 lib/common/xml_io.c } else if (pcmk__ends_with_ext(filename, ".bz2")) { filename 122 lib/common/xml_io.c char *input = decompress_file(filename); filename 131 lib/common/xml_io.c output = xmlCtxtReadFile(ctxt, filename, NULL, XML_PARSE_NOBLANKS); filename 457 lib/common/xml_io.c write_compressed_stream(char *text, const char *filename, FILE *stream, filename 470 lib/common/xml_io.c filename, pcmk_rc_str(rc), rc); filename 479 lib/common/xml_io.c filename, pcmk_rc_str(rc), rc, errno); filename 489 lib/common/xml_io.c filename, pcmk_rc_str(rc), rc, errno); filename 494 lib/common/xml_io.c filename, bytes_in, *bytes_out); filename 516 lib/common/xml_io.c write_xml_stream(const xmlNode *xml, const char *filename, FILE *stream, filename 532 lib/common/xml_io.c && (write_compressed_stream(buffer->str, filename, stream, filename 540 lib/common/xml_io.c crm_perror(LOG_ERR, "writing %s", filename); filename 549 lib/common/xml_io.c crm_perror(LOG_ERR, "flushing %s", filename); filename 555 lib/common/xml_io.c crm_perror(LOG_ERR, "synchronizing %s", filename); filename 559 lib/common/xml_io.c crm_trace("Saved %u bytes to %s as XML", bytes_out, filename); filename 576 lib/common/xml_io.c pcmk__xml_write_fd(const xmlNode *xml, const char *filename, int fd) filename 586 lib/common/xml_io.c return write_xml_stream(xml, pcmk__s(filename, "unnamed file"), stream, filename 601 lib/common/xml_io.c pcmk__xml_write_file(const xmlNode *xml, const char *filename, bool compress) filename 605 lib/common/xml_io.c CRM_CHECK((xml != NULL) && (filename != NULL), return EINVAL); filename 606 lib/common/xml_io.c stream = fopen(filename, "w"); filename 611 lib/common/xml_io.c return write_xml_stream(xml, filename, stream, compress); filename 645 lib/common/xml_io.c save_xml_to_file(const xmlNode *xml, const char *desc, const char *filename) filename 649 lib/common/xml_io.c if (filename == NULL) { filename 653 lib/common/xml_io.c filename = f; filename 657 lib/common/xml_io.c crm_info("Saving %s to %s", desc, filename); filename 658 lib/common/xml_io.c pcmk__xml_write_file(xml, filename, false); filename 943 lib/pacemaker/pcmk_graph_producer.c const char *filename) filename 949 lib/pacemaker/pcmk_graph_producer.c (filename == NULL)? "" : ", saving inputs in ", filename 950 lib/pacemaker/pcmk_graph_producer.c (filename == NULL)? "" : filename); filename 956 lib/pacemaker/pcmk_graph_producer.c (filename == NULL)? "" : ", saving inputs in ", filename 957 lib/pacemaker/pcmk_graph_producer.c (filename == NULL)? "" : filename); filename 962 lib/pacemaker/pcmk_graph_producer.c (filename == NULL)? "" : ", saving inputs in ", filename 963 lib/pacemaker/pcmk_graph_producer.c (filename == NULL)? "" : filename); filename 821 lib/services/systemd.c create_world_readable(const char *filename) filename 824 lib/services/systemd.c FILE *fp = fopen(filename, "w"); filename 46 libltdl/libltdl/lt_dlloader.h const char *filename, filename 49 libltdl/loaders/dld_link.c static lt_module vm_open (lt_user_data loader_data, const char *filename, filename 110 libltdl/loaders/dld_link.c vm_open (lt_user_data loader_data LT__UNUSED, const char *filename, filename 113 libltdl/loaders/dld_link.c lt_module module = lt__strdup (filename); filename 115 libltdl/loaders/dld_link.c if (dld_link (filename) != 0) filename 49 libltdl/loaders/dlopen.c static lt_module vm_open (lt_user_data loader_data, const char *filename, filename 166 libltdl/loaders/dlopen.c vm_open (lt_user_data loader_data LT__UNUSED, const char *filename, filename 172 libltdl/loaders/dlopen.c int len = LT_STRLEN (filename); filename 202 libltdl/loaders/dlopen.c if (filename[len-1] == ')') filename 204 libltdl/loaders/dlopen.c const char *opening = strrchr(filename, '('); filename 205 libltdl/loaders/dlopen.c if (opening && opening < (filename+len-2) && strchr(opening+1, '/') == NULL) filename 211 libltdl/loaders/dlopen.c module = dlopen (filename, module_flags); filename 229 libltdl/loaders/dlopen.c sprintf (attempt, "%s%s", filename, member); filename 50 libltdl/loaders/dyld.c static lt_module vm_open (lt_user_data loader_data, const char *filename, filename 228 libltdl/loaders/dyld.c vm_open (lt_user_data loader_data, const char *filename, filename 234 libltdl/loaders/dyld.c if (!filename) filename 239 libltdl/loaders/dyld.c switch (NSCreateObjectFileImageFromFile (filename, &ofi)) filename 242 libltdl/loaders/dyld.c module = NSLinkModule (ofi, filename, NSLINKMODULE_OPTION_RETURN_ON_ERROR filename 256 libltdl/loaders/dyld.c module = (lt_module) lt__addimage(filename, filename 49 libltdl/loaders/load_add_on.c static lt_module vm_open (lt_user_data loader_data, const char *filename, filename 108 libltdl/loaders/load_add_on.c vm_open (lt_user_data loader_data LT__UNUSED, const char *filename, filename 113 libltdl/loaders/load_add_on.c if (filename) filename 115 libltdl/loaders/load_add_on.c image = load_add_on (filename); filename 53 libltdl/loaders/loadlibrary.c static lt_module vm_open (lt_user_data loader_data, const char *filename, filename 134 libltdl/loaders/loadlibrary.c vm_open (lt_user_data loader_data LT__UNUSED, const char *filename, filename 142 libltdl/loaders/loadlibrary.c if (!filename) filename 147 libltdl/loaders/loadlibrary.c filename = wpath; filename 151 libltdl/loaders/loadlibrary.c len = LT_STRLEN (filename); filename 160 libltdl/loaders/loadlibrary.c if (cygwin_conv_path (CCP_POSIX_TO_WIN_A, filename, wpath, MAX_PATH)) filename 167 libltdl/loaders/loadlibrary.c cygwin_conv_to_full_win32_path (filename, wpath); filename 170 libltdl/loaders/loadlibrary.c strcpy(wpath, filename); filename 50 libltdl/loaders/preopen.c static lt_module vm_open (lt_user_data loader_data, const char *filename, filename 145 libltdl/loaders/preopen.c vm_open (lt_user_data loader_data LT__UNUSED, const char *filename, filename 161 libltdl/loaders/preopen.c if (!filename) filename 163 libltdl/loaders/preopen.c filename = "@PROGRAM@"; filename 171 libltdl/loaders/preopen.c if (!symbol->address && STREQ (symbol->name, filename)) filename 49 libltdl/loaders/shl_load.c static lt_module vm_open (lt_user_data loader_data, const char *filename, filename 151 libltdl/loaders/shl_load.c vm_open (lt_user_data loader_data LT__UNUSED, const char *filename, filename 155 libltdl/loaders/shl_load.c lt_module module = shl_load (filename, LT_BIND_FLAGS, 0L); filename 167 libltdl/loaders/shl_load.c if (!filename) filename 173 libltdl/loaders/shl_load.c module = shl_load (filename, LT_BIND_FLAGS, 0L); filename 99 libltdl/ltdl.c typedef int foreach_callback_func (char *filename, void *data1, filename 102 libltdl/ltdl.c typedef int file_worker_func (const char *filename, void *data); filename 109 libltdl/ltdl.c static int find_file_callback (char *filename, void *data1, filename 111 libltdl/ltdl.c static int find_handle_callback (char *filename, void *data, filename 113 libltdl/ltdl.c static int foreachfile_callback (char *filename, void *data1, filename 130 libltdl/ltdl.c static int has_library_ext (const char *filename); filename 134 libltdl/ltdl.c const char *filename, const char *ext, filename 137 libltdl/ltdl.c const char *filename, filename 368 libltdl/ltdl.c tryall_dlopen (lt_dlhandle *phandle, const char *filename, filename 377 libltdl/ltdl.c filename ? filename : "(null)", filename 386 libltdl/ltdl.c if ((handle->info.filename == filename) /* dlopen self: 0 == 0 */ filename 387 libltdl/ltdl.c || (handle->info.filename && filename filename 388 libltdl/ltdl.c && STREQ (handle->info.filename, filename))) filename 402 libltdl/ltdl.c if (filename) filename 416 libltdl/ltdl.c handle->info.filename = lt__strdup (filename); filename 417 libltdl/ltdl.c if (!handle->info.filename) filename 425 libltdl/ltdl.c handle->info.filename = 0; filename 442 libltdl/ltdl.c filename ? filename : "(null)"); filename 445 libltdl/ltdl.c filename, advise); filename 477 libltdl/ltdl.c FREE (handle->info.filename); filename 498 libltdl/ltdl.c char *filename = 0; filename 518 libltdl/ltdl.c filename = MALLOC (char, filename_len + 1); filename 519 libltdl/ltdl.c if (!filename) filename 522 libltdl/ltdl.c sprintf (filename, "%.*s/%s", (int) dirname_len, dirname, dlname); filename 530 libltdl/ltdl.c prefix, filename, advise); filename 532 libltdl/ltdl.c else if (tryall_dlopen (handle, filename, advise, 0) != 0) filename 537 libltdl/ltdl.c FREE (filename); filename 687 libltdl/ltdl.c char *filename = 0; filename 710 libltdl/ltdl.c FREE (filename); filename 712 libltdl/ltdl.c filename = MALLOC (char, filenamesize); filename 713 libltdl/ltdl.c if (!filename) filename 718 libltdl/ltdl.c strcpy (filename, dir_name); filename 722 libltdl/ltdl.c if (filename[lendir -1] != '/') filename 723 libltdl/ltdl.c filename[lendir++] = '/'; filename 724 libltdl/ltdl.c strcpy (filename +lendir, base_name); filename 727 libltdl/ltdl.c if ((result = (*func) (filename, data1, data2))) filename 737 libltdl/ltdl.c FREE (filename); filename 746 libltdl/ltdl.c find_file_callback (char *filename, void *data1, void *data2) filename 752 libltdl/ltdl.c assert (filename && *filename); filename 756 libltdl/ltdl.c if ((*pfile = fopen (filename, LT_READTEXT_MODE))) filename 758 libltdl/ltdl.c char *dirend = strrchr (filename, '/'); filename 760 libltdl/ltdl.c if (dirend > filename) filename 764 libltdl/ltdl.c *pdir = lt__strdup (filename); filename 782 libltdl/ltdl.c find_handle_callback (char *filename, void *data, void *data2) filename 785 libltdl/ltdl.c int notfound = access (filename, R_OK); filename 794 libltdl/ltdl.c if (tryall_dlopen (phandle, filename, advise, 0) != 0) filename 1159 libltdl/ltdl.c try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext, filename 1177 libltdl/ltdl.c filename ? filename : "(null)", filename 1184 libltdl/ltdl.c if (!filename) filename 1204 libltdl/ltdl.c assert (filename && *filename); filename 1208 libltdl/ltdl.c attempt = MALLOC (char, LT_STRLEN (filename) + LT_STRLEN (ext) + 1); filename 1212 libltdl/ltdl.c sprintf(attempt, "%s%s", filename, ext); filename 1216 libltdl/ltdl.c attempt = lt__strdup (filename); filename 1540 libltdl/ltdl.c has_library_ext (const char *filename) filename 1544 libltdl/ltdl.c assert (filename); filename 1546 libltdl/ltdl.c ext = strrchr (filename, '.'); filename 1624 libltdl/ltdl.c lt_dlopen (const char *filename) filename 1626 libltdl/ltdl.c return lt_dlopenadvise (filename, NULL); filename 1635 libltdl/ltdl.c lt_dlopenext (const char *filename) filename 1641 libltdl/ltdl.c handle = lt_dlopenadvise (filename, advise); filename 1649 libltdl/ltdl.c lt_dlopenadvise (const char *filename, lt_dladvise advise) filename 1664 libltdl/ltdl.c if (!filename filename 1667 libltdl/ltdl.c || has_library_ext (filename)) filename 1671 libltdl/ltdl.c if (try_dlopen (&handle, filename, NULL, advise) != 0) filename 1676 libltdl/ltdl.c else if (filename && *filename) filename 1680 libltdl/ltdl.c errors += try_dlopen (&handle, filename, archive_ext, advise); filename 1693 libltdl/ltdl.c errors = try_dlopen (&handle, filename, shlib_ext, advise); filename 1704 libltdl/ltdl.c errors = try_dlopen (&handle, filename, shared_ext, advise); filename 1884 libltdl/ltdl.c char *filename = 0; filename 1885 libltdl/ltdl.c while ((filename = argz_next (argz, argz_len, filename))) filename 1886 libltdl/ltdl.c if ((is_done = (*func) (filename, data2))) filename 1905 libltdl/ltdl.c int (*func) (const char *filename, void *data), filename 1995 libltdl/ltdl.c FREE (cur->info.filename); filename 64 libltdl/ltdl.h int (*func) (const char *filename, void *data), filename 77 libltdl/ltdl.h LT_SCOPE lt_dlhandle lt_dlopen (const char *filename); filename 78 libltdl/ltdl.h LT_SCOPE lt_dlhandle lt_dlopenext (const char *filename); filename 79 libltdl/ltdl.h LT_SCOPE lt_dlhandle lt_dlopenadvise (const char *filename, filename 132 libltdl/ltdl.h char * filename; /* file name */ filename 155 tools/crm_shadow.c const char *filename = va_arg(args, const char *); filename 166 tools/crm_shadow.c rc = out->info(out, "File name: %s", pcmk__s(filename, "<unknown>")); filename 228 tools/crm_shadow.c const char *filename = va_arg(args, const char *); filename 244 tools/crm_shadow.c if (pcmk_is_set(flags, shadow_disp_file) && (filename != NULL)) { filename 245 tools/crm_shadow.c rc = out->info(out, "%s", filename); filename 291 tools/crm_shadow.c const char *filename = va_arg(args, const char *); filename 299 tools/crm_shadow.c PCMK_XA_FILE, filename, filename 409 tools/crm_shadow.c check_file_exists(const char *filename, bool should_exist, GError **error) filename 413 tools/crm_shadow.c if (!should_exist && (stat(filename, &buf) == 0)) { filename 423 tools/crm_shadow.c if (should_exist && (stat(filename, &buf) < 0)) { filename 512 tools/crm_shadow.c read_xml(const char *filename, xmlNode **output, GError **error) filename 516 tools/crm_shadow.c *output = pcmk__xml_read(filename); filename 521 tools/crm_shadow.c "Could not parse XML from input file '%s'", filename); filename 536 tools/crm_shadow.c write_shadow_file(const xmlNode *xml, const char *filename, bool reset, filename 539 tools/crm_shadow.c int rc = pcmk__xml_write_file(xml, filename, false); filename 665 tools/crm_shadow.c char *filename = NULL; filename 683 tools/crm_shadow.c filename = get_shadow_file(options.instance); filename 684 tools/crm_shadow.c if (check_file_exists(filename, true, error) != pcmk_rc_ok) { filename 692 tools/crm_shadow.c if (read_xml(filename, &input, error) != pcmk_rc_ok) { filename 715 tools/crm_shadow.c free(filename); filename 733 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); filename 737 tools/crm_shadow.c && (check_file_exists(filename, false, error) != pcmk_rc_ok)) { filename 746 tools/crm_shadow.c if (write_shadow_file(output, filename, false, error) != pcmk_rc_ok) { filename 752 tools/crm_shadow.c free(filename); filename 772 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); filename 784 tools/crm_shadow.c if (check_file_exists(filename, reset, error) != pcmk_rc_ok) { filename 793 tools/crm_shadow.c if (write_shadow_file(output, filename, reset, error) != pcmk_rc_ok) { filename 799 tools/crm_shadow.c free(filename); filename 813 tools/crm_shadow.c char *filename = NULL; filename 824 tools/crm_shadow.c filename = get_shadow_file(options.instance); filename 826 tools/crm_shadow.c if ((unlink(filename) < 0) && (errno != ENOENT)) { filename 834 tools/crm_shadow.c free(filename); filename 848 tools/crm_shadow.c char *filename = NULL; filename 855 tools/crm_shadow.c filename = get_shadow_file(options.instance); filename 856 tools/crm_shadow.c if (check_file_exists(filename, true, error) != pcmk_rc_ok) { filename 868 tools/crm_shadow.c execlp(editor, "--", filename, NULL); filename 872 tools/crm_shadow.c editor, filename, strerror(errno)); filename 875 tools/crm_shadow.c free(filename); filename 888 tools/crm_shadow.c char *filename = NULL; filename 894 tools/crm_shadow.c filename = get_shadow_file(options.instance); filename 896 tools/crm_shadow.c if (check_file_exists(filename, true, error) == pcmk_rc_ok) { filename 900 tools/crm_shadow.c if (read_xml(filename, &output, error) != pcmk_rc_ok) { filename 913 tools/crm_shadow.c free(filename); filename 926 tools/crm_shadow.c char *filename = NULL; filename 936 tools/crm_shadow.c filename = get_shadow_file(options.instance); filename 937 tools/crm_shadow.c if (check_file_exists(filename, true, error) != pcmk_rc_ok) { filename 945 tools/crm_shadow.c if (read_xml(filename, &new_config, error) != pcmk_rc_ok) { filename 969 tools/crm_shadow.c free(filename); filename 986 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); filename 991 tools/crm_shadow.c options.instance, filename, NULL, NULL, shadow_disp_file); filename 994 tools/crm_shadow.c free(filename); filename 1028 tools/crm_shadow.c char *filename = NULL; filename 1030 tools/crm_shadow.c filename = get_shadow_file(options.instance); filename 1031 tools/crm_shadow.c if (check_file_exists(filename, true, error) == pcmk_rc_ok) { filename 1034 tools/crm_shadow.c free(filename);