• Home
  • Raw
  • Download

Lines Matching refs:wbc

269 __sync_single_inode(struct inode *inode, struct writeback_control *wbc)  in __sync_single_inode()  argument
273 int wait = wbc->sync_mode == WB_SYNC_ALL; in __sync_single_inode()
286 ret = do_writepages(mapping, wbc); in __sync_single_inode()
321 if (wbc->for_kupdate) { in __sync_single_inode()
328 if (wbc->nr_to_write <= 0) { in __sync_single_inode()
378 __writeback_single_inode(struct inode *inode, struct writeback_control *wbc) in __writeback_single_inode() argument
387 if ((wbc->sync_mode != WB_SYNC_ALL) && (inode->i_state & I_SYNC)) { in __writeback_single_inode()
413 return __sync_single_inode(inode, wbc); in __writeback_single_inode()
442 struct writeback_control *wbc) in generic_sync_sb_inodes() argument
445 int sync = wbc->sync_mode == WB_SYNC_ALL; in generic_sync_sb_inodes()
448 if (!wbc->for_kupdate || list_empty(&sb->s_io)) in generic_sync_sb_inodes()
449 queue_io(sb, wbc->older_than_this); in generic_sync_sb_inodes()
480 if (wbc->nonblocking && bdi_write_congested(bdi)) { in generic_sync_sb_inodes()
481 wbc->encountered_congestion = 1; in generic_sync_sb_inodes()
488 if (wbc->bdi && bdi != wbc->bdi) { in generic_sync_sb_inodes()
505 pages_skipped = wbc->pages_skipped; in generic_sync_sb_inodes()
506 __writeback_single_inode(inode, wbc); in generic_sync_sb_inodes()
509 if (wbc->pages_skipped != pages_skipped) { in generic_sync_sb_inodes()
520 if (wbc->nr_to_write <= 0) { in generic_sync_sb_inodes()
521 wbc->more_io = 1; in generic_sync_sb_inodes()
525 wbc->more_io = 1; in generic_sync_sb_inodes()
575 struct writeback_control *wbc) in sync_sb_inodes() argument
577 generic_sync_sb_inodes(sb, wbc); in sync_sb_inodes()
600 writeback_inodes(struct writeback_control *wbc) in writeback_inodes() argument
619 sync_sb_inodes(sb, wbc); in writeback_inodes()
626 if (wbc->nr_to_write <= 0) in writeback_inodes()
644 struct writeback_control wbc = { in sync_inodes_sb() local
654 wbc.nr_to_write = nr_dirty + nr_unstable + in sync_inodes_sb()
657 wbc.nr_to_write = LONG_MAX; /* doesn't actually matter */ in sync_inodes_sb()
659 sync_sb_inodes(sb, &wbc); in sync_inodes_sb()
724 struct writeback_control wbc = { in write_inode_now() local
732 wbc.nr_to_write = 0; in write_inode_now()
736 ret = __writeback_single_inode(inode, &wbc); in write_inode_now()
755 int sync_inode(struct inode *inode, struct writeback_control *wbc) in sync_inode() argument
760 ret = __writeback_single_inode(inode, wbc); in sync_inode()