Lines Matching refs:wbc
389 static int wb_priority(struct writeback_control *wbc) in wb_priority() argument
393 if (wbc->sync_mode == WB_SYNC_ALL) in wb_priority()
651 static int nfs_do_writepage(struct page *page, struct writeback_control *wbc, in nfs_do_writepage() argument
659 redirty_page_for_writepage(wbc, page); in nfs_do_writepage()
669 struct writeback_control *wbc) in nfs_writepage_locked() argument
678 err = nfs_do_writepage(page, wbc, &pgio); in nfs_writepage_locked()
684 int nfs_writepage(struct page *page, struct writeback_control *wbc) in nfs_writepage() argument
688 ret = nfs_writepage_locked(page, wbc); in nfs_writepage()
694 static int nfs_writepages_callback(struct page *page, struct writeback_control *wbc, void *data) in nfs_writepages_callback() argument
698 ret = nfs_do_writepage(page, wbc, data); in nfs_writepages_callback()
709 int nfs_writepages(struct address_space *mapping, struct writeback_control *wbc) in nfs_writepages() argument
722 nfs_pageio_init_write(&pgio, inode, wb_priority(wbc), false, in nfs_writepages()
725 err = write_cache_pages(mapping, wbc, nfs_writepages_callback, &pgio); in nfs_writepages()
1906 struct writeback_control *wbc) in __nfs_commit_inode() argument
1924 if (wbc && wbc->sync_mode == WB_SYNC_NONE) { in __nfs_commit_inode()
1925 if (nscan < wbc->nr_to_write) in __nfs_commit_inode()
1926 wbc->nr_to_write -= nscan; in __nfs_commit_inode()
1928 wbc->nr_to_write = 0; in __nfs_commit_inode()
1946 int nfs_write_inode(struct inode *inode, struct writeback_control *wbc) in nfs_write_inode() argument
1952 if (wbc->sync_mode == WB_SYNC_NONE) { in nfs_write_inode()
1967 ret = __nfs_commit_inode(inode, flags, wbc); in nfs_write_inode()
2057 struct writeback_control wbc = { in nfs_wb_page() local
2070 ret = nfs_writepage_locked(page, &wbc); in nfs_wb_page()