Lines Matching defs:pmd
59 pmd_t *pmd;
65 pmd = pmd_offset(pud, addr);
66 if (pmd_none(*pmd))
69 return pmd;
90 pmd_t *pmd;
96 pmd = pmd_alloc(mm, pud, addr);
97 if (!pmd)
100 VM_BUG_ON(pmd_trans_huge(*pmd));
102 return pmd;
241 pmd_t pmd;
246 * The destination pmd shouldn't be established, free_pgtables()
254 * each pmd down will clear the source pmd. But if we first
257 * one pmd at a time", we will still have the old (now empty
263 * this pmd".
265 * One alternative might be to just unmap the target pmd at
280 /* Clear the pmd */
281 pmd = *old_pmd;
286 pmd_populate(mm, new_pmd, pmd_pgtable(pmd));