Home
last modified time | relevance | path

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

/optee_os/core/include/mm/
A Dtee_mmu_types.h22 #define TEE_MATTR_UW BIT(8) macro
24 #define TEE_MATTR_URW (TEE_MATTR_UR | TEE_MATTR_UW)
121 str[1] = (attr & TEE_MATTR_UW) ? 'w' : '-'; in mattr_perm_to_str()
/optee_os/core/arch/arm/mm/
A Dcore_mmu_v7.c338 a |= TEE_MATTR_PW | TEE_MATTR_UW; in desc_to_mattr()
361 a |= TEE_MATTR_PW | TEE_MATTR_UW; in desc_to_mattr()
396 if (a & (TEE_MATTR_UX | TEE_MATTR_UW)) in mattr_to_desc()
400 if (a & TEE_MATTR_UW) in mattr_to_desc()
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()
A Dcore_mmu_lpae.c323 a |= TEE_MATTR_PW | TEE_MATTR_UW; in desc_to_mattr()
366 if (a & (TEE_MATTR_UX | TEE_MATTR_UW)) in mattr_to_desc()
370 if (a & TEE_MATTR_UW) in mattr_to_desc()
/optee_os/core/kernel/
A Dldelf_syscalls.c305 prot |= TEE_MATTR_UW | TEE_MATTR_PW; in ldelf_syscall_map_bin()
465 prot |= TEE_MATTR_UW | TEE_MATTR_PW; in ldelf_syscall_set_prot()
492 (prot & (TEE_MATTR_UW | TEE_MATTR_PW))) in ldelf_syscall_set_prot()
/optee_os/core/arch/arm/kernel/
A Dsecure_partition.c255 perm |= TEE_MATTR_UW; in sp_map_shared()
A Dldelf_loader.c208 if (r->attr & TEE_MATTR_UW) in ldelf_dump_state()
A Dspmc_sp_handler.c190 !(prot & TEE_MATTR_UW)) { in spmc_sp_add_sp_region()
A Dstmm_sp.c509 else if (attrs & TEE_MATTR_UW) in sp_svc_get_mem_attr()
/optee_os/core/mm/
A Dvm.c716 if (r->attr & (TEE_MATTR_UW | TEE_MATTR_PW)) in vm_set_prot()
1275 if ((flags & TEE_MEMORY_ACCESS_WRITE) && !(attr & TEE_MATTR_UW)) in vm_check_access_rights()

Completed in 20 milliseconds