Lines Matching defs:pmd

258 static inline pte_t pmd_pte(pmd_t pmd)  in pmd_pte()
278 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !(pmd_val(pmd) & PMD_TABLE_BIT)) argument
279 #define pmd_trans_splitting(pmd) pte_special(pmd_pte(pmd)) argument
288 #define pmd_present(pmd) pte_present(pmd_pte(pmd)) argument
289 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd)) argument
290 #define pmd_young(pmd) pte_young(pmd_pte(pmd)) argument
291 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd))) argument
292 #define pmd_mksplitting(pmd) pte_pmd(pte_mkspecial(pmd_pte(pmd))) argument
293 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd))) argument
294 #define pmd_mkwrite(pmd) pte_pmd(pte_mkwrite(pmd_pte(pmd))) argument
295 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd))) argument
296 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd))) argument
297 #define pmd_mknotpresent(pmd) (__pmd(pmd_val(pmd) & ~PMD_SECT_VALID)) argument
300 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) argument
302 #define pmd_mkhuge(pmd) (__pmd(pmd_val(pmd) & ~PMD_TABLE_BIT)) argument
304 #define pmd_pfn(pmd) (((pmd_val(pmd) & PMD_MASK) & PHYS_MASK) >> PAGE_SHIFT) argument
311 #define set_pmd_at(mm, addr, pmdp, pmd) set_pte_at(mm, addr, (pte_t *)pmdp, pmd_pte(pmd)) argument
335 #define pmd_none(pmd) (!pmd_val(pmd)) argument
337 #define pmd_bad(pmd) (!(pmd_val(pmd) & 2)) argument
339 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument
341 #define pmd_sect(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument
354 static inline void set_pmd(pmd_t *pmdp, pmd_t pmd) in set_pmd()
366 static inline pte_t *pmd_page_vaddr(pmd_t pmd) in pmd_page_vaddr()
371 #define pmd_page(pmd) pfn_to_page(__phys_to_pfn(pmd_val(pmd) & PHYS_MASK)) argument
381 #define pmd_ERROR(pmd) __pmd_error(__FILE__, __LINE__, pmd_val(pmd)) argument
470 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()