Lines Matching refs:pud

141 #define pud_access_permitted(pud, write) \  argument
142 (pte_access_permitted(pud_pte(pud), (write)))
347 static inline pte_t pud_pte(pud_t pud) in pud_pte() argument
349 return __pte(pud_val(pud)); in pud_pte()
357 static inline pmd_t pud_pmd(pud_t pud) in pud_pmd() argument
359 return __pmd(pud_val(pud)); in pud_pmd()
453 #define pud_young(pud) pte_young(pud_pte(pud)) argument
454 #define pud_mkyoung(pud) pte_pud(pte_mkyoung(pud_pte(pud))) argument
455 #define pud_write(pud) pte_write(pud_pte(pud)) argument
457 #define pud_mkhuge(pud) (__pud(pud_val(pud) & ~PUD_TABLE_BIT)) argument
459 #define __pud_to_phys(pud) __pte_to_phys(pud_pte(pud)) argument
461 #define pud_pfn(pud) ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT) argument
515 static inline bool pud_sect(pud_t pud) { return false; } in pud_sect() argument
516 static inline bool pud_table(pud_t pud) { return true; } in pud_table() argument
518 #define pud_sect(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \ argument
520 #define pud_table(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \ argument
594 #define pud_none(pud) (!pud_val(pud)) argument
595 #define pud_bad(pud) (!(pud_val(pud) & PUD_TABLE_BIT)) argument
596 #define pud_present(pud) pte_present(pud_pte(pud)) argument
597 #define pud_leaf(pud) pud_sect(pud) argument
598 #define pud_valid(pud) pte_valid(pud_pte(pud)) argument
600 static inline void set_pud(pud_t *pudp, pud_t pud) in set_pud() argument
604 set_swapper_pgd((pgd_t *)pudp, __pgd(pud_val(pud))); in set_pud()
609 WRITE_ONCE(*pudp, pud); in set_pud()
611 if (pud_valid(pud)) { in set_pud()
622 static inline phys_addr_t pud_page_paddr(pud_t pud) in pud_page_paddr() argument
624 return __pud_to_phys(pud); in pud_page_paddr()
627 static inline unsigned long pud_page_vaddr(pud_t pud) in pud_page_vaddr() argument
629 return (unsigned long)__va(pud_page_paddr(pud)); in pud_page_vaddr()
636 #define pmd_set_fixmap_offset(pud, addr) pmd_set_fixmap(pmd_offset_phys(pud, addr)) argument
639 #define pud_page(pud) phys_to_page(__pud_to_phys(pud)) argument
646 #define pud_page_paddr(pud) ({ BUILD_BUG(); 0; }) argument
760 static inline int pud_devmap(pud_t pud) in pud_devmap() argument