Home | History | Annotate | Download | only in asm-x86

Lines Matching full:ptep

256 #define pte_update(mm, addr, ptep)		do { } while (0)
257 #define pte_update_defer(mm, addr, ptep) do { } while (0)
261 static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep)
263 pte_t res = *ptep;
266 native_pte_clear(NULL, 0, ptep);
278 #define ptep_set_access_flags(vma, address, ptep, entry, dirty) \
280 int __changed = !pte_same(*(ptep), entry); \
282 (ptep)->pte_low = (entry).pte_low; \
283 pte_update_defer((vma)->vm_mm, (address), (ptep)); \
290 #define ptep_test_and_clear_young(vma, addr, ptep) ({ \
292 if (pte_young(*(ptep))) \
294 &(ptep)->pte_low); \
296 pte_update((vma)->vm_mm, addr, ptep); \
301 #define ptep_clear_flush_young(vma, address, ptep) \
304 __young = ptep_test_and_clear_young((vma), (address), (ptep)); \
311 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
313 pte_t pte = native_ptep_get_and_clear(ptep);
314 pte_update(mm, addr, ptep);
319 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, unsigned long addr, pte_t *ptep, int full)
327 pte = native_local_ptep_get_and_clear(ptep);
329 pte = ptep_get_and_clear(mm, addr, ptep);
335 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
337 clear_bit(_PAGE_BIT_RW, &ptep->pte_low);
338 pte_update(mm, addr, ptep);
471 #define kpte_clear_flush(ptep, vaddr) \
473 pte_clear(&init_mm, vaddr, ptep); \