Searched refs:swap_info_struct (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/include/linux/ |
D | frontswap.h | 25 extern bool __frontswap_test(struct swap_info_struct *, pgoff_t); 35 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() 40 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 46 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get() 55 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() 60 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 65 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get()
|
D | swap.h | 206 struct swap_info_struct { struct 389 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 391 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 446 extern struct swap_info_struct *page_swap_info(struct page *);
|
D | swapfile.h | 10 extern struct swap_info_struct *swap_info[];
|
D | fs.h | 51 struct swap_info_struct; 407 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/linux-4.4.14/mm/ |
D | frontswap.c | 116 struct swap_info_struct *si; in frontswap_register_ops() 189 struct swap_info_struct *sis = swap_info[type]; in __frontswap_init() 212 bool __frontswap_test(struct swap_info_struct *sis, in __frontswap_test() 221 static inline void __frontswap_set(struct swap_info_struct *sis, in __frontswap_set() 228 static inline void __frontswap_clear(struct swap_info_struct *sis, in __frontswap_clear() 247 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store() 302 struct swap_info_struct *sis = swap_info[type]; in __frontswap_load() 337 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_page() 360 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_area() 380 struct swap_info_struct *si = NULL; in __frontswap_curr_pages() [all …]
|
D | swapfile.c | 43 static bool swap_count_continued(struct swap_info_struct *, pgoff_t, 45 static void free_swap_count_continuations(struct swap_info_struct *); 81 struct swap_info_struct *swap_info[MAX_SWAPFILES]; 96 __try_to_reclaim_swap(struct swap_info_struct *si, unsigned long offset) in __try_to_reclaim_swap() 124 static int discard_swap(struct swap_info_struct *si) in discard_swap() 161 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() 258 static void swap_cluster_schedule_discard(struct swap_info_struct *si, in swap_cluster_schedule_discard() 289 static void swap_do_scheduled_discard(struct swap_info_struct *si) in swap_do_scheduled_discard() 332 struct swap_info_struct *si; in swap_discard_work() 334 si = container_of(work, struct swap_info_struct, discard_work); in swap_discard_work() [all …]
|
D | page_io.c | 92 struct swap_info_struct *sis; in end_swap_bio_read() 132 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate() 257 struct swap_info_struct *sis = page_swap_info(page); in __swap_writepage() 328 struct swap_info_struct *sis = page_swap_info(page); in swap_readpage() 369 struct swap_info_struct *sis = page_swap_info(page); in swap_set_page_dirty()
|
/linux-4.4.14/fs/nfs/ |
D | file.c | 551 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate()
|