Lines Matching refs:pte_t

106 extern pte_t kernel_vmalloc_ptes[(VMALLOC_END - VMALLOC_START) / PAGE_SIZE];
238 static inline int pte_user(pte_t pte) { return pte_val(pte) & __PAGE_PROT_USER; } in pte_user()
239 static inline int pte_read(pte_t pte) { return pte_val(pte) & __PAGE_PROT_USER; } in pte_read()
240 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
241 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
242 static inline int pte_write(pte_t pte) { return pte_val(pte) & __PAGE_PROT_WRITE; } in pte_write()
243 static inline int pte_special(pte_t pte){ return 0; } in pte_special()
245 static inline pte_t pte_rdprotect(pte_t pte) in pte_rdprotect()
249 static inline pte_t pte_exprotect(pte_t pte) in pte_exprotect()
254 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
259 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
260 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
261 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
262 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
263 static inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) &= ~_PAGE_NX; return pte; } in pte_mkexec()
265 static inline pte_t pte_mkread(pte_t pte) in pte_mkread()
272 static inline pte_t pte_mkwrite(pte_t pte) in pte_mkwrite()
280 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
324 static inline int pte_exec(pte_t pte) in pte_exec()
332 static inline int pte_exec_kernel(pte_t pte) in pte_exec_kernel()
347 pte_t *ptep) in ptep_test_and_clear_dirty()
356 pte_t *ptep) 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()
369 static inline void ptep_mkdirty(pte_t *ptep) in ptep_mkdirty()
395 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
452 ((pte_t *) pmd_page_kernel(*(dir)) + pte_index(address))
466 ((pte_t *) page_address(pmd_page(*(dir))) + pte_index(address))
474 unsigned long address, pte_t *ptep);