directory 60 include/crm/common/internal.h char *pcmk__series_filename(const char *directory, const char *series, directory 62 include/crm/common/internal.h int pcmk__read_series_sequence(const char *directory, const char *series, directory 64 include/crm/common/internal.h void pcmk__write_series_sequence(const char *directory, const char *series, directory 66 include/crm/common/internal.h int pcmk__chown_series_sequence(const char *directory, const char *series, directory 140 lib/common/io.c pcmk__series_filename(const char *directory, const char *series, int sequence, directory 143 lib/common/io.c CRM_ASSERT((directory != NULL) && (series != NULL)); directory 144 lib/common/io.c return crm_strdup_printf("%s/%s-%d.%s", directory, series, sequence, directory 159 lib/common/io.c pcmk__read_series_sequence(const char *directory, const char *series, directory 166 lib/common/io.c if ((directory == NULL) || (series == NULL) || (seq == NULL)) { directory 170 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 206 lib/common/io.c pcmk__write_series_sequence(const char *directory, const char *series, directory 213 lib/common/io.c CRM_CHECK(directory != NULL, return); directory 223 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 256 lib/common/io.c pcmk__chown_series_sequence(const char *directory, const char *series, directory 262 lib/common/io.c if ((directory == NULL) || (series == NULL)) { directory 265 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 417 lib/common/io.c DIR *directory; directory 419 lib/common/io.c directory = opendir(name); directory 420 lib/common/io.c if (directory == NULL) { directory 425 lib/common/io.c fd = dirfd(directory); directory 434 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);