Home
last modified time | relevance | path

Searched refs:asid (Results 1 – 13 of 13) sorted by relevance

/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dtlb_helpers.h16 void tlbi_asid(unsigned long asid);
28 static inline void tlbi_mva_asid_nosync(vaddr_t va, uint32_t asid) in tlbi_mva_asid_nosync() argument
30 uint32_t a = asid & TLBI_ASID_MASK; in tlbi_mva_asid_nosync()
42 static inline void tlbi_mva_asid(vaddr_t va, uint32_t asid) in tlbi_mva_asid() argument
45 tlbi_mva_asid_nosync(va, asid); in tlbi_mva_asid()
/optee_os-3.20.0/core/arch/arm/mm/
A Dcore_mmu.c49 void tlbi_mva_range_asid(vaddr_t va, size_t len, size_t granule, uint32_t asid) in tlbi_mva_range_asid() argument
56 tlbi_mva_asid_nosync(va, asid); in tlbi_mva_range_asid()
154 void asid_free(unsigned int asid) in asid_free() argument
159 assert(!(asid & 1)); in asid_free()
161 if (asid) { in asid_free()
162 int i = (asid - 1) / 2; in asid_free()
A Dcore_mmu_lpae.c267 unsigned int asid; member
283 .asid = 0
446 unsigned int asid = asid_alloc(); in core_alloc_mmu_prtn() local
450 if (!asid) in core_alloc_mmu_prtn()
455 asid_free(asid); in core_alloc_mmu_prtn()
471 prtn->asid = asid; in core_alloc_mmu_prtn()
478 asid_free(prtn->asid); in core_free_mmu_prtn()
986 map->asid = uctx->vm_info.asid; in core_mmu_create_user_map()
1184 map->asid = 0; in core_mmu_get_user_map()
1211 ttbr |= ((uint64_t)map->asid << TTBR_ASID_SHIFT); in core_mmu_set_user_map()
[all …]
A Dtee_pager.c471 uint32_t asid = to_user_mode_ctx(tblidx.pgt->ctx)->vm_info.asid; in tblidx_tlbi_entry() local
473 tlbi_mva_asid(va, asid); in tblidx_tlbi_entry()
1057 tlbi_asid(uctx->vm_info.asid); in tee_pager_rem_um_region()
A Dcore_mmu_v7.c520 map->ctxid = uctx->vm_info.asid; in core_mmu_create_user_map()
/optee_os-3.20.0/core/arch/riscv/include/kernel/
A Dtlb_helpers.h12 void tlbi_asid(unsigned long asid);
/optee_os-3.20.0/core/arch/riscv/include/mm/
A Dcore_mmu_arch.h99 uint32_t asid; member
/optee_os-3.20.0/core/include/mm/
A Dtee_mmu_types.h126 unsigned int asid; member
A Dcore_mmu.h579 void tlbi_mva_range_asid(vaddr_t va, size_t len, size_t granule, uint32_t asid);
600 void asid_free(unsigned int asid);
/optee_os-3.20.0/core/arch/arm/include/mm/
A Dcore_mmu_arch.h147 uint32_t asid; member
/optee_os-3.20.0/core/mm/
A Dvm.c146 uctx->vm_info.asid); in rem_um_region()
782 uctx->vm_info.asid); in vm_set_prot()
882 uint32_t asid = asid_alloc(); in vm_info_init() local
884 if (!asid) { in vm_info_init()
892 uctx->vm_info.asid = asid; in vm_info_init()
1128 if (!uctx->vm_info.asid) in vm_info_final()
1135 tlbi_asid(uctx->vm_info.asid); in vm_info_final()
1137 asid_free(uctx->vm_info.asid); in vm_info_final()
/optee_os-3.20.0/core/kernel/
A Duser_ta.c376 return to_user_ta_ctx(ctx)->uctx.vm_info.asid; in user_ta_get_instance_id()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dstmm_sp.c488 return to_stmm_ctx(ctx)->uctx.vm_info.asid; in stmm_get_instance_id()

Completed in 23 milliseconds