Lines Matching refs:memory_chunk
88 struct mem_chunk __initdata memory_chunk[MEMORY_CHUNKS]; variable
463 if (!memory_chunk[i].size) in setup_resources()
467 switch (memory_chunk[i].type) { in setup_resources()
478 res->start = memory_chunk[i].addr; in setup_resources()
479 res->end = res->start + memory_chunk[i].size - 1; in setup_resources()
530 chunk = &memory_chunk[i]; in setup_memory_end()
543 struct mem_chunk *chunk = &memory_chunk[i]; in setup_memory_end()
616 for (i = 0; i < MEMORY_CHUNKS && memory_chunk[i].size > 0; i++) { in setup_memory()
619 if (memory_chunk[i].type != CHUNK_READ_WRITE) in setup_memory()
621 start_chunk = PFN_DOWN(memory_chunk[i].addr); in setup_memory()
622 end_chunk = start_chunk + PFN_DOWN(memory_chunk[i].size); in setup_memory()