Lines Matching full:swap
7 * Swap reorganised 29.12.95,
10 * Add swap of shared pages through the page cache. 20.2.1998. Stephen Tweedie
18 #include <linux/swap.h>
28 #include "swap.h"
36 * We failed to write the page out to swap-space. in __end_swap_bio_write()
44 pr_alert_ratelimited("Write-error on swap-device (%u:%u:%llu)\n", in __end_swap_bio_write()
63 pr_alert_ratelimited("Read-error on swap-device (%u:%u:%llu)\n", in __end_swap_bio_read()
207 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_zeromap_folio_set()
226 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_zeromap_folio_clear()
237 * We may have stale swap cache pages in memory: notice
264 * corruption due to other zero swap entries seeing concurrent updates. in swap_writepage()
274 * occupied the same swap entries. in swap_writepage()
353 * In the case of swap-over-nfs, this can be a in sio_write_complete()
378 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_writepage_fs()
380 loff_t pos = swap_dev_pos(folio->swap); in swap_writepage_fs()
455 struct swap_info_struct *sis = swp_swap_info(folio->swap); in __swap_writepage()
509 pr_alert_ratelimited("Read-error on swap-device\n"); in sio_read_complete()
525 if (WARN_ON_ONCE(swap_zeromap_batch(folio->swap, nr_pages, in swap_read_folio_zeromap()
546 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_read_folio_fs()
548 loff_t pos = swap_dev_pos(folio->swap); in swap_read_folio_fs()
588 * Keep this task valid during swap readpage because the oom killer may in swap_read_folio_bdev_sync()
617 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_read_folio()