Home
last modified time | relevance | path

Searched refs:TEE_MATTR_PW (Results 1 – 8 of 8) sorted by relevance

/optee_os/core/include/mm/
H A Dtee_mmu_types.h17 #define TEE_MATTR_PW BIT(5) macro
19 #define TEE_MATTR_PRW (TEE_MATTR_PR | TEE_MATTR_PW)
144 str[4] = (attr & TEE_MATTR_PW) ? '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()
468 if (a & (TEE_MATTR_PX | TEE_MATTR_PW)) in mattr_to_desc()
475 a |= TEE_MATTR_PW; in mattr_to_desc()
498 if (!(a & TEE_MATTR_PW)) in mattr_to_desc()
524 if (!(a & TEE_MATTR_PW)) in mattr_to_desc()
H A Dtee_pager.c1110 f |= TEE_MATTR_PW; 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()
1377 if (!(attr_alias & TEE_MATTR_PW)) { in pager_deploy_page()
1378 attr_alias |= TEE_MATTR_PW; in pager_deploy_page()
1393 attr_alias &= ~TEE_MATTR_PW; in pager_deploy_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()
[all …]
H A Dcore_mmu_lpae.c403 a |= TEE_MATTR_PW | TEE_MATTR_UW; in desc_to_mattr()
448 if (a & (TEE_MATTR_PX | TEE_MATTR_PW)) in mattr_to_desc()
455 a |= TEE_MATTR_PW; in mattr_to_desc()
473 if (!(a & TEE_MATTR_PW)) in mattr_to_desc()
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c203 mattr |= TEE_MATTR_UW | TEE_MATTR_PW; in pte_to_mattr()
210 mattr |= TEE_MATTR_PW; in pte_to_mattr()
240 if (attr & TEE_MATTR_PW) in mattr_to_pte_bits()
248 if (attr & (TEE_MATTR_UW | TEE_MATTR_PW)) in mattr_to_pte_bits()
/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()
/optee_os/core/mm/
H A Dvm.c763 if (r->attr & (TEE_MATTR_UW | TEE_MATTR_PW)) in vm_set_prot()
H A Dcore_mmu.c990 attr & TEE_MATTR_PW ? "RW" : "RO", in dump_xlat_table()