series 32 include/crm/common/internal.h char *generate_series_filename(const char *directory, const char *series, int sequence, series 34 include/crm/common/internal.h int get_last_sequence(const char *directory, const char *series); series 35 include/crm/common/internal.h void write_last_sequence(const char *directory, const char *series, int sequence, int max); series 36 include/crm/common/internal.h int crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid); series 86 lib/common/io.c generate_series_filename(const char *directory, const char *series, int sequence, gboolean bzip) series 93 lib/common/io.c CRM_CHECK(series != NULL, return NULL); series 100 lib/common/io.c len += strlen(series); series 107 lib/common/io.c sprintf(filename, "%s/%s-%d.%s", directory, series, sequence, ext); series 122 lib/common/io.c get_last_sequence(const char *directory, const char *series) series 132 lib/common/io.c CRM_CHECK(series != NULL, return 0); series 135 lib/common/io.c len += strlen(series); series 138 lib/common/io.c sprintf(series_file, "%s/%s.last", directory, series); series 194 lib/common/io.c write_last_sequence(const char *directory, const char *series, int sequence, int max) series 202 lib/common/io.c CRM_CHECK(series != NULL, return); series 212 lib/common/io.c len += strlen(series); series 216 lib/common/io.c sprintf(series_file, "%s/%s.last", directory, series); series 251 lib/common/io.c crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid) series 256 lib/common/io.c CRM_CHECK((directory != NULL) && (series != NULL), errno = EINVAL; return -1); series 258 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); series 53 pengine/pengine.c series_t series[] = { series 132 pengine/pengine.c series_wrap = series[series_id].wrap; series 133 pengine/pengine.c value = pe_pref(data_set.config_hash, series[series_id].param); series 138 pengine/pengine.c series_wrap = series[series_id].wrap; series 143 pengine/pengine.c " preference: %s", series[series_id].param); series 146 pengine/pengine.c seq = get_last_sequence(PE_STATE_DIR, series[series_id].name); series 148 pengine/pengine.c series[series_id].name, series_wrap, seq, value); series 157 pengine/pengine.c generate_series_filename(PE_STATE_DIR, series[series_id].name, seq, HAVE_BZLIB_H); series 211 pengine/pengine.c write_last_sequence(PE_STATE_DIR, series[series_id].name, seq + 1, series_wrap);