Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/mm/
A Dsp_mem.c180 struct sp_mem *smem = NULL; in sp_mem_get() local
189 return smem; in sp_mem_get()
206 struct sp_mem *smem = NULL; in sp_mem_new() local
210 smem = calloc(sizeof(*smem), 1); in sp_mem_new()
211 if (!smem) in sp_mem_new()
219 free(smem); in sp_mem_new()
228 SLIST_INIT(&smem->regions); in sp_mem_new()
233 return smem; in sp_mem_new()
282 if (!smem) in sp_mem_remove()
311 if (tsmem == smem) { in sp_mem_remove()
[all …]
A Dtee_pager.c383 vaddr_t smem = tee_mm_get_smem(mm); in tee_pager_set_alias_area() local
388 DMSG("0x%" PRIxVA " - 0x%" PRIxVA, smem, smem + nbytes); in tee_pager_set_alias_area()
392 pager_alias_next_free = smem; in tee_pager_set_alias_area()
395 pt = find_pager_table(smem); in tee_pager_set_alias_area()
400 if (v >= (smem + nbytes)) in tee_pager_set_alias_area()
2000 uint8_t *smem = NULL; in tee_pager_alloc() local
2022 asan_tag_access(smem, smem + num_pages * SMALL_PAGE_SIZE); in tee_pager_alloc()
2024 return smem; in tee_pager_alloc()
2030 uint8_t *smem = NULL; in tee_pager_init_iv_region() local
2042 asan_tag_access(smem, smem + fobj->num_pages * SMALL_PAGE_SIZE); in tee_pager_init_iv_region()
[all …]
/optee_os/core/arch/arm/kernel/
A Dspmc_sp_handler.c69 struct sp_mem *smem) in find_sp_mem_receiver() argument
92 struct sp_mem *smem) in add_mem_region_to_sp() argument
117 receiver->smem = smem; in add_mem_region_to_sp()
288 if (!smem) in spmc_sp_add_share()
359 sp_mem_add(smem); in spmc_sp_add_share()
364 sp_mem_remove(smem); in spmc_sp_add_share()
517 if (!smem) { in ffa_mem_retrieve()
608 if (!smem) { in ffa_mem_relinquish()
695 smem = sp_mem_get(handle); in ffa_mem_reclaim()
696 if (!smem) in ffa_mem_reclaim()
[all …]
A Dsecure_partition.c237 struct sp_mem *smem, in sp_map_shared() argument
267 SLIST_FOREACH(reg, &smem->regions, link) { in sp_map_shared()
279 TEE_Result sp_unmap_ffa_regions(struct sp_session *s, struct sp_mem *smem) in sp_unmap_ffa_regions() argument
287 SLIST_FOREACH(reg, &smem->regions, link) { in sp_unmap_ffa_regions()
/optee_os/core/include/mm/
A Dsp_mem.h26 struct sp_mem *smem; member
73 struct sp_mem_receiver *sp_mem_get_receiver(uint32_t s_id, struct sp_mem *smem);
80 void sp_mem_add(struct sp_mem *smem);
/optee_os/core/arch/arm/include/kernel/
A Dsecure_partition.h88 TEE_Result sp_unmap_ffa_regions(struct sp_session *s, struct sp_mem *smem);

Completed in 13 milliseconds