• Home
  • Raw
  • Download

Lines Matching refs:wbc

225 static void afs_redirty_pages(struct writeback_control *wbc,  in afs_redirty_pages()  argument
247 folio_redirty_for_writepage(wbc, folio); in afs_redirty_pages()
550 struct writeback_control *wbc, in afs_write_back_from_locked_folio() argument
561 long count = wbc->nr_to_write; in afs_write_back_from_locked_folio()
627 wbc->nr_to_write = count; in afs_write_back_from_locked_folio()
641 afs_redirty_pages(wbc, mapping, start, len); in afs_write_back_from_locked_folio()
647 afs_redirty_pages(wbc, mapping, start, len); in afs_write_back_from_locked_folio()
672 int afs_writepage(struct page *subpage, struct writeback_control *wbc) in afs_writepage() argument
685 ret = afs_write_back_from_locked_folio(folio_mapping(folio), wbc, in afs_writepage()
700 struct writeback_control *wbc, in afs_writepages_region() argument
728 if (wbc->sync_mode != WB_SYNC_NONE) { in afs_writepages_region()
752 if (wbc->sync_mode != WB_SYNC_NONE) { in afs_writepages_region()
761 if (wbc->sync_mode == WB_SYNC_NONE) { in afs_writepages_region()
771 ret = afs_write_back_from_locked_folio(mapping, wbc, folio, start, end); in afs_writepages_region()
781 } while (wbc->nr_to_write > 0); in afs_writepages_region()
792 struct writeback_control *wbc) in afs_writepages() argument
804 if (wbc->sync_mode == WB_SYNC_ALL) in afs_writepages()
809 if (wbc->range_cyclic) { in afs_writepages()
811 ret = afs_writepages_region(mapping, wbc, start, LLONG_MAX, &next); in afs_writepages()
814 if (start > 0 && wbc->nr_to_write > 0) { in afs_writepages()
815 ret = afs_writepages_region(mapping, wbc, 0, in afs_writepages()
822 } else if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) { in afs_writepages()
823 ret = afs_writepages_region(mapping, wbc, 0, LLONG_MAX, &next); in afs_writepages()
824 if (wbc->nr_to_write > 0 && ret == 0) in afs_writepages()
827 ret = afs_writepages_region(mapping, wbc, in afs_writepages()
828 wbc->range_start, wbc->range_end, &next); in afs_writepages()