Lines Matching refs:page
21 * - encountering a page which has buffers
22 * - encountering a page which has a non-hole after a hole
23 * - encountering a page with non-contiguous blocks
26 * It does handle a page which has holes at the end - that is a common case:
72 struct page *page;
77 page = bv->bv_page;
80 if (bio->bi_status || PageError(page)) {
81 ClearPageUptodate(page);
83 ClearPageError(page);
85 SetPageUptodate(page);
87 unlock_page(page);
166 * If a page does not map to a contiguous run of blocks then it simply falls
169 * Why is this? If a page's completion depends on a number of different BIOs
171 * status of that page is hard. See end_buffer_async_read() for the details.
225 struct readahead_control *rac, struct page *page)
255 page = readahead_page(rac);
256 prefetchw(&page->flags);
259 if (page_has_buffers(page))
263 (sector_t)page->index << (PAGE_SHIFT - blkbits);
297 * done with this page.
306 SetPageError(page);
307 zero_user_segment(page, 0,
309 unlock_page(page);
340 zero_user_segment(page, first_hole << blkbits,
343 if (ext4_need_verity(inode, page->index) &&
344 !fsverity_verify_page(page))
346 SetPageUptodate(page);
347 unlock_page(page);
351 SetPageMappedToDisk(page);
354 !PageUptodate(page) && cleancache_get_page(page) == 0) {
355 SetPageUptodate(page);
360 * This page will go to BIO. Do we need to send this
378 ext4_set_bio_post_read_ctx(bio, inode, page->index);
387 if (bio_add_page(bio, page, length, 0) < length)
403 if (!PageUptodate(page))
404 block_read_full_page(page, ext4_get_block);
406 unlock_page(page);
409 put_page(page);