| /linux-6.15/mm/ |
| H A D | swapfile.c | 579 struct swap_info_struct *si; in swap_discard_work() 588 struct swap_info_struct *si; in swap_users_ref_free() 870 struct swap_info_struct *si; in swap_reclaim_work() 1183 struct swap_info_struct *si; in swap_alloc_fast() 1326 struct swap_info_struct *si; in _swap_info_get() 1439 struct swap_info_struct *si; in get_swap_device() 1598 struct swap_info_struct *si; in put_swap_folio() 1649 struct swap_info_struct *si; in swp_swapcount() 1795 struct swap_info_struct *si; in free_swap_and_cache_nr() 2089 struct swap_info_struct *si; in unuse_pte_range() [all …]
|
| H A D | page_io.c | 78 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate() 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() 378 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_writepage_fs() 414 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_sync() 435 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_async() 455 struct swap_info_struct *sis = swp_swap_info(folio->swap); in __swap_writepage() 546 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_read_folio_fs() 579 struct swap_info_struct *sis) in swap_read_folio_bdev_sync() 601 struct swap_info_struct *sis) in swap_read_folio_bdev_async() [all …]
|
| H A D | swap.h | 62 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr); 92 struct swap_info_struct *sis = swp_swap_info(entry); in swap_zeromap_batch() 149 static inline void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr) in swapcache_clear()
|
| H A D | swap_state.c | 343 struct swap_info_struct *si; in filemap_get_incore_folio() 371 struct swap_info_struct *si = swp_swap_info(entry); in __read_swap_cache_async() 487 struct swap_info_struct *si; in read_swap_cache_async() 596 struct swap_info_struct *si = swp_swap_info(entry); in swap_cluster_readahead()
|
| H A D | zswap.c | 1072 struct swap_info_struct *si; in zswap_writeback_entry()
|
| H A D | userfaultfd.c | 1157 struct swap_info_struct *si = NULL; in move_pages_pte()
|
| H A D | memory.c | 4229 struct swap_info_struct *si = swp_swap_info(entry); in non_swapcache_batch() 4406 struct swap_info_struct *si = NULL; in do_swap_page()
|
| H A D | shmem.c | 2240 struct swap_info_struct *si; in shmem_swapin_folio()
|
| /linux-6.15/include/linux/ |
| H A D | swap.h | 297 struct swap_info_struct { struct 442 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 444 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 487 extern bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry); 489 struct swap_info_struct *swp_swap_info(swp_entry_t entry); 493 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 496 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 502 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info() 507 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device() 512 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() [all …]
|
| H A D | iomap.h | 519 struct swap_info_struct; 521 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
| H A D | fs.h | 71 struct swap_info_struct; 473 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
| /linux-6.15/fs/iomap/ |
| H A D | swapfile.c | 16 struct swap_info_struct *sis; 143 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_aops.c | 689 struct swap_info_struct *sis, in xfs_vm_swap_activate()
|
| /linux-6.15/fs/zonefs/ |
| H A D | file.c | 160 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate()
|
| /linux-6.15/fs/nfs/ |
| H A D | file.c | 518 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
| /linux-6.15/fs/f2fs/ |
| H A D | data.c | 3916 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() 4028 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 4077 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | locking.rst | 273 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
| H A D | vfs.rst | 846 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
| /linux-6.15/fs/btrfs/ |
| H A D | inode.c | 9866 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 9915 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 10241 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|
| /linux-6.15/fs/smb/client/ |
| H A D | file.c | 3168 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
|
| /linux-6.15/fs/ext4/ |
| H A D | inode.c | 3602 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()
|