Lines Matching defs:folio

339 	struct folio *folio = page_folio(page);
340 swp_entry_t entry = folio->swap;
342 entry.val += folio_page_idx(folio, page);
349 void *workingset_eviction(struct folio *folio, struct mem_cgroup *target_memcg);
350 void workingset_refault(struct folio *folio, void *shadow);
351 void workingset_activation(struct folio *folio);
363 void lru_note_cost_refault(struct folio *);
364 void folio_add_lru(struct folio *);
365 void folio_add_lru_vma(struct folio *, struct vm_area_struct *);
367 void folio_mark_accessed(struct folio *);
386 void folio_deactivate(struct folio *folio);
387 void folio_mark_lazyfree(struct folio *folio);
407 long remove_mapping(struct address_space *mapping, struct folio *folio);
440 void free_swap_cache(struct folio *folio);
461 swp_entry_t folio_alloc_swap(struct folio *folio);
462 bool folio_free_swap(struct folio *folio);
463 void put_swap_folio(struct folio *folio, swp_entry_t entry);
485 sector_t swap_folio_sector(struct folio *folio);
524 static inline void free_swap_cache(struct folio *folio)
551 static inline void put_swap_folio(struct folio *folio, swp_entry_t swp)
570 static inline swp_entry_t folio_alloc_swap(struct folio *folio)
577 static inline bool folio_free_swap(struct folio *folio)
620 void __folio_throttle_swaprate(struct folio *folio, gfp_t gfp);
621 static inline void folio_throttle_swaprate(struct folio *folio, gfp_t gfp)
625 __folio_throttle_swaprate(folio, gfp);
628 static inline void folio_throttle_swaprate(struct folio *folio, gfp_t gfp)
634 void mem_cgroup_swapout(struct folio *folio, swp_entry_t entry);
635 int __mem_cgroup_try_charge_swap(struct folio *folio, swp_entry_t entry);
636 static inline int mem_cgroup_try_charge_swap(struct folio *folio,
641 return __mem_cgroup_try_charge_swap(folio, entry);
653 extern bool mem_cgroup_swap_full(struct folio *folio);
655 static inline void mem_cgroup_swapout(struct folio *folio, swp_entry_t entry)
659 static inline int mem_cgroup_try_charge_swap(struct folio *folio,
675 static inline bool mem_cgroup_swap_full(struct folio *folio)