Lines Matching defs:pmd
52 * mapping->i_mmap_rwsem (also used for hugetlb pmd sharing)
806 pmd_t *pmd = NULL;
820 pmd = pmd_offset(pud, address);
822 return pmd;
882 pvmw.pmd))
885 /* unexpected pmd-mapped folio? */
1007 * We have to assume the worse case ie pmd for invalidation. Note that
1033 pmd_t *pmd = pvmw->pmd;
1036 if (!pmd_dirty(*pmd) && !pmd_write(*pmd))
1041 entry = pmdp_invalidate(vma, address, pmd);
1044 set_pmd_at(vma->vm_mm, address, pmd, entry);
1047 /* unexpected pmd-mapped folio? */
1403 * If the folio is pmd-mappable, it is accounted as a THP. As the folio
1642 * For THP, we have to assume the worse case ie pmd for invalidation.
1644 * invalidation in the case of pmd sharing.
1995 * For THP, we have to assume the worse case ie pmd for invalidation.
1997 * invalidation in the case of pmd sharing.
2023 pmd_pfn(*pvmw.pmd) - folio_pfn(folio));