swap_info_struct 10805 fs/btrfs/inode.c static int btrfs_add_swap_extent(struct swap_info_struct *sis, swap_info_struct 10844 fs/btrfs/inode.c static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, swap_info_struct 11058 fs/btrfs/inode.c static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, swap_info_struct 3033 fs/f2fs/data.c static int check_swap_activate(struct swap_info_struct *sis, swap_info_struct 3125 fs/f2fs/data.c static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, swap_info_struct 3158 fs/f2fs/data.c static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, swap_info_struct 16 fs/iomap/swapfile.c struct swap_info_struct *sis; swap_info_struct 134 fs/iomap/swapfile.c int iomap_swapfile_activate(struct swap_info_struct *sis, swap_info_struct 489 fs/nfs/file.c static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, swap_info_struct 1180 fs/xfs/xfs_aops.c struct swap_info_struct *sis, swap_info_struct 33 include/linux/frontswap.h extern bool __frontswap_test(struct swap_info_struct *, pgoff_t); swap_info_struct 48 include/linux/frontswap.h static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) swap_info_struct 53 include/linux/frontswap.h static inline void frontswap_map_set(struct swap_info_struct *p, swap_info_struct 59 include/linux/frontswap.h static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) swap_info_struct 71 include/linux/frontswap.h static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) swap_info_struct 76 include/linux/frontswap.h static inline void frontswap_map_set(struct swap_info_struct *p, swap_info_struct 81 include/linux/frontswap.h static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) swap_info_struct 61 include/linux/fs.h struct swap_info_struct; swap_info_struct 407 include/linux/fs.h int (*swap_activate)(struct swap_info_struct *sis, struct file *file, swap_info_struct 203 include/linux/iomap.h struct swap_info_struct; swap_info_struct 205 include/linux/iomap.h int iomap_swapfile_activate(struct swap_info_struct *sis, swap_info_struct 395 include/linux/swap.h int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, swap_info_struct 397 include/linux/swap.h int generic_swapfile_activate(struct swap_info_struct *, struct file *, swap_info_struct 468 include/linux/swap.h extern struct swap_info_struct *page_swap_info(struct page *); swap_info_struct 469 include/linux/swap.h extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); swap_info_struct 475 include/linux/swap.h extern struct swap_info_struct *get_swap_device(swp_entry_t entry); swap_info_struct 477 include/linux/swap.h static inline void put_swap_device(struct swap_info_struct *si) swap_info_struct 489 include/linux/swap.h static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) swap_info_struct 11 include/linux/swapfile.h extern struct swap_info_struct *swap_info[]; swap_info_struct 117 mm/frontswap.c struct swap_info_struct *si; swap_info_struct 192 mm/frontswap.c struct swap_info_struct *sis = swap_info[type]; swap_info_struct 215 mm/frontswap.c bool __frontswap_test(struct swap_info_struct *sis, swap_info_struct 224 mm/frontswap.c static inline void __frontswap_set(struct swap_info_struct *sis, swap_info_struct 231 mm/frontswap.c static inline void __frontswap_clear(struct swap_info_struct *sis, swap_info_struct 250 mm/frontswap.c struct swap_info_struct *sis = swap_info[type]; swap_info_struct 299 mm/frontswap.c struct swap_info_struct *sis = swap_info[type]; swap_info_struct 333 mm/frontswap.c struct swap_info_struct *sis = swap_info[type]; swap_info_struct 355 mm/frontswap.c struct swap_info_struct *sis = swap_info[type]; swap_info_struct 374 mm/frontswap.c struct swap_info_struct *si = NULL; swap_info_struct 386 mm/frontswap.c struct swap_info_struct *si = NULL; swap_info_struct 2788 mm/memory.c struct swap_info_struct *si = swp_swap_info(entry); swap_info_struct 71 mm/mincore.c struct swap_info_struct *si; swap_info_struct 74 mm/page_io.c struct swap_info_struct *sis; swap_info_struct 146 mm/page_io.c int generic_swapfile_activate(struct swap_info_struct *sis, swap_info_struct 282 mm/page_io.c struct swap_info_struct *sis = page_swap_info(page); swap_info_struct 354 mm/page_io.c struct swap_info_struct *sis = page_swap_info(page); swap_info_struct 426 mm/page_io.c struct swap_info_struct *sis = page_swap_info(page); swap_info_struct 1119 mm/shmem.c extern struct swap_info_struct *swap_info[]; swap_info_struct 76 mm/swap_state.c struct swap_info_struct *si; swap_info_struct 314 mm/swap_state.c struct swap_info_struct *si; swap_info_struct 364 mm/swap_state.c struct swap_info_struct *si; swap_info_struct 547 mm/swap_state.c struct swap_info_struct *si = swp_swap_info(entry); swap_info_struct 48 mm/swapfile.c static bool swap_count_continued(struct swap_info_struct *, pgoff_t, swap_info_struct 50 mm/swapfile.c static void free_swap_count_continuations(struct swap_info_struct *); swap_info_struct 92 mm/swapfile.c struct swap_info_struct *swap_info[MAX_SWAPFILES]; swap_info_struct 102 mm/swapfile.c static struct swap_info_struct *swap_type_to_swap_info(int type) swap_info_struct 127 mm/swapfile.c static int __try_to_reclaim_swap(struct swap_info_struct *si, swap_info_struct 155 mm/swapfile.c static inline struct swap_extent *first_se(struct swap_info_struct *sis) swap_info_struct 171 mm/swapfile.c static int discard_swap(struct swap_info_struct *si) swap_info_struct 205 mm/swapfile.c offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) swap_info_struct 228 mm/swapfile.c static void discard_swap_cluster(struct swap_info_struct *si, swap_info_struct 338 mm/swapfile.c static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, swap_info_struct 362 mm/swapfile.c struct swap_info_struct *si, unsigned long offset) swap_info_struct 375 mm/swapfile.c static inline void unlock_cluster_or_swap_info(struct swap_info_struct *si, swap_info_struct 440 mm/swapfile.c static void swap_cluster_schedule_discard(struct swap_info_struct *si, swap_info_struct 457 mm/swapfile.c static void __free_cluster(struct swap_info_struct *si, unsigned long idx) swap_info_struct 469 mm/swapfile.c static void swap_do_scheduled_discard(struct swap_info_struct *si) swap_info_struct 494 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 496 mm/swapfile.c si = container_of(work, struct swap_info_struct, discard_work); swap_info_struct 503 mm/swapfile.c static void alloc_cluster(struct swap_info_struct *si, unsigned long idx) swap_info_struct 512 mm/swapfile.c static void free_cluster(struct swap_info_struct *si, unsigned long idx) swap_info_struct 535 mm/swapfile.c static void inc_cluster_info_page(struct swap_info_struct *p, swap_info_struct 555 mm/swapfile.c static void dec_cluster_info_page(struct swap_info_struct *p, swap_info_struct 576 mm/swapfile.c scan_swap_map_ssd_cluster_conflict(struct swap_info_struct *si, swap_info_struct 599 mm/swapfile.c static bool scan_swap_map_try_ssd_cluster(struct swap_info_struct *si, swap_info_struct 658 mm/swapfile.c static void __del_from_avail_list(struct swap_info_struct *p) swap_info_struct 666 mm/swapfile.c static void del_from_avail_list(struct swap_info_struct *p) swap_info_struct 673 mm/swapfile.c static void swap_range_alloc(struct swap_info_struct *si, unsigned long offset, swap_info_struct 690 mm/swapfile.c static void add_to_avail_list(struct swap_info_struct *p) swap_info_struct 702 mm/swapfile.c static void swap_range_free(struct swap_info_struct *si, unsigned long offset, swap_info_struct 732 mm/swapfile.c static int scan_swap_map_slots(struct swap_info_struct *si, swap_info_struct 929 mm/swapfile.c static int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot) swap_info_struct 964 mm/swapfile.c static void swap_free_cluster(struct swap_info_struct *si, unsigned long idx) swap_info_struct 977 mm/swapfile.c static unsigned long scan_swap_map(struct swap_info_struct *si, swap_info_struct 995 mm/swapfile.c struct swap_info_struct *si, *next; swap_info_struct 1082 mm/swapfile.c struct swap_info_struct *si = swap_type_to_swap_info(type); swap_info_struct 1104 mm/swapfile.c static struct swap_info_struct *__swap_info_get(swp_entry_t entry) swap_info_struct 1106 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1133 mm/swapfile.c static struct swap_info_struct *_swap_info_get(swp_entry_t entry) swap_info_struct 1135 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1151 mm/swapfile.c static struct swap_info_struct *swap_info_get(swp_entry_t entry) swap_info_struct 1153 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1161 mm/swapfile.c static struct swap_info_struct *swap_info_get_cont(swp_entry_t entry, swap_info_struct 1162 mm/swapfile.c struct swap_info_struct *q) swap_info_struct 1164 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1177 mm/swapfile.c static unsigned char __swap_entry_free_locked(struct swap_info_struct *p, swap_info_struct 1249 mm/swapfile.c struct swap_info_struct *get_swap_device(swp_entry_t entry) swap_info_struct 1251 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 1277 mm/swapfile.c static unsigned char __swap_entry_free(struct swap_info_struct *p, swap_info_struct 1292 mm/swapfile.c static void swap_entry_free(struct swap_info_struct *p, swp_entry_t entry) swap_info_struct 1315 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1330 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 1375 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 1398 mm/swapfile.c struct swap_info_struct *p, *prev; swap_info_struct 1432 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1450 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 1462 mm/swapfile.c static int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) swap_info_struct 1482 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 1499 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1538 mm/swapfile.c static bool swap_page_trans_huge_swapped(struct swap_info_struct *si, swap_info_struct 1568 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 1586 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 1674 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1734 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 1770 mm/swapfile.c struct swap_info_struct *sis = swap_info[type]; swap_info_struct 1809 mm/swapfile.c struct swap_info_struct *si = swap_type_to_swap_info(type); swap_info_struct 1828 mm/swapfile.c struct swap_info_struct *sis = swap_info[type]; swap_info_struct 1917 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 2092 mm/swapfile.c static unsigned int find_next_to_unuse(struct swap_info_struct *si, swap_info_struct 2130 mm/swapfile.c struct swap_info_struct *si = swap_info[type]; swap_info_struct 2259 mm/swapfile.c struct swap_info_struct *sis; swap_info_struct 2284 mm/swapfile.c static void destroy_swap_extents(struct swap_info_struct *sis) swap_info_struct 2311 mm/swapfile.c add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, swap_info_struct 2381 mm/swapfile.c static int setup_swap_extents(struct swap_info_struct *sis, sector_t *span) swap_info_struct 2409 mm/swapfile.c static int swap_node(struct swap_info_struct *p) swap_info_struct 2421 mm/swapfile.c static void setup_swap_info(struct swap_info_struct *p, int prio, swap_info_struct 2450 mm/swapfile.c static void _enable_swap_info(struct swap_info_struct *p) swap_info_struct 2471 mm/swapfile.c static void enable_swap_info(struct swap_info_struct *p, int prio, swap_info_struct 2494 mm/swapfile.c static void reinsert_swap_info(struct swap_info_struct *p) swap_info_struct 2517 mm/swapfile.c struct swap_info_struct *p = NULL; swap_info_struct 2567 mm/swapfile.c struct swap_info_struct *si = p; swap_info_struct 2711 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 2732 mm/swapfile.c struct swap_info_struct *si = v; swap_info_struct 2757 mm/swapfile.c struct swap_info_struct *si = v; swap_info_struct 2824 mm/swapfile.c static struct swap_info_struct *alloc_swap_info(void) swap_info_struct 2826 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 2874 mm/swapfile.c static int claim_swapfile(struct swap_info_struct *p, struct inode *inode) swap_info_struct 2927 mm/swapfile.c static unsigned long read_swap_header(struct swap_info_struct *p, swap_info_struct 3003 mm/swapfile.c static int setup_swap_map_and_extents(struct swap_info_struct *p, swap_info_struct 3088 mm/swapfile.c static bool swap_discardable(struct swap_info_struct *si) swap_info_struct 3100 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 3356 mm/swapfile.c struct swap_info_struct *si = swap_info[type]; swap_info_struct 3379 mm/swapfile.c struct swap_info_struct *p; swap_info_struct 3479 mm/swapfile.c struct swap_info_struct *swp_swap_info(swp_entry_t entry) swap_info_struct 3484 mm/swapfile.c struct swap_info_struct *page_swap_info(struct page *page) swap_info_struct 3523 mm/swapfile.c struct swap_info_struct *si; swap_info_struct 3633 mm/swapfile.c static bool swap_count_continued(struct swap_info_struct *si, swap_info_struct 3721 mm/swapfile.c static void free_swap_count_continuations(struct swap_info_struct *si) swap_info_struct 3743 mm/swapfile.c struct swap_info_struct *si, *next;