• Home
  • Raw
  • Download

Lines Matching refs:max

2515 	return max(size, 4UL);  in wait_table_hash_nr_entries()
2744 pcp->batch = max(1UL, 1 * batch); in setup_pageset()
2760 pcp->batch = max(1UL, high/4); in setup_pagelist_highmark()
3190 *end_pfn = max(*end_pfn, early_node_map[i].end_pfn); in get_pfn_range_for_nid()
3282 zone_start_pfn = max(zone_start_pfn, node_start_pfn); in zone_spanned_pages_in_node()
3320 prev_end_pfn = max(prev_end_pfn, range_start_pfn); in __absent_pages_in_range()
3333 max(range_start_pfn, prev_end_pfn); in __absent_pages_in_range()
3360 zone_start_pfn = max(arch_zone_lowest_possible_pfn[zone_type], in zone_absent_pages_in_node()
3915 required_kernelcore = max(required_kernelcore, corepages); in find_zone_movable_pfns_for_nodes()
3950 start_pfn = max(early_node_map[i].start_pfn, in find_zone_movable_pfns_for_nodes()
4069 max(max_zone_pfn[i], arch_zone_lowest_possible_pfn[i]); in free_area_init_nodes()
4229 unsigned long max = 0; in calculate_totalreserve_pages() local
4233 if (zone->lowmem_reserve[j] > max) in calculate_totalreserve_pages()
4234 max = zone->lowmem_reserve[j]; in calculate_totalreserve_pages()
4238 max += zone->pages_high; in calculate_totalreserve_pages()
4240 if (max > zone->present_pages) in calculate_totalreserve_pages()
4241 max = zone->present_pages; in calculate_totalreserve_pages()
4242 reserve_pages += max; in calculate_totalreserve_pages()
4549 unsigned long long max = limit; in alloc_large_system_hash() local
4574 if (max == 0) { in alloc_large_system_hash()
4575 max = ((unsigned long long)nr_all_pages << PAGE_SHIFT) >> 4; in alloc_large_system_hash()
4576 do_div(max, bucketsize); in alloc_large_system_hash()
4579 if (numentries > max) in alloc_large_system_hash()
4580 numentries = max; in alloc_large_system_hash()