Lines Matching refs:swp_entry_t
38 static inline loff_t swap_dev_pos(swp_entry_t entry) in swap_dev_pos()
46 static inline pgoff_t swap_cache_index(swp_entry_t entry) in swap_cache_index()
54 void *get_shadow_from_swap_cache(swp_entry_t entry);
55 int add_to_swap_cache(struct folio *folio, swp_entry_t entry,
58 swp_entry_t entry, void *shadow);
62 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr);
63 struct folio *swap_cache_get_folio(swp_entry_t entry,
68 struct folio *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
71 struct folio *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_flags,
74 struct folio *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
76 struct folio *swapin_readahead(swp_entry_t entry, gfp_t flag,
89 static inline int swap_zeromap_batch(swp_entry_t entry, int max_nr, in swap_zeromap_batch()
118 static inline struct address_space *swap_address_space(swp_entry_t entry) in swap_address_space()
123 static inline pgoff_t swap_cache_index(swp_entry_t entry) in swap_cache_index()
132 static inline struct folio *swap_cluster_readahead(swp_entry_t entry, in swap_cluster_readahead()
138 static inline struct folio *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead()
149 static inline void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr) in swapcache_clear()
153 static inline struct folio *swap_cache_get_folio(swp_entry_t entry, in swap_cache_get_folio()
171 static inline void *get_shadow_from_swap_cache(swp_entry_t entry) in get_shadow_from_swap_cache()
176 static inline int add_to_swap_cache(struct folio *folio, swp_entry_t entry, in add_to_swap_cache()
183 swp_entry_t entry, void *shadow) in __delete_from_swap_cache()
201 static inline int swap_zeromap_batch(swp_entry_t entry, int max_nr, in swap_zeromap_batch()