Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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)
A Dcma.h24 #define CMA_MIN_ALIGNMENT_PAGES pageblock_nr_pages
/linux-6.3-rc2/mm/
A Dpage_isolation.c318 isolate_pageblock = boundary_pfn - 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()
648 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) { in test_pages_isolated()
[all …]
A Dcompaction.c344 for (; migrate_pfn < free_pfn; migrate_pfn += pageblock_nr_pages, in __reset_isolation_suitable()
345 free_pfn -= pageblock_nr_pages) { in __reset_isolation_suitable()
694 block_end_pfn += pageblock_nr_pages) { in isolate_freepages_range()
1225 block_end_pfn += pageblock_nr_pages) { in isolate_migratepages_range()
1415 limit = pageblock_nr_pages >> 1; in fast_isolate_freepages()
1541 highest -= pageblock_nr_pages; in fast_isolate_freepages()
1587 block_end_pfn = min(block_start_pfn + pageblock_nr_pages, in isolate_freepages()
1599 block_start_pfn -= pageblock_nr_pages, in isolate_freepages()
1639 block_start_pfn - pageblock_nr_pages; in isolate_freepages()
1912 block_end_pfn += pageblock_nr_pages) { in isolate_migratepages()
[all …]
A Dpage_alloc.c1874 block_end_pfn += pageblock_nr_pages) { in set_zone_contiguous()
2315 unsigned i = pageblock_nr_pages; in init_cma_reserved_pageblock()
2327 adjust_managed_page_count(page, pageblock_nr_pages); in init_cma_reserved_pageblock()
2328 page_zone(page)->cma_pages += pageblock_nr_pages; in init_cma_reserved_pageblock()
2694 pageblock_page += pageblock_nr_pages; in change_pageblock_range()
2760 max_boost = max(pageblock_nr_pages, max_boost); in boost_watermark()
2828 alike_pages = pageblock_nr_pages in steal_suitable_fallback()
2914 zone->nr_reserved_highatomic += pageblock_nr_pages; in reserve_highatomic_pageblock()
2950 pageblock_nr_pages) in unreserve_highatomic_pageblock()
2977 pageblock_nr_pages, in unreserve_highatomic_pageblock()
[all …]
A 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()
1919 zone->nr_isolate_pageblock -= nr_pages / pageblock_nr_pages; in offline_pages()
A Dcma.c119 pfn += pageblock_nr_pages) in cma_activate_area()
A Dvmstat.c1550 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) { in pagetypeinfo_showblockcount_print()
1626 seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages); in pagetypeinfo_show()
A Dkhugepaged.c2543 recommended_min = pageblock_nr_pages * nr_zones * 2; in set_recommended_min_free_kbytes()
2551 recommended_min += pageblock_nr_pages * nr_zones * in set_recommended_min_free_kbytes()
/linux-6.3-rc2/tools/testing/memblock/linux/
A 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.3-rc2/arch/arm/mm/
A Dinit.c128 unsigned long pageblock_size = PAGE_SIZE * pageblock_nr_pages; in pfn_valid()
/linux-6.3-rc2/drivers/virtio/
A Dvirtio_mem.c2480 sb_size = PAGE_SIZE * pageblock_nr_pages; in virtio_mem_init_hotplug()

Completed in 49 milliseconds