Lines Matching refs:wbc

2780 				struct writeback_control *wbc,
2799 .op_flags = wbc_to_write_flags(wbc),
2807 .io_wbc = wbc,
2849 (!wbc->for_reclaim &&
2872 if (!wbc->for_reclaim)
2914 if (wbc->for_reclaim) {
2938 redirty_page_for_writepage(wbc, page);
2945 if (!err || wbc->for_reclaim)
2952 struct writeback_control *wbc)
2962 redirty_page_for_writepage(wbc, page);
2970 wbc, FS_DATA_IO, 0, true);
2979 struct writeback_control *wbc,
3022 if (wbc->range_cyclic) {
3026 index = wbc->range_start >> PAGE_SHIFT;
3027 end = wbc->range_end >> PAGE_SHIFT;
3028 if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX)
3031 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages)
3037 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages)
3062 &submitted, wbc, io_type);
3097 wbc->sync_mode == WB_SYNC_NONE) {
3120 if (wbc->sync_mode != WB_SYNC_NONE)
3138 &bio, &last_block, wbc, io_type,
3146 wbc->nr_to_write -= submitted;
3158 if (wbc->sync_mode == WB_SYNC_ALL) {
3171 if (wbc->nr_to_write <= 0 &&
3172 wbc->sync_mode == WB_SYNC_NONE) {
3186 ret = f2fs_write_multi_pages(&cc, &submitted, wbc, io_type);
3188 wbc->nr_to_write -= submitted;
3202 if (wbc->range_cyclic && !done)
3204 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0))
3218 struct writeback_control *wbc)
3231 if (wbc->sync_mode != WB_SYNC_ALL)
3239 struct writeback_control *wbc,
3253 if (!get_dirty_pages(inode) && wbc->sync_mode == WB_SYNC_NONE)
3261 wbc->sync_mode == WB_SYNC_NONE &&
3270 trace_f2fs_writepages(mapping->host, wbc, DATA);
3273 if (wbc->sync_mode == WB_SYNC_ALL)
3282 if (__should_serialize_io(inode, wbc)) {
3288 ret = f2fs_write_cache_pages(mapping, wbc, io_type);
3294 if (wbc->sync_mode == WB_SYNC_ALL)
3305 wbc->pages_skipped += get_dirty_pages(inode);
3306 trace_f2fs_writepages(mapping->host, wbc, DATA);
3311 struct writeback_control *wbc)
3315 return __f2fs_write_data_pages(mapping, wbc,