Lines Matching refs:page
298 void *workingset_eviction(struct address_space *mapping, struct page *page);
300 void workingset_activation(struct page *page);
325 extern void lru_cache_add(struct page *);
326 extern void lru_cache_add_anon(struct page *page);
327 extern void lru_cache_add_file(struct page *page);
328 extern void lru_add_page_tail(struct page *page, struct page *page_tail,
330 extern void activate_page(struct page *);
331 extern void mark_page_accessed(struct page *);
335 extern void rotate_reclaimable_page(struct page *page);
336 extern void deactivate_file_page(struct page *page);
337 extern void mark_page_lazyfree(struct page *page);
340 extern void lru_cache_add_active_or_unevictable(struct page *page,
347 extern int __isolate_lru_page(struct page *page, isolate_mode_t mode);
358 extern int remove_mapping(struct address_space *mapping, struct page *page);
375 extern int page_evictable(struct page *page);
376 extern void check_move_unevictable_pages(struct page **, int nr_pages);
386 extern int swap_readpage(struct page *page, bool do_poll);
387 extern int swap_writepage(struct page *page, struct writeback_control *wbc);
389 extern int __swap_writepage(struct page *page, struct writeback_control *wbc,
391 extern int swap_set_page_dirty(struct page *page);
408 extern int add_to_swap(struct page *page);
409 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t);
410 extern int __add_to_swap_cache(struct page *page, swp_entry_t entry);
411 extern void __delete_from_swap_cache(struct page *);
412 extern void delete_from_swap_cache(struct page *);
413 extern void free_page_and_swap_cache(struct page *);
414 extern void free_pages_and_swap_cache(struct page **, int);
415 extern struct page *lookup_swap_cache(swp_entry_t entry,
418 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t,
421 extern struct page *__read_swap_cache_async(swp_entry_t, gfp_t,
424 extern struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
426 extern struct page *swapin_readahead(swp_entry_t entry, gfp_t flag,
447 extern swp_entry_t get_swap_page(struct page *page);
448 extern void put_swap_page(struct page *page, swp_entry_t entry);
460 extern sector_t map_swap_page(struct page *, struct block_device **);
462 extern int page_swapcount(struct page *);
466 extern struct swap_info_struct *page_swap_info(struct page *);
468 extern bool reuse_swap_page(struct page *, int *);
469 extern int try_to_free_swap(struct page *);
476 static inline int swap_readpage(struct page *page, bool do_poll) in swap_readpage() argument
496 #define free_page_and_swap_cache(page) \ argument
497 put_page(page)
526 static inline void put_swap_page(struct page *page, swp_entry_t swp) in put_swap_page() argument
530 static inline struct page *swap_cluster_readahead(swp_entry_t entry, in swap_cluster_readahead()
536 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead()
542 static inline int swap_writepage(struct page *p, struct writeback_control *wbc) in swap_writepage()
547 static inline struct page *lookup_swap_cache(swp_entry_t swp, in lookup_swap_cache()
554 static inline int add_to_swap(struct page *page) in add_to_swap() argument
559 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() argument
565 static inline void __delete_from_swap_cache(struct page *page) in __delete_from_swap_cache() argument
569 static inline void delete_from_swap_cache(struct page *page) in delete_from_swap_cache() argument
573 static inline int page_swapcount(struct page *page) in page_swapcount() argument
593 #define reuse_swap_page(page, total_map_swapcount) \ argument
594 (page_trans_huge_mapcount(page, total_map_swapcount) == 1)
596 static inline int try_to_free_swap(struct page *page) in try_to_free_swap() argument
601 static inline swp_entry_t get_swap_page(struct page *page) in get_swap_page() argument
650 extern void mem_cgroup_swapout(struct page *page, swp_entry_t entry);
651 extern int mem_cgroup_try_charge_swap(struct page *page, swp_entry_t entry);
654 extern bool mem_cgroup_swap_full(struct page *page);
656 static inline void mem_cgroup_swapout(struct page *page, swp_entry_t entry) in mem_cgroup_swapout() argument
660 static inline int mem_cgroup_try_charge_swap(struct page *page, in mem_cgroup_try_charge_swap() argument
676 static inline bool mem_cgroup_swap_full(struct page *page) in mem_cgroup_swap_full() argument