Searched refs:max_use (Results 1 - 7 of 7) sorted by relevance
/systemd/src/coredump/ |
H A D | coredump-vacuum.h | 25 int coredump_vacuum(int exclude_fd, uint64_t keep_free, uint64_t max_use);
|
H A D | coredump-vacuum.c | 87 static bool vacuum_necessary(int fd, uint64_t sum, uint64_t keep_free, uint64_t max_use) { argument 98 if (max_use == (uint64_t) -1) { 101 max_use = PAGE_ALIGN(fs_size / 10); /* 10% */ 103 if (max_use > DEFAULT_MAX_USE_UPPER) 104 max_use = DEFAULT_MAX_USE_UPPER; 106 if (max_use < DEFAULT_MAX_USE_LOWER) 107 max_use = DEFAULT_MAX_USE_LOWER; 109 max_use = DEFAULT_MAX_USE_LOWER; 111 max_use = PAGE_ALIGN(max_use); 134 coredump_vacuum(int exclude_fd, uint64_t keep_free, uint64_t max_use) argument [all...] |
/systemd/src/journal/ |
H A D | journal-vacuum.h | 27 int journal_directory_vacuum(const char *directory, uint64_t max_use, uint64_t n_max_files, usec_t max_retention_usec, usec_t *oldest_usec, bool verbose);
|
H A D | journal-vacuum.c | 147 uint64_t max_use, 165 if (max_use <= 0 && max_retention_usec <= 0 && n_max_files <= 0) 319 (max_use <= 0 || sum <= max_use) && 145 journal_directory_vacuum( const char *directory, uint64_t max_use, uint64_t n_max_files, usec_t max_retention_usec, usec_t *oldest_usec, bool verbose) argument
|
H A D | journal-file.c | 52 /* These are the lower and upper bounds if we deduce the max_use value 60 /* This is the upper bound if we deduce max_size from max_use */ 3103 .max_use = (uint64_t) -1, 3126 if (m->max_use == (uint64_t) -1) { 3129 m->max_use = PAGE_ALIGN(fs_size / 10); /* 10% of file system size */ 3131 if (m->max_use > DEFAULT_MAX_USE_UPPER) 3132 m->max_use = DEFAULT_MAX_USE_UPPER; 3134 if (m->max_use < DEFAULT_MAX_USE_LOWER) 3135 m->max_use = DEFAULT_MAX_USE_LOWER; 3137 m->max_use [all...] |
H A D | journal-file.h | 41 uint64_t max_use; /* how much disk space to use in total at max, keep_free permitting */ member in struct:JournalMetrics
|
H A D | journald-server.c | 161 s->cached_space_limit = MIN(MAX(sum + avail, metrics->min_use), metrics->max_use); 169 format_bytes(fb2, sizeof(fb2), metrics->max_use); 182 "MAX_USE=%"PRIu64, metrics->max_use, 418 limit = metrics->max_use;
|
Completed in 27 milliseconds