Home
last modified time | relevance | path

Searched refs:pmdval (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dpgalloc.h44 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/
Dmapping_dirty_helpers.c126 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()
Dgup.c561 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 …]
Dmprotect.c194 pmd_t pmdval = pmd_read_atomic(pmd); in pmd_none_or_clear_bad_unless_trans_huge() local
201 if (pmd_none(pmdval)) in pmd_none_or_clear_bad_unless_trans_huge()
203 if (pmd_trans_huge(pmdval)) in pmd_none_or_clear_bad_unless_trans_huge()
205 if (unlikely(pmd_bad(pmdval))) { in pmd_none_or_clear_bad_unless_trans_huge()
Dhuge_memory.c2958 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/
Dpgtable-3level.h76 #define set_pmd(pmdptr, pmdval) set_64bit((u64 *) (pmdptr), pmd_val(pmdval)) argument
78 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
Dpgtable-2level.h38 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
/kernel/linux/linux-5.10/arch/nds32/mm/
Dmm-nds32.c77 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/
Dpgalloc.h110 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/
Dxen.h159 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/
Dpage.h88 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dpgtable.h100 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/
Dpgtable.h369 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dpgtable.h248 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
/kernel/linux/linux-5.10/include/linux/
Dpgtable.h1202 pmd_t pmdval = pmd_read_atomic(pmd); in pmd_none_or_trans_huge_or_clear_bad() local
1235 if (pmd_none(pmdval) || pmd_trans_huge(pmdval) || in pmd_none_or_trans_huge_or_clear_bad()
1236 (IS_ENABLED(CONFIG_ARCH_ENABLE_THP_MIGRATION) && !pmd_present(pmdval))) in pmd_none_or_trans_huge_or_clear_bad()
1238 if (unlikely(pmd_bad(pmdval))) { in pmd_none_or_trans_huge_or_clear_bad()
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dpgtable.h54 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dpgtable.h329 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/
Dpgtable_32.h316 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/
Dpgtable.h236 unsigned long pmdval, int count);
240 unsigned long pmdval);
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgtable.h250 #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while(0) argument
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dparavirt_types.h243 void (*set_pmd)(pmd_t *pmdp, pmd_t pmdval);
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dentry.S1617 l32i a0, a0, 0 # read pmdval
1635 add a0, a0, a1 # pmdval - PAGE_OFFSET