Searched refs:swap_info_struct (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.4/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 | 235 struct swap_info_struct { struct 395 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 397 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 468 extern struct swap_info_struct *page_swap_info(struct page *); 469 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); 475 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 477 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 489 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 | 203 struct swap_info_struct; 205 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
D | fs.h | 61 struct swap_info_struct; 407 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/Linux-v5.4/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() 228 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() 338 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() 282 struct swap_info_struct *sis = page_swap_info(page); in __swap_writepage() 354 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage() 426 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() 314 struct swap_info_struct *si; in lookup_swap_cache() 364 struct swap_info_struct *si; in __read_swap_cache_async() 547 struct swap_info_struct *si = swp_swap_info(entry); in swap_cluster_readahead()
|
D | mincore.c | 71 struct swap_info_struct *si; in mincore_page()
|
D | shmem.c | 1119 extern struct swap_info_struct *swap_info[];
|
D | memory.c | 2772 struct swap_info_struct *si = swp_swap_info(entry); in do_swap_page()
|
/Linux-v5.4/fs/iomap/ |
D | swapfile.c | 16 struct swap_info_struct *sis; 134 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate()
|
/Linux-v5.4/fs/nfs/ |
D | file.c | 489 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_aops.c | 1180 struct swap_info_struct *sis, in xfs_iomap_swapfile_activate()
|
/Linux-v5.4/fs/f2fs/ |
D | data.c | 3120 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() 3153 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate()
|
/Linux-v5.4/fs/btrfs/ |
D | inode.c | 10701 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() 10740 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() 10954 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate()
|