Searched refs:max_low (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/unicore32/mm/
H A Dinit.c104 static void __init find_limits(unsigned long *min, unsigned long *max_low, find_limits() argument
111 *max_low = *max_high = 0; find_limits()
126 if (*max_low < end) for_each_bank()
127 *max_low = end; for_each_bank()
183 static void __init uc32_bootmem_free(unsigned long min, unsigned long max_low, uc32_bootmem_free() argument
199 zone_size[0] = max_low - min; uc32_bootmem_free()
210 if (start < max_low) { for_each_memblock()
211 unsigned long low_end = min(end, max_low); for_each_memblock()
273 unsigned long min, max_low, max_high; bootmem_init() local
275 max_low = max_high = 0; bootmem_init()
277 find_limits(&min, &max_low, &max_high); bootmem_init()
279 uc32_bootmem_init(min, max_low); bootmem_init()
300 uc32_bootmem_free(min, max_low, max_high); bootmem_init()
302 high_memory = __va((max_low << PAGE_SHIFT) - 1) + 1; bootmem_init()
312 max_low_pfn = max_low - PHYS_PFN_OFFSET; bootmem_init()
/linux-4.1.27/arch/arm/mm/
H A Dinit.c89 static void __init find_limits(unsigned long *min, unsigned long *max_low, find_limits() argument
92 *max_low = PFN_DOWN(memblock_get_current_limit()); find_limits()
136 static void __init zone_sizes_init(unsigned long min, unsigned long max_low, zone_sizes_init() argument
152 zone_size[0] = max_low - min; zone_sizes_init()
154 zone_size[ZONE_HIGHMEM] = max_high - max_low; zone_sizes_init()
166 if (start < max_low) { for_each_memblock()
167 unsigned long low_end = min(end, max_low); for_each_memblock()
171 if (end > max_low) { for_each_memblock()
172 unsigned long high_start = max(start, max_low); for_each_memblock()
282 unsigned long min, max_low, max_high; bootmem_init() local
285 max_low = max_high = 0; bootmem_init()
287 find_limits(&min, &max_low, &max_high); bootmem_init()
290 (phys_addr_t)max_low << PAGE_SHIFT); bootmem_init()
308 zone_sizes_init(min, max_low, max_high); bootmem_init()
316 max_low_pfn = max_low; bootmem_init()
422 unsigned long max_low = max_low_pfn; free_highpages() local
431 if (end <= max_low) for_each_memblock()
435 if (start < max_low) for_each_memblock()
436 start = max_low; for_each_memblock()

Completed in 151 milliseconds