Home
last modified time | relevance | path

Searched refs:old_pte (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/mm/
Dhugetlbpage.c554 unsigned long old_pte, new_pte; in hash_huge_page() local
597 old_pte = pte_val(*ptep); in hash_huge_page()
598 if (old_pte & _PAGE_BUSY) in hash_huge_page()
600 new_pte = old_pte | _PAGE_BUSY | _PAGE_ACCESSED; in hash_huge_page()
601 } while(old_pte != __cmpxchg_u64((unsigned long *)ptep, in hash_huge_page()
602 old_pte, new_pte)); in hash_huge_page()
612 rflags = hash_huge_page_do_lazy_icache(rflags, __pte(old_pte), in hash_huge_page()
616 if (unlikely(old_pte & _PAGE_HASHPTE)) { in hash_huge_page()
621 if (old_pte & _PAGE_F_SECOND) in hash_huge_page()
624 slot += (old_pte & _PAGE_F_GIX) >> 12; in hash_huge_page()
[all …]
/arch/x86/mm/
Dpageattr.c349 pte_t new_pte, old_pte, *tmp; in try_preserve_large_page() local
394 old_pte = *kpte; in try_preserve_large_page()
395 old_prot = new_prot = pte_pgprot(old_pte); in try_preserve_large_page()
404 pfn = pte_pfn(old_pte) + ((address & (psize - 1)) >> PAGE_SHIFT); in try_preserve_large_page()
445 new_pte = pfn_pte(pte_pfn(old_pte), canon_pgprot(new_prot)); in try_preserve_large_page()
578 pte_t *kpte, old_pte; in __change_page_attr() local
589 old_pte = *kpte; in __change_page_attr()
590 if (!pte_val(old_pte)) in __change_page_attr()
595 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr()
596 unsigned long pfn = pte_pfn(old_pte); in __change_page_attr()
[all …]
/arch/parisc/include/asm/
Dpgtable.h441 pte_t old_pte; in ptep_get_and_clear() local
445 pte = old_pte = *ptep; in ptep_get_and_clear()
451 return old_pte; in ptep_get_and_clear()
464 pte_t old_pte = *ptep; in ptep_set_wrprotect()
465 set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()
/arch/ia64/include/asm/
Dpgtable.h454 pte_t old_pte = *ptep; in ptep_set_wrprotect()
455 set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()