Lines Matching defs:write
18 #define _PAGE_WRITE 0x00002 /* write access allowed */
512 extern bool arch_pte_access_permitted(u64 pte, bool write, bool execute);
514 static inline bool arch_pte_access_permitted(u64 pte, bool write, bool execute)
526 static inline bool pte_access_permitted(pte_t pte, bool write)
535 if (write && !pte_write(pte))
538 return arch_pte_access_permitted(pte_val(pte), write, 0);
585 * write implies read, hence set both
924 static inline bool pud_access_permitted(pud_t pud, bool write)
926 return pte_access_permitted(pud_pte(pud), write);
970 static inline bool p4d_access_permitted(p4d_t p4d, bool write)
972 return pte_access_permitted(p4d_pte(p4d), write);
1076 static inline bool pmd_access_permitted(pmd_t pmd, bool write)
1091 return pte_access_permitted(pmd_pte(pmd), write);