Lines Matching refs:wbc
182 int swap_writepage(struct page *page, struct writeback_control *wbc) in swap_writepage() argument
207 __swap_writepage(&folio->page, wbc); in swap_writepage()
295 static void swap_writepage_fs(struct page *page, struct writeback_control *wbc) in swap_writepage_fs() argument
304 if (wbc->swap_plug) in swap_writepage_fs()
305 sio = *wbc->swap_plug; in swap_writepage_fs()
324 if (sio->pages == ARRAY_SIZE(sio->bvec) || !wbc->swap_plug) { in swap_writepage_fs()
328 if (wbc->swap_plug) in swap_writepage_fs()
329 *wbc->swap_plug = sio; in swap_writepage_fs()
333 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_sync() argument
339 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc)); in swap_writepage_bdev_sync()
354 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_async() argument
359 REQ_OP_WRITE | REQ_SWAP | wbc_to_write_flags(wbc), in swap_writepage_bdev_async()
372 void __swap_writepage(struct page *page, struct writeback_control *wbc) in __swap_writepage() argument
383 swap_writepage_fs(page, wbc); in __swap_writepage()
385 swap_writepage_bdev_sync(page, wbc, sis); in __swap_writepage()
387 swap_writepage_bdev_async(page, wbc, sis); in __swap_writepage()