Home
last modified time | relevance | path

Searched refs:prtn (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/arch/arm/kernel/
A Dvirtualization.c201 prtn->tables_va = phys_to_virt(tee_mm_get_smem(prtn->tables), in configure_guest_prtn_mem()
206 prtn->mmu_prtn = core_alloc_mmu_prtn(prtn->tables_va); in configure_guest_prtn_mem()
219 core_init_mmu_prtn(prtn->mmu_prtn, prtn->memory_map); in configure_guest_prtn_mem()
255 prtn = nex_calloc(1, sizeof(*prtn)); in virt_guest_created()
256 if (!prtn) in virt_guest_created()
264 nex_free(prtn); in virt_guest_created()
304 if (prtn) { in virt_guest_destroyed()
331 if (prtn && prtn->id == guest_id) in virt_set_guest()
334 if (prtn) in virt_set_guest()
359 if (!prtn) in virt_unset_guest()
[all …]
/optee_os/core/arch/arm/mm/
A Dcore_mmu_lpae.c440 prtn = nex_malloc(sizeof(*prtn)); in core_alloc_mmu_prtn()
441 if (!prtn) { in core_alloc_mmu_prtn()
460 return prtn; in core_alloc_mmu_prtn()
511 new_table = prtn->xlat_tables[prtn->xlat_tables_used++]; in core_mmu_xlat_table_alloc()
563 prtn = tbl_info->prtn; in core_mmu_entry_copy()
567 assert(prtn); in core_mmu_entry_copy()
659 assert(prtn); in set_user_va_idx()
729 tbl_info.prtn = prtn; in core_init_mmu_prtn_ta_core()
964 if (!prtn) in core_mmu_find_table()
998 tbl_info->prtn = prtn; in core_mmu_find_table()
[all …]
A Dcore_mmu_v7.c241 return (vaddr_t)prtn->l1_table; in core_mmu_get_main_ttb_va()
255 return (vaddr_t)prtn->ul1_tables[thread_get_id()]; in core_mmu_get_ul1_ttb_va()
274 if (prtn->tables_used + to_alloc > MAX_XLAT_TABLES) in core_mmu_alloc_l2()
277 memset(prtn->l2_tables[prtn->tables_used], 0, in core_mmu_alloc_l2()
279 prtn->tables_used += to_alloc; in core_mmu_alloc_l2()
280 return prtn->l2_tables[prtn->tables_used - to_alloc]; in core_mmu_alloc_l2()
511 if (!prtn) in core_mmu_find_table()
512 prtn = get_prtn(); in core_mmu_find_table()
513 tbl = (uint32_t *)core_mmu_get_main_ttb_va(prtn); in core_mmu_find_table()
736 void *ttb1 = (void *)core_mmu_get_main_ttb_va(prtn); in core_init_mmu_prtn()
[all …]
A Dcore_mmu_private.h18 void core_mmu_map_region(struct mmu_partition *prtn,
A Dcore_mmu.c1653 void core_mmu_map_region(struct mmu_partition *prtn, struct tee_mmap_region *mm) in core_mmu_map_region() argument
1674 table_found = core_mmu_find_table(prtn, vaddr, level, in core_mmu_map_region()
/optee_os/core/arch/arm/include/mm/
A Dcore_mmu.h478 struct mmu_partition *prtn; member
490 bool core_mmu_find_table(struct mmu_partition *prtn, vaddr_t va,
727 void core_init_mmu_prtn(struct mmu_partition *prtn, struct tee_mmap_region *mm);
740 void core_free_mmu_prtn(struct mmu_partition *prtn);
741 void core_mmu_set_prtn(struct mmu_partition *prtn);

Completed in 17 milliseconds