Searched refs:first_ppage (Results 1 – 2 of 2) sorted by relevance
32 uint64_t first_ppage; in iomap_swapfile_add_extent() local45 first_ppage = ALIGN(iomap->addr, PAGE_SIZE) >> PAGE_SHIFT; in iomap_swapfile_add_extent()50 if (first_ppage >= next_ppage) in iomap_swapfile_add_extent()52 nr_pages = next_ppage - first_ppage; in iomap_swapfile_add_extent()60 first_ppage_reported = first_ppage; in iomap_swapfile_add_extent()69 error = add_swap_extent(isi->sis, isi->nr_pages, nr_pages, first_ppage); in iomap_swapfile_add_extent()
10218 u64 first_ppage, first_ppage_reported, next_ppage; in btrfs_add_swap_extent() local10230 first_ppage = PAGE_ALIGN(bsi->block_start) >> PAGE_SHIFT; in btrfs_add_swap_extent()10233 if (first_ppage >= next_ppage) in btrfs_add_swap_extent()10235 nr_pages = next_ppage - first_ppage; in btrfs_add_swap_extent()10238 first_ppage_reported = first_ppage; in btrfs_add_swap_extent()10246 ret = add_swap_extent(sis, bsi->nr_pages, nr_pages, first_ppage); in btrfs_add_swap_extent()