Lines Matching refs:swp_entry_t
107 } swp_entry_t; typedef
323 extern void mem_cgroup_uncharge_swap(swp_entry_t ent);
325 static inline void mem_cgroup_uncharge_swap(swp_entry_t ent) in mem_cgroup_uncharge_swap()
350 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t);
351 extern int __add_to_swap_cache(struct page *page, swp_entry_t entry);
356 extern struct page *lookup_swap_cache(swp_entry_t);
357 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t,
359 extern struct page *swapin_readahead(swp_entry_t, gfp_t,
378 extern swp_entry_t get_swap_page(void);
379 extern swp_entry_t get_swap_page_of_type(int);
380 extern int add_swap_count_continuation(swp_entry_t, gfp_t);
381 extern void swap_shmem_alloc(swp_entry_t);
382 extern int swap_duplicate(swp_entry_t);
383 extern int swapcache_prepare(swp_entry_t);
384 extern void swap_free(swp_entry_t);
385 extern void swapcache_free(swp_entry_t, struct page *page);
386 extern int free_swap_and_cache(swp_entry_t);
392 extern int swp_swapcount(swp_entry_t entry);
400 mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent, bool swapout);
403 mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent, bool swapout) in mem_cgroup_uncharge_swapcache()
431 static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask) in add_swap_count_continuation()
436 static inline void swap_shmem_alloc(swp_entry_t swp) in swap_shmem_alloc()
440 static inline int swap_duplicate(swp_entry_t swp) in swap_duplicate()
445 static inline void swap_free(swp_entry_t swp) in swap_free()
449 static inline void swapcache_free(swp_entry_t swp, struct page *page) in swapcache_free()
453 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead()
464 static inline struct page *lookup_swap_cache(swp_entry_t swp) in lookup_swap_cache()
474 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache()
493 static inline int swp_swapcount(swp_entry_t entry) in swp_swapcount()
505 static inline swp_entry_t get_swap_page(void) in get_swap_page()
507 swp_entry_t entry; in get_swap_page()
513 mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent) in mem_cgroup_uncharge_swapcache()