Searched refs:swap_info_struct (Results 1 - 17 of 17) sorted by last modified time

/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)
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 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 Dpage_io.c78 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 Dmemory.c3958 struct swap_info_struct *si = NULL;
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)
/linux-master/include/linux/
H A Dswap.h248 * 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 Dfs.h68 struct swap_info_struct;
431 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
H A Diomap.h407 struct swap_info_struct;
409 int iomap_swapfile_activate(struct swap_info_struct *sis,
/linux-master/fs/f2fs/
H A Ddata.c3917 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 Dinode.c3513 static int ext4_iomap_swap_activate(struct swap_info_struct *sis,
/linux-master/fs/smb/client/
H A Dfile.c3132 static int cifs_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/btrfs/
H A Dinode.c10480 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 Dxfs_aops.c532 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/iomap/
H A Dswapfile.c16 struct swap_info_struct *sis;
142 int iomap_swapfile_activate(struct swap_info_struct *sis,

Completed in 740 milliseconds