Lines Matching defs:folio
750 struct anon_vma *folio_anon_vma(struct folio *folio)
752 unsigned long mapping = (unsigned long)folio->mapping;
760 * folio_mapping - Find the mapping where this folio is stored.
761 * @folio: The folio.
771 struct address_space *folio_mapping(struct folio *folio)
776 if (unlikely(folio_test_slab(folio)))
779 if (unlikely(folio_test_swapcache(folio)))
780 return swap_address_space(folio->swap);
782 mapping = folio->mapping;
791 * folio_copy - Copy the contents of one folio to another.
795 * The bytes in the folio represented by @src are copied to @dst.
797 * Can be called in atomic context for order-0 folios, but if the folio is
800 void folio_copy(struct folio *dst, struct folio *src)
1138 void flush_dcache_folio(struct folio *folio)
1140 long i, nr = folio_nr_pages(folio);
1143 flush_dcache_page(folio_page(folio, i));