Searched refs:memory_chunk (Results 1 – 8 of 8) sorted by relevance
182 static __init int node_read_chunk(int nid, struct node_memory_chunk_s *memory_chunk) in node_read_chunk() argument190 if (memory_chunk->start_pfn >= max_pfn) { in node_read_chunk()192 memory_chunk->start_pfn, memory_chunk->end_pfn); in node_read_chunk()195 if (memory_chunk->nid != nid) in node_read_chunk()199 node_start_pfn[nid] = memory_chunk->start_pfn; in node_read_chunk()201 if (node_start_pfn[nid] > memory_chunk->start_pfn) in node_read_chunk()202 node_start_pfn[nid] = memory_chunk->start_pfn; in node_read_chunk()204 if (node_end_pfn[nid] < memory_chunk->end_pfn) in node_read_chunk()205 node_end_pfn[nid] = memory_chunk->end_pfn; in node_read_chunk()
88 struct mem_chunk __initdata memory_chunk[MEMORY_CHUNKS]; variable463 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()[all …]
64 .Lmchunk:.long memory_chunk
485 detect_memory_layout(memory_chunk); in startup_init()
337 for (i = 0; i < MEMORY_CHUNKS && memory_chunk[i].size > 0; i++) { in vmem_map_init()338 start = memory_chunk[i].addr; in vmem_map_init()339 end = memory_chunk[i].addr + memory_chunk[i].size; in vmem_map_init()369 if (!memory_chunk[i].size) in vmem_convert_memory_chunk()374 seg->start = memory_chunk[i].addr; in vmem_convert_memory_chunk()375 seg->size = memory_chunk[i].size; in vmem_convert_memory_chunk()
45 extern struct mem_chunk memory_chunk[];
133 struct memory_chunk { struct
35 struct memory_chunk memory_pool[BLOCKS];