Lines Matching defs:pmd
38 pmd_t *pmd;
52 pmd = pmd_offset(pud, addr);
53 if (pmd_none(*pmd))
56 return pmd;
65 pmd_t *pmd;
75 pmd = pmd_alloc(mm, pud, addr);
76 if (!pmd)
79 VM_BUG_ON(pmd_trans_huge(*pmd));
81 return pmd;
200 pmd_t pmd;
203 * The destination pmd shouldn't be established, free_pgtables()
211 * each pmd down will clear the source pmd. But if we first
214 * one pmd at a time", we will still have the old (now empty
220 * this pmd".
222 * One alternative might be to just unmap the target pmd at
237 /* Clear the pmd */
238 pmd = *old_pmd;
243 /* Set the new pmd */
244 set_pmd_at(mm, new_addr, new_pmd, pmd);