Lines Matching defs:max
308 * for 128k (32 page) max ra
311 static unsigned long get_init_ra_size(unsigned long size, unsigned long max)
315 if (newsize <= max / 32)
317 else if (newsize <= max / 4)
320 newsize = max;
330 unsigned long max)
334 if (cur < max / 16)
336 if (cur <= max / 2)
338 return max;
381 * Count contiguously cached pages from @index-1 to @index-@max,
387 pgoff_t index, unsigned long max)
392 head = page_cache_prev_miss(mapping, index - 1, max);
405 unsigned long max)
409 size = count_history_pages(mapping, index, max);
426 ra->size = min(size + req_size, max);