Lines Matching refs:pte_t

45 extern void __update_cache(unsigned long address, pte_t pte);
119 static inline void set_pte(pte_t *ptep, pte_t pte)
130 pte_t *buddy = ptep_buddy(ptep);
143 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
145 pte_t null = __pte(0);
171 static inline void set_pte(pte_t *ptep, pte_t pteval)
176 pte_t *buddy = ptep_buddy(ptep);
190 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
205 pte_t *ptep, pte_t pte, unsigned int nr)
248 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1)
262 static inline int pte_special(pte_t pte)
267 static inline pte_t pte_mkspecial(pte_t pte)
273 static inline int pte_special(pte_t pte)
278 static inline pte_t pte_mkspecial(pte_t pte)
291 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; }
292 static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; }
293 static inline int pte_young(pte_t pte) { return pte.pte_low & _PAGE_ACCESSED; }
295 static inline pte_t pte_wrprotect(pte_t pte)
304 static inline pte_t pte_mkclean(pte_t pte)
313 static inline pte_t pte_mkold(pte_t pte)
322 static inline pte_t pte_mkwrite_novma(pte_t pte)
333 static inline pte_t pte_mkdirty(pte_t pte)
344 static inline pte_t pte_mkyoung(pte_t pte)
355 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
356 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; }
357 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
359 static inline pte_t pte_wrprotect(pte_t pte)
365 static inline pte_t pte_mkclean(pte_t pte)
371 static inline pte_t pte_mkold(pte_t pte)
377 static inline pte_t pte_mkwrite_novma(pte_t pte)
385 static inline pte_t pte_mkdirty(pte_t pte)
393 static inline pte_t pte_mkyoung(pte_t pte)
404 static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; }
406 static inline pte_t pte_mkhuge(pte_t pte)
428 static inline bool pte_soft_dirty(pte_t pte)
434 static inline pte_t pte_mksoft_dirty(pte_t pte)
441 static inline pte_t pte_clear_soft_dirty(pte_t pte)
483 pte_t *ptep)
488 static inline int pte_same(pte_t pte_a, pte_t pte_b)
495 unsigned long address, pte_t *ptep,
496 pte_t entry, int dirty)
514 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
523 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
532 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
543 static inline int pte_swp_exclusive(pte_t pte)
548 static inline pte_t pte_swp_mkexclusive(pte_t pte)
554 static inline pte_t pte_swp_clear_exclusive(pte_t pte)
560 static inline int pte_swp_exclusive(pte_t pte)
565 static inline pte_t pte_swp_mkexclusive(pte_t pte)
571 static inline pte_t pte_swp_clear_exclusive(pte_t pte)
579 pte_t pte);
583 pte_t *ptep, unsigned int nr)
586 pte_t pte = *ptep;
603 pte_t pte = *(pte_t *)pmdp;