Searched refs:swap_info_struct (Results 1 - 17 of 17) sorted by relevance

/linux-master/include/linux/
H A Dswap.h248 * 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 Diomap.h407 struct swap_info_struct;
409 int iomap_swapfile_activate(struct swap_info_struct *sis,
H A Dfs.h68 struct swap_info_struct;
433 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
/linux-master/mm/
H A Dswapfile.c53 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 Dpage_io.c78 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 Dswap.h44 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 Dswap_state.c405 struct swap_info_struct *si;
433 struct swap_info_struct *si;
658 struct swap_info_struct *si = swp_swap_info(entry);
H A Dshmem.c1855 struct swap_info_struct *si;
H A Dmemory.c3935 struct swap_info_struct *si = NULL;
/linux-master/fs/iomap/
H A Dswapfile.c16 struct swap_info_struct *sis;
142 int iomap_swapfile_activate(struct swap_info_struct *sis,
/linux-master/fs/xfs/
H A Dxfs_aops.c562 struct swap_info_struct *sis,
/linux-master/fs/zonefs/
H A Dfile.c160 static int zonefs_swap_activate(struct swap_info_struct *sis,
/linux-master/fs/nfs/
H A Dfile.c509 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file,
/linux-master/fs/f2fs/
H A Ddata.c3893 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 Dinode.c10635 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 Dinode.c3516 static int ext4_iomap_swap_activate(struct swap_info_struct *sis,
/linux-master/fs/smb/client/
H A Dfile.c5124 static int cifs_swap_activate(struct swap_info_struct *sis,

Completed in 548 milliseconds