Home
last modified time | relevance | path

Searched refs:meminfo (Results 1 – 7 of 7) 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
64 struct meminfo *mi = &meminfo; in show_mem()
107 struct meminfo *mi = &meminfo; in find_limits()
242 void __init uc32_memblock_init(struct meminfo *mi) in uc32_memblock_init()
246 sort(&meminfo.bank, meminfo.nr_banks, sizeof(meminfo.bank[0]), in uc32_memblock_init()
346 static void __init free_unused_memmap(struct meminfo *mi) in free_unused_memmap()
385 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()
/arch/xtensa/include/asm/
Dsysmem.h16 struct meminfo { struct
28 struct meminfo bank[SYSMEM_BANKS_MAX]; argument
/arch/xtensa/mm/
Dinit.c50 static inline struct meminfo * __init find_bank(unsigned long start) in find_bank()
53 struct meminfo *it = NULL; in find_bank()
70 static int __init move_banks(struct meminfo *to, struct meminfo *from) in move_banks()
77 memmove(to, from, n * sizeof(struct meminfo)); in move_banks()
91 struct meminfo *it = NULL; in add_sysmem_bank()
172 struct meminfo *it; in mem_reserve()
173 struct meminfo *rm = NULL; in mem_reserve()
/arch/arm/mm/
Dnommu.c264 ilog2(meminfo.bank[0].size), in mpu_setup()