Lines Matching refs:max_size
60 /* This is the upper bound if we deduce max_size from max_use */
417 if (f->metrics.max_size > 0 && new_size > f->metrics.max_size)
435 if (f->metrics.max_size > 0 && new_size > f->metrics.max_size)
436 new_size = f->metrics.max_size;
635 s = (f->metrics.max_size * 4 / 768 / 3) * sizeof(HashItem);
3105 .max_size = (uint64_t) -1,
3151 if (m->max_size == (uint64_t) -1) {
3152 m->max_size = PAGE_ALIGN(m->max_use / 8); /* 8 chunks */
3154 if (m->max_size > DEFAULT_MAX_SIZE_UPPER)
3155 m->max_size = DEFAULT_MAX_SIZE_UPPER;
3157 m->max_size = PAGE_ALIGN(m->max_size);
3159 if (m->max_size != 0) {
3160 if (m->max_size < JOURNAL_FILE_SIZE_MIN)
3161 m->max_size = JOURNAL_FILE_SIZE_MIN;
3163 if (m->max_use != 0 && m->max_size*2 > m->max_use)
3164 m->max_use = m->max_size*2;
3175 if (m->max_size != 0 && m->min_size > m->max_size)
3176 m->max_size = m->min_size;
3194 log_debug("Fixed min_use=%s max_use=%s max_size=%s min_size=%s keep_free=%s n_max_files=%" PRIu64,
3197 format_bytes(c, sizeof(c), m->max_size),