directory 68 include/crm/common/internal.h char *pcmk__series_filename(const char *directory, const char *series, directory 70 include/crm/common/internal.h int pcmk__read_series_sequence(const char *directory, const char *series, directory 72 include/crm/common/internal.h void pcmk__write_series_sequence(const char *directory, const char *series, directory 74 include/crm/common/internal.h int pcmk__chown_series_sequence(const char *directory, const char *series, directory 121 lib/common/io.c pcmk__series_filename(const char *directory, const char *series, int sequence, directory 124 lib/common/io.c CRM_ASSERT((directory != NULL) && (series != NULL)); directory 125 lib/common/io.c return crm_strdup_printf("%s/%s-%d.%s", directory, series, sequence, directory 140 lib/common/io.c pcmk__read_series_sequence(const char *directory, const char *series, directory 147 lib/common/io.c if ((directory == NULL) || (series == NULL) || (seq == NULL)) { directory 151 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 187 lib/common/io.c pcmk__write_series_sequence(const char *directory, const char *series, directory 194 lib/common/io.c CRM_CHECK(directory != NULL, return); directory 204 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 237 lib/common/io.c pcmk__chown_series_sequence(const char *directory, const char *series, directory 243 lib/common/io.c if ((directory == NULL) || (series == NULL)) { directory 246 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 398 lib/common/io.c DIR *directory; directory 400 lib/common/io.c directory = opendir(name); directory 401 lib/common/io.c if (directory == NULL) { directory 406 lib/common/io.c fd = dirfd(directory); directory 415 lib/common/io.c if (closedir(directory) < 0) { directory 146 replace/scandir.c DIR *directory; directory 155 replace/scandir.c if ((directory = opendir(directory_name)) == NULL) { directory 161 replace/scandir.c closedir(directory); directory 167 replace/scandir.c while (entry = readdir(directory), entry) directory 196 replace/scandir.c closedir(directory); directory 211 replace/scandir.c closedir(directory); directory 224 replace/scandir.c closedir(directory);