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

Lines Matching full:pte_t

218 static inline int pte_dirty(pte_t pte)		{ return (pte).pte_low & _PAGE_DIRTY; }
219 static inline int pte_young(pte_t pte) { return (pte).pte_low & _PAGE_ACCESSED; }
220 static inline int pte_write(pte_t pte) { return (pte).pte_low & _PAGE_RW; }
221 static inline int pte_huge(pte_t pte) { return (pte).pte_low & _PAGE_PSE; }
226 static inline int pte_file(pte_t pte) { return (pte).pte_low & _PAGE_FILE; }
228 static inline pte_t pte_mkclean(pte_t pte) { (pte).pte_low &= ~_PAGE_DIRTY; return pte; }
229 static inline pte_t pte_mkold(pte_t pte) { (pte).pte_low &= ~_PAGE_ACCESSED; return pte; }
230 static inline pte_t pte_wrprotect(pte_t pte) { (pte).pte_low &= ~_PAGE_RW; return pte; }
231 static inline pte_t pte_mkdirty(pte_t pte) { (pte).pte_low |= _PAGE_DIRTY; return pte; }
232 static inline pte_t pte_mkyoung(pte_t pte) { (pte).pte_low |= _PAGE_ACCESSED; return pte; }
233 static inline pte_t pte_mkwrite(pte_t pte) { (pte).pte_low |= _PAGE_RW; return pte; }
234 static inline pte_t pte_mkhuge(pte_t pte) { (pte).pte_low |= _PAGE_PSE; return pte; }
261 static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep)
263 pte_t res = *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);
319 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, unsigned long addr, pte_t *ptep, int full)
321 pte_t pte;
335 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
370 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
420 * the pte page can be thought of an array like this: pte_t[PTRS_PER_PTE]
428 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
438 * NOTE: the return type is pte_t but if the pmd is PSE then we return it
441 extern pte_t *lookup_address(unsigned long address);
457 ((pte_t *)kmap_atomic_pte(pmd_page(*(dir)),KM_PTE0) + pte_index(address))
459 ((pte_t *)kmap_atomic_pte(pmd_page(*(dir)),KM_PTE1) + pte_index(address))
464 ((pte_t *)page_address(pmd_page(*(dir))) + pte_index(address))