Home
last modified time | relevance | path

Searched refs:free_pfn (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/m32r/mm/
Ddiscontig.c31 unsigned long free_pfn; member
40 unsigned long start_pfn, holes, free_pfn; in mem_prof_init() local
50 mp->free_pfn = PFN_UP(__pa(_end)); in mem_prof_init()
54 start_pfn = free_pfn = PFN_UP(CONFIG_IRAM_START); in mem_prof_init()
62 holes = free_pfn - start_pfn; in mem_prof_init()
68 mp->free_pfn = PFN_UP(CONFIG_IRAM_START); in mem_prof_init()
89 bootmap_size = init_bootmem_node(NODE_DATA(nid), mp->free_pfn, in setup_memory()
96 PFN_PHYS(mp->free_pfn - mp->start_pfn) + bootmap_size, in setup_memory()
/linux-3.4.99/arch/mn10300/kernel/
Dsetup.c123 unsigned long kstart_pfn, start_pfn, free_pfn, end_pfn; in setup_arch() local
142 free_pfn = PFN_UP(__pa(&_end)); in setup_arch()
146 free_pfn, in setup_arch()
154 free_bootmem(PFN_PHYS(free_pfn), in setup_arch()
155 PFN_PHYS(end_pfn - free_pfn)); in setup_arch()
164 reserve_bootmem(PAGE_ALIGN(PFN_PHYS(free_pfn)), bootmap_size, in setup_arch()
/linux-3.4.99/mm/
Dcompaction.c34 unsigned long free_pfn; /* isolate_freepages search base */ member
148 pfn = cc->free_pfn; in isolate_freepages()
214 cc->free_pfn = high_pfn; in isolate_freepages()
273 if (end_pfn > cc->free_pfn || !pfn_valid(low_pfn)) { in isolate_migratepages()
462 if (cc->free_pfn <= cc->migrate_pfn) in compact_finished()
560 cc->free_pfn = cc->migrate_pfn + zone->spanned_pages; in compact_zone()
561 cc->free_pfn &= ~(pageblock_nr_pages-1); in compact_zone()