Lines Matching refs:last_page
1535 struct page *last_page = NULL; in last_fsync_dnode() local
1550 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1575 if (last_page) in last_fsync_dnode()
1576 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1579 last_page = page; in last_fsync_dnode()
1585 return last_page; in last_fsync_dnode()
1752 struct page *last_page = NULL; in f2fs_fsync_node_pages() local
1759 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages()
1760 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages()
1761 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages()
1777 f2fs_put_page(last_page, 0); in f2fs_fsync_node_pages()
1798 if (!PageDirty(page) && page != last_page) { in f2fs_fsync_node_pages()
1808 if (!atomic || page == last_page) { in f2fs_fsync_node_pages()
1827 page == last_page, in f2fs_fsync_node_pages()
1832 f2fs_put_page(last_page, 0); in f2fs_fsync_node_pages()
1838 if (page == last_page) { in f2fs_fsync_node_pages()
1852 ino, last_page->index); in f2fs_fsync_node_pages()
1853 lock_page(last_page); in f2fs_fsync_node_pages()
1854 f2fs_wait_on_page_writeback(last_page, NODE, true, true); in f2fs_fsync_node_pages()
1855 set_page_dirty(last_page); in f2fs_fsync_node_pages()
1856 unlock_page(last_page); in f2fs_fsync_node_pages()