Lines Matching refs:pmd
119 #define pmd_ERROR(pmd) __pmd_error(__FILE__, __LINE__, pmd_val(pmd))
276 #define pmd_none(pmd) (!pmd_val(pmd))
277 #define pmd_present(pmd) (pmd_val(pmd))
278 #define pmd_bad(pmd) (pmd_val(pmd) & 2)
294 static inline pte_t *pmd_page_kernel(pmd_t pmd)
298 ptr = pmd_val(pmd) & ~(PTRS_PER_PTE * sizeof(void *) - 1);
304 #define pmd_page(pmd) virt_to_page(__va(pmd_val(pmd)))
319 * setup: the pgd is never bad, and a pmd always exists (as it's folded