/kernel/linux/linux-5.10/include/linux/ |
D | frontswap.h | 33 extern bool __frontswap_test(struct swap_info_struct *, pgoff_t); 48 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() 53 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 59 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get() 71 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() 76 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 81 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get()
|
D | swap.h | 240 struct swap_info_struct { struct 415 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 417 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 497 extern struct swap_info_struct *page_swap_info(struct page *); 498 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); 504 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 507 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 519 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
|
D | swapfile.h | 11 extern struct swap_info_struct *swap_info[];
|
D | iomap.h | 270 struct swap_info_struct; 272 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
D | fs.h | 62 struct swap_info_struct; 414 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/kernel/linux/linux-5.10/mm/ |
D | swapfile.c | 48 static bool swap_count_continued(struct swap_info_struct *, pgoff_t, 50 static void free_swap_count_continuations(struct swap_info_struct *); 92 struct swap_info_struct *swap_info[MAX_SWAPFILES]; 102 static struct swap_info_struct *swap_type_to_swap_info(int type) in swap_type_to_swap_info() 127 static int __try_to_reclaim_swap(struct swap_info_struct *si, in __try_to_reclaim_swap() 155 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se() 171 static int discard_swap(struct swap_info_struct *si) in discard_swap() 205 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() 226 struct swap_info_struct *sis = page_swap_info(page); in swap_page_sector() 241 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() [all …]
|
D | frontswap.c | 117 struct swap_info_struct *si; in frontswap_register_ops() 192 struct swap_info_struct *sis = swap_info[type]; in __frontswap_init() 215 bool __frontswap_test(struct swap_info_struct *sis, in __frontswap_test() 224 static inline void __frontswap_set(struct swap_info_struct *sis, in __frontswap_set() 231 static inline void __frontswap_clear(struct swap_info_struct *sis, in __frontswap_clear() 250 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store() 299 struct swap_info_struct *sis = swap_info[type]; in __frontswap_load() 333 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_page() 355 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_area() 374 struct swap_info_struct *si = NULL; in __frontswap_curr_pages() [all …]
|
D | page_io.c | 74 struct swap_info_struct *sis; in swap_slot_free_notify() 146 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate() 307 struct swap_info_struct *sis = page_swap_info(page); in __swap_writepage() 377 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage() 461 struct swap_info_struct *sis = page_swap_info(page); in swap_set_page_dirty()
|
D | swap_state.c | 76 struct swap_info_struct *si; in total_swapcache_pages() 373 struct swap_info_struct *si; in lookup_swap_cache() 431 struct swap_info_struct *si; in find_get_incore_page() 455 struct swap_info_struct *si; in __read_swap_cache_async() 657 struct swap_info_struct *si = swp_swap_info(entry); in swap_cluster_readahead()
|
D | shmem.c | 1190 extern struct swap_info_struct *swap_info[];
|
D | memory.c | 3362 struct swap_info_struct *si = swp_swap_info(entry); in do_swap_page()
|
/kernel/linux/linux-5.10/fs/iomap/ |
D | swapfile.c | 16 struct swap_info_struct *sis; 141 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_aops.c | 637 struct swap_info_struct *sis, in xfs_iomap_swapfile_activate()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | file.c | 487 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | data.c | 3944 static int check_swap_activate_fast(struct swap_info_struct *sis, in check_swap_activate_fast() 4022 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() 4123 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 4165 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
/kernel/linux/linux-5.10/fs/zonefs/ |
D | super.c | 162 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | inode.c | 10093 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 10143 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 10385 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | file.c | 4836 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | inode.c | 3602 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()
|