Lines Matching refs:pte_val
160 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE)
170 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \
203 pte_val(*ptep) = _NULL_PTE; in pte_clear()
249 return pte_val(pte) == _NULL_PTE; in pte_none()
257 return pte_val(pte) & _PAGE_PRESENT; in pte_present()
269 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold()
276 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung()
283 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean()
290 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
297 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
303 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
309 pte_val(pte) &= PAGE_MASK; in pte_modify()
310 pte_val(pte) |= pgprot_val(prot); in pte_modify()
317 pte_val(pte) &= ~_PAGE_WRITE; in pte_wrprotect()
324 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite()
331 pte_val(pte) |= _PAGE_EXECUTE; in pte_mkexec()
338 return pte_val(pte) & _PAGE_READ; in pte_read()
344 return pte_val(pte) & _PAGE_WRITE; in pte_write()
351 return pte_val(pte) & _PAGE_EXECUTE; in pte_exec()
355 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
364 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT)