Lines Matching refs:page
14 * Seek for SEEK_DATA / SEEK_HOLE within @page, starting at @lastoff.
18 page_seek_hole_data(struct inode *inode, struct page *page, loff_t *lastoff,
24 loff_t poff = page_offset(page);
31 * Last offset smaller than the start of the page means we found
40 * Just check the page unless we can and should check block ranges:
43 return PageUptodate(page) == seek_data;
45 lock_page(page);
46 if (unlikely(page->mapping != inode->i_mapping))
52 if (ops->is_partially_uptodate(page, off, bsize) == seek_data) {
53 unlock_page(page);
60 unlock_page(page);
65 * Seek for SEEK_DATA / SEEK_HOLE in the page cache.
67 * Within unwritten extents, the page cache determines which parts are holes
96 struct page *page = pvec.pages[i];
98 if (page_seek_hole_data(inode, page, &lastoff, whence))
100 lastoff = page_offset(page) + PAGE_SIZE;
105 /* When no page at lastoff and we are not done, we found a hole. */