Home
last modified time | relevance | path

Searched refs:linear_sz (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dkaslr_booke.c293 unsigned long ram, linear_sz; in kaslr_choose_location() local
318 linear_sz = min_t(unsigned long, ram, SZ_512M); in kaslr_choose_location()
321 if (linear_sz < SZ_64M) in kaslr_choose_location()
332 regions.pa_end = memstart_addr + linear_sz; in kaslr_choose_location()
345 index %= linear_sz / SZ_64M; in kaslr_choose_location()
Dtlb.c760 unsigned long linear_sz; in setup_initial_memory_limit() local
766 linear_sz = map_mem_in_cams(first_memblock_size, num_cams, in setup_initial_memory_limit()
769 ppc64_rma_size = min_t(u64, linear_sz, 0x40000000); in setup_initial_memory_limit()