Home
last modified time | relevance | path

Searched refs:start_page (Results 1 – 3 of 3) sorted by relevance

/mm/
Dswapfile.c162 pgoff_t start_page, pgoff_t nr_pages) in discard_swap_cluster() argument
170 if (se->start_page <= start_page && in discard_swap_cluster()
171 start_page < se->start_page + se->nr_pages) { in discard_swap_cluster()
172 pgoff_t offset = start_page - se->start_page; in discard_swap_cluster()
178 start_page += nr_blocks; in discard_swap_cluster()
1638 if (se->start_page <= offset && in map_swap_entry()
1639 offset < (se->start_page + se->nr_pages)) { in map_swap_entry()
1640 return se->start_block + (offset - se->start_page); in map_swap_entry()
1689 add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, in add_swap_extent() argument
1696 if (start_page == 0) { in add_swap_extent()
[all …]
Dcompaction.c90 struct page *start_page; in pageblock_pfn_to_page() local
99 start_page = pfn_to_page(start_pfn); in pageblock_pfn_to_page()
101 if (page_zone(start_page) != zone) in pageblock_pfn_to_page()
107 if (page_zone_id(start_page) != page_zone_id(end_page)) in pageblock_pfn_to_page()
110 return start_page; in pageblock_pfn_to_page()
Dpage_alloc.c1027 struct page *start_page, struct page *end_page, in move_freepages() argument
1042 VM_BUG_ON(page_zone(start_page) != page_zone(end_page)); in move_freepages()
1045 for (page = start_page; page <= end_page;) { in move_freepages()
1074 struct page *start_page, *end_page; in move_freepages_block() local
1078 start_page = pfn_to_page(start_pfn); in move_freepages_block()
1079 end_page = start_page + pageblock_nr_pages - 1; in move_freepages_block()
1084 start_page = page; in move_freepages_block()
1088 return move_freepages(zone, start_page, end_page, migratetype); in move_freepages_block()