Lines Matching refs:pmd
119 #define __pmd_page(pmd) \ argument
120 ((unsigned long) __va (pmd_val (pmd) & PAGE_MASK))
134 #define pmd_page(pmd) virt_to_page(__pmd_page(pmd)) argument
137 static inline int pmd_none2 (pmd_t *pmd) { return !pmd_val (*pmd); } in pmd_none2() argument
138 #define pmd_none(pmd) pmd_none2(&(pmd)) argument
140 static inline int pmd_bad2 (pmd_t *pmd) { return 0; } in pmd_bad2() argument
141 #define pmd_bad(pmd) pmd_bad2(&(pmd)) argument
142 static inline int pmd_present2 (pmd_t *pmd) { return pmd_val (*pmd) & SUN3_PMD_VALID; } in pmd_present2() argument
144 #define pmd_present(pmd) (!pmd_none2(&(pmd))) argument
204 #define pte_offset_kernel(pmd, address) ((pte_t *) __pmd_page(*pmd) + pte_index(address)) argument
205 #define pte_offset_map(pmd, address) ((pte_t *)page_address(pmd_page(*pmd)) + pte_index(address)) argument