Lines Matching refs:wbc

1570 				struct writeback_control *wbc, bool do_balance,  in __write_node_page()  argument
1581 .op_flags = wbc_to_write_flags(wbc), in __write_node_page()
1586 .io_wbc = wbc, in __write_node_page()
1603 wbc->sync_mode == WB_SYNC_NONE && in __write_node_page()
1614 if (wbc->for_reclaim) { in __write_node_page()
1656 if (wbc->for_reclaim) { in __write_node_page()
1675 redirty_page_for_writepage(wbc, page); in __write_node_page()
1684 struct writeback_control wbc = { in f2fs_move_node_page() local
1700 &wbc, false, FS_GC_NODE_IO, NULL)) { in f2fs_move_node_page()
1718 struct writeback_control *wbc) in f2fs_write_node_page() argument
1720 return __write_node_page(page, false, NULL, wbc, false, in f2fs_write_node_page()
1725 struct writeback_control *wbc, bool atomic, in f2fs_fsync_node_pages() argument
1806 &submitted, wbc, true, in f2fs_fsync_node_pages()
1930 struct writeback_control *wbc, in f2fs_sync_node_pages() argument
1956 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_sync_node_pages()
1976 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_sync_node_pages()
2020 wbc, do_balance, io_type, NULL); in f2fs_sync_node_pages()
2026 if (--wbc->nr_to_write == 0) in f2fs_sync_node_pages()
2032 if (wbc->nr_to_write == 0) { in f2fs_sync_node_pages()
2040 wbc->sync_mode == WB_SYNC_NONE && step == 1) in f2fs_sync_node_pages()
2098 struct writeback_control *wbc) in f2fs_write_node_pages() argument
2111 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_node_pages()
2116 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
2125 trace_f2fs_writepages(mapping->host, wbc, NODE); in f2fs_write_node_pages()
2127 diff = nr_pages_to_write(sbi, NODE, wbc); in f2fs_write_node_pages()
2129 f2fs_sync_node_pages(sbi, wbc, true, FS_NODE_IO); in f2fs_write_node_pages()
2131 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff); in f2fs_write_node_pages()
2133 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
2138 wbc->pages_skipped += get_pages(sbi, F2FS_DIRTY_NODES); in f2fs_write_node_pages()
2139 trace_f2fs_writepages(mapping->host, wbc, NODE); in f2fs_write_node_pages()