Searched refs:linear_sz (Results 1 – 2 of 2) sorted by relevance
287 unsigned long ram, linear_sz; in kaslr_choose_location() local312 linear_sz = min_t(unsigned long, ram, SZ_512M); in kaslr_choose_location()315 if (linear_sz < SZ_64M) in kaslr_choose_location()326 regions.pa_end = memstart_addr + linear_sz; in kaslr_choose_location()339 index %= linear_sz / SZ_64M; in kaslr_choose_location()
303 unsigned long linear_sz; in setup_initial_memory_limit() local309 linear_sz = map_mem_in_cams(first_memblock_size, num_cams, true, true); in setup_initial_memory_limit()310 ppc64_rma_size = min_t(u64, linear_sz, 0x40000000); in setup_initial_memory_limit()