Searched refs:swap_info_struct (Results 1 - 17 of 17) sorted by relevance
/linux-master/include/linux/ |
H A D | swap.h | 248 * protected by swap_info_struct.lock. 253 * and swap_info_struct->swap_map 282 struct swap_info_struct { struct 430 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 432 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 478 extern int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry); 480 struct swap_info_struct *swp_swap_info(swp_entry_t entry); 484 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 487 static inline void put_swap_device(struct swap_info_struct *si) 493 static inline struct swap_info_struct *swp_swap_inf [all...] |
H A D | iomap.h | 407 struct swap_info_struct; 409 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
H A D | fs.h | 68 struct swap_info_struct; 433 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/linux-master/mm/ |
H A D | swapfile.c | 53 static bool swap_count_continued(struct swap_info_struct *, pgoff_t, 55 static void free_swap_count_continuations(struct swap_info_struct *); 92 * swap_info_struct changes between not-full/full, it needs to 93 * add/remove itself to/from this list, but the swap_info_struct->lock 95 * before any swap_info_struct->lock. 100 static struct swap_info_struct *swap_info[MAX_SWAPFILES]; 110 static struct swap_info_struct *swap_type_to_swap_info(int type) 134 static int __try_to_reclaim_swap(struct swap_info_struct *si, 162 static inline struct swap_extent *first_se(struct swap_info_struct *sis) 178 static int discard_swap(struct swap_info_struct *s [all...] |
H A D | page_io.c | 78 int generic_swapfile_activate(struct swap_info_struct *sis, 299 struct swap_info_struct *sis = swp_swap_info(folio->swap); 335 struct writeback_control *wbc, struct swap_info_struct *sis) 356 struct writeback_control *wbc, struct swap_info_struct *sis) 376 struct swap_info_struct *sis = swp_swap_info(folio->swap); 430 struct swap_info_struct *sis = swp_swap_info(folio->swap); 463 struct swap_info_struct *sis) 483 struct swap_info_struct *sis) 498 struct swap_info_struct *sis = swp_swap_info(folio->swap);
|
H A D | swap.h | 44 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry); 101 static inline void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry)
|
H A D | swap_state.c | 405 struct swap_info_struct *si; 433 struct swap_info_struct *si; 658 struct swap_info_struct *si = swp_swap_info(entry);
|
H A D | shmem.c | 1855 struct swap_info_struct *si;
|
H A D | memory.c | 3935 struct swap_info_struct *si = NULL;
|
/linux-master/fs/iomap/ |
H A D | swapfile.c | 16 struct swap_info_struct *sis; 142 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
/linux-master/fs/xfs/ |
H A D | xfs_aops.c | 562 struct swap_info_struct *sis,
|
/linux-master/fs/zonefs/ |
H A D | file.c | 160 static int zonefs_swap_activate(struct swap_info_struct *sis,
|
/linux-master/fs/nfs/ |
H A D | file.c | 509 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file,
|
/linux-master/fs/f2fs/ |
H A D | data.c | 3893 static int check_swap_activate(struct swap_info_struct *sis, 4007 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, 4056 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,
|
/linux-master/fs/btrfs/ |
H A D | inode.c | 10635 static int btrfs_add_swap_extent(struct swap_info_struct *sis, 10684 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, 10944 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file,
|
/linux-master/fs/ext4/ |
H A D | inode.c | 3516 static int ext4_iomap_swap_activate(struct swap_info_struct *sis,
|
/linux-master/fs/smb/client/ |
H A D | file.c | 5124 static int cifs_swap_activate(struct swap_info_struct *sis,
|
Completed in 548 milliseconds