Lines Matching refs:pmd
40 * are an index to the second level table. The combined pgdir/pmd first
156 #define pmd_none(pmd) (!pmd_val(pmd))
157 #define pmd_bad(pmd) (pmd_val(pmd) & _PMD_BAD)
158 #define pmd_present(pmd) (pmd_val(pmd) & _PMD_PRESENT_MASK)
165 * Note that on Book E processors, the pmd contains the kernel virtual
168 * handler). On everything else the pmd contains the physical address
172 #define pmd_pfn(pmd) (pmd_val(pmd) >> PAGE_SHIFT)
174 #define pmd_page_vaddr(pmd) \
175 ((const void *)(pmd_val(pmd) & ~(PTE_TABLE_SIZE - 1)))
176 #define pmd_pfn(pmd) (__pa(pmd_val(pmd)) >> PAGE_SHIFT)
179 #define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd))