Lines Matching refs:pmd_t
115 static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address) in pte_offset_kernel()
130 static inline pte_t *__pte_map(pmd_t *pmd, unsigned long address) in __pte_map()
144 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) in pmd_offset()
184 static inline pmd_t *pmd_off(struct mm_struct *mm, unsigned long va) in pmd_off()
189 static inline pmd_t *pmd_off_k(unsigned long va) in pmd_off_k()
196 pmd_t *pmd = pmd_off_k(vaddr); in virt_to_kpte()
202 static inline int pmd_young(pmd_t pmd) in pmd_young()
209 static inline int pmd_dirty(pmd_t pmd) in pmd_dirty()
314 unsigned long address, pmd_t *pmdp,
315 pmd_t entry, int dirty);
321 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags()
322 pmd_t entry, int dirty) in pmdp_set_access_flags()
345 static inline pmd_t pmdp_get(pmd_t *pmdp) in pmdp_get()
391 pmd_t *pmdp) in pmdp_test_and_clear_young()
393 pmd_t pmd = *pmdp; in pmdp_test_and_clear_young()
404 pmd_t *pmdp) in pmdp_test_and_clear_young()
420 unsigned long address, pmd_t *pmdp);
427 unsigned long address, pmd_t *pmdp) in pmdp_clear_flush_young()
468 pmd_t pmd) in arch_check_zapped_pmd()
593 static inline pmd_t pmdp_get_lockless(pmd_t *pmdp) in pmdp_get_lockless()
595 pmd_t pmd; in pmdp_get_lockless()
622 static inline pmd_t pmdp_get_lockless(pmd_t *pmdp) in pmdp_get_lockless()
633 static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, in pmdp_huge_get_and_clear()
635 pmd_t *pmdp) in pmdp_huge_get_and_clear()
637 pmd_t pmd = *pmdp; in pmdp_huge_get_and_clear()
662 static inline pmd_t pmdp_huge_get_and_clear_full(struct vm_area_struct *vma, in pmdp_huge_get_and_clear_full()
663 unsigned long address, pmd_t *pmdp, in pmdp_huge_get_and_clear_full()
832 extern pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma,
834 pmd_t *pmdp);
848 static inline pmd_t pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in pmd_mkwrite()
913 unsigned long address, pmd_t *pmdp) in pmdp_set_wrprotect()
915 pmd_t old_pmd = *pmdp; in pmdp_set_wrprotect()
920 unsigned long address, pmd_t *pmdp) in pmdp_set_wrprotect()
948 extern pmd_t pmdp_collapse_flush(struct vm_area_struct *vma,
949 unsigned long address, pmd_t *pmdp);
951 static inline pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, in pmdp_collapse_flush()
953 pmd_t *pmdp) in pmdp_collapse_flush()
963 extern void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp,
968 extern pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp);
981 static inline pmd_t generic_pmdp_establish(struct vm_area_struct *vma, in generic_pmdp_establish()
982 unsigned long address, pmd_t *pmdp, pmd_t pmd) in generic_pmdp_establish()
984 pmd_t old_pmd = *pmdp; in generic_pmdp_establish()
991 extern pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address,
992 pmd_t *pmdp);
1011 extern pmd_t pmdp_invalidate_ad(struct vm_area_struct *vma,
1012 unsigned long address, pmd_t *pmdp);
1061 static inline int pmd_same(pmd_t pmd_a, pmd_t pmd_b) in pmd_same()
1234 void pmd_clear_bad(pmd_t *);
1269 static inline int pmd_none_or_clear_bad(pmd_t *pmd) in pmd_none_or_clear_bad()
1408 static inline pmd_t pmd_swp_mksoft_dirty(pmd_t pmd) in pmd_swp_mksoft_dirty()
1413 static inline int pmd_swp_soft_dirty(pmd_t pmd) in pmd_swp_soft_dirty()
1418 static inline pmd_t pmd_swp_clear_soft_dirty(pmd_t pmd) in pmd_swp_clear_soft_dirty()
1429 static inline int pmd_soft_dirty(pmd_t pmd) in pmd_soft_dirty()
1439 static inline pmd_t pmd_mksoft_dirty(pmd_t pmd) in pmd_mksoft_dirty()
1449 static inline pmd_t pmd_clear_soft_dirty(pmd_t pmd) in pmd_clear_soft_dirty()
1469 static inline pmd_t pmd_swp_mksoft_dirty(pmd_t pmd) in pmd_swp_mksoft_dirty()
1474 static inline int pmd_swp_soft_dirty(pmd_t pmd) in pmd_swp_soft_dirty()
1479 static inline pmd_t pmd_swp_clear_soft_dirty(pmd_t pmd) in pmd_swp_clear_soft_dirty()
1609 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge()
1614 static inline int pmd_write(pmd_t pmd) in pmd_write()
1631 static inline int pmd_devmap(pmd_t pmd) in pmd_devmap()
1687 static inline int pmd_protnone(pmd_t pmd) in pmd_protnone()
1709 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1711 int pmd_clear_huge(pmd_t *pmd);
1714 int pmd_free_pte_page(pmd_t *pmd, unsigned long addr);
1724 static inline int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge()
1733 static inline int pmd_clear_huge(pmd_t *pmd) in pmd_clear_huge()
1745 static inline int pmd_free_pte_page(pmd_t *pmd, unsigned long addr) in pmd_free_pte_page()