Lines Matching refs:metrics
559 if (f->metrics.max_size > 0 && new_size > f->metrics.max_size) in journal_file_allocate()
562 if (new_size > f->metrics.min_size && f->metrics.keep_free > 0) { in journal_file_allocate()
568 … available = LESS_BY((uint64_t) svfs.f_bfree * (uint64_t) svfs.f_bsize, f->metrics.keep_free); in journal_file_allocate()
577 if (f->metrics.max_size > 0 && new_size > f->metrics.max_size) in journal_file_allocate()
578 new_size = f->metrics.max_size; in journal_file_allocate()
1033 s = (f->metrics.max_size * 4 / 768 / 3) * sizeof(HashItem); in journal_file_setup_data_hash_table()
3429 JournalMetrics *metrics, in journal_file_open() argument
3577 if (metrics) { in journal_file_open()
3578 journal_default_metrics(metrics, f->fd); in journal_file_open()
3579 f->metrics = *metrics; in journal_file_open()
3581 f->metrics = template->metrics; in journal_file_open()