Searched refs:next_ppage (Results 1 – 2 of 2) sorted by relevance
36 uint64_t next_ppage; in iomap_swapfile_add_extent() local48 next_ppage = ALIGN_DOWN(iomap->addr + iomap->length, PAGE_SIZE) >> in iomap_swapfile_add_extent()52 if (first_ppage >= next_ppage) in iomap_swapfile_add_extent()54 nr_pages = next_ppage - first_ppage; in iomap_swapfile_add_extent()67 if (isi->highest_ppage < (next_ppage - 1)) in iomap_swapfile_add_extent()68 isi->highest_ppage = next_ppage - 1; in iomap_swapfile_add_extent()
10116 u64 first_ppage, first_ppage_reported, next_ppage; in btrfs_add_swap_extent() local10129 next_ppage = ALIGN_DOWN(bsi->block_start + bsi->block_len, in btrfs_add_swap_extent()10132 if (first_ppage >= next_ppage) in btrfs_add_swap_extent()10134 nr_pages = next_ppage - first_ppage; in btrfs_add_swap_extent()10142 if (bsi->highest_ppage < (next_ppage - 1)) in btrfs_add_swap_extent()10143 bsi->highest_ppage = next_ppage - 1; in btrfs_add_swap_extent()