/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | pgalloc.h | 44 unsigned long pmdval; in pmd_populate_kernel() local 52 pmdval = __pa(pte_ptr) | _PAGE_KERNEL_TABLE; in pmd_populate_kernel() 53 set_pmd(pmdp, __pmd(pmdval)); in pmd_populate_kernel() 59 unsigned long pmdval; in pmd_populate() local 63 pmdval = page_to_pfn(ptep) << PAGE_SHIFT | _PAGE_USER_TABLE; in pmd_populate() 64 set_pmd(pmdp, __pmd(pmdval)); in pmd_populate()
|
/kernel/linux/linux-5.10/mm/ |
D | mapping_dirty_helpers.c | 126 pmd_t pmdval = pmd_read_atomic(pmd); in wp_clean_pmd_entry() local 128 if (!pmd_trans_unstable(&pmdval)) in wp_clean_pmd_entry() 131 if (pmd_none(pmdval)) { in wp_clean_pmd_entry() 138 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) in wp_clean_pmd_entry() 139 WARN_ON(pmd_write(pmdval) || pmd_dirty(pmdval)); in wp_clean_pmd_entry()
|
D | gup.c | 561 pmd_t *pmd, pmdval; in follow_pmd_mask() local 571 pmdval = READ_ONCE(*pmd); in follow_pmd_mask() 572 if (pmd_none(pmdval)) in follow_pmd_mask() 574 if (pmd_huge(pmdval) && is_vm_hugetlb_page(vma)) { in follow_pmd_mask() 580 if (is_hugepd(__hugepd(pmd_val(pmdval)))) { in follow_pmd_mask() 582 __hugepd(pmd_val(pmdval)), flags, in follow_pmd_mask() 589 if (!pmd_present(pmdval)) { in follow_pmd_mask() 593 !is_pmd_migration_entry(pmdval)); in follow_pmd_mask() 594 if (is_pmd_migration_entry(pmdval)) in follow_pmd_mask() 596 pmdval = READ_ONCE(*pmd); in follow_pmd_mask() [all …]
|
D | mprotect.c | 202 pmd_t pmdval = pmd_read_atomic(pmd); in pmd_none_or_clear_bad_unless_trans_huge() local 209 if (pmd_none(pmdval)) in pmd_none_or_clear_bad_unless_trans_huge() 211 if (pmd_trans_huge(pmdval)) in pmd_none_or_clear_bad_unless_trans_huge() 213 if (unlikely(pmd_bad(pmdval))) { in pmd_none_or_clear_bad_unless_trans_huge()
|
D | huge_memory.c | 2958 pmd_t pmdval; in set_pmd_migration_entry() local 2966 pmdval = pmdp_invalidate(vma, address, pvmw->pmd); in set_pmd_migration_entry() 2967 if (pmd_dirty(pmdval)) in set_pmd_migration_entry() 2969 entry = make_migration_entry(page, pmd_write(pmdval)); in set_pmd_migration_entry() 2971 if (pmd_soft_dirty(pmdval)) in set_pmd_migration_entry()
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | pgtable-3level.h | 76 #define set_pmd(pmdptr, pmdval) set_64bit((u64 *) (pmdptr), pmd_val(pmdval)) argument 78 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
D | pgtable-2level.h | 38 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
D | mm-nds32.c | 77 unsigned long pmdval; in setup_mm_for_reboot() local 90 pmdval = (i << PGDIR_SHIFT); in setup_mm_for_reboot() 94 set_pmd(pmd, __pmd(pmdval)); in setup_mm_for_reboot()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | page.h | 88 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | pgtable.h | 100 static inline void set_pmd(pmd_t *pmdptr, pmd_t pmdval) in set_pmd() argument 102 *pmdptr = pmdval; in set_pmd()
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | pgtable.h | 369 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | pgtable.h | 248 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
|
/kernel/linux/linux-5.10/include/linux/ |
D | pgtable.h | 1203 pmd_t pmdval = pmd_read_atomic(pmd); in pmd_none_or_trans_huge_or_clear_bad() local 1236 if (pmd_none(pmdval) || pmd_trans_huge(pmdval) || in pmd_none_or_trans_huge_or_clear_bad() 1237 (IS_ENABLED(CONFIG_ARCH_ENABLE_THP_MIGRATION) && !pmd_present(pmdval))) in pmd_none_or_trans_huge_or_clear_bad() 1239 if (unlikely(pmd_bad(pmdval))) { in pmd_none_or_trans_huge_or_clear_bad()
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | pgtable.h | 54 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | pgtable.h | 329 set_pmd(pmd_t *pmdp, pmd_t pmdval) in set_pmd() argument 331 *pmdp = pmdval; in set_pmd()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | pgtable_32.h | 316 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 237 unsigned long pmdval, int count); 241 unsigned long pmdval);
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | pgtable.h | 250 #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while(0) argument
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | paravirt_types.h | 243 void (*set_pmd)(pmd_t *pmdp, pmd_t pmdval);
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | entry.S | 1617 l32i a0, a0, 0 # read pmdval 1635 add a0, a0, a1 # pmdval - PAGE_OFFSET
|