Searched refs:ptev (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/s390/mm/
H A Dpgtable.c590 unsigned long vmaddr, ptev, pgstev; __gmap_zap() local
611 ptev = pte_val(pte); __gmap_zap()
613 ((pgstev & _PGSTE_GPS_ZERO) && (ptev & _PAGE_INVALID))) { __gmap_zap()
1156 unsigned long ptev; __s390_enable_skey() local
1172 ptev = pte_val(*pte); __s390_enable_skey()
1173 if (!(ptev & _PAGE_INVALID) && (ptev & _PAGE_WRITE)) __s390_enable_skey()
1174 page_set_storage_key(ptev & PAGE_MASK, PAGE_DEFAULT_KEY, 1); __s390_enable_skey()
/linux-4.4.14/arch/x86/xen/
H A Dmmu.c159 pte_t *pte, ptev; make_lowmem_page_readonly() local
167 ptev = pte_wrprotect(*pte); make_lowmem_page_readonly()
169 if (HYPERVISOR_update_va_mapping(address, ptev, 0)) make_lowmem_page_readonly()
175 pte_t *pte, ptev; make_lowmem_page_readwrite() local
183 ptev = pte_mkwrite(*pte); make_lowmem_page_readwrite()
185 if (HYPERVISOR_update_va_mapping(address, ptev, 0)) make_lowmem_page_readwrite()

Completed in 107 milliseconds