Searched refs:ptev (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 82 pte_basic_t ptev; in pte_wrprotect() local 84 ptev = pte_val(pte) & ~(_PAGE_RW | _PAGE_HWWRITE); in pte_wrprotect() 85 ptev |= _PAGE_RO; in pte_wrprotect() 86 return __pte(ptev); in pte_wrprotect() 101 pte_basic_t ptev; in pte_mkwrite() local 103 ptev = pte_val(pte) & ~_PAGE_RO; in pte_mkwrite() 104 ptev |= _PAGE_RW; in pte_mkwrite() 105 return __pte(ptev); in pte_mkwrite()
|
/Linux-v4.19/arch/s390/mm/ |
D | pgtable.c | 707 unsigned long ptev; in ptep_zap_key() local 715 ptev = pte_val(*ptep); in ptep_zap_key() 716 if (!(ptev & _PAGE_INVALID) && (ptev & _PAGE_WRITE)) in ptep_zap_key() 717 page_set_storage_key(ptev & PAGE_MASK, PAGE_DEFAULT_KEY, 1); in ptep_zap_key()
|
/Linux-v4.19/arch/x86/xen/ |
D | mmu_pv.c | 130 pte_t *pte, ptev; in make_lowmem_page_readonly() local 138 ptev = pte_wrprotect(*pte); in make_lowmem_page_readonly() 140 if (HYPERVISOR_update_va_mapping(address, ptev, 0)) in make_lowmem_page_readonly() 146 pte_t *pte, ptev; in make_lowmem_page_readwrite() local 154 ptev = pte_mkwrite(*pte); in make_lowmem_page_readwrite() 156 if (HYPERVISOR_update_va_mapping(address, ptev, 0)) in make_lowmem_page_readwrite()
|
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 768 static inline bool check_pte_access(unsigned long access, unsigned long ptev) in check_pte_access() argument 773 if (access & ~ptev) in check_pte_access() 778 if ((access & _PAGE_PRIVILEGED) != (ptev & _PAGE_PRIVILEGED)) in check_pte_access()
|
/Linux-v4.19/arch/s390/kvm/ |
D | priv.c | 1037 unsigned long gfn, hva, res, pgstev, ptev; in __do_essa() local 1053 nappended = pgste_perform_essa(vcpu->kvm->mm, hva, orc, &ptev, &pgstev); in __do_essa() 1066 if (ptev & _PAGE_INVALID) { in __do_essa()
|