Searched refs:swap_info_struct (Results 1 – 20 of 20) sorted by relevance
/linux-5.19.10/mm/ |
D | swapfile.c | 50 static bool swap_count_continued(struct swap_info_struct *, pgoff_t, 52 static void free_swap_count_continuations(struct swap_info_struct *); 93 struct swap_info_struct *swap_info[MAX_SWAPFILES]; 103 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 | 112 struct swap_info_struct *sis = swap_info[type]; in frontswap_init() 131 static bool __frontswap_test(struct swap_info_struct *sis, in __frontswap_test() 139 static inline void __frontswap_set(struct swap_info_struct *sis, in __frontswap_set() 146 static inline void __frontswap_clear(struct swap_info_struct *sis, in __frontswap_clear() 165 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store() 204 struct swap_info_struct *sis = swap_info[type]; in __frontswap_load() 227 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_page() 246 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_area()
|
D | page_io.c | 80 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate() 297 struct swap_info_struct *sis = page_swap_info(page); in swap_writepage_fs() 340 struct swap_info_struct *sis = page_swap_info(page); in __swap_writepage() 414 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage_fs() 453 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage()
|
D | swap_state.c | 343 struct swap_info_struct *si; in lookup_swap_cache() 401 struct swap_info_struct *si; in find_get_incore_page() 429 struct swap_info_struct *si; in __read_swap_cache_async() 631 struct swap_info_struct *si = swp_swap_info(entry); in swap_cluster_readahead()
|
D | memory.c | 3714 struct swap_info_struct *si = NULL; in do_swap_page()
|
/linux-5.19.10/include/linux/ |
D | frontswap.h | 34 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 40 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get() 52 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 57 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get()
|
D | swap.h | 271 struct swap_info_struct { struct 448 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 450 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 496 extern struct swap_info_struct *page_swap_info(struct page *); 497 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); 502 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 505 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 511 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info() 516 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device() 521 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() [all …]
|
D | swapfile.h | 9 extern struct swap_info_struct *swap_info[];
|
D | iomap.h | 367 struct swap_info_struct; 369 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
D | fs.h | 66 struct swap_info_struct; 379 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/linux-5.19.10/fs/iomap/ |
D | swapfile.c | 16 struct swap_info_struct *sis; 142 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
|
/linux-5.19.10/fs/xfs/ |
D | xfs_aops.c | 555 struct swap_info_struct *sis, in xfs_iomap_swapfile_activate()
|
/linux-5.19.10/fs/nfs/ |
D | file.c | 475 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
/linux-5.19.10/fs/f2fs/ |
D | data.c | 3855 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() 3962 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 4005 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
/linux-5.19.10/fs/zonefs/ |
D | super.c | 250 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate()
|
/linux-5.19.10/Documentation/filesystems/ |
D | locking.rst | 261 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
D | vfs.rst | 752 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
/linux-5.19.10/fs/btrfs/ |
D | inode.c | 11124 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 11174 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 11431 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|
/linux-5.19.10/fs/ext4/ |
D | inode.c | 3630 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()
|
/linux-5.19.10/fs/cifs/ |
D | file.c | 4884 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
|