Home
last modified time | relevance | path

Searched refs:TEE_MATTR_UW (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/include/mm/
H A Dtee_mmu_types.h23 #define TEE_MATTR_UW BIT(8) macro
25 #define TEE_MATTR_URW (TEE_MATTR_UR | TEE_MATTR_UW)
141 str[1] = (attr & TEE_MATTR_UW) ? 'w' : '-'; in mattr_perm_to_str()
/optee_os/core/arch/arm/mm/
H A Dcore_mmu_v7.c412 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()
H A Dtee_pager.c1109 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()
H A Dcore_mmu_lpae.c403 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()
/optee_os/core/kernel/
H A Dldelf_syscalls.c345 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()
H A Dldelf_loader.c226 if (r->attr & TEE_MATTR_UW) in ldelf_dump_state()
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c203 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()
/optee_os/core/mm/
H A Dvm.c763 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()
/optee_os/core/arch/arm/kernel/
H A Dspmc_sp_handler.c200 !(prot & TEE_MATTR_UW)) { in spmc_sp_add_sp_region()
H A Dsecure_partition.c340 perm |= TEE_MATTR_UW; in sp_map_shared()