Lines Matching refs:wbc

2774 				struct writeback_control *wbc,  in f2fs_write_single_data_page()  argument
2793 .op_flags = wbc_to_write_flags(wbc), in f2fs_write_single_data_page()
2801 .io_wbc = wbc, in f2fs_write_single_data_page()
2842 (!wbc->for_reclaim && in f2fs_write_single_data_page()
2865 if (!wbc->for_reclaim) in f2fs_write_single_data_page()
2907 if (wbc->for_reclaim) { in f2fs_write_single_data_page()
2930 redirty_page_for_writepage(wbc, page); in f2fs_write_single_data_page()
2937 if (!err || wbc->for_reclaim) in f2fs_write_single_data_page()
2944 struct writeback_control *wbc) in f2fs_write_data_page() argument
2954 redirty_page_for_writepage(wbc, page); in f2fs_write_data_page()
2962 wbc, FS_DATA_IO, 0, true); in f2fs_write_data_page()
2971 struct writeback_control *wbc, in f2fs_write_cache_pages() argument
3014 if (wbc->range_cyclic) { in f2fs_write_cache_pages()
3018 index = wbc->range_start >> PAGE_SHIFT; in f2fs_write_cache_pages()
3019 end = wbc->range_end >> PAGE_SHIFT; in f2fs_write_cache_pages()
3020 if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) in f2fs_write_cache_pages()
3023 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages()
3029 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages()
3058 &submitted, wbc, io_type); in f2fs_write_cache_pages()
3089 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages()
3112 if (wbc->sync_mode != WB_SYNC_NONE) in f2fs_write_cache_pages()
3130 &bio, &last_block, wbc, io_type, in f2fs_write_cache_pages()
3138 wbc->nr_to_write -= submitted; in f2fs_write_cache_pages()
3150 if (wbc->sync_mode == WB_SYNC_ALL) { in f2fs_write_cache_pages()
3163 if (wbc->nr_to_write <= 0 && in f2fs_write_cache_pages()
3164 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages()
3178 ret = f2fs_write_multi_pages(&cc, &submitted, wbc, io_type); in f2fs_write_cache_pages()
3180 wbc->nr_to_write -= submitted; in f2fs_write_cache_pages()
3194 if (wbc->range_cyclic && !done) in f2fs_write_cache_pages()
3196 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in f2fs_write_cache_pages()
3210 struct writeback_control *wbc) in __should_serialize_io() argument
3223 if (wbc->sync_mode != WB_SYNC_ALL) in __should_serialize_io()
3231 struct writeback_control *wbc, in __f2fs_write_data_pages() argument
3245 if (!get_dirty_pages(inode) && wbc->sync_mode == WB_SYNC_NONE) in __f2fs_write_data_pages()
3253 wbc->sync_mode == WB_SYNC_NONE && in __f2fs_write_data_pages()
3262 trace_f2fs_writepages(mapping->host, wbc, DATA); in __f2fs_write_data_pages()
3265 if (wbc->sync_mode == WB_SYNC_ALL) in __f2fs_write_data_pages()
3270 if (__should_serialize_io(inode, wbc)) { in __f2fs_write_data_pages()
3276 ret = f2fs_write_cache_pages(mapping, wbc, io_type); in __f2fs_write_data_pages()
3282 if (wbc->sync_mode == WB_SYNC_ALL) in __f2fs_write_data_pages()
3293 wbc->pages_skipped += get_dirty_pages(inode); in __f2fs_write_data_pages()
3294 trace_f2fs_writepages(mapping->host, wbc, DATA); in __f2fs_write_data_pages()
3299 struct writeback_control *wbc) in f2fs_write_data_pages() argument
3303 return __f2fs_write_data_pages(mapping, wbc, in f2fs_write_data_pages()