Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/journal/
Djournald-gperf.gperf32 Journal.SystemMaxUse, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max…
33 Journal.SystemMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max…
34 Journal.SystemKeepFree, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.kee…
35 Journal.SystemMaxFiles, config_parse_uint64, 0, offsetof(Server, system_storage.metrics.n_m…
36 Journal.RuntimeMaxUse, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.ma…
37 Journal.RuntimeMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.ma…
38 Journal.RuntimeKeepFree, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.ke…
39 Journal.RuntimeMaxFiles, config_parse_uint64, 0, offsetof(Server, runtime_storage.metrics.n_…
Djournald-server.c136 JournalMetrics *metrics; in cache_space_refresh() local
143 metrics = &storage->metrics; in cache_space_refresh()
158 avail = LESS_BY(vfs_avail, metrics->keep_free); in cache_space_refresh()
160 space->limit = CLAMP(vfs_used + avail, metrics->min_use, metrics->max_use); in cache_space_refresh()
175 storage->metrics.min_use = MAX(storage->metrics.min_use, storage->space.vfs_used); in patch_min_use()
211 const JournalMetrics *metrics = &storage->metrics; in server_space_usage_message() local
224 "MAX_USE=%"PRIu64, metrics->max_use, in server_space_usage_message()
225 "MAX_USE_PRETTY=%s", FORMAT_BYTES(metrics->max_use), in server_space_usage_message()
226 "DISK_KEEP_FREE=%"PRIu64, metrics->keep_free, in server_space_usage_message()
227 "DISK_KEEP_FREE_PRETTY=%s", FORMAT_BYTES(metrics->keep_free), in server_space_usage_message()
[all …]
Dmanaged-journal-file.c400 JournalMetrics *metrics, in managed_journal_file_open() argument
414 … r = journal_file_open(fd, fname, open_flags, file_flags, mode, compress_threshold_bytes, metrics, in managed_journal_file_open()
486 JournalMetrics *metrics, in managed_journal_file_open_reliably() argument
494 …naged_journal_file_open(-1, fname, open_flags, file_flags, mode, compress_threshold_bytes, metrics, in managed_journal_file_open_reliably()
524 …naged_journal_file_open(-1, fname, open_flags, file_flags, mode, compress_threshold_bytes, metrics, in managed_journal_file_open_reliably()
Dmanaged-journal-file.h17 JournalMetrics *metrics,
34 JournalMetrics *metrics,
Djournald-server.h59 JournalMetrics metrics; member
/systemd-251/src/journal-remote/
Djournal-remote-write.c27 memset(&w->metrics, 0xFF, sizeof(w->metrics)); in writer_new()
Djournal-remote-write.h11 JournalMetrics metrics; member
Djournal-remote.c70 &w->metrics, in open_output()
/systemd-251/src/libsystemd/sd-journal/
Djournal-file.c559 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()
[all …]
Djournal-file.h90 JournalMetrics metrics; member
137 JournalMetrics *metrics,
/systemd-251/docs/
DUSER_RECORD.md787 metrics of the user and similar metadata that shall not be persisted but are
/systemd-251/
DNEWS9029 control the lease address pool metrics, PoolOffset= and
9969 gateways, ordered by their metrics. This assigns a stable
10201 * Route metrics can be specified for DHCP routes added by
11439 referring to throughput and hardware metrics. It will stay
11441 metrics, according to what is customary according to