Lines Matching defs:mapping
752 unsigned long mapping = (unsigned long)folio->mapping;
754 if ((mapping & PAGE_MAPPING_FLAGS) != PAGE_MAPPING_ANON)
756 return (void *)(mapping - PAGE_MAPPING_ANON);
760 * folio_mapping - Find the mapping where this folio is stored.
763 * For folios which are in the page cache, return the mapping that this
764 * page belongs to. Folios in the swap cache return the swap mapping
765 * this page is stored in (which is different from the mapping for the
773 struct address_space *mapping;
782 mapping = folio->mapping;
783 if ((unsigned long)mapping & PAGE_MAPPING_FLAGS)
786 return mapping;
927 * mapping. 0 means there is enough memory for the allocation to