/linux/mm/ |
H A D | swapfile.c | 52 static bool swap_count_continued(struct swap_info_struct *, pgoff_t, 54 static void free_swap_count_continuations(struct swap_info_struct *); 55 static void swap_entries_free(struct swap_info_struct *si, 58 static void swap_range_alloc(struct swap_info_struct *si, 61 static struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, 100 * swap_info_struct changes between not-full/full, it needs to 101 * add/remove itself to/from this list, but the swap_info_struct->lock 103 * before any swap_info_struct->lock. 108 static struct swap_info_struct *swap_info[MAX_SWAPFILES]; 119 struct swap_info_struct *s [all...] |
H A D | swap.h | 64 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr); 94 struct swap_info_struct *sis = swp_swap_info(entry); in swap_zeromap_batch() 113 struct swap_info_struct *si = swp_swap_info(entry); in non_swapcache_batch() 171 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 | 340 struct swap_info_struct *si; in filemap_get_incore_folio() 368 struct swap_info_struct *si = swp_swap_info(entry); in __read_swap_cache_async() 484 struct swap_info_struct *si; in read_swap_cache_async() 593 struct swap_info_struct *si = swp_swap_info(entry); in swap_cluster_readahead()
|
H A D | userfaultfd.c | 1088 struct swap_info_struct *si, swp_entry_t entry) in move_swap_pte() 1186 struct swap_info_struct *si = NULL; in move_pages_pte()
|
H A D | zswap.c | 1072 struct swap_info_struct *si; in zswap_writeback_entry()
|
H A D | shmem.c | 2323 struct swap_info_struct *si; in shmem_swapin_folio()
|
H A D | memory.c | 4460 struct swap_info_struct *si = NULL; in do_swap_page()
|
/linux/include/linux/ |
H A D | swap.h | 297 struct swap_info_struct { struct 473 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 475 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 518 extern bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry); 520 struct swap_info_struct *swp_swap_info(swp_entry_t entry); 524 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 527 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 533 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info() 538 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device() 543 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() [all …]
|
H A D | iomap.h | 532 struct swap_info_struct; 534 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
H A D | fs.h | 71 struct swap_info_struct; 476 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/linux/fs/iomap/ |
H A D | swapfile.c | 13 struct swap_info_struct *sis; 140 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
|
/linux/fs/xfs/ |
H A D | xfs_aops.c | 757 struct swap_info_struct *sis, in xfs_vm_swap_activate()
|
/linux/fs/zonefs/ |
H A D | file.c | 169 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate()
|
/linux/fs/nfs/ |
H A D | file.c | 557 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
/linux/fs/f2fs/ |
H A D | data.c | 3912 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() 4024 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 4073 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
/linux/Documentation/filesystems/ |
H A D | locking.rst | 272 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
H A D | vfs.rst | 845 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
/linux/fs/btrfs/ |
H A D | inode.c | 10002 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 10051 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 10377 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|
/linux/fs/smb/client/ |
H A D | file.c | 3199 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
|
/linux/fs/ext4/ |
H A D | inode.c | 4004 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()
|