Lines Matching refs:meminfo
51 extern void paging_init(struct meminfo *, struct machine_desc *desc);
54 extern void bootmem_init(struct meminfo *);
76 static struct meminfo meminfo __initdata = { 0, };
180 parse_cmdline(struct meminfo *mi, char **cmdline_p, char *from) in parse_cmdline()
268 request_standard_resources(struct meminfo *mi, struct machine_desc *mdesc) in request_standard_resources()
345 if (meminfo.nr_banks >= NR_BANKS) { in parse_tag_mem32()
351 meminfo.bank[meminfo.nr_banks].start = tag->u.mem.start; in parse_tag_mem32()
352 meminfo.bank[meminfo.nr_banks].size = tag->u.mem.size; in parse_tag_mem32()
353 meminfo.bank[meminfo.nr_banks].node = PHYS_TO_NID(tag->u.mem.start); in parse_tag_mem32()
354 meminfo.nr_banks += 1; in parse_tag_mem32()
512 &from, &meminfo); in setup_arch()
522 if (meminfo.nr_banks != 0) in setup_arch()
527 if (meminfo.nr_banks == 0) { in setup_arch()
528 meminfo.nr_banks = 1; in setup_arch()
529 meminfo.bank[0].start = PHYS_OFFSET; in setup_arch()
530 meminfo.bank[0].size = MEM_SIZE; in setup_arch()
540 parse_cmdline(&meminfo, cmdline_p, from); in setup_arch()
541 bootmem_init(&meminfo); in setup_arch()
542 paging_init(&meminfo, mdesc); in setup_arch()
543 request_standard_resources(&meminfo, mdesc); in setup_arch()