Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dhugetlbpage-hash64.c21 unsigned long old_pte, new_pte; in __hash_page_huge() local
43 old_pte = pte_val(*ptep); in __hash_page_huge()
45 if (unlikely(old_pte & _PAGE_BUSY)) in __hash_page_huge()
48 if (unlikely(access & ~old_pte)) in __hash_page_huge()
52 new_pte = old_pte | _PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_huge()
55 } while(old_pte != __cmpxchg_u64((unsigned long *)ptep, in __hash_page_huge()
56 old_pte, new_pte)); in __hash_page_huge()
65 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
68 if (unlikely(old_pte & _PAGE_HASHPTE)) { in __hash_page_huge()
73 if (old_pte & _PAGE_F_SECOND) in __hash_page_huge()
[all …]
/arch/sparc/include/asm/
Dhugetlb.h61 pte_t old_pte = *ptep; in huge_ptep_set_wrprotect() local
62 set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/arch/x86/mm/
Dpageattr.c396 pte_t new_pte, old_pte, *tmp; in try_preserve_large_page() local
441 old_pte = *kpte; in try_preserve_large_page()
442 old_prot = new_prot = req_prot = pte_pgprot(old_pte); in try_preserve_large_page()
451 pfn = pte_pfn(old_pte) + ((address & (psize - 1)) >> PAGE_SHIFT); in try_preserve_large_page()
462 pfn = pte_pfn(old_pte); in try_preserve_large_page()
492 new_pte = pfn_pte(pte_pfn(old_pte), canon_pgprot(new_prot)); in try_preserve_large_page()
632 pte_t *kpte, old_pte; in __change_page_attr() local
648 old_pte = *kpte; in __change_page_attr()
649 if (!pte_val(old_pte)) in __change_page_attr()
654 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr()
[all …]
/arch/parisc/include/asm/
Dpgtable.h456 pte_t old_pte; in ptep_get_and_clear() local
459 old_pte = *ptep; in ptep_get_and_clear()
463 return old_pte; in ptep_get_and_clear()
477 pte_t old_pte = *ptep; in ptep_set_wrprotect()
478 set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()
/arch/ia64/include/asm/
Dpgtable.h451 pte_t old_pte = *ptep; in ptep_set_wrprotect()
452 set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()