Home | History | Annotate | Download | only in linux

Lines Matching refs:swp_entry_t

75 } swp_entry_t;
161 extern void swapin_readahead(swp_entry_t, unsigned long, struct vm_area_struct *);
206 extern int shmem_unuse(swp_entry_t entry, struct page *page);
215 extern int rw_swap_page_sync(int, swp_entry_t, struct page *);
224 extern int move_to_swap_cache(struct page *, swp_entry_t);
229 extern struct page * lookup_swap_cache(swp_entry_t);
230 extern struct page * read_swap_cache_async(swp_entry_t, struct vm_area_struct *vma,
236 extern swp_entry_t get_swap_page(void);
237 extern swp_entry_t get_swap_page_of_type(int);
238 extern int swap_duplicate(swp_entry_t);
239 extern int valid_swaphandles(swp_entry_t, unsigned long *);
240 extern void swap_free(swp_entry_t);
241 extern void free_swap_and_cache(swp_entry_t);
292 static inline void free_swap_and_cache(swp_entry_t swp)
296 static inline int swap_duplicate(swp_entry_t swp)
301 static inline void swap_free(swp_entry_t swp)
305 static inline struct page *read_swap_cache_async(swp_entry_t swp,
311 static inline struct page *lookup_swap_cache(swp_entry_t swp)
316 static inline int valid_swaphandles(swp_entry_t entry, unsigned long *offset)
323 static inline int move_to_swap_cache(struct page *page, swp_entry_t entry)
349 static inline swp_entry_t get_swap_page(void)
351 swp_entry_t entry;