Home
last modified time | relevance | path

Searched refs:pageblock_nr_pages (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/include/linux/
Dpageblock-flags.h55 #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)
Dcma.h24 #define CMA_MIN_ALIGNMENT_PAGES pageblock_nr_pages
/linux-6.6.21/mm/
Dpage_isolation.c318 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 …]
Dcompaction.c396 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()
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()
1667 block_end_pfn = min(block_start_pfn + pageblock_nr_pages, in isolate_freepages()
1679 block_start_pfn -= pageblock_nr_pages, in isolate_freepages()
1687 if (!(block_start_pfn % (COMPACT_CLUSTER_MAX * pageblock_nr_pages))) in isolate_freepages()
1717 pageblock_nr_pages); in isolate_freepages()
[all …]
Dmm_init.c1431 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()
Dpage_alloc.c1685 pageblock_page += pageblock_nr_pages; in change_pageblock_range()
1734 if ((pageblock_nr_pages * 4) > zone_managed_pages(zone)) in boost_watermark()
1751 max_boost = max(pageblock_nr_pages, max_boost); in boost_watermark()
1753 zone->watermark_boost = min(zone->watermark_boost + pageblock_nr_pages, in boost_watermark()
1823 alike_pages = pageblock_nr_pages in steal_suitable_fallback()
1889 max_managed = (zone_managed_pages(zone) / 100) + pageblock_nr_pages; in reserve_highatomic_pageblock()
1903 zone->nr_reserved_highatomic += pageblock_nr_pages; in reserve_highatomic_pageblock()
1939 pageblock_nr_pages) in unreserve_highatomic_pageblock()
1966 pageblock_nr_pages, in unreserve_highatomic_pageblock()
2571 for (; page < endpage; page += pageblock_nr_pages) { in __isolate_free_page()
[all …]
Dcma.c120 pfn += pageblock_nr_pages) in cma_activate_area()
Dmemory_hotplug.c1175 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()
Dvmstat.c1559 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()
Dkhugepaged.c2596 recommended_min = pageblock_nr_pages * nr_zones * 2; in set_recommended_min_free_kbytes()
2604 recommended_min += pageblock_nr_pages * nr_zones * in set_recommended_min_free_kbytes()
/linux-6.6.21/tools/testing/memblock/linux/
Dmmzone.h24 #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)
/linux-6.6.21/arch/arm/mm/
Dinit.c128 unsigned long pageblock_size = PAGE_SIZE * pageblock_nr_pages; in pfn_valid()
/linux-6.6.21/drivers/virtio/
Dvirtio_mem.c2536 sb_size = PAGE_SIZE * pageblock_nr_pages; in virtio_mem_init_hotplug()