Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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()
546 if (isolate_start == isolate_end - pageblock_nr_pages) in start_isolate_page_range()
558 for (pfn = isolate_start + pageblock_nr_pages; in start_isolate_page_range()
559 pfn < isolate_end - pageblock_nr_pages; in start_isolate_page_range()
560 pfn += pageblock_nr_pages) { in start_isolate_page_range()
561 page = __first_valid_page(pfn, pageblock_nr_pages); in start_isolate_page_range()
566 pfn_to_page(isolate_end - pageblock_nr_pages), in start_isolate_page_range()
587 pfn += pageblock_nr_pages) { in undo_isolate_page_range()
588 page = __first_valid_page(pfn, pageblock_nr_pages); in undo_isolate_page_range()
[all …]
Dcompaction.c345 for (; migrate_pfn < free_pfn; migrate_pfn += pageblock_nr_pages, in __reset_isolation_suitable()
346 free_pfn -= pageblock_nr_pages) { in __reset_isolation_suitable()
695 block_end_pfn += pageblock_nr_pages) { in isolate_freepages_range()
1226 block_end_pfn += pageblock_nr_pages) { in isolate_migratepages_range()
1416 limit = pageblock_nr_pages >> 1; in fast_isolate_freepages()
1542 highest -= pageblock_nr_pages; in fast_isolate_freepages()
1588 block_end_pfn = min(block_start_pfn + pageblock_nr_pages, in isolate_freepages()
1600 block_start_pfn -= pageblock_nr_pages, in isolate_freepages()
1608 if (!(block_start_pfn % (COMPACT_CLUSTER_MAX * pageblock_nr_pages))) in isolate_freepages()
1640 block_start_pfn - pageblock_nr_pages; in isolate_freepages()
[all …]
Dpage_alloc.c1875 block_end_pfn += pageblock_nr_pages) { in set_zone_contiguous()
1907 if (nr_pages == pageblock_nr_pages && pageblock_aligned(pfn)) { in deferred_free_range()
2316 unsigned i = pageblock_nr_pages; in init_cma_reserved_pageblock()
2328 adjust_managed_page_count(page, pageblock_nr_pages); in init_cma_reserved_pageblock()
2329 page_zone(page)->cma_pages += pageblock_nr_pages; in init_cma_reserved_pageblock()
2681 pageblock_page += pageblock_nr_pages; in change_pageblock_range()
2730 if ((pageblock_nr_pages * 4) > zone_managed_pages(zone)) in boost_watermark()
2747 max_boost = max(pageblock_nr_pages, max_boost); in boost_watermark()
2749 zone->watermark_boost = min(zone->watermark_boost + pageblock_nr_pages, in boost_watermark()
2815 alike_pages = pageblock_nr_pages in steal_suitable_fallback()
[all …]
Dmemory_hotplug.c1111 zone->nr_isolate_pageblock += nr_pages / pageblock_nr_pages; in online_pages()
1310 IS_ALIGNED(remaining_size, (pageblock_nr_pages << PAGE_SHIFT)); in mhp_supports_memmap_on_memory()
1921 zone->nr_isolate_pageblock -= nr_pages / pageblock_nr_pages; in offline_pages()
Dcma.c119 pfn += pageblock_nr_pages) in cma_activate_area()
Dvmstat.c1547 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) { in pagetypeinfo_showblockcount_print()
1623 seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages); in pagetypeinfo_show()
Dkhugepaged.c2514 recommended_min = pageblock_nr_pages * nr_zones * 2; in set_recommended_min_free_kbytes()
2522 recommended_min += pageblock_nr_pages * nr_zones * in set_recommended_min_free_kbytes()
/linux-6.1.9/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.1.9/arch/arm/mm/
Dinit.c128 unsigned long pageblock_size = PAGE_SIZE * pageblock_nr_pages; in pfn_valid()
/linux-6.1.9/drivers/virtio/
Dvirtio_mem.c2480 sb_size = PAGE_SIZE * pageblock_nr_pages; in virtio_mem_init_hotplug()