Searched refs:old_pmd (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/mm/book3s64/ |
D | hash_hugepage.c | 28 unsigned long old_pmd, new_pmd; in __hash_page_thp() local 38 old_pmd = pmd_val(pmd); in __hash_page_thp() 40 if (unlikely(old_pmd & H_PAGE_BUSY)) in __hash_page_thp() 43 if (unlikely(!check_pte_access(access, old_pmd))) in __hash_page_thp() 49 new_pmd = old_pmd | H_PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_thp() 52 } while (!pmd_xchg(pmdp, __pmd(old_pmd), __pmd(new_pmd))); in __hash_page_thp() 57 if (!(old_pmd & (H_PAGE_THP_HUGE | _PAGE_DEVMAP))) in __hash_page_thp() 87 if ((old_pmd & H_PAGE_HASHPTE) && !(old_pmd & H_PAGE_COMBO)) { in __hash_page_thp() 133 pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT; in __hash_page_thp() 165 *pmdp = __pmd(old_pmd); in __hash_page_thp() [all …]
|
D | hash_pgtable.c | 313 pmd_t *pmdp, unsigned long old_pmd) in hpte_do_hugepage_flush() argument 325 if (old_pmd & H_PAGE_COMBO) in hpte_do_hugepage_flush() 348 pmd_t old_pmd; in hash__pmdp_huge_get_and_clear() local 354 old_pmd = __pmd(old); in hash__pmdp_huge_get_and_clear() 367 return old_pmd; in hash__pmdp_huge_get_and_clear()
|
D | pgtable.c | 116 unsigned long old_pmd; in pmdp_invalidate() local 118 old_pmd = pmd_hugepage_update(vma->vm_mm, address, pmdp, _PAGE_PRESENT, _PAGE_INVALID); in pmdp_invalidate() 120 return __pmd(old_pmd); in pmdp_invalidate()
|
D | radix_pgtable.c | 1044 pmd_t old_pmd; in radix__pmdp_huge_get_and_clear() local 1048 old_pmd = __pmd(old); in radix__pmdp_huge_get_and_clear() 1049 return old_pmd; in radix__pmdp_huge_get_and_clear()
|
/arch/powerpc/include/asm/book3s/64/ |
D | hash.h | 236 pmd_t *pmdp, unsigned long old_pmd); 240 unsigned long old_pmd) in hpte_do_hugepage_flush() argument
|
/arch/arm64/mm/ |
D | mmu.c | 229 pmd_t old_pmd = READ_ONCE(*pmdp); in init_pmd() local 242 BUG_ON(!pgattr_change_is_safe(pmd_val(old_pmd), in init_pmd() 248 BUG_ON(pmd_val(old_pmd) != 0 && in init_pmd() 249 pmd_val(old_pmd) != READ_ONCE(pmd_val(*pmdp))); in init_pmd()
|