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);
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 page *swapin_readahead(swp_entry_t entry, gfp_t flag,
92 static inline struct address_space *swap_address_space(swp_entry_t entry) in swap_address_space()
97 static inline pgoff_t swap_cache_index(swp_entry_t entry) in swap_cache_index()
106 static inline struct folio *swap_cluster_readahead(swp_entry_t entry, in swap_cluster_readahead()
112 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead()
123 static inline void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry) in swapcache_clear()
127 static inline struct folio *swap_cache_get_folio(swp_entry_t entry, in swap_cache_get_folio()
145 static inline void *get_shadow_from_swap_cache(swp_entry_t entry) in get_shadow_from_swap_cache()
150 static inline int add_to_swap_cache(struct folio *folio, swp_entry_t entry, in add_to_swap_cache()
157 swp_entry_t entry, void *shadow) in __delete_from_swap_cache()