Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/mm/
Dhighmem_32.c77 unsigned long zone_start_pfn, zone_end_pfn; in set_highmem_pages_init() local
82 zone_start_pfn = zone->zone_start_pfn; in set_highmem_pages_init()
83 zone_end_pfn = zone_start_pfn + zone->spanned_pages; in set_highmem_pages_init()
87 zone->name, nid, zone_start_pfn, zone_end_pfn); in set_highmem_pages_init()
89 add_highpages_with_active_regions(nid, zone_start_pfn, in set_highmem_pages_init()
/Linux-v5.10/mm/
Dmemory_hotplug.c406 if (zone->zone_start_pfn == start_pfn) { in shrink_zone_span()
417 zone->zone_start_pfn = pfn; in shrink_zone_span()
419 zone->zone_start_pfn = 0; in shrink_zone_span()
429 pfn = find_biggest_section_pfn(nid, zone, zone->zone_start_pfn, in shrink_zone_span()
432 zone->spanned_pages = pfn - zone->zone_start_pfn + 1; in shrink_zone_span()
434 zone->zone_start_pfn = 0; in shrink_zone_span()
448 unsigned long zone_end_pfn = zone->zone_start_pfn + in update_pgdat_span()
455 node_start_pfn = zone->zone_start_pfn; in update_pgdat_span()
462 if (zone->zone_start_pfn < node_start_pfn) in update_pgdat_span()
463 node_start_pfn = zone->zone_start_pfn; in update_pgdat_span()
[all …]
Dshuffle.c84 unsigned long start_pfn = z->zone_start_pfn; in __shuffle_zone()
113 j = z->zone_start_pfn + in __shuffle_zone()
Dpage_alloc.c493 pfn = pfn - round_down(page_zone(page)->zone_start_pfn, pageblock_nr_pages); in pfn_to_bitidx()
592 start_pfn = zone->zone_start_pfn; in page_outside_zone_boundaries()
1471 if (pfn >= zone->zone_start_pfn && pfn < zone_end_pfn(zone)) in init_reserved_page()
1658 unsigned long block_start_pfn = zone->zone_start_pfn; in set_zone_contiguous()
3118 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in mark_free_pages()
6397 unsigned long zone_start_pfn, in init_currently_empty_zone() argument
6406 zone->zone_start_pfn = zone_start_pfn; in init_currently_empty_zone()
6412 zone_start_pfn, (zone_start_pfn + size)); in init_currently_empty_zone()
6482 unsigned long *zone_start_pfn, in adjust_zone_range_for_zone_movable() argument
6489 *zone_start_pfn = zone_movable_pfn[nid]; in adjust_zone_range_for_zone_movable()
[all …]
Dcompaction.c233 zone->compact_cached_migrate_pfn[0] = zone->zone_start_pfn; in reset_cached_positions()
234 zone->compact_cached_migrate_pfn[1] = zone->zone_start_pfn; in reset_cached_positions()
290 block_pfn = max(block_pfn, zone->zone_start_pfn); in __reset_isolation_pfn()
336 unsigned long migrate_pfn = zone->zone_start_pfn; in __reset_isolation_suitable()
708 if (block_start_pfn < cc->zone->zone_start_pfn) in isolate_freepages_range()
709 block_start_pfn = cc->zone->zone_start_pfn; in isolate_freepages_range()
1119 if (block_start_pfn < cc->zone->zone_start_pfn) in isolate_migratepages_range()
1120 block_start_pfn = cc->zone->zone_start_pfn; in isolate_migratepages_range()
1674 if (pfn != cc->zone->zone_start_pfn && pfn != pageblock_start_pfn(pfn)) in fast_find_migrateblock()
1701 if (cc->migrate_pfn != cc->zone->zone_start_pfn) in fast_find_migrateblock()
[all …]
Dpage_owner.c259 unsigned long pfn = zone->zone_start_pfn, block_end_pfn; in pagetypeinfo_showmixedcount_print()
266 pfn = zone->zone_start_pfn; in pagetypeinfo_showmixedcount_print()
547 unsigned long pfn = zone->zone_start_pfn; in init_pages_in_zone()
Dmemblock.c1297 if (zone->zone_start_pfn < epfn && spfn < epfn) { in __next_mem_pfn_range_in_zone()
1305 *out_spfn = max(zone->zone_start_pfn, spfn); in __next_mem_pfn_range_in_zone()
Dvmstat.c1495 unsigned long start_pfn = zone->zone_start_pfn; in pagetypeinfo_showblockcount_print()
1692 zone->zone_start_pfn); in zoneinfo_show_print()
Dhuge_memory.c2891 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in split_huge_pages_set()
/Linux-v5.10/include/linux/
Dmmzone.h483 unsigned long zone_start_pfn; member
622 return zone->zone_start_pfn + zone->spanned_pages; in zone_end_pfn()
627 return zone->zone_start_pfn <= pfn && pfn < zone_end_pfn(zone); in zone_spans_pfn()
650 start_pfn + nr_pages <= zone->zone_start_pfn) in zone_intersects()
/Linux-v5.10/kernel/power/
Dsnapshot.c596 zone_start = zone->zone_start_pfn; in create_mem_extents()
1259 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_highmem_pages()
1326 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_data_pages()
1420 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in copy_data_pages()
/Linux-v5.10/arch/arm64/kernel/
Dhibernate.c339 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in swsusp_mte_save_tags()