Home
last modified time | relevance | path

Searched refs:tee_mm_get_smem (Results 1 – 20 of 20) sorted by relevance

/optee_os/core/mm/
H A Dpage_alloc.c74 va = tee_mm_get_smem(mmv); in virt_page_alloc()
81 pa = tee_mm_get_smem(mmp); in virt_page_alloc()
H A Dfobj.c159 rwp->idx = (tee_mm_get_smem(mm) - nex_phys_mem_get_ta_base()) / in rwp_paged_iv_alloc()
273 rwp->store = phys_to_virt(tee_mm_get_smem(mm), in rwp_unpaged_iv_alloc()
770 va = phys_to_virt(tee_mm_get_smem(f->mm), MEM_AREA_SEC_RAM_OVERALL, in fobj_sec_mem_alloc()
811 return tee_mm_get_smem(f->mm) + page_idx * SMALL_PAGE_SIZE; in sec_mem_get_pa()
H A Dboot_mem.c317 pa = tee_mm_get_smem(mm); in boot_mem_release_unused()
364 assert(pa == tee_mm_get_smem(mm)); in boot_mem_release_tmp_alloc()
H A Dmobj_dyn_shm.c126 return (void *)(vaddr_t)(tee_mm_get_smem(mrs->mm) + offst + in mobj_reg_shm_get_va()
134 core_mmu_unmap_pages(tee_mm_get_smem(r->mm), r->mm->size); in reg_shm_unmap_helper()
229 res = core_mmu_map_pages(tee_mm_get_smem(r->mm), r->pages, in mobj_reg_shm_inc_map()
H A Dtee_mm.c368 uintptr_t tee_mm_get_smem(const tee_mm_entry_t *mm) in tee_mm_get_smem() function
H A Dpgt_cache.c115 tbl = phys_to_virt(tee_mm_get_smem(parent->mm), in alloc_pgt_parent()
/optee_os/core/arch/arm/kernel/
H A Dvirtualization.c205 DMSG("TEE RAM: %08" PRIxPA, tee_mm_get_smem(prtn->tee_ram)); in configure_guest_prtn_mem()
213 DMSG("TA RAM: %08" PRIxPA, tee_mm_get_smem(prtn->ta_ram)); in configure_guest_prtn_mem()
222 prtn->tables_va = phys_to_virt(tee_mm_get_smem(prtn->tables), in configure_guest_prtn_mem()
234 tee_mm_get_smem(prtn->tee_ram)); in configure_guest_prtn_mem()
333 phys_mem_init(tee_mm_get_smem(prtn->ta_ram), in virt_guest_created()
H A Dthread_spmc.c339 if (core_mmu_map_contiguous_pages(tee_mm_get_smem(mm), pa, in map_buf()
346 *va_ret = (void *)tee_mm_get_smem(mm); in map_buf()
361 core_mmu_unmap_pages(tee_mm_get_smem(mm), sz / SMALL_PAGE_SIZE); in unmap_buf()
1271 if (core_mmu_map_contiguous_pages(tee_mm_get_smem(mm), pbuf, in handle_mem_op_tmem()
1276 buf = (void *)(tee_mm_get_smem(mm) + offs); in handle_mem_op_tmem()
1310 core_mmu_unmap_pages(tee_mm_get_smem(mm), page_count); in handle_mem_op_tmem()
1472 buf = (void *)tee_mm_get_smem(mm); in handle_mem_frag_tx()
1489 core_mmu_unmap_pages(tee_mm_get_smem(mm), page_count); in handle_mem_frag_tx()
H A Dboot.c522 paged_store = phys_to_virt(tee_mm_get_smem(mm), in init_pager_runtime()
600 tee_pager_add_core_region(tee_mm_get_smem(mm), PAGED_REGION_TYPE_RO, in init_pager_runtime()
H A Dsecure_partition.c558 base_addr = tee_mm_get_smem(mm); in load_binary_sp()
949 base_addr = tee_mm_get_smem(mm); in handle_fdt_load_relative_mem_regions()
1282 base_addr = tee_mm_get_smem(mm); in handle_fdt_mem_regions()
/optee_os/core/include/mm/
H A Dtee_mm.h62 uintptr_t tee_mm_get_smem(const tee_mm_entry_t *mm);
/optee_os/core/kernel/
H A Dthread.c547 tee_pager_add_pages(tee_mm_get_smem(mm), tee_mm_get_size(mm), in init_thread_stacks()
554 tee_pager_add_core_region(tee_mm_get_smem(mm) + SMALL_PAGE_SIZE, in init_thread_stacks()
559 sp = tee_mm_get_smem(mm) + tee_mm_get_bytes(mm); in init_thread_stacks()
560 asan_tag_access((void *)tee_mm_get_smem(mm), (void *)sp); in init_thread_stacks()
H A Dree_fs_ta.c734 handle->buf = phys_to_virt(tee_mm_get_smem(handle->mm), in buf_ta_open()
/optee_os/core/pta/tests/
H A Dtransfer_list.c157 tl = transfer_list_init(tee_mm_get_smem(mm), TEST_TL_MAX_SIZE); in transfer_list_tests()
/optee_os/core/arch/arm/mm/
H A Dmobj_ffa.c515 core_mmu_unmap_pages(tee_mm_get_smem(m->mm), in unmap_helper()
786 return (void *)(tee_mm_get_smem(m->mm) + offset + m->page_offset); in ffa_shm_get_va()
889 res = core_mmu_map_pages(tee_mm_get_smem(m->mm), m->pages, in ffa_shm_inc_map()
H A Dtee_pager.c383 vaddr_t smem = tee_mm_get_smem(mm); in tee_pager_set_alias_area()
579 if (pager_alias_next_free >= (tee_mm_get_smem(pager_alias_area) + in pager_add_alias_page()
2011 smem = (uint8_t *)tee_mm_get_smem(mm); in tee_pager_alloc()
2039 smem = (uint8_t *)tee_mm_get_smem(mm); in tee_pager_init_iv_region()
H A Dcore_mmu_v7.c301 pa = tee_mm_get_smem(mm); in alloc_l2_table()
H A Dcore_mmu_lpae.c675 pa = tee_mm_get_smem(mm); in core_mmu_xlat_table_alloc()
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c321 pa = tee_mm_get_smem(mm); in core_mmu_pgt_alloc()
/optee_os/core/tee/
H A Dtee_rpmb_fs.c2615 new_fat_entry = tee_mm_get_smem(mm); in rpmb_fs_write_primitive()
2828 newaddr = tee_mm_get_smem(mm); in rpmb_fs_truncate()