dir 181 daemons/based/based_io.c readCibXmlFile(const char *dir, const char *file, gboolean discard_status) dir 198 daemons/based/based_io.c if (pcmk__daemon_can_write(dir, file) == FALSE dir 199 daemons/based/based_io.c || pcmk__daemon_can_write(dir, sigfile) == FALSE) { dir 204 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", dir, file); dir 205 daemons/based/based_io.c sigfilepath = crm_strdup_printf("%s/%s", dir, sigfile); dir 94 daemons/based/pacemaker-based.h xmlNode *readCibXmlFile(const char *dir, const char *file, dir 78 include/crm/common/internal.h bool pcmk__daemon_can_write(const char *dir, const char *file); dir 215 lib/cib/cib_client.c const char *dir = getenv("CIB_shadow_dir"); dir 217 lib/cib/cib_client.c if (dir == NULL) { dir 232 lib/cib/cib_client.c dir = CRM_CONFIG_DIR; dir 243 lib/cib/cib_client.c dir = pcmk__get_tmpdir(); dir 256 lib/cib/cib_client.c dir = cib_home; dir 262 lib/cib/cib_client.c fullname = crm_strdup_printf("%s/%s", dir, name); dir 327 lib/common/io.c pcmk__daemon_can_write(const char *dir, const char *file) dir 335 lib/common/io.c CRM_ASSERT(dir != NULL); dir 339 lib/common/io.c full_file = crm_strdup_printf("%s/%s", dir, file); dir 359 lib/common/io.c target = dir; dir 360 lib/common/io.c s_res = stat(dir, &buf); dir 362 lib/common/io.c crm_err("%s not found: %s", dir, pcmk_strerror(errno)); dir 367 lib/common/io.c dir, (unsigned long) buf.st_mode); dir 542 lib/common/io.c const char *dir = getenv("TMPDIR"); dir 544 lib/common/io.c return (dir && (*dir == '/'))? dir : "/tmp"; dir 560 lib/common/io.c DIR *dir; dir 582 lib/common/io.c dir = opendir("/proc/self/fd"); dir 583 lib/common/io.c if (dir == NULL) { dir 584 lib/common/io.c dir = opendir("/dev/fd"); dir 587 lib/common/io.c dir = opendir("/dev/fd"); dir 589 lib/common/io.c if (dir != NULL) { dir 591 lib/common/io.c int dir_fd = dirfd(dir); dir 593 lib/common/io.c while ((entry = readdir(dir)) != NULL) { dir 606 lib/common/io.c closedir(dir); dir 242 lib/services/services.c char *dir = NULL; dir 252 lib/services/services.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { dir 253 lib/services/services.c buf = crm_strdup_printf("%s/%s/%s", dir, provider, agent); dir 1140 lib/services/services_linux.c char *dir = NULL; dir 1147 lib/services/services_linux.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { dir 1148 lib/services/services_linux.c GList *tmp = services_os_get_single_directory_list(dir, files, executable); dir 1165 lib/services/services_linux.c char *dir = NULL; dir 1173 lib/services/services_linux.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { dir 1176 lib/services/services_linux.c sprintf(buffer, "%s/%s", dir, provider); dir 1225 lib/services/services_linux.c char *dir = NULL; dir 1233 lib/services/services_linux.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { dir 1234 lib/services/services_linux.c buf = crm_strdup_printf("%s/%s/%s", dir, provider, agent); dir 126 libltdl/ltdl.c static int find_module (lt_dlhandle *handle, const char *dir, dir 148 libltdl/ltdl.c const char *dir); dir 535 libltdl/ltdl.c find_module (lt_dlhandle *handle, const char *dir, const char *libdir, dir 562 libltdl/ltdl.c if (tryall_dlopen_module (handle, dir, objdir, dir 569 libltdl/ltdl.c if (dir && (tryall_dlopen_module (handle, (const char *) 0, dir 570 libltdl/ltdl.c dir, dlname, advise) == 0)) dir 1159 libltdl/ltdl.c char * dir = 0; dir 1229 libltdl/ltdl.c dir = MALLOC (char, 1+ dirlen); dir 1230 libltdl/ltdl.c if (!dir) dir 1236 libltdl/ltdl.c strncpy (dir, canonical, dirlen); dir 1237 libltdl/ltdl.c dir[dirlen] = LT_EOS_CHAR; dir 1279 libltdl/ltdl.c if (!dir) dir 1345 libltdl/ltdl.c if (!dir) dir 1350 libltdl/ltdl.c file = find_file (user_search_path, base_name, &dir); dir 1356 libltdl/ltdl.c file = find_file (search_path, base_name, &dir); dir 1364 libltdl/ltdl.c file = find_file (search_path, base_name, &dir); dir 1370 libltdl/ltdl.c file = find_file (sys_dlsearch_path, base_name, &dir); dir 1416 libltdl/ltdl.c if (find_module (&newhandle, dir, libdir, dlname, old_name, dir 1460 libltdl/ltdl.c if ((dir || (!find_handle (user_search_path, base_name, dir 1503 libltdl/ltdl.c FREE (dir); dir 2112 libltdl/ltdl.c lt_dlpath_insertdir (char **ppath, char *before, const char *dir) dir 2120 libltdl/ltdl.c assert (dir && *dir); dir 2122 libltdl/ltdl.c if (canonicalize_path (dir, &canonical) != 0) dir 2134 libltdl/ltdl.c assert (dir); /* Without DIR, don't call this function! */ dir 2136 libltdl/ltdl.c *ppath = lt__strdup (dir); dir 2164 libltdl/ltdl.c if (lt_argz_insert (&argz, &argz_len, before, dir) != 0) dir 731 tools/crm_simulate.c profile_all(const char *dir, long long repeat, pe_working_set_t *data_set, char *use_date) dir 736 tools/crm_simulate.c int file_num = scandir(dir, &namelist, 0, alphasort); dir 754 tools/crm_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); dir 79 tools/ipmiservicelogd.c static int sensor_threshold_event_handler(ipmi_sensor_t * sensor, enum ipmi_event_dir_e dir, dir 85 tools/ipmiservicelogd.c static int sensor_discrete_event_handler(ipmi_sensor_t * sensor, enum ipmi_event_dir_e dir, dir 344 tools/ipmiservicelogd.c enum ipmi_event_dir_e dir, dir 376 tools/ipmiservicelogd.c direction = dir; dir 408 tools/ipmiservicelogd.c enum ipmi_event_dir_e dir, dir 438 tools/ipmiservicelogd.c direction = dir;