Lines Matching refs:wbc
318 struct writeback_control *wbc, in __f2fs_write_meta_page() argument
329 if (wbc->for_reclaim && page->index < GET_SUM_BLOCK(sbi, 0)) in __f2fs_write_meta_page()
335 if (wbc->for_reclaim) in __f2fs_write_meta_page()
346 redirty_page_for_writepage(wbc, page); in __f2fs_write_meta_page()
351 struct writeback_control *wbc) in f2fs_write_meta_page() argument
353 return __f2fs_write_meta_page(page, wbc, FS_META_IO); in f2fs_write_meta_page()
357 struct writeback_control *wbc) in f2fs_write_meta_pages() argument
366 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_meta_pages()
375 trace_f2fs_writepages(mapping->host, wbc, META); in f2fs_write_meta_pages()
376 diff = nr_pages_to_write(sbi, META, wbc); in f2fs_write_meta_pages()
377 written = f2fs_sync_meta_pages(sbi, META, wbc->nr_to_write, FS_META_IO); in f2fs_write_meta_pages()
379 wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff); in f2fs_write_meta_pages()
383 wbc->pages_skipped += get_pages(sbi, F2FS_DIRTY_META); in f2fs_write_meta_pages()
384 trace_f2fs_writepages(mapping->host, wbc, META); in f2fs_write_meta_pages()
396 struct writeback_control wbc = { in f2fs_sync_meta_pages() local
436 if (__f2fs_write_meta_page(page, &wbc, io_type)) { in f2fs_sync_meta_pages()
1204 struct writeback_control wbc = { in block_operations() local
1270 err = f2fs_sync_node_pages(sbi, &wbc, false, FS_CP_NODE_IO); in block_operations()
1396 struct writeback_control wbc = { in commit_checkpoint() local
1417 err = __f2fs_write_meta_page(page, &wbc, FS_CP_META_IO); in commit_checkpoint()