Searched refs:metrics (Results 1 - 6 of 6) sorted by relevance

/systemd/src/journal-remote/
H A Djournal-remote-write.h40 JournalMetrics metrics; member in struct:Writer
H A Djournal-remote-write.c75 memset(&w->metrics, 0xFF, sizeof(w->metrics));
H A Djournal-remote.c205 &w->metrics,
/systemd/src/journal/
H A Djournald-server.c90 JournalMetrics *metrics,
106 assert(metrics);
156 metrics->min_use = MAX(metrics->min_use, sum);
159 avail = LESS_BY(ss_avail, metrics->keep_free);
161 s->cached_space_limit = MIN(MAX(sum + avail, metrics->min_use), metrics->max_use);
169 format_bytes(fb2, sizeof(fb2), metrics->max_use);
170 format_bytes(fb3, sizeof(fb3), metrics->keep_free);
182 "MAX_USE=%"PRIu64, metrics
88 determine_space_for( Server *s, JournalMetrics *metrics, const char *path, const char *name, bool verbose, bool patch_min_use, uint64_t *available, uint64_t *limit) argument
204 JournalMetrics *metrics; local
238 open_journal( Server *s, bool reliably, const char *fname, int flags, bool seal, JournalMetrics *metrics, JournalFile **ret) argument
395 do_vacuum( Server *s, JournalFile *f, JournalMetrics *metrics, const char *path, const char *name, bool verbose, bool patch_min_use) argument
[all...]
H A Djournal-file.h100 JournalMetrics metrics; member in struct:JournalFile
137 JournalMetrics *metrics,
151 JournalMetrics *metrics,
H A Djournal-file.c417 if (f->metrics.max_size > 0 && new_size > f->metrics.max_size)
420 if (new_size > f->metrics.min_size && f->metrics.keep_free > 0) {
426 available = LESS_BY((uint64_t) svfs.f_bfree * (uint64_t) svfs.f_bsize, f->metrics.keep_free);
435 if (f->metrics.max_size > 0 && new_size > f->metrics.max_size)
436 new_size = f->metrics.max_size;
633 the maximum file size based on these metrics. */
635 s = (f->metrics
2705 journal_file_open( const char *fname, int flags, mode_t mode, bool compress, bool seal, JournalMetrics *metrics, MMapCache *mmap_cache, JournalFile *template, JournalFile **ret) argument
2953 journal_file_open_reliably( const char *fname, int flags, mode_t mode, bool compress, bool seal, JournalMetrics *metrics, MMapCache *mmap_cache, JournalFile *template, JournalFile **ret) argument
[all...]

Completed in 25 milliseconds