Searched refs:pageblock_nr_pages (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | pageblock-flags.h | 55 #define pageblock_nr_pages (1UL << pageblock_order) macro 56 #define pageblock_align(pfn) ALIGN((pfn), pageblock_nr_pages) 57 #define pageblock_aligned(pfn) IS_ALIGNED((pfn), pageblock_nr_pages) 58 #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages) 59 #define pageblock_end_pfn(pfn) ALIGN((pfn) + 1, pageblock_nr_pages)
|
H A D | cma.h | 24 #define CMA_MIN_ALIGNMENT_PAGES pageblock_nr_pages
|
/openbmc/linux/mm/ |
H A D | page_isolation.c | 318 isolate_pageblock = boundary_pfn - pageblock_nr_pages; in isolate_single_pageblock() 338 flags, isolate_pageblock, isolate_pageblock + pageblock_nr_pages); in isolate_single_pageblock() 545 if (isolate_start == isolate_end - pageblock_nr_pages) in start_isolate_page_range() 557 for (pfn = isolate_start + pageblock_nr_pages; in start_isolate_page_range() 558 pfn < isolate_end - pageblock_nr_pages; in start_isolate_page_range() 559 pfn += pageblock_nr_pages) { in start_isolate_page_range() 560 page = __first_valid_page(pfn, pageblock_nr_pages); in start_isolate_page_range() 565 pfn_to_page(isolate_end - pageblock_nr_pages), in start_isolate_page_range() 592 pfn += pageblock_nr_pages) { in undo_isolate_page_range() 593 page = __first_valid_page(pfn, pageblock_nr_pages); in undo_isolate_page_range() [all …]
|
H A D | compaction.c | 396 for (; migrate_pfn < free_pfn; migrate_pfn += pageblock_nr_pages, in __reset_isolation_suitable() 397 free_pfn -= pageblock_nr_pages) { in __reset_isolation_suitable() 736 block_end_pfn += pageblock_nr_pages) { in isolate_freepages_range() 769 * pageblock_nr_pages for some non-negative n. (Max order in isolate_freepages_range() 1301 block_end_pfn += pageblock_nr_pages) { in isolate_migratepages_range() 1488 limit = pageblock_nr_pages >> 1; in fast_isolate_freepages() 1622 highest -= pageblock_nr_pages; in fast_isolate_freepages() 1659 * block_start_pfn -= pageblock_nr_pages in the for loop. in isolate_freepages() 1667 block_end_pfn = min(block_start_pfn + pageblock_nr_pages, in isolate_freepages() 1679 block_start_pfn -= pageblock_nr_pages, in isolate_freepages() [all...] |
H A D | mm_init.c | 1431 zonesize += zone_start_pfn & (pageblock_nr_pages-1); in usemap_size() 1432 usemapsize = roundup(zonesize, pageblock_nr_pages); in usemap_size() 1982 for (i = 0; i < nr_pages; i += pageblock_nr_pages) in deferred_free_range() 2342 unsigned i = pageblock_nr_pages; in init_cma_reserved_pageblock() 2354 adjust_managed_page_count(page, pageblock_nr_pages); in init_cma_reserved_pageblock() 2355 page_zone(page)->cma_pages += pageblock_nr_pages; in init_cma_reserved_pageblock() 2367 block_end_pfn += pageblock_nr_pages) { in set_zone_contiguous()
|
H A D | page_alloc.c | 364 * get_pfnblock_flags_mask - Return the requested group of flags for the pageblock_nr_pages block of pages 398 * set_pfnblock_flags_mask - Set the requested group of flags for a pageblock_nr_pages block of pages 1704 pageblock_page += pageblock_nr_pages; in change_pageblock_range() 1753 if ((pageblock_nr_pages * 4) > zone_managed_pages(zone)) in boost_watermark() 1762 * through and boost by pageblock_nr_pages as failing in boost_watermark() 1770 max_boost = max(pageblock_nr_pages, max_boost); in boost_watermark() 1772 zone->watermark_boost = min(zone->watermark_boost + pageblock_nr_pages, in boost_watermark() 1842 alike_pages = pageblock_nr_pages in steal_suitable_fallback() 1908 max_managed = (zone_managed_pages(zone) / 100) + pageblock_nr_pages; in reserve_highatomic_pageblock() 1922 zone->nr_reserved_highatomic += pageblock_nr_pages; in reserve_highatomic_pageblock() [all...] |
H A D | cma.c | 120 pfn += pageblock_nr_pages) in cma_activate_area()
|
H A D | vmstat.c | 1559 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) { in pagetypeinfo_showblockcount_print() 1635 seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages); in pagetypeinfo_show()
|
H A D | memory_hotplug.c | 1175 zone->nr_isolate_pageblock += nr_pages / pageblock_nr_pages; in online_pages() 2005 zone->nr_isolate_pageblock -= nr_pages / pageblock_nr_pages; in offline_pages()
|
H A D | khugepaged.c | 2591 recommended_min = pageblock_nr_pages * nr_zones * 2; in set_recommended_min_free_kbytes() 2599 recommended_min += pageblock_nr_pages * nr_zones * in set_recommended_min_free_kbytes()
|
/openbmc/linux/tools/testing/memblock/linux/ |
H A D | mmzone.h | 24 #define pageblock_nr_pages BIT(pageblock_order) macro 25 #define pageblock_align(pfn) ALIGN((pfn), pageblock_nr_pages) 26 #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
|
/openbmc/linux/arch/arm/mm/ |
H A D | init.c | 128 unsigned long pageblock_size = PAGE_SIZE * pageblock_nr_pages; in pfn_valid()
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_mem.c | 2536 sb_size = PAGE_SIZE * pageblock_nr_pages; in virtio_mem_init_hotplug()
|