Searched refs:TEE_MATTR_UW (Results 1 – 10 of 10) sorted by relevance
23 #define TEE_MATTR_UW BIT(8) macro25 #define TEE_MATTR_URW (TEE_MATTR_UR | TEE_MATTR_UW)141 str[1] = (attr & TEE_MATTR_UW) ? 'w' : '-'; in mattr_perm_to_str()
412 a |= TEE_MATTR_PW | TEE_MATTR_UW; in desc_to_mattr()435 a |= TEE_MATTR_PW | TEE_MATTR_UW; in desc_to_mattr()470 if (a & (TEE_MATTR_UX | TEE_MATTR_UW)) in mattr_to_desc()474 if (a & TEE_MATTR_UW) in mattr_to_desc()
1109 if (f & TEE_MATTR_UW) in tee_pager_set_um_region_attr()1142 f2 = mattr & ~(TEE_MATTR_UW | TEE_MATTR_PW); in tee_pager_set_um_region_attr()1255 a &= ~(TEE_MATTR_PW | TEE_MATTR_UW); in tee_pager_unhide_page()1263 assert(!(a & (TEE_MATTR_UW | TEE_MATTR_PW))); in tee_pager_unhide_page()1399 if (writable && (attr & (TEE_MATTR_PW | TEE_MATTR_UW))) in pager_deploy_page()1417 attr &= ~(TEE_MATTR_PW | TEE_MATTR_UW); in pager_deploy_page()1442 TEE_MATTR_PW | TEE_MATTR_UW; in pager_deploy_page()1476 assert(reg->flags & (TEE_MATTR_UW | TEE_MATTR_PW)); in make_dirty_page()1706 if (!(reg->flags & TEE_MATTR_UW)) in pager_update_permissions()1708 if (!(attr & TEE_MATTR_UW)) in pager_update_permissions()
403 a |= TEE_MATTR_PW | TEE_MATTR_UW; in desc_to_mattr()450 if (a & (TEE_MATTR_UX | TEE_MATTR_UW)) in mattr_to_desc()454 if (a & TEE_MATTR_UW) in mattr_to_desc()
345 prot |= TEE_MATTR_UW | TEE_MATTR_PW; in ldelf_syscall_map_bin()509 prot |= TEE_MATTR_UW | TEE_MATTR_PW; in ldelf_syscall_set_prot()536 (prot & (TEE_MATTR_UW | TEE_MATTR_PW))) in ldelf_syscall_set_prot()
226 if (r->attr & TEE_MATTR_UW) in ldelf_dump_state()
203 mattr |= TEE_MATTR_UW | TEE_MATTR_PW; in pte_to_mattr()233 if (attr & TEE_MATTR_UW) in mattr_to_pte_bits()248 if (attr & (TEE_MATTR_UW | TEE_MATTR_PW)) in mattr_to_pte_bits()
763 if (r->attr & (TEE_MATTR_UW | TEE_MATTR_PW)) in vm_set_prot()1292 if ((flags & TEE_MEMORY_ACCESS_WRITE) && !(attr & TEE_MATTR_UW)) in vm_check_access_rights()
200 !(prot & TEE_MATTR_UW)) { in spmc_sp_add_sp_region()
340 perm |= TEE_MATTR_UW; in sp_map_shared()