Lines Matching refs:wbc
1574 struct writeback_control *wbc, bool do_balance, in __write_node_page() argument
1585 .op_flags = wbc_to_write_flags(wbc), in __write_node_page()
1590 .io_wbc = wbc, in __write_node_page()
1610 wbc->sync_mode == WB_SYNC_NONE && in __write_node_page()
1621 if (wbc->for_reclaim) { in __write_node_page()
1663 if (wbc->for_reclaim) { in __write_node_page()
1682 redirty_page_for_writepage(wbc, page); in __write_node_page()
1691 struct writeback_control wbc = { in f2fs_move_node_page() local
1707 &wbc, false, FS_GC_NODE_IO, NULL)) { in f2fs_move_node_page()
1725 struct writeback_control *wbc) in f2fs_write_node_page() argument
1727 return __write_node_page(page, false, NULL, wbc, false, in f2fs_write_node_page()
1732 struct writeback_control *wbc, bool atomic, in f2fs_fsync_node_pages() argument
1812 &submitted, wbc, true, in f2fs_fsync_node_pages()
1936 struct writeback_control *wbc, in f2fs_sync_node_pages() argument
1962 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_sync_node_pages()
1982 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_sync_node_pages()
2026 wbc, do_balance, io_type, NULL); in f2fs_sync_node_pages()
2032 if (--wbc->nr_to_write == 0) in f2fs_sync_node_pages()
2038 if (wbc->nr_to_write == 0) { in f2fs_sync_node_pages()
2046 wbc->sync_mode == WB_SYNC_NONE && step == 1) in f2fs_sync_node_pages()
2104 struct writeback_control *wbc) in f2fs_write_node_pages() argument
2117 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_node_pages()
2122 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
2131 trace_f2fs_writepages(mapping->host, wbc, NODE); in f2fs_write_node_pages()
2133 diff = nr_pages_to_write(sbi, NODE, wbc); in f2fs_write_node_pages()
2135 f2fs_sync_node_pages(sbi, wbc, true, FS_NODE_IO); in f2fs_write_node_pages()
2137 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff); in f2fs_write_node_pages()
2139 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
2144 wbc->pages_skipped += get_pages(sbi, F2FS_DIRTY_NODES); in f2fs_write_node_pages()
2145 trace_f2fs_writepages(mapping->host, wbc, NODE); in f2fs_write_node_pages()