Lines Matching refs:max
2614 max_boost = max(pageblock_nr_pages, max_boost); in boost_watermark()
6667 pageset_update(&p->pcp, 6 * batch, max(1UL, 1 * batch)); in pageset_set_batch()
6695 unsigned long batch = max(1UL, high / 4); in pageset_set_high()
6820 *end_pfn = max(*end_pfn, this_end_pfn); in get_pfn_range_for_nid()
6915 *zone_start_pfn = max(*zone_start_pfn, node_start_pfn); in zone_spanned_pages_in_node()
7574 required_kernelcore = max(required_kernelcore, corepages); in find_zone_movable_pfns_for_nodes()
7612 start_pfn = max(start_pfn, zone_movable_pfn[nid]); in find_zone_movable_pfns_for_nodes()
7756 end_pfn = max(max_zone_pfn[zone], start_pfn); in free_area_init()
8073 long max = 0; in calculate_totalreserve_pages() local
8078 if (zone->lowmem_reserve[j] > max) in calculate_totalreserve_pages()
8079 max = zone->lowmem_reserve[j]; in calculate_totalreserve_pages()
8083 max += high_wmark_pages(zone); in calculate_totalreserve_pages()
8085 if (max > managed_pages) in calculate_totalreserve_pages()
8086 max = managed_pages; in calculate_totalreserve_pages()
8088 pgdat->totalreserve_pages += max; in calculate_totalreserve_pages()
8090 reserve_pages += max; in calculate_totalreserve_pages()
8476 unsigned long long max = high_limit; in alloc_large_system_hash() local
8522 if (max == 0) { in alloc_large_system_hash()
8523 max = ((unsigned long long)nr_all_pages << PAGE_SHIFT) >> 4; in alloc_large_system_hash()
8524 do_div(max, bucketsize); in alloc_large_system_hash()
8526 max = min(max, 0x80000000ULL); in alloc_large_system_hash()
8530 if (numentries > max) in alloc_large_system_hash()
8531 numentries = max; in alloc_large_system_hash()