Searched refs:max_use (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/coredump/ |
D | coredump-vacuum.c | 69 static bool vacuum_necessary(int fd, uint64_t sum, uint64_t keep_free, uint64_t max_use) { in vacuum_necessary() argument 80 if (max_use == UINT64_MAX) { in vacuum_necessary() 83 max_use = PAGE_ALIGN(fs_size / 10); /* 10% */ in vacuum_necessary() 85 if (max_use > DEFAULT_MAX_USE_UPPER) in vacuum_necessary() 86 max_use = DEFAULT_MAX_USE_UPPER; in vacuum_necessary() 88 if (max_use < DEFAULT_MAX_USE_LOWER) in vacuum_necessary() 89 max_use = DEFAULT_MAX_USE_LOWER; in vacuum_necessary() 91 max_use = DEFAULT_MAX_USE_LOWER; in vacuum_necessary() 93 max_use = PAGE_ALIGN(max_use); in vacuum_necessary() 95 if (max_use > 0 && sum > max_use) in vacuum_necessary() [all …]
|
D | coredump-vacuum.h | 7 int coredump_vacuum(int exclude_fd, uint64_t keep_free, uint64_t max_use);
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-vacuum.c | 119 uint64_t max_use, in journal_directory_vacuum() argument 134 if (max_use <= 0 && max_retention_usec <= 0 && n_max_files <= 0) in journal_directory_vacuum() 286 (max_use <= 0 || sum <= max_use) && in journal_directory_vacuum()
|
D | journal-vacuum.h | 9 int journal_directory_vacuum(const char *directory, uint64_t max_use, uint64_t n_max_files, usec_t …
|
D | journal-file.c | 3356 if (m->max_use == UINT64_MAX) { in journal_default_metrics() 3359 m->max_use = CLAMP(PAGE_ALIGN(fs_size / 10), /* 10% of file system size */ in journal_default_metrics() 3362 m->max_use = MAX_USE_LOWER; in journal_default_metrics() 3364 m->max_use = PAGE_ALIGN(m->max_use); in journal_default_metrics() 3366 if (m->max_use != 0 && m->max_use < JOURNAL_FILE_SIZE_MIN*2) in journal_default_metrics() 3367 m->max_use = JOURNAL_FILE_SIZE_MIN*2; in journal_default_metrics() 3378 if (m->min_use > m->max_use) in journal_default_metrics() 3379 m->min_use = m->max_use; in journal_default_metrics() 3382 m->max_size = MIN(PAGE_ALIGN(m->max_use / 8), /* 8 chunks */ in journal_default_metrics() 3391 if (m->max_use != 0 && m->max_size*2 > m->max_use) in journal_default_metrics() [all …]
|
D | journal-file.h | 26 … uint64_t max_use; /* how much disk space to use in total at max, keep_free permitting */ member
|
/systemd-251/src/journal/ |
D | journald-gperf.gperf | 32 …al.SystemMaxUse, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_use) 36 …l.RuntimeMaxUse, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_use)
|
D | journald-server.c | 160 space->limit = CLAMP(vfs_used + avail, metrics->min_use, metrics->max_use); in cache_space_refresh() 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()
|