directory 32 include/crm/common/internal.h char *generate_series_filename(const char *directory, const char *series, int sequence, directory 34 include/crm/common/internal.h int get_last_sequence(const char *directory, const char *series); directory 35 include/crm/common/internal.h void write_last_sequence(const char *directory, const char *series, int sequence, int max); directory 36 include/crm/common/internal.h int crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid); directory 86 lib/common/io.c generate_series_filename(const char *directory, const char *series, int sequence, gboolean bzip) directory 92 lib/common/io.c CRM_CHECK(directory != NULL, return NULL); directory 99 lib/common/io.c len += strlen(directory); directory 107 lib/common/io.c sprintf(filename, "%s/%s-%d.%s", directory, series, sequence, ext); directory 122 lib/common/io.c get_last_sequence(const char *directory, const char *series) directory 131 lib/common/io.c CRM_CHECK(directory != NULL, return 0); directory 134 lib/common/io.c len += strlen(directory); directory 138 lib/common/io.c sprintf(series_file, "%s/%s.last", directory, series); directory 194 lib/common/io.c write_last_sequence(const char *directory, const char *series, int sequence, int max) directory 201 lib/common/io.c CRM_CHECK(directory != NULL, return); directory 211 lib/common/io.c len += strlen(directory); directory 216 lib/common/io.c sprintf(series_file, "%s/%s.last", directory, series); directory 251 lib/common/io.c crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid) directory 256 lib/common/io.c CRM_CHECK((directory != NULL) && (series != NULL), errno = EINVAL; return -1); directory 258 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 361 lib/common/io.c DIR *directory; directory 363 lib/common/io.c directory = opendir(name); directory 364 lib/common/io.c if (directory == NULL) { directory 369 lib/common/io.c fd = dirfd(directory); directory 378 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), directory == NULL) directory 163 replace/scandir.c while (entry = readdir(directory), entry) directory 192 replace/scandir.c closedir(directory); directory 207 replace/scandir.c closedir(directory); directory 220 replace/scandir.c closedir(directory);