Searched refs:prtn (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | virtualization.c | 201 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-3.20.0/core/arch/arm/mm/ |
A D | core_mmu_lpae.c | 453 prtn = nex_malloc(sizeof(*prtn)); in core_alloc_mmu_prtn() 454 if (!prtn) { in core_alloc_mmu_prtn() 473 return prtn; in core_alloc_mmu_prtn() 524 new_table = prtn->xlat_tables[prtn->xlat_tables_used++]; in core_mmu_xlat_table_alloc() 576 prtn = tbl_info->prtn; in core_mmu_entry_copy() 580 assert(prtn); in core_mmu_entry_copy() 674 assert(prtn); in set_user_va_idx() 744 tbl_info.prtn = prtn; in core_init_mmu_prtn_ta_core() 1000 if (!prtn) in core_mmu_find_table() 1034 tbl_info->prtn = prtn; in core_mmu_find_table() [all …]
|
A D | core_mmu_v7.c | 255 return (vaddr_t)prtn->l1_table; in core_mmu_get_main_ttb_va() 269 return (vaddr_t)prtn->ul1_tables[thread_get_id()]; in core_mmu_get_ul1_ttb_va() 288 if (prtn->tables_used + to_alloc > MAX_XLAT_TABLES) in core_mmu_alloc_l2() 291 memset(prtn->l2_tables[prtn->tables_used], 0, in core_mmu_alloc_l2() 293 prtn->tables_used += to_alloc; in core_mmu_alloc_l2() 294 return prtn->l2_tables[prtn->tables_used - to_alloc]; in core_mmu_alloc_l2() 530 if (!prtn) in core_mmu_find_table() 531 prtn = get_prtn(); in core_mmu_find_table() 532 tbl = (uint32_t *)core_mmu_get_main_ttb_va(prtn); in core_mmu_find_table() 754 void *ttb1 = (void *)core_mmu_get_main_ttb_va(prtn); in core_init_mmu_prtn() [all …]
|
/optee_os-3.20.0/core/include/mm/ |
A D | core_mmu.h | 378 struct mmu_partition *prtn; member 390 bool core_mmu_find_table(struct mmu_partition *prtn, vaddr_t va, 597 void core_init_mmu_prtn(struct mmu_partition *prtn, struct tee_mmap_region *mm); 610 void core_free_mmu_prtn(struct mmu_partition *prtn); 611 void core_mmu_set_prtn(struct mmu_partition *prtn); 627 void core_mmu_map_region(struct mmu_partition *prtn,
|
/optee_os-3.20.0/core/mm/ |
A D | core_mmu.c | 1654 void core_mmu_map_region(struct mmu_partition *prtn, struct tee_mmap_region *mm) in core_mmu_map_region() argument 1675 table_found = core_mmu_find_table(prtn, vaddr, level, in core_mmu_map_region()
|
Completed in 15 milliseconds