Lines Matching refs:last_page
1558 struct page *last_page = NULL; in last_fsync_dnode() local
1573 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1598 if (last_page) in last_fsync_dnode()
1599 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1602 last_page = page; in last_fsync_dnode()
1608 return last_page; in last_fsync_dnode()
1775 struct page *last_page = NULL; in f2fs_fsync_node_pages() local
1782 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages()
1783 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages()
1784 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages()
1800 f2fs_put_page(last_page, 0); in f2fs_fsync_node_pages()
1821 if (!PageDirty(page) && page != last_page) { in f2fs_fsync_node_pages()
1831 if (!atomic || page == last_page) { in f2fs_fsync_node_pages()
1850 page == last_page, in f2fs_fsync_node_pages()
1855 f2fs_put_page(last_page, 0); in f2fs_fsync_node_pages()
1861 if (page == last_page) { in f2fs_fsync_node_pages()
1875 ino, last_page->index); in f2fs_fsync_node_pages()
1876 lock_page(last_page); in f2fs_fsync_node_pages()
1877 f2fs_wait_on_page_writeback(last_page, NODE, true, true); in f2fs_fsync_node_pages()
1878 set_page_dirty(last_page); in f2fs_fsync_node_pages()
1879 unlock_page(last_page); in f2fs_fsync_node_pages()