Searched refs:first_ppage (Results 1 – 2 of 2) sorted by relevance
35 uint64_t first_ppage; in iomap_swapfile_add_extent() local48 first_ppage = ALIGN(iomap->addr, PAGE_SIZE) >> PAGE_SHIFT; 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()63 first_ppage_reported = first_ppage; in iomap_swapfile_add_extent()72 error = add_swap_extent(isi->sis, isi->nr_pages, nr_pages, first_ppage); in iomap_swapfile_add_extent()
10568 u64 first_ppage, first_ppage_reported, next_ppage; in btrfs_add_swap_extent() local10580 first_ppage = PAGE_ALIGN(bsi->block_start) >> PAGE_SHIFT; in btrfs_add_swap_extent()10583 if (first_ppage >= next_ppage) in btrfs_add_swap_extent()10585 nr_pages = next_ppage - first_ppage; in btrfs_add_swap_extent()10588 first_ppage_reported = first_ppage; in btrfs_add_swap_extent()10596 ret = add_swap_extent(sis, bsi->nr_pages, nr_pages, first_ppage); in btrfs_add_swap_extent()