Home
last modified time | relevance | path

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

/arch/unicore32/include/asm/
Dmemblock.h27 struct meminfo { struct
32 extern struct meminfo meminfo; argument
44 extern void uc32_memblock_init(struct meminfo *);
/arch/unicore32/mm/
Dinit.c58 struct meminfo meminfo; variable
63 struct meminfo *mi = &meminfo; in find_limits()
198 void __init uc32_memblock_init(struct meminfo *mi) in uc32_memblock_init()
202 sort(&meminfo.bank, meminfo.nr_banks, sizeof(meminfo.bank[0]), in uc32_memblock_init()
302 static void __init free_unused_memmap(struct meminfo *mi) in free_unused_memmap()
341 free_unused_memmap(&meminfo); in mem_init()
Dmmu.c292 for (i = 0, j = 0; i < meminfo.nr_banks; i++) { in sanity_check_meminfo()
293 struct membank *bank = &meminfo.bank[j]; in sanity_check_meminfo()
294 *bank = meminfo.bank[i]; in sanity_check_meminfo()
297 meminfo.nr_banks = j; in sanity_check_meminfo()
/arch/unicore32/kernel/
Dsetup.c136 struct membank *bank = &meminfo.bank[meminfo.nr_banks]; in uc32_add_memory()
138 if (meminfo.nr_banks >= NR_BANKS) { in uc32_add_memory()
160 meminfo.nr_banks++; in uc32_add_memory()
181 meminfo.nr_banks = 0; in early_mem()
196 request_standard_resources(struct meminfo *mi) in request_standard_resources()
258 uc32_memblock_init(&meminfo); in setup_arch()
261 request_standard_resources(&meminfo); in setup_arch()