Lines Matching refs:memsize
165 phys_addr_t memsize = 0; in get_memsize() local
176 memsize = memparse(ptr + 8, &ptr); in get_memsize()
183 memsize = simple_strtol(memsize_str, NULL, 0); in get_memsize()
186 if (memsize == 0) { in get_memsize()
188 memsize = _prom_memsize; in get_memsize()
189 pr_info("_prom_memsize = 0x%x\n", memsize); in get_memsize()
192 memsize += BLDR_SIZE; in get_memsize()
194 memsize = DEFAULT_MEMSIZE; in get_memsize()
196 "defaulting to 0x%x\n", memsize); in get_memsize()
201 return memsize; in get_memsize()
298 static __init void register_address_space(phys_addr_t memsize) in register_address_space() argument
328 for (i = 0; memsize != 0 && i < n; i++) { in register_address_space()
329 size = min(memsize, layout[i].size); in register_address_space()
331 memsize -= size; in register_address_space()