/linux-6.6.21/mm/ |
D | pgtable-generic.c | 283 pmd_t pmdval; in __pte_offset_map() local 287 pmdval = pmdp_get_lockless(pmd); in __pte_offset_map() 291 *pmdvalp = pmdval; in __pte_offset_map() 292 if (unlikely(pmd_none(pmdval) || is_pmd_migration_entry(pmdval))) in __pte_offset_map() 294 if (unlikely(pmd_trans_huge(pmdval) || pmd_devmap(pmdval))) in __pte_offset_map() 296 if (unlikely(pmd_bad(pmdval))) { in __pte_offset_map() 300 return __pte_map(&pmdval, addr); in __pte_offset_map() 309 pmd_t pmdval; in pte_offset_map_nolock() local 312 pte = __pte_offset_map(pmd, addr, &pmdval); in pte_offset_map_nolock() 314 *ptlp = pte_lockptr(mm, &pmdval); in pte_offset_map_nolock() [all …]
|
D | mapping_dirty_helpers.c | 129 pmd_t pmdval = pmdp_get_lockless(pmd); in wp_clean_pmd_entry() local 132 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) { in wp_clean_pmd_entry() 133 WARN_ON(pmd_write(pmdval) || pmd_dirty(pmdval)); in wp_clean_pmd_entry()
|
D | huge_memory.c | 3211 pmd_t pmdval; in set_pmd_migration_entry() local 3219 pmdval = pmdp_invalidate(vma, address, pvmw->pmd); in set_pmd_migration_entry() 3224 set_pmd_at(mm, address, pvmw->pmd, pmdval); in set_pmd_migration_entry() 3228 if (pmd_dirty(pmdval)) in set_pmd_migration_entry() 3230 if (pmd_write(pmdval)) in set_pmd_migration_entry() 3236 if (pmd_young(pmdval)) in set_pmd_migration_entry() 3238 if (pmd_dirty(pmdval)) in set_pmd_migration_entry() 3241 if (pmd_soft_dirty(pmdval)) in set_pmd_migration_entry() 3243 if (pmd_uffd_wp(pmdval)) in set_pmd_migration_entry()
|
D | gup.c | 696 pmd_t *pmd, pmdval; in follow_pmd_mask() local 702 pmdval = pmdp_get_lockless(pmd); in follow_pmd_mask() 703 if (pmd_none(pmdval)) in follow_pmd_mask() 705 if (!pmd_present(pmdval)) in follow_pmd_mask() 707 if (pmd_devmap(pmdval)) { in follow_pmd_mask() 714 if (likely(!pmd_trans_huge(pmdval))) in follow_pmd_mask() 717 if (pmd_protnone(pmdval) && !gup_can_follow_protnone(vma, flags)) in follow_pmd_mask()
|
/linux-6.6.21/arch/arm/include/asm/ |
D | pgalloc.h | 110 pmdval_t pmdval = (pte + PTE_HWTABLE_OFF) | prot; in __pmd_populate() local 111 pmdp[0] = __pmd(pmdval); in __pmd_populate() 113 pmdp[1] = __pmd(pmdval + 256 * sizeof(pte_t)); in __pmd_populate()
|
/linux-6.6.21/arch/um/include/asm/ |
D | pgtable-2level.h | 37 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
D | pgtable-3level.h | 70 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
/linux-6.6.21/include/trace/events/ |
D | xen.h | 159 TP_PROTO(pmd_t *pmdp, pmd_t pmdval), 160 TP_ARGS(pmdp, pmdval), 163 __field(pmdval_t, pmdval) 166 __entry->pmdval = pmdval.pmd), 169 (int)sizeof(pmdval_t) * 2, (unsigned long long)pmd_val(native_make_pmd(__entry->pmdval)), 170 (int)sizeof(pmdval_t) * 2, (unsigned long long)__entry->pmdval)
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | page.h | 90 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
/linux-6.6.21/arch/hexagon/include/asm/ |
D | pgtable.h | 347 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | pgtable.h | 79 static inline void set_pmd(pmd_t *pmdptr, pmd_t pmdval) in set_pmd() argument 81 *pmdptr = pmdval; in set_pmd()
|
/linux-6.6.21/arch/xtensa/include/asm/ |
D | pgtable.h | 311 set_pmd(pmd_t *pmdp, pmd_t pmdval) in set_pmd() argument 313 *pmdp = pmdval; in set_pmd()
|
/linux-6.6.21/arch/openrisc/include/asm/ |
D | pgtable.h | 54 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
|
/linux-6.6.21/arch/sh/include/asm/ |
D | pgtable_32.h | 314 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
|
/linux-6.6.21/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 254 unsigned long pmdval, int count); 258 unsigned long pmdval);
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | pgtable.h | 239 #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while (0) argument
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pgtable.h | 236 #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while(0) argument
|
/linux-6.6.21/arch/arm64/mm/ |
D | mmu.c | 207 pmdval_t pmdval = PMD_TYPE_TABLE | PMD_TABLE_UXN; in alloc_init_cont_pte() local 211 pmdval |= PMD_TABLE_PXN; in alloc_init_cont_pte() 214 __pmd_populate(pmdp, pte_phys, pmdval); in alloc_init_cont_pte()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | paravirt_types.h | 182 void (*set_pmd)(pmd_t *pmdp, pmd_t pmdval);
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | entry.S | 1643 l32i a0, a0, 0 # read pmdval 1661 add a0, a0, a1 # pmdval - PAGE_OFFSET
|