Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dpage_isolation.c40 VM_BUG_ON(ALIGN_DOWN(start_pfn, pageblock_nr_pages) != in has_unmovable_pages()
41 ALIGN_DOWN(end_pfn - 1, pageblock_nr_pages)); in has_unmovable_pages()
175 check_unmovable_end = min(ALIGN(page_to_pfn(page) + 1, pageblock_nr_pages), in set_migratetype_isolate()
314 VM_BUG_ON(!IS_ALIGNED(boundary_pfn, pageblock_nr_pages)); in isolate_single_pageblock()
317 isolate_pageblock = boundary_pfn - pageblock_nr_pages; in isolate_single_pageblock()
337 isolate_pageblock, isolate_pageblock + pageblock_nr_pages); in isolate_single_pageblock()
534 unsigned long isolate_start = ALIGN_DOWN(start_pfn, pageblock_nr_pages); in start_isolate_page_range()
535 unsigned long isolate_end = ALIGN(end_pfn, pageblock_nr_pages); in start_isolate_page_range()
544 if (isolate_start == isolate_end - pageblock_nr_pages) in start_isolate_page_range()
555 for (pfn = isolate_start + pageblock_nr_pages; in start_isolate_page_range()
[all …]
Dcompaction.c350 for (; migrate_pfn < free_pfn; migrate_pfn += pageblock_nr_pages, in __reset_isolation_suitable()
351 free_pfn -= pageblock_nr_pages) { in __reset_isolation_suitable()
410 if (!IS_ALIGNED(pfn, pageblock_nr_pages)) in test_and_set_skip()
699 block_end_pfn += pageblock_nr_pages) { in isolate_freepages_range()
891 if (!valid_page && IS_ALIGNED(low_pfn, pageblock_nr_pages)) { in isolate_migratepages_block()
1228 block_end_pfn += pageblock_nr_pages) { in isolate_migratepages_range()
1426 limit = pageblock_nr_pages >> 1; in fast_isolate_freepages()
1551 highest -= pageblock_nr_pages; in fast_isolate_freepages()
1597 block_end_pfn = min(block_start_pfn + pageblock_nr_pages, in isolate_freepages()
1609 block_start_pfn -= pageblock_nr_pages, in isolate_freepages()
[all …]
Dpage_alloc.c467 pfn = pfn - round_down(page_zone(page)->zone_start_pfn, pageblock_nr_pages); in pfn_to_bitidx()
1779 block_end_pfn = ALIGN(block_start_pfn + 1, pageblock_nr_pages); in set_zone_contiguous()
1782 block_end_pfn += pageblock_nr_pages) { in set_zone_contiguous()
1814 if (nr_pages == pageblock_nr_pages && in deferred_free_range()
1815 (pfn & (pageblock_nr_pages - 1)) == 0) { in deferred_free_range()
1822 if ((pfn & (pageblock_nr_pages - 1)) == 0) in deferred_free_range()
1850 if (!(pfn & (pageblock_nr_pages - 1)) && !pfn_valid(pfn)) in deferred_pfn_valid()
1862 unsigned long nr_pgmask = pageblock_nr_pages - 1; in deferred_free_pages()
1889 unsigned long nr_pgmask = pageblock_nr_pages - 1; in deferred_init_pages()
2230 unsigned i = pageblock_nr_pages; in init_cma_reserved_pageblock()
[all …]
Dmemory_hotplug.c1090 !IS_ALIGNED(pfn, pageblock_nr_pages) || in online_pages()
1113 zone->nr_isolate_pageblock += nr_pages / pageblock_nr_pages; in online_pages()
1312 IS_ALIGNED(remaining_size, (pageblock_nr_pages << PAGE_SHIFT)); in mhp_supports_memmap_on_memory()
1811 !IS_ALIGNED(start_pfn, pageblock_nr_pages) || in offline_pages()
1924 zone->nr_isolate_pageblock -= nr_pages / pageblock_nr_pages; in offline_pages()
Dpage_owner.c286 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in pagetypeinfo_showmixedcount_print()
592 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in init_pages_in_zone()
Dmemblock.c1985 start = round_down(start, pageblock_nr_pages); in free_unused_memmap()
1999 prev_end = ALIGN(end, pageblock_nr_pages); in free_unused_memmap()
2004 prev_end = ALIGN(end, pageblock_nr_pages); in free_unused_memmap()
Dcma.c119 pfn += pageblock_nr_pages) in cma_activate_area()
Dvmstat.c1555 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) { in pagetypeinfo_showblockcount_print()
1631 seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages); in pagetypeinfo_show()
Dkhugepaged.c2332 recommended_min = pageblock_nr_pages * nr_zones * 2; in set_recommended_min_free_kbytes()
2340 recommended_min += pageblock_nr_pages * nr_zones * in set_recommended_min_free_kbytes()
/linux-5.19.10/tools/testing/memblock/linux/
Dmmzone.h24 #define pageblock_nr_pages BIT(pageblock_order) macro
/linux-5.19.10/include/linux/
Dpageblock-flags.h55 #define pageblock_nr_pages (1UL << pageblock_order) macro
Dcma.h24 #define CMA_MIN_ALIGNMENT_PAGES pageblock_nr_pages
/linux-5.19.10/arch/arm/mm/
Dinit.c128 unsigned long pageblock_size = PAGE_SIZE * pageblock_nr_pages; in pfn_valid()
/linux-5.19.10/drivers/virtio/
Dvirtio_mem.c2482 sb_size = PAGE_SIZE * pageblock_nr_pages; in virtio_mem_init_hotplug()