Searched refs:linear_sz (Results 1 – 2 of 2) sorted by relevance
293 unsigned long ram, linear_sz; in kaslr_choose_location() local318 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()
760 unsigned long linear_sz; in setup_initial_memory_limit() local766 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()