Searched refs:swap_info_struct (Results 1 - 17 of 17) sorted by last modified time
/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) 138 static int __try_to_reclaim_swap(struct swap_info_struct *si, 167 static inline struct swap_extent *first_se(struct swap_info_struct *sis) 183 static int discard_swap(struct swap_info_struct *s [all...] |
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 | page_io.c | 78 int generic_swapfile_activate(struct swap_info_struct *sis, 300 struct swap_info_struct *sis = swp_swap_info(folio->swap); 336 struct writeback_control *wbc, struct swap_info_struct *sis) 357 struct writeback_control *wbc, struct swap_info_struct *sis) 377 struct swap_info_struct *sis = swp_swap_info(folio->swap); 431 struct swap_info_struct *sis = swp_swap_info(folio->swap); 464 struct swap_info_struct *sis) 484 struct swap_info_struct *sis) 499 struct swap_info_struct *sis = swp_swap_info(folio->swap);
|
H A D | memory.c | 3958 struct swap_info_struct *si = NULL;
|
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)
|
/linux-master/include/linux/ |
H A D | swap.h | 248 * protected by swap_info_struct.lock. 253 * and swap_info_struct->swap_map 294 struct swap_info_struct { struct 440 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 442 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 488 extern int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry); 490 struct swap_info_struct *swp_swap_info(swp_entry_t entry); 494 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 497 static inline void put_swap_device(struct swap_info_struct *si) 503 static inline struct swap_info_struct *swp_swap_inf [all...] |
H A D | fs.h | 68 struct swap_info_struct; 431 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
H A D | iomap.h | 407 struct swap_info_struct; 409 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
/linux-master/fs/f2fs/ |
H A D | data.c | 3917 static int check_swap_activate(struct swap_info_struct *sis, 4030 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, 4079 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,
|
/linux-master/fs/ext4/ |
H A D | inode.c | 3513 static int ext4_iomap_swap_activate(struct swap_info_struct *sis,
|
/linux-master/fs/smb/client/ |
H A D | file.c | 3132 static int cifs_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/btrfs/ |
H A D | inode.c | 10480 static int btrfs_add_swap_extent(struct swap_info_struct *sis, 10529 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, 10789 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file,
|
/linux-master/fs/xfs/ |
H A D | xfs_aops.c | 532 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/iomap/ |
H A D | swapfile.c | 16 struct swap_info_struct *sis; 142 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
Completed in 740 milliseconds