Lines Matching refs:metrics
417 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.max_size * 4 / 768 / 3) * sizeof(HashItem);
2711 JournalMetrics *metrics,
2846 if (metrics) {
2847 journal_default_metrics(metrics, f->fd);
2848 f->metrics = *metrics;
2850 f->metrics = template->metrics;
2959 JournalMetrics *metrics,
2968 r = journal_file_open(fname, flags, mode, compress, seal, metrics, mmap_cache, template, ret);
3009 return journal_file_open(fname, flags, mode, compress, seal, metrics, mmap_cache, template, ret);