Lines Matching refs:w_target_page
774 struct page *w_target_page; member
826 BUG_ON(!wc->w_target_page); in ocfs2_unlock_pages()
828 if (wc->w_target_page == wc->w_pages[i]) { in ocfs2_unlock_pages()
833 mark_page_accessed(wc->w_target_page); in ocfs2_unlock_pages()
834 put_page(wc->w_target_page); in ocfs2_unlock_pages()
950 if (wc->w_target_page) in ocfs2_write_failure()
951 ocfs2_zero_new_buffers(wc->w_target_page, from, to); in ocfs2_write_failure()
985 if (page == wc->w_target_page) { in ocfs2_prepare_page_for_write()
1128 wc->w_target_page = wc->w_pages[i]; in ocfs2_grab_pages_for_write()
1526 wc->w_pages[0] = wc->w_target_page = page; in ocfs2_write_begin_inline()
1839 BUG_ON(wc->w_target_page); in ocfs2_write_begin_nolock()
1858 *pagep = wc->w_target_page; in ocfs2_write_begin_nolock()
1959 if (!PageUptodate(wc->w_target_page)) { in ocfs2_write_end_inline()
1965 kaddr = kmap_atomic(wc->w_target_page); in ocfs2_write_end_inline()
2005 if (unlikely(copied < len) && wc->w_target_page) { in ocfs2_write_end_nolock()
2008 if (!PageUptodate(wc->w_target_page)) in ocfs2_write_end_nolock()
2012 if (new_isize > page_offset(wc->w_target_page)) in ocfs2_write_end_nolock()
2013 ocfs2_zero_new_buffers(wc->w_target_page, start+copied, in ocfs2_write_end_nolock()
2023 block_invalidatepage(wc->w_target_page, 0, PAGE_SIZE); in ocfs2_write_end_nolock()
2026 if (wc->w_target_page) in ocfs2_write_end_nolock()
2027 flush_dcache_page(wc->w_target_page); in ocfs2_write_end_nolock()
2036 if (tmppage == wc->w_target_page) { in ocfs2_write_end_nolock()