Lines Matching refs:wbc
179 int swap_writepage(struct page *page, struct writeback_control *wbc) in swap_writepage() argument
204 __swap_writepage(&folio->page, wbc); in swap_writepage()
292 static void swap_writepage_fs(struct page *page, struct writeback_control *wbc) in swap_writepage_fs() argument
301 if (wbc->swap_plug) in swap_writepage_fs()
302 sio = *wbc->swap_plug; in swap_writepage_fs()
321 if (sio->pages == ARRAY_SIZE(sio->bvec) || !wbc->swap_plug) { in swap_writepage_fs()
325 if (wbc->swap_plug) in swap_writepage_fs()
326 *wbc->swap_plug = sio; in swap_writepage_fs()
330 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_sync() argument
337 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc)); in swap_writepage_bdev_sync()
352 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_async() argument
358 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc), in swap_writepage_bdev_async()
371 void __swap_writepage(struct page *page, struct writeback_control *wbc) in __swap_writepage() argument
382 swap_writepage_fs(page, wbc); in __swap_writepage()
384 swap_writepage_bdev_sync(page, wbc, sis); in __swap_writepage()
386 swap_writepage_bdev_async(page, wbc, sis); in __swap_writepage()