Lines Matching refs:wbc
471 static int writepage_nounlock(struct page *page, struct writeback_control *wbc) in writepage_nounlock() argument
547 if (wbc) in writepage_nounlock()
548 wbc->pages_skipped++; in writepage_nounlock()
562 static int ceph_writepage(struct page *page, struct writeback_control *wbc) in ceph_writepage() argument
568 err = writepage_nounlock(page, wbc); in ceph_writepage()
681 struct writeback_control *wbc) in ceph_writepages_start() argument
706 if ((wbc->sync_mode == WB_SYNC_ALL) || in ceph_writepages_start()
711 wbc->sync_mode == WB_SYNC_NONE ? "NONE" : in ceph_writepages_start()
712 (wbc->sync_mode == WB_SYNC_ALL ? "ALL" : "HOLD")); in ceph_writepages_start()
727 if (wbc->range_cyclic) { in ceph_writepages_start()
732 start = wbc->range_start >> PAGE_CACHE_SHIFT; in ceph_writepages_start()
733 end = wbc->range_end >> PAGE_CACHE_SHIFT; in ceph_writepages_start()
734 if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) in ceph_writepages_start()
816 if (!wbc->range_cyclic && page->index > end) { in ceph_writepages_start()
827 if (wbc->sync_mode != WB_SYNC_NONE) { in ceph_writepages_start()
974 wbc->nr_to_write -= locked_pages; in ceph_writepages_start()
975 if (wbc->nr_to_write <= 0) in ceph_writepages_start()
995 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ceph_writepages_start()