Home
last modified time | relevance | path

Searched refs:wbc (Results 1 – 8 of 8) sorted by relevance

/mm/
Dpage-writeback.c1835 struct writeback_control *wbc, writepage_t writepage, in write_cache_pages() argument
1851 if (wbc->range_cyclic) { in write_cache_pages()
1860 index = wbc->range_start >> PAGE_CACHE_SHIFT; in write_cache_pages()
1861 end = wbc->range_end >> PAGE_CACHE_SHIFT; in write_cache_pages()
1862 if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) in write_cache_pages()
1866 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in write_cache_pages()
1871 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in write_cache_pages()
1925 if (wbc->sync_mode != WB_SYNC_NONE) in write_cache_pages()
1935 trace_wbc_writepage(wbc, mapping->backing_dev_info); in write_cache_pages()
1936 ret = (*writepage)(page, wbc, data); in write_cache_pages()
[all …]
Dpage_io.c232 int swap_writepage(struct page *page, struct writeback_control *wbc) in swap_writepage() argument
246 ret = __swap_writepage(page, wbc, end_swap_bio_write); in swap_writepage()
256 int __swap_writepage(struct page *page, struct writeback_control *wbc, in __swap_writepage() argument
312 ret = bdev_write_page(sis->bdev, swap_page_sector(page), page, wbc); in __swap_writepage()
326 if (wbc->sync_mode == WB_SYNC_ALL) in __swap_writepage()
Dzswap.c544 struct writeback_control wbc = { in zswap_writeback_entry() local
599 __swap_writepage(page, &wbc, end_swap_bio_write); in zswap_writeback_entry()
Dmigrate.c680 struct writeback_control wbc = { in writeout() local
707 rc = mapping->a_ops->writepage(page, &wbc); in writeout()
Dshmem.c749 static int shmem_writepage(struct page *page, struct writeback_control *wbc) in shmem_writepage() argument
774 if (!wbc->for_reclaim) { in shmem_writepage()
838 swap_writepage(page, wbc); in shmem_writepage()
846 if (wbc->for_reclaim) in shmem_writepage()
Dfilemap.c276 struct writeback_control wbc = { in __filemap_fdatawrite_range() local
286 ret = do_writepages(mapping, &wbc); in __filemap_fdatawrite_range()
Dvmscan.c548 struct writeback_control wbc = { in pageout() local
557 res = mapping->a_ops->writepage(page, &wbc); in pageout()
Dswapfile.c1551 struct writeback_control wbc = { in try_to_unuse() local
1555 swap_writepage(page, &wbc); in try_to_unuse()