Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/arch/arm/kernel/
A Dvirtualization.c183 DMSG("TEE RAM: %08" PRIxPA, tee_mm_get_smem(prtn->tee_ram)); in configure_guest_prtn_mem()
191 DMSG("TA RAM: %08" PRIxPA, tee_mm_get_smem(prtn->ta_ram)); in configure_guest_prtn_mem()
201 prtn->tables_va = phys_to_virt(tee_mm_get_smem(prtn->tables), in configure_guest_prtn_mem()
212 prtn->memory_map = prepare_memory_map(tee_mm_get_smem(prtn->tee_ram), in configure_guest_prtn_mem()
213 tee_mm_get_smem(prtn->ta_ram)); in configure_guest_prtn_mem()
399 *start = (vaddr_t)phys_to_virt(tee_mm_get_smem(prtn->ta_ram), in virt_get_ta_ram()
A Dthread_spmc.c171 if (core_mmu_map_contiguous_pages(tee_mm_get_smem(mm), pa, in map_buf()
178 *va_ret = (void *)tee_mm_get_smem(mm); in map_buf()
187 core_mmu_unmap_pages(tee_mm_get_smem(mm), sz / SMALL_PAGE_SIZE); in unmap_buf()
752 if (core_mmu_map_contiguous_pages(tee_mm_get_smem(mm), pbuf, in handle_mem_share_tmem()
759 rc = add_mem_share(mm, (void *)(tee_mm_get_smem(mm) + offs), blen, flen, in handle_mem_share_tmem()
765 core_mmu_unmap_pages(tee_mm_get_smem(mm), page_count); in handle_mem_share_tmem()
883 buf = (void *)tee_mm_get_smem(mm); in handle_mem_frag_tx()
897 core_mmu_unmap_pages(tee_mm_get_smem(mm), page_count); in handle_mem_frag_tx()
A Dsecure_partition.c768 base_addr = tee_mm_get_smem(mm); in handle_fdt_mem_regions()
1119 sp_pkg_va = tee_mm_get_smem(mm); in process_sp_pkg()
1168 sp_pkg_va = tee_mm_get_smem(mm); in process_sp_pkg()
1176 sp_pkg_hdr = (struct sp_pkg_header *)tee_mm_get_smem(mm); in process_sp_pkg()
1196 core_mmu_unmap_pages(tee_mm_get_smem(mm), in process_sp_pkg()
1262 core_mmu_unmap_pages(tee_mm_get_smem(sp->mm), in fip_sp_unmap_all()
A Dboot.c491 paged_store = phys_to_virt(tee_mm_get_smem(mm), MEM_AREA_TA_RAM, in init_runtime()
569 tee_pager_add_core_region(tee_mm_get_smem(mm), PAGED_REGION_TYPE_RO, in init_runtime()
/optee_os-3.20.0/core/include/mm/
A Dtee_mm.h70 uintptr_t tee_mm_get_smem(const tee_mm_entry_t *mm);
/optee_os-3.20.0/core/arch/arm/mm/
A Dmobj_dyn_shm.c111 return (void *)(vaddr_t)(tee_mm_get_smem(mrs->mm) + offst + in mobj_reg_shm_get_va()
119 core_mmu_unmap_pages(tee_mm_get_smem(r->mm), r->mm->size); in reg_shm_unmap_helper()
214 res = core_mmu_map_pages(tee_mm_get_smem(r->mm), r->pages, in mobj_reg_shm_inc_map()
A Dmobj_ffa.c250 core_mmu_unmap_pages(tee_mm_get_smem(mf->mm), in unmap_helper()
474 return (void *)(tee_mm_get_smem(mf->mm) + offset + mf->page_offset); in ffa_get_va()
558 res = core_mmu_map_pages(tee_mm_get_smem(mf->mm), mf->pages, in ffa_inc_map()
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()
2038 smem = (uint8_t *)tee_mm_get_smem(mm); in tee_pager_init_iv_region()
A Dpgt_cache.c114 tbl = phys_to_virt(tee_mm_get_smem(parent->mm), MEM_AREA_TA_RAM, in alloc_pgt_parent()
/optee_os-3.20.0/core/kernel/
A Dthread.c412 tee_pager_add_pages(tee_mm_get_smem(mm), tee_mm_get_size(mm), in init_thread_stacks()
419 tee_pager_add_core_region(tee_mm_get_smem(mm) + SMALL_PAGE_SIZE, in init_thread_stacks()
424 sp = tee_mm_get_smem(mm) + tee_mm_get_bytes(mm); in init_thread_stacks()
425 asan_tag_access((void *)tee_mm_get_smem(mm), (void *)sp); in init_thread_stacks()
A Dree_fs_ta.c718 handle->buf = phys_to_virt(tee_mm_get_smem(handle->mm), in buf_ta_open()
/optee_os-3.20.0/core/mm/
A Dfobj.c158 rwp->idx = (tee_mm_get_smem(mm) - tee_mm_sec_ddr.lo) / SMALL_PAGE_SIZE; in rwp_paged_iv_alloc()
271 rwp->store = phys_to_virt(tee_mm_get_smem(mm), MEM_AREA_TA_RAM, size); in rwp_unpaged_iv_alloc()
766 va = phys_to_virt(tee_mm_get_smem(f->mm), MEM_AREA_TA_RAM, size); in fobj_sec_mem_alloc()
806 return tee_mm_get_smem(f->mm) + page_idx * SMALL_PAGE_SIZE; in sec_mem_get_pa()
A Dtee_mm.c391 uintptr_t tee_mm_get_smem(const tee_mm_entry_t *mm) in tee_mm_get_smem() function
/optee_os-3.20.0/core/tee/
A Dtee_rpmb_fs.c2569 new_fat_entry = tee_mm_get_smem(mm); in rpmb_fs_write_primitive()
2763 newaddr = tee_mm_get_smem(mm); in rpmb_fs_truncate()

Completed in 31 milliseconds