Lines Matching refs:w_target_page
761 struct page *w_target_page; member
813 BUG_ON(!wc->w_target_page); in ocfs2_unlock_pages()
815 if (wc->w_target_page == wc->w_pages[i]) { in ocfs2_unlock_pages()
820 mark_page_accessed(wc->w_target_page); in ocfs2_unlock_pages()
821 put_page(wc->w_target_page); in ocfs2_unlock_pages()
937 if (wc->w_target_page) in ocfs2_write_failure()
938 ocfs2_zero_new_buffers(wc->w_target_page, from, to); in ocfs2_write_failure()
973 if (page == wc->w_target_page) { in ocfs2_prepare_page_for_write()
1116 wc->w_target_page = wc->w_pages[i]; in ocfs2_grab_pages_for_write()
1513 wc->w_pages[0] = wc->w_target_page = page; in ocfs2_write_begin_inline()
1826 BUG_ON(wc->w_target_page); in ocfs2_write_begin_nolock()
1845 *pagep = wc->w_target_page; in ocfs2_write_begin_nolock()
1946 if (!PageUptodate(wc->w_target_page)) { in ocfs2_write_end_inline()
1952 kaddr = kmap_atomic(wc->w_target_page); in ocfs2_write_end_inline()
1992 if (unlikely(copied < len) && wc->w_target_page) { in ocfs2_write_end_nolock()
1993 if (!PageUptodate(wc->w_target_page)) in ocfs2_write_end_nolock()
1996 ocfs2_zero_new_buffers(wc->w_target_page, start+copied, in ocfs2_write_end_nolock()
1999 if (wc->w_target_page) in ocfs2_write_end_nolock()
2000 flush_dcache_page(wc->w_target_page); in ocfs2_write_end_nolock()
2009 if (tmppage == wc->w_target_page) { in ocfs2_write_end_nolock()