Lines Matching refs:start_page
211 if (offset < se->start_page) in offset_to_swap_extent()
213 else if (offset >= se->start_page + se->nr_pages) in offset_to_swap_extent()
231 sector = se->start_block + (offset - se->start_page); in swap_page_sector()
240 pgoff_t start_page, pgoff_t nr_pages) in discard_swap_cluster() argument
242 struct swap_extent *se = offset_to_swap_extent(si, start_page); in discard_swap_cluster()
245 pgoff_t offset = start_page - se->start_page; in discard_swap_cluster()
251 start_page += nr_blocks; in discard_swap_cluster()
1858 return se->start_block + (offset - se->start_page); in swapdev_block()
2315 add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, in add_swap_extent() argument
2333 BUG_ON(se->start_page + se->nr_pages != start_page); in add_swap_extent()
2345 new_se->start_page = start_page; in add_swap_extent()