| /include/asm-generic/ |
| A D | pgtable_uffd.h | 10 static __always_inline int pmd_uffd_wp(pmd_t pmd) in pmd_uffd_wp() 20 static __always_inline pmd_t pmd_mkuffd_wp(pmd_t pmd) in pmd_mkuffd_wp() 30 static __always_inline pmd_t pmd_clear_uffd_wp(pmd_t pmd) in pmd_clear_uffd_wp() 50 static inline pmd_t pmd_swp_mkuffd_wp(pmd_t pmd) in pmd_swp_mkuffd_wp() 55 static inline int pmd_swp_uffd_wp(pmd_t pmd) in pmd_swp_uffd_wp() 60 static inline pmd_t pmd_swp_clear_uffd_wp(pmd_t pmd) in pmd_swp_clear_uffd_wp()
|
| A D | pgtable-nopmd.h | 18 typedef struct { pud_t pud; } pmd_t; typedef 44 #define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval }) 46 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset() 48 return (pmd_t *)pud; in pmd_offset() 53 #define __pmd(x) ((pmd_t) { __pud(x) } ) 55 #define pud_page(pud) (pmd_page((pmd_t){ pud })) 56 #define pud_pgtable(pud) ((pmd_t *)(pmd_page_vaddr((pmd_t){ pud }))) 63 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
| A D | pgalloc.h | 135 static inline pmd_t *pmd_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_noprof() 155 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
|
| A D | tlb.h | 770 static inline bool huge_pmd_needs_flush(pmd_t oldpmd, pmd_t newpmd) in huge_pmd_needs_flush()
|
| /include/linux/ |
| A D | page_table_check.h | 18 void __page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd); 22 void __page_table_check_pmds_set(struct mm_struct *mm, pmd_t *pmdp, pmd_t pmd, 28 pmd_t pmd); 54 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear() 80 pmd_t *pmdp, pmd_t pmd, unsigned int nr) in page_table_check_pmds_set() 99 pmd_t pmd) in page_table_check_pte_clear_range() 121 static inline void page_table_check_pmd_clear(struct mm_struct *mm, pmd_t pmd) in page_table_check_pmd_clear() 135 pmd_t *pmdp, pmd_t pmd, unsigned int nr) in page_table_check_pmds_set() 146 pmd_t pmd) in page_table_check_pte_clear_range()
|
| A D | pgtable.h | 345 static inline pmd_t pmdp_get(pmd_t *pmdp) in pmdp_get() 604 static inline pmd_t pmdp_get_lockless(pmd_t *pmdp) in pmdp_get_lockless() 606 pmd_t pmd; in pmdp_get_lockless() 633 static inline pmd_t pmdp_get_lockless(pmd_t *pmdp) in pmdp_get_lockless() 1038 unsigned long address, pmd_t *pmdp, pmd_t pmd) in generic_pmdp_establish() 1117 static inline int pmd_same(pmd_t pmd_a, pmd_t pmd_b) in pmd_same() 1542 static inline pmd_t pmd_swp_mksoft_dirty(pmd_t pmd) in pmd_swp_mksoft_dirty() 1552 static inline pmd_t pmd_swp_clear_soft_dirty(pmd_t pmd) in pmd_swp_clear_soft_dirty() 1573 static inline pmd_t pmd_mksoft_dirty(pmd_t pmd) in pmd_mksoft_dirty() 1583 static inline pmd_t pmd_clear_soft_dirty(pmd_t pmd) in pmd_clear_soft_dirty() [all …]
|
| A D | huge_mm.h | 12 pmd_t *dst_pmd, pmd_t *src_pmd, unsigned long addr, 35 unsigned long new_addr, pmd_t *old_pmd, pmd_t *new_pmd); 404 pmd_t *____pmd = (__pmd); \ 443 static inline int is_swap_pmd(pmd_t pmd) in is_swap_pmd() 490 static inline bool is_huge_zero_pmd(pmd_t pmd) in is_huge_zero_pmd() 504 pmd_t *pmd, bool freeze); 506 pmd_t *pmdp, struct folio *folio); 583 unsigned long address, pmd_t *pmd, in split_huge_pmd_locked() 587 unsigned long addr, pmd_t *pmdp, in unmap_huge_pmd_locked() 615 static inline int is_swap_pmd(pmd_t pmd) in is_swap_pmd() [all …]
|
| A D | swapops.h | 316 extern void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, 340 static inline void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, in migration_entry_wait() 540 extern void pmd_migration_entry_wait(struct mm_struct *mm, pmd_t *pmd); 542 static inline swp_entry_t pmd_to_swp_entry(pmd_t pmd) in pmd_to_swp_entry() 554 static inline pmd_t swp_entry_to_pmd(swp_entry_t entry) in swp_entry_to_pmd() 562 static inline int is_pmd_migration_entry(pmd_t pmd) in is_pmd_migration_entry() 579 static inline void pmd_migration_entry_wait(struct mm_struct *m, pmd_t *p) { } in pmd_migration_entry_wait() 581 static inline swp_entry_t pmd_to_swp_entry(pmd_t pmd) in pmd_to_swp_entry() 586 static inline pmd_t swp_entry_to_pmd(swp_entry_t entry) in swp_entry_to_pmd() 591 static inline int is_pmd_migration_entry(pmd_t pmd) in is_pmd_migration_entry()
|
| A D | ptdump.h | 15 void (*note_page_pmd)(struct ptdump_state *st, unsigned long addr, pmd_t pmd); 21 void (*effective_prot_pmd)(struct ptdump_state *st, pmd_t pmd);
|
| A D | pagewalk.h | 77 int (*pmd_entry)(pmd_t *pmd, unsigned long addr, 181 pmd_t *pmdp; 186 pmd_t pmd;
|
| A D | userfaultfd_k.h | 114 extern int mfill_atomic_install_pte(pmd_t *dst_pmd, 139 int move_pages_huge_pmd(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd, pmd_t dst_pmdval, 201 pmd_t pmd) in userfaultfd_huge_pmd_wp() 338 pmd_t pmd) in userfaultfd_huge_pmd_wp()
|
| A D | mm.h | 545 pmd_t *pmd; /* Pointer to pmd entry matching 2351 unsigned long addr, pmd_t pmd); 2353 pmd_t pmd); 2693 static inline bool pmd_special(pmd_t pmd) in pmd_special() 2698 static inline pmd_t pmd_mkspecial(pmd_t pmd) in pmd_mkspecial() 2823 int __pte_alloc(struct mm_struct *mm, pmd_t *pmd); 2824 int __pte_alloc_kernel(pmd_t *pmd); 3008 pte_t *___pte_offset_map(pmd_t *pmd, unsigned long addr, pmd_t *pmdvalp); 3010 pmd_t *pmdvalp) in __pte_offset_map() 3037 unsigned long addr, pmd_t *pmdvalp, [all …]
|
| A D | shmem_fs.h | 200 extern int shmem_mfill_atomic_pte(pmd_t *dst_pmd,
|
| A D | hugetlb.h | 191 static inline pte_t *pte_offset_huge(pmd_t *pmd, unsigned long address) in pte_offset_huge() 195 static inline pte_t *pte_alloc_huge(struct mm_struct *mm, pmd_t *pmd, in pte_alloc_huge() 1001 return pmd_lockptr(mm, (pmd_t *) pte); in huge_pte_lockptr()
|
| A D | kasan.h | 54 extern pmd_t kasan_early_shadow_pmd[MAX_PTRS_PER_PMD];
|
| A D | rmap.h | 937 pmd_t *pmd;
|
| /include/trace/events/ |
| A D | xen.h | 159 TP_PROTO(pmd_t *pmdp, pmd_t pmdval), 162 __field(pmd_t *, pmdp) 192 TP_PROTO(pmd_t *pmdp), 195 __field(pmd_t *, pmdp)
|