Lines Matching defs:mapped
10 * Provides methods for unmapping each kind of mapped page:
167 * anonymous pages mapped into it with that anon_vma.
280 * searches where page is mapped.
487 * chain and verify that the page in question is indeed mapped in it
514 * If this folio is still mapped, then its anon_vma cannot have been
557 * If the folio is still mapped, then this anon_vma is still
768 * Returns the actual pmd_t* where we expect 'address' to be mapped from, or
843 /* unexpected pmd-mapped folio? */
994 /* unexpected pmd-mapped folio? */
1053 * pfn_mkclean_range - Cleans the PTEs (including PMDs) mapped with range of
1059 * @pgoff: page offset that the @pfn mapped with.
1060 * @vma: vma that @pfn mapped within.
1090 /* In the common case, avoid the loop when no pages mapped by PTE */
1094 * Add all the PTE mappings of those pages mapped by PTE.
1154 * If the page isn't exclusively mapped into this vma,
1180 * @address: the user virtual address mapped
1206 * @address: the user virtual address mapped
1218 atomic_t *mapped = &folio->_nr_pages_mapped;
1223 /* Is page being mapped by PTE? Is this its first map to be added? */
1228 nr = atomic_inc_return_relaxed(mapped);
1236 nr = atomic_add_return_relaxed(COMPOUND_MAPPED, mapped);
1274 * @address: the user virtual address mapped
1281 * is new, it's assumed to be mapped exclusively by a single process.
1311 * @nr_pages: The number of pages which will be mapped
1323 atomic_t *mapped = &folio->_nr_pages_mapped;
1329 /* Is page being mapped by PTE? Is this its first map to be added? */
1334 first = atomic_inc_return_relaxed(mapped);
1346 nr = atomic_add_return_relaxed(COMPOUND_MAPPED, mapped);
1405 atomic_t *mapped = &folio->_nr_pages_mapped;
1414 /* hugetlb pages are always mapped with pmds */
1424 nr = atomic_dec_return_relaxed(mapped);
1432 nr = atomic_sub_return_relaxed(COMPOUND_MAPPED, mapped);
1462 * is still mapped.
1474 * it's only reliable while mapped.
1533 /* Unexpected PMD-mapped THP? */
1820 * still mapped if needed (use TTU_SYNC to prevent accounting races).
1900 /* PMD-mapped THP migration entry */
1916 /* Unexpected PMD-mapped THP? */
2231 /* Unexpected PMD-mapped THP? */
2254 * Check that our target page is still mapped at the expected
2295 * @mm: The mm_struct where the folio is expected to be mapped.
2296 * @address: Address where the folio is expected to be mapped.
2304 * Return: false if the page is still mapped, or if it could not be unmapped
2565 * The following two functions are for anonymous (private mapped) hugepages.