Searched refs:swap_info_struct (Results 1 – 18 of 18) sorted by relevance
/Linux-v5.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 400 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 402 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 479 extern struct swap_info_struct *page_swap_info(struct page *); 480 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); 486 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 488 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 500 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 | 61 struct swap_info_struct; 413 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/Linux-v5.10/mm/ |
D | swapfile.c | 47 static bool swap_count_continued(struct swap_info_struct *, pgoff_t, 49 static void free_swap_count_continuations(struct swap_info_struct *); 91 struct swap_info_struct *swap_info[MAX_SWAPFILES]; 101 static struct swap_info_struct *swap_type_to_swap_info(int type) in swap_type_to_swap_info() 126 static int __try_to_reclaim_swap(struct swap_info_struct *si, in __try_to_reclaim_swap() 154 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se() 170 static int discard_swap(struct swap_info_struct *si) in discard_swap() 204 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() 227 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() 337 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_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() 312 struct swap_info_struct *sis = page_swap_info(page); in __swap_writepage() 382 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage() 466 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 | 1185 extern struct swap_info_struct *swap_info[];
|
D | memory.c | 3278 struct swap_info_struct *si = swp_swap_info(entry); in do_swap_page()
|
/Linux-v5.10/fs/iomap/ |
D | swapfile.c | 16 struct swap_info_struct *sis; 135 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
|
/Linux-v5.10/fs/xfs/ |
D | xfs_aops.c | 637 struct swap_info_struct *sis, in xfs_iomap_swapfile_activate()
|
/Linux-v5.10/fs/nfs/ |
D | file.c | 487 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
/Linux-v5.10/fs/f2fs/ |
D | data.c | 3886 static int check_swap_activate_fast(struct swap_info_struct *sis, in check_swap_activate_fast() 3964 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() 4065 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 4101 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
/Linux-v5.10/fs/btrfs/ |
D | inode.c | 10015 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 10054 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 10268 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|
/Linux-v5.10/fs/cifs/ |
D | file.c | 4812 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate()
|
/Linux-v5.10/fs/ext4/ |
D | inode.c | 3633 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate()
|