Searched refs:swap_info_struct (Results 1 – 19 of 19) sorted by relevance
/linux-6.6.21/mm/ |
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 …]
|
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()
|
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()
|
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()
|
D | shmem.c | 1838 struct swap_info_struct *si; in shmem_swapin_folio()
|
D | memory.c | 3727 struct swap_info_struct *si = NULL; in do_swap_page()
|
/linux-6.6.21/include/linux/ |
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 …]
|
D | iomap.h | 396 struct swap_info_struct; 398 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
D | fs.h | 66 struct swap_info_struct; 442 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/linux-6.6.21/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-6.6.21/fs/xfs/ |
D | xfs_aops.c | 568 struct swap_info_struct *sis, in xfs_iomap_swapfile_activate()
|
/linux-6.6.21/fs/zonefs/ |
D | file.c | 159 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate()
|
/linux-6.6.21/fs/nfs/ |
D | file.c | 509 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
/linux-6.6.21/fs/f2fs/ |
D | data.c | 3975 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() 4082 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 4127 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
/linux-6.6.21/Documentation/filesystems/ |
D | locking.rst | 268 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
D | vfs.rst | 827 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
|
/linux-6.6.21/fs/btrfs/ |
D | inode.c | 10525 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 10574 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 10831 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|
/linux-6.6.21/fs/smb/client/ |
D | file.c | 4989 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
|
/linux-6.6.21/fs/ext4/ |
D | inode.c | 3549 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()
|