Searched refs:next_ppage (Results 1 – 2 of 2) sorted by relevance
37 uint64_t next_ppage; in iomap_swapfile_add_extent() local49 next_ppage = ALIGN_DOWN(iomap->addr + iomap->length, PAGE_SIZE) >> in iomap_swapfile_add_extent()53 if (first_ppage >= next_ppage) in iomap_swapfile_add_extent()55 nr_pages = next_ppage - first_ppage; in iomap_swapfile_add_extent()68 if (isi->highest_ppage < (next_ppage - 1)) in iomap_swapfile_add_extent()69 isi->highest_ppage = next_ppage - 1; in iomap_swapfile_add_extent()
10497 u64 first_ppage, first_ppage_reported, next_ppage; in btrfs_add_swap_extent() local10510 next_ppage = PAGE_ALIGN_DOWN(bsi->block_start + bsi->block_len) >> PAGE_SHIFT; in btrfs_add_swap_extent()10512 if (first_ppage >= next_ppage) in btrfs_add_swap_extent()10514 nr_pages = next_ppage - first_ppage; in btrfs_add_swap_extent()10522 if (bsi->highest_ppage < (next_ppage - 1)) in btrfs_add_swap_extent()10523 bsi->highest_ppage = next_ppage - 1; in btrfs_add_swap_extent()