/include/trace/events/ |
D | thp.h | 13 TP_PROTO(unsigned long addr, unsigned long pmd), 14 TP_ARGS(addr, pmd), 17 __field(unsigned long, pmd) 22 __entry->pmd = pmd; 25 TP_printk("Set pmd with 0x%lx with 0x%lx", __entry->addr, __entry->pmd) 53 TP_PROTO(unsigned long addr, unsigned long pmd), 55 TP_ARGS(addr, pmd), 59 __field(unsigned long, pmd) 64 __entry->pmd = pmd; 66 TP_printk("addr=%lx, pmd=%lx", __entry->addr, __entry->pmd) [all …]
|
D | xen.h | 166 __entry->pmdval = pmdval.pmd),
|
/include/asm-generic/ |
D | pgtable_uffd.h | 10 static __always_inline int pmd_uffd_wp(pmd_t pmd) in pmd_uffd_wp() argument 20 static __always_inline pmd_t pmd_mkuffd_wp(pmd_t pmd) in pmd_mkuffd_wp() argument 22 return pmd; in pmd_mkuffd_wp() 30 static __always_inline pmd_t pmd_clear_uffd_wp(pmd_t pmd) in pmd_clear_uffd_wp() argument 32 return pmd; in pmd_clear_uffd_wp() 50 static inline pmd_t pmd_swp_mkuffd_wp(pmd_t pmd) in pmd_swp_mkuffd_wp() argument 52 return pmd; in pmd_swp_mkuffd_wp() 55 static inline int pmd_swp_uffd_wp(pmd_t pmd) in pmd_swp_uffd_wp() argument 60 static inline pmd_t pmd_swp_clear_uffd_wp(pmd_t pmd) in pmd_swp_clear_uffd_wp() argument 62 return pmd; in pmd_swp_clear_uffd_wp()
|
D | pgtable-nopmd.h | 36 #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud)) argument 38 #define pud_populate(mm, pmd, pte) do { } while (0) argument 63 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() argument
|
D | pgalloc.h | 138 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() argument 140 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free() 141 pgtable_pmd_page_dtor(virt_to_page(pmd)); in pmd_free() 142 free_page((unsigned long)pmd); in pmd_free()
|
D | page.h | 41 unsigned long pmd[16]; member 52 #define pmd_val(x) ((&x)->pmd[0])
|
/include/linux/ |
D | page_table_check.h | 20 pmd_t pmd); 26 pmd_t *pmdp, pmd_t pmd); 31 pmd_t pmd); 59 unsigned long addr, pmd_t pmd) in page_table_check_pmd_clear() argument 64 __page_table_check_pmd_clear(mm, addr, pmd); in page_table_check_pmd_clear() 88 pmd_t pmd) in page_table_check_pmd_set() argument 93 __page_table_check_pmd_set(mm, addr, pmdp, pmd); in page_table_check_pmd_set() 108 pmd_t pmd) in page_table_check_pte_clear_range() argument 113 __page_table_check_pte_clear_range(mm, addr, pmd); in page_table_check_pte_clear_range() 132 unsigned long addr, pmd_t pmd) in page_table_check_pmd_clear() argument [all …]
|
D | pgtable.h | 47 #define pmd_pgtable(pmd) pmd_page(pmd) argument 90 static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address) in pte_offset_kernel() argument 92 return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); in pte_offset_kernel() 163 pmd_t *pmd = pmd_off_k(vaddr); in virt_to_kpte() local 165 return pmd_none(*pmd) ? NULL : pte_offset_kernel(pmd, vaddr); in virt_to_kpte() 169 static inline int pmd_young(pmd_t pmd) in pmd_young() argument 228 pmd_t pmd = *pmdp; in pmdp_test_and_clear_young() local 230 if (!pmd_young(pmd)) in pmdp_test_and_clear_young() 233 set_pmd_at(vma->vm_mm, address, pmdp, pmd_mkold(pmd)); in pmdp_test_and_clear_young() 380 pmd_t pmd = *pmdp; in pmdp_huge_get_and_clear() local [all …]
|
D | huge_mm.h | 29 unsigned long addr, pmd_t *pmd, 32 pmd_t *pmd, unsigned long addr, unsigned long next); 33 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, pmd_t *pmd, 40 pmd_t *pmd, unsigned long addr, pgprot_t newprot, 192 void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, 226 spinlock_t *__pmd_trans_huge_lock(pmd_t *pmd, struct vm_area_struct *vma); 229 static inline int is_swap_pmd(pmd_t pmd) in is_swap_pmd() argument 231 return !pmd_none(pmd) && !pmd_present(pmd); in is_swap_pmd() 235 static inline spinlock_t *pmd_trans_huge_lock(pmd_t *pmd, in pmd_trans_huge_lock() argument 238 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) in pmd_trans_huge_lock() [all …]
|
D | swapops.h | 347 extern void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, 376 static inline void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, in migration_entry_wait() argument 527 extern void pmd_migration_entry_wait(struct mm_struct *mm, pmd_t *pmd); 529 static inline swp_entry_t pmd_to_swp_entry(pmd_t pmd) in pmd_to_swp_entry() argument 533 if (pmd_swp_soft_dirty(pmd)) in pmd_to_swp_entry() 534 pmd = pmd_swp_clear_soft_dirty(pmd); in pmd_to_swp_entry() 535 if (pmd_swp_uffd_wp(pmd)) in pmd_to_swp_entry() 536 pmd = pmd_swp_clear_uffd_wp(pmd); in pmd_to_swp_entry() 537 arch_entry = __pmd_to_swp_entry(pmd); in pmd_to_swp_entry() 549 static inline int is_pmd_migration_entry(pmd_t pmd) in is_pmd_migration_entry() argument [all …]
|
D | userfaultfd_k.h | 136 pmd_t pmd) in userfaultfd_huge_pmd_wp() argument 138 return userfaultfd_wp(vma) && pmd_uffd_wp(pmd); in userfaultfd_huge_pmd_wp() 220 pmd_t pmd) in userfaultfd_huge_pmd_wp() argument
|
D | mm.h | 504 pmd_t *pmd; /* Pointer to pmd entry matching member 2164 pmd_t pmd); 2568 int __pte_alloc(struct mm_struct *mm, pmd_t *pmd); 2569 int __pte_alloc_kernel(pmd_t *pmd); 2624 static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) in pte_lockptr() argument 2626 return ptlock_ptr(pmd_page(*pmd)); in pte_lockptr() 2649 static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) in pte_lockptr() argument 2680 #define pte_offset_map_lock(mm, pmd, address, ptlp) \ argument 2682 spinlock_t *__ptl = pte_lockptr(mm, pmd); \ 2683 pte_t *__pte = pte_offset_map(pmd, address); \ [all …]
|
D | pagewalk.h | 54 int (*pmd_entry)(pmd_t *pmd, unsigned long addr,
|
D | pfn_t.h | 113 pmd_t pmd_mkdevmap(pmd_t pmd);
|
D | rmap.h | 378 pmd_t *pmd; member
|
D | hugetlb.h | 234 int pmd_huge(pmd_t pmd); 381 static inline int pmd_huge(pmd_t pmd) in pmd_huge() argument
|