Lines Matching refs:w_target_page

745 	struct page			*w_target_page;  member
797 BUG_ON(!wc->w_target_page); in ocfs2_unlock_pages()
799 if (wc->w_target_page == wc->w_pages[i]) { in ocfs2_unlock_pages()
804 mark_page_accessed(wc->w_target_page); in ocfs2_unlock_pages()
805 put_page(wc->w_target_page); in ocfs2_unlock_pages()
921 if (wc->w_target_page) in ocfs2_write_failure()
922 ocfs2_zero_new_buffers(wc->w_target_page, from, to); in ocfs2_write_failure()
957 if (page == wc->w_target_page) { in ocfs2_prepare_page_for_write()
1100 wc->w_target_page = wc->w_pages[i]; in ocfs2_grab_pages_for_write()
1497 wc->w_pages[0] = wc->w_target_page = page; in ocfs2_write_begin_inline()
1806 BUG_ON(wc->w_target_page); in ocfs2_write_begin_nolock()
1829 *foliop = page_folio(wc->w_target_page); in ocfs2_write_begin_nolock()
1930 if (!PageUptodate(wc->w_target_page)) { in ocfs2_write_end_inline()
1936 kaddr = kmap_atomic(wc->w_target_page); in ocfs2_write_end_inline()
1976 if (unlikely(copied < len) && wc->w_target_page) { in ocfs2_write_end_nolock()
1979 if (!PageUptodate(wc->w_target_page)) in ocfs2_write_end_nolock()
1983 if (new_isize > page_offset(wc->w_target_page)) in ocfs2_write_end_nolock()
1984 ocfs2_zero_new_buffers(wc->w_target_page, start+copied, in ocfs2_write_end_nolock()
1994 block_invalidate_folio(page_folio(wc->w_target_page), in ocfs2_write_end_nolock()
1998 if (wc->w_target_page) in ocfs2_write_end_nolock()
1999 flush_dcache_page(wc->w_target_page); in ocfs2_write_end_nolock()
2008 if (tmppage == wc->w_target_page) { in ocfs2_write_end_nolock()