Lines Matching refs:mem_alloc_size
968 uint64_t mem_alloc_size; in plat_mem_setup() local
987 mem_alloc_size = 4 << 20; in plat_mem_setup()
988 if (mem_alloc_size > max_memory) in plat_mem_setup()
989 mem_alloc_size = max_memory; in plat_mem_setup()
1010 memory = cvmx_bootmem_phy_alloc(mem_alloc_size, in plat_mem_setup()
1015 u64 size = mem_alloc_size; in plat_mem_setup()
1032 end = memory + mem_alloc_size; in plat_mem_setup()
1065 mem_alloc_size -= crashk_end - memory; in plat_mem_setup()
1073 mem_alloc_size -= end - crashk_base; in plat_mem_setup()
1075 add_memory_region(memory, mem_alloc_size, BOOT_MEM_RAM); in plat_mem_setup()
1076 total += mem_alloc_size; in plat_mem_setup()
1078 mem_alloc_size = 4 << 20; in plat_mem_setup()