Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/cavium-octeon/
Dsetup.c968 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()
[all …]