Lines Matching refs:ptep
302 #define set_pte_at(mm, addr, ptep, pteval) set_pte((ptep), (pteval)) argument
311 #define ptep_get_and_clear(mm, addr, ptep) \ argument
312 __pte(xchg(&(ptep)->pte, 0))
347 pte_t *ptep) in ptep_test_and_clear_dirty() argument
349 if (!pte_dirty(*ptep)) in ptep_test_and_clear_dirty()
351 return test_and_clear_bit(_PAGE_BIT_DIRTY, &ptep->pte); in ptep_test_and_clear_dirty()
356 pte_t *ptep) in ptep_test_and_clear_young() argument
358 if (!pte_young(*ptep)) in ptep_test_and_clear_young()
360 return test_and_clear_bit(_PAGE_BIT_ACCESSED, &ptep->pte); in ptep_test_and_clear_young()
364 void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_set_wrprotect() argument
366 pte_val(*ptep) &= ~(__PAGE_PROT_WRITE|__PAGE_PROT_UWAUX); in ptep_set_wrprotect()
369 static inline void ptep_mkdirty(pte_t *ptep) in ptep_mkdirty() argument
371 set_bit(_PAGE_BIT_DIRTY, &ptep->pte); in ptep_mkdirty()
474 unsigned long address, pte_t *ptep);