• Home
  • Raw
  • Download

Lines Matching refs:wbc

439 int afs_writepage(struct page *page, struct writeback_control *wbc)  in afs_writepage()  argument
457 wbc->nr_to_write -= ret; in afs_writepage()
458 if (wbc->nonblocking && bdi_write_congested(bdi)) in afs_writepage()
459 wbc->encountered_congestion = 1; in afs_writepage()
469 struct writeback_control *wbc, in afs_writepages_region() argument
507 if (wbc->sync_mode != WB_SYNC_NONE) in afs_writepages_region()
530 wbc->nr_to_write -= ret; in afs_writepages_region()
532 if (wbc->nonblocking && bdi_write_congested(bdi)) { in afs_writepages_region()
533 wbc->encountered_congestion = 1; in afs_writepages_region()
538 } while (index < end && wbc->nr_to_write > 0); in afs_writepages_region()
549 struct writeback_control *wbc) in afs_writepages() argument
557 if (wbc->nonblocking && bdi_write_congested(bdi)) { in afs_writepages()
558 wbc->encountered_congestion = 1; in afs_writepages()
563 if (wbc->range_cyclic) { in afs_writepages()
566 ret = afs_writepages_region(mapping, wbc, start, end, &next); in afs_writepages()
567 if (start > 0 && wbc->nr_to_write > 0 && ret == 0 && in afs_writepages()
568 !(wbc->nonblocking && wbc->encountered_congestion)) in afs_writepages()
569 ret = afs_writepages_region(mapping, wbc, 0, start, in afs_writepages()
572 } else if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) { in afs_writepages()
574 ret = afs_writepages_region(mapping, wbc, 0, end, &next); in afs_writepages()
575 if (wbc->nr_to_write > 0) in afs_writepages()
578 start = wbc->range_start >> PAGE_CACHE_SHIFT; in afs_writepages()
579 end = wbc->range_end >> PAGE_CACHE_SHIFT; in afs_writepages()
580 ret = afs_writepages_region(mapping, wbc, start, end, &next); in afs_writepages()
711 struct writeback_control wbc = { in afs_writeback_all() local
722 ret = mapping->a_ops->writepages(mapping, &wbc); in afs_writeback_all()