Lines Matching defs:write
18 #define _PAGE_WRITE 0x00002 /* write access allowed */
524 extern bool arch_pte_access_permitted(u64 pte, bool write, bool execute);
526 static inline bool arch_pte_access_permitted(u64 pte, bool write, bool execute)
538 static inline bool pte_access_permitted(pte_t pte, bool write)
547 if (write && !pte_write(pte))
550 return arch_pte_access_permitted(pte_val(pte), write, 0);
597 * write implies read, hence set both
936 static inline bool pud_access_permitted(pud_t pud, bool write)
938 return pte_access_permitted(pud_pte(pud), write);
982 static inline bool p4d_access_permitted(p4d_t p4d, bool write)
984 return pte_access_permitted(p4d_pte(p4d), write);
1088 static inline bool pmd_access_permitted(pmd_t pmd, bool write)
1103 return pte_access_permitted(pmd_pte(pmd), write);