Lines Matching refs:wbc
475 static int writepage_nounlock(struct page *page, struct writeback_control *wbc) in writepage_nounlock() argument
552 if (wbc) in writepage_nounlock()
553 wbc->pages_skipped++; in writepage_nounlock()
567 static int ceph_writepage(struct page *page, struct writeback_control *wbc) in ceph_writepage() argument
573 err = writepage_nounlock(page, wbc); in ceph_writepage()
686 struct writeback_control *wbc) in ceph_writepages_start() argument
712 if ((wbc->sync_mode == WB_SYNC_ALL) || in ceph_writepages_start()
717 wbc->sync_mode == WB_SYNC_NONE ? "NONE" : in ceph_writepages_start()
718 (wbc->sync_mode == WB_SYNC_ALL ? "ALL" : "HOLD")); in ceph_writepages_start()
735 if (wbc->range_cyclic) { in ceph_writepages_start()
740 start = wbc->range_start >> PAGE_CACHE_SHIFT; in ceph_writepages_start()
741 end = wbc->range_end >> PAGE_CACHE_SHIFT; in ceph_writepages_start()
742 if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) in ceph_writepages_start()
821 if (!wbc->range_cyclic && page->index > end) { in ceph_writepages_start()
832 if (wbc->sync_mode != WB_SYNC_NONE) { in ceph_writepages_start()
990 wbc->nr_to_write -= locked_pages; in ceph_writepages_start()
991 if (wbc->nr_to_write <= 0) in ceph_writepages_start()
1011 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ceph_writepages_start()