Lines Matching refs:lastoff
1209 page_seek_hole_data(struct inode *inode, struct page *page, loff_t *lastoff, in page_seek_hole_data() argument
1217 if (WARN_ON_ONCE(*lastoff >= poff + PAGE_SIZE)) in page_seek_hole_data()
1220 if (*lastoff < poff) { in page_seek_hole_data()
1227 *lastoff = poff; in page_seek_hole_data()
1241 if (offset_in_page(*lastoff) >= off + bsize) in page_seek_hole_data()
1247 *lastoff = poff + off + bsize; in page_seek_hole_data()
1270 loff_t lastoff = offset; in page_cache_seek_hole_data() local
1289 if (page_seek_hole_data(inode, page, &lastoff, whence)) in page_cache_seek_hole_data()
1291 lastoff = page_offset(page) + PAGE_SIZE; in page_cache_seek_hole_data()
1301 if (lastoff < offset + length) in page_cache_seek_hole_data()
1304 lastoff = -ENOENT; in page_cache_seek_hole_data()
1307 return lastoff; in page_cache_seek_hole_data()