Lines Matching refs:pmd
27 pmd_t *pmd; in idmap_add_pmd() local
31 pmd = pmd_alloc_one(&init_mm, addr); in idmap_add_pmd()
32 if (!pmd) { in idmap_add_pmd()
41 memcpy(pmd, pmd_offset(pud, 0), in idmap_add_pmd()
43 pud_populate(&init_mm, pud, pmd); in idmap_add_pmd()
44 pmd += pmd_index(addr); in idmap_add_pmd()
46 pmd = pmd_offset(pud, addr); in idmap_add_pmd()
50 *pmd = __pmd((addr & PMD_MASK) | prot); in idmap_add_pmd()
51 flush_pmd_entry(pmd); in idmap_add_pmd()
52 } while (pmd++, addr = next, addr != end); in idmap_add_pmd()
58 pmd_t *pmd = pmd_offset(pud, addr); in idmap_add_pmd() local
61 pmd[0] = __pmd(addr); in idmap_add_pmd()
63 pmd[1] = __pmd(addr); in idmap_add_pmd()
64 flush_pmd_entry(pmd); in idmap_add_pmd()