Home
last modified time | relevance | path

Searched refs:swap_info_struct (Results 1 – 21 of 21) sorted by relevance

/linux-6.15/mm/
H A Dswapfile.c579 struct swap_info_struct *si; in swap_discard_work()
588 struct swap_info_struct *si; in swap_users_ref_free()
870 struct swap_info_struct *si; in swap_reclaim_work()
1183 struct swap_info_struct *si; in swap_alloc_fast()
1326 struct swap_info_struct *si; in _swap_info_get()
1439 struct swap_info_struct *si; in get_swap_device()
1598 struct swap_info_struct *si; in put_swap_folio()
1649 struct swap_info_struct *si; in swp_swapcount()
1795 struct swap_info_struct *si; in free_swap_and_cache_nr()
2089 struct swap_info_struct *si; in unuse_pte_range()
[all …]
H A Dpage_io.c78 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate()
207 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_zeromap_folio_set()
226 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_zeromap_folio_clear()
378 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_writepage_fs()
414 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_sync()
435 struct writeback_control *wbc, struct swap_info_struct *sis) in swap_writepage_bdev_async()
455 struct swap_info_struct *sis = swp_swap_info(folio->swap); in __swap_writepage()
546 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_read_folio_fs()
579 struct swap_info_struct *sis) in swap_read_folio_bdev_sync()
601 struct swap_info_struct *sis) in swap_read_folio_bdev_async()
[all …]
H A Dswap.h62 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr);
92 struct swap_info_struct *sis = swp_swap_info(entry); in swap_zeromap_batch()
149 static inline void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr) in swapcache_clear()
H A Dswap_state.c343 struct swap_info_struct *si; in filemap_get_incore_folio()
371 struct swap_info_struct *si = swp_swap_info(entry); in __read_swap_cache_async()
487 struct swap_info_struct *si; in read_swap_cache_async()
596 struct swap_info_struct *si = swp_swap_info(entry); in swap_cluster_readahead()
H A Dzswap.c1072 struct swap_info_struct *si; in zswap_writeback_entry()
H A Duserfaultfd.c1157 struct swap_info_struct *si = NULL; in move_pages_pte()
H A Dmemory.c4229 struct swap_info_struct *si = swp_swap_info(entry); in non_swapcache_batch()
4406 struct swap_info_struct *si = NULL; in do_swap_page()
H A Dshmem.c2240 struct swap_info_struct *si; in shmem_swapin_folio()
/linux-6.15/include/linux/
H A Dswap.h297 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 *,
487 extern bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry);
489 struct swap_info_struct *swp_swap_info(swp_entry_t entry);
493 extern struct swap_info_struct *get_swap_device(swp_entry_t entry);
496 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
502 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
507 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device()
512 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
[all …]
H A Diomap.h519 struct swap_info_struct;
521 int iomap_swapfile_activate(struct swap_info_struct *sis,
H A Dfs.h71 struct swap_info_struct;
473 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
/linux-6.15/fs/iomap/
H A Dswapfile.c16 struct swap_info_struct *sis;
143 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
/linux-6.15/fs/xfs/
H A Dxfs_aops.c689 struct swap_info_struct *sis, in xfs_vm_swap_activate()
/linux-6.15/fs/zonefs/
H A Dfile.c160 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate()
/linux-6.15/fs/nfs/
H A Dfile.c518 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
/linux-6.15/fs/f2fs/
H A Ddata.c3916 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate()
4028 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
4077 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
/linux-6.15/Documentation/filesystems/
H A Dlocking.rst273 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
H A Dvfs.rst846 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
/linux-6.15/fs/btrfs/
H A Dinode.c9866 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent()
9915 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
10241 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
/linux-6.15/fs/smb/client/
H A Dfile.c3168 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
/linux-6.15/fs/ext4/
H A Dinode.c3602 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()