Searched refs:smem (Results 1 – 6 of 6) sorted by relevance
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | sp_mem.c | 197 struct sp_mem *smem = NULL; in sp_mem_get() local 206 return smem; in sp_mem_get() 223 struct sp_mem *smem = NULL; in sp_mem_new() local 227 smem = calloc(sizeof(*smem), 1); in sp_mem_new() 228 if (!smem) in sp_mem_new() 236 free(smem); in sp_mem_new() 245 SLIST_INIT(&smem->regions); in sp_mem_new() 250 return smem; in sp_mem_new() 299 if (!smem) in sp_mem_remove() 328 if (tsmem == smem) { in sp_mem_remove() [all …]
|
A D | tee_pager.c | 383 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-3.20.0/core/arch/arm/kernel/ |
A D | spmc_sp_handler.c | 69 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() 289 if (!smem) in spmc_sp_add_share() 360 sp_mem_add(smem); in spmc_sp_add_share() 365 sp_mem_remove(smem); in spmc_sp_add_share() 518 if (!smem) { in ffa_mem_retrieve() 609 if (!smem) { in ffa_mem_relinquish() 696 smem = sp_mem_get(handle); in ffa_mem_reclaim() 697 if (!smem) in ffa_mem_reclaim() [all …]
|
A D | secure_partition.c | 258 struct sp_mem *smem, in sp_map_shared() argument 288 SLIST_FOREACH(reg, &smem->regions, link) { in sp_map_shared() 300 TEE_Result sp_unmap_ffa_regions(struct sp_session *s, struct sp_mem *smem) in sp_unmap_ffa_regions() argument 308 SLIST_FOREACH(reg, &smem->regions, link) { in sp_unmap_ffa_regions()
|
/optee_os-3.20.0/core/include/mm/ |
A D | sp_mem.h | 26 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-3.20.0/core/arch/arm/include/kernel/ |
A D | secure_partition.h | 95 TEE_Result sp_unmap_ffa_regions(struct sp_session *s, struct sp_mem *smem);
|
Completed in 13 milliseconds