Home
last modified time | relevance | path

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

/mm/
Dpage-writeback.c2175 struct writeback_control *wbc, writepage_t writepage, in write_cache_pages() argument
2190 if (wbc->range_cyclic) { in write_cache_pages()
2194 index = wbc->range_start >> PAGE_SHIFT; in write_cache_pages()
2195 end = wbc->range_end >> PAGE_SHIFT; in write_cache_pages()
2196 if (wbc->range_start == 0 && wbc->range_end == LLONG_MAX) in write_cache_pages()
2199 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) { in write_cache_pages()
2241 if (wbc->sync_mode != WB_SYNC_NONE) in write_cache_pages()
2251 trace_wbc_writepage(wbc, inode_to_bdi(mapping->host)); in write_cache_pages()
2252 error = (*writepage)(page, wbc, data); in write_cache_pages()
2269 } else if (wbc->sync_mode != WB_SYNC_ALL) { in write_cache_pages()
[all …]
Dpage_io.c199 int swap_writepage(struct page *page, struct writeback_control *wbc) in swap_writepage() argument
223 ret = __swap_writepage(page, wbc, end_swap_bio_write); in swap_writepage()
254 int __swap_writepage(struct page *page, struct writeback_control *wbc, in __swap_writepage() argument
305 ret = bdev_write_page(sis->bdev, swap_page_sector(page), page, wbc); in __swap_writepage()
319 bio->bi_opf = REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc); in __swap_writepage()
Dzswap.c883 struct writeback_control wbc = { in zswap_writeback_entry() local
938 __swap_writepage(page, &wbc, end_swap_bio_write); in zswap_writeback_entry()
Dfilemap.c415 struct writeback_control wbc = { in __filemap_fdatawrite_range() local
426 wbc_attach_fdatawrite_inode(&wbc, mapping->host); in __filemap_fdatawrite_range()
427 ret = do_writepages(mapping, &wbc); in __filemap_fdatawrite_range()
428 wbc_detach_inode(&wbc); in __filemap_fdatawrite_range()
Dshmem.c1371 static int shmem_writepage(struct page *page, struct writeback_control *wbc) in shmem_writepage() argument
1397 if (!wbc->for_reclaim) { in shmem_writepage()
1464 swap_writepage(page, wbc); in shmem_writepage()
1472 if (wbc->for_reclaim) in shmem_writepage()
Dmigrate.c850 struct writeback_control wbc = { in writeout() local
877 rc = mapping->a_ops->writepage(page, &wbc); in writeout()
Dvmscan.c854 struct writeback_control wbc = { in pageout() local
863 res = mapping->a_ops->writepage(page, &wbc); in pageout()