/openbmc/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 *); 99 static struct swap_info_struct *swap_info[MAX_SWAPFILES]; 109 static struct swap_info_struct *swap_type_to_swap_info(int type) in swap_type_to_swap_info() 133 static int __try_to_reclaim_swap(struct swap_info_struct *si, in __try_to_reclaim_swap() 161 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se() 177 static int discard_swap(struct swap_info_struct *si) in discard_swap() 211 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() 232 struct swap_info_struct *sis = page_swap_info(page); in swap_page_sector() 247 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() [all …]
|
H A D | page_io.c | 78 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate() 295 struct swap_info_struct *sis = page_swap_info(page); in swap_writepage_fs() 330 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_sync() 352 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_async() 373 struct swap_info_struct *sis = page_swap_info(page); in __swap_writepage() 428 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage_fs() 461 struct swap_info_struct *sis) in swap_readpage_bdev_sync() 481 struct swap_info_struct *sis) in swap_readpage_bdev_async() 496 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage()
|
H A D | swap.h | 41 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry); 100 static inline void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry) in swapcache_clear()
|
H A D | swap_state.c | 388 struct swap_info_struct *si; in filemap_get_incore_folio() 416 struct swap_info_struct *si; in __read_swap_cache_async() 628 struct swap_info_struct *si = swp_swap_info(entry); in swap_cluster_readahead()
|
H A D | shmem.c | 1843 struct swap_info_struct *si; in shmem_swapin_folio()
|
H A D | memory.c | 3744 struct swap_info_struct *si = NULL; in do_swap_page()
|
/openbmc/linux/include/linux/ |
H A D | swap.h | 282 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 *, 490 extern int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry); 492 extern struct swap_info_struct *page_swap_info(struct page *); 493 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); 497 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 500 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 506 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info() 511 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device() [all …]
|
H A D | iomap.h | 415 struct swap_info_struct; 417 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
H A D | fs.h | 66 struct swap_info_struct; 442 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/openbmc/linux/fs/iomap/ |
H A D | swapfile.c | 16 struct swap_info_struct *sis; 142 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_aops.c | 535 struct swap_info_struct *sis, in xfs_iomap_swapfile_activate()
|
/openbmc/linux/fs/zonefs/ |
H A D | file.c | 159 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate()
|
/openbmc/linux/fs/nfs/ |
H A D | file.c | 509 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
/openbmc/linux/fs/f2fs/ |
H A D | data.c | 3890 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() 4003 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 4052 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | locking.rst | 268 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
H A D | vfs.rst | 827 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
/openbmc/linux/fs/btrfs/ |
H A D | inode.c | 10565 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 10614 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 10872 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|
/openbmc/linux/fs/smb/client/ |
H A D | file.c | 5120 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
|
/openbmc/linux/fs/ext4/ |
H A D | inode.c | 3580 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()
|