Home
last modified time | relevance | path

Searched refs:regions (Results 1 – 17 of 17) sorted by relevance

/optee_os-3.20.0/core/arch/arm/mm/
A Dtee_pager.c667 if (!regions) in find_region()
721 TAILQ_REMOVE(regions, reg, link); in unlink_region()
744 if (!uctx->regions) { in pager_add_um_region()
745 uctx->regions = malloc(sizeof(*uctx->regions)); in pager_add_um_region()
746 if (!uctx->regions) in pager_add_um_region()
748 TAILQ_INIT(uctx->regions); in pager_add_um_region()
1064 if (!uctx->regions) in tee_pager_rem_um_regions()
1075 free(uctx->regions); in tee_pager_rem_um_regions()
1916 if (!uctx->regions) in tee_pager_assign_um_tables()
1951 regions = to_user_mode_ctx(pgt->ctx)->regions; in tee_pager_pgt_save_and_release_entries()
[all …]
A Dsp_mem.c214 TAILQ_FOREACH(region, &uctx->vm_info.regions, link) { in sp_mem_get_va()
245 SLIST_INIT(&smem->regions); in sp_mem_new()
272 SLIST_FOREACH(reg, &smem->regions, link) { in sp_mem_is_shared()
311 while (!SLIST_EMPTY(&smem->regions)) { in sp_mem_remove()
312 struct sp_mem_map_region *region = SLIST_FIRST(&smem->regions); in sp_mem_remove()
316 SLIST_REMOVE_HEAD(&smem->regions, link); in sp_mem_remove()
A Dpgt_cache.c288 TAILQ_FOREACH(r, &vm_info->regions, link) { in pgt_check_avail()
312 TAILQ_FOREACH(r, &vm_info->regions, link) { in pgt_check_avail()
777 TAILQ_FOREACH(r, &vm_info->regions, link) { in pgt_alloc_unlocked()
806 TAILQ_FOREACH(r, &vm_info->regions, link) { in pgt_check_avail()
824 if (TAILQ_EMPTY(&vm_info->regions)) in pgt_get_all()
/optee_os-3.20.0/core/arch/arm/plat-totalcompute/fdts/
A Doptee_sp_manifest.dts28 device-regions {
29 compatible = "arm,ffa-manifest-device-regions";
/optee_os-3.20.0/core/pta/
A Dattestation.c516 struct vm_region **regions = NULL; in hash_regions() local
533 TAILQ_FOREACH(r, &vm_info->regions, link) in hash_regions()
537 regions = malloc(nregions * sizeof(*regions)); in hash_regions()
538 if (!regions) { in hash_regions()
543 TAILQ_FOREACH(r, &vm_info->regions, link) in hash_regions()
545 regions[i++] = r; in hash_regions()
551 qsort(regions, nregions, sizeof(*regions), cmp_regions); in hash_regions()
555 r = regions[i]; in hash_regions()
564 free(regions); in hash_regions()
/optee_os-3.20.0/core/mm/
A Dvm.c270 TAILQ_FOREACH(r, &vmi->regions, link) { in umap_add_region()
281 r = TAILQ_LAST(&vmi->regions, vm_region_head); in umap_add_region()
288 TAILQ_INSERT_TAIL(&vmi->regions, reg, link); in umap_add_region()
366 TAILQ_REMOVE(&uctx->vm_info.regions, reg, link); in vm_map_pad()
378 TAILQ_FOREACH(r, &vm_info->regions, link) in find_vm_region()
590 TAILQ_REMOVE(&uctx->vm_info.regions, r, link); in vm_remap()
809 TAILQ_REMOVE(&vmi->regions, reg, link); in umap_remove_region()
890 TAILQ_INIT(&uctx->vm_info.regions); in vm_info_init()
918 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) in check_param_map_empty()
1138 while (!TAILQ_EMPTY(&uctx->vm_info.regions)) in vm_info_final()
[all …]
A Dfobj.c73 TAILQ_INIT(&fobj->regions); in fobj_init()
79 assert(TAILQ_EMPTY(&fobj->regions)); in fobj_uninit()
208 assert(TAILQ_EMPTY(&fobj->regions)); in rwp_paged_iv_save_page()
319 assert(TAILQ_EMPTY(&fobj->regions)); in rwp_unpaged_iv_save_page()
A Dcore_mmu.c1899 if (TAILQ_EMPTY(&uctx->vm_info.regions)) in core_mmu_populate_user_map()
1910 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) in core_mmu_populate_user_map()
/optee_os-3.20.0/core/include/kernel/
A Duser_mode_ctx_struct.h34 struct vm_paged_region_head *regions; member
/optee_os-3.20.0/core/kernel/
A Duser_mode_ctx.c16 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) { in user_mode_ctx_print_mappings()
/optee_os-3.20.0/core/include/mm/
A Dsp_mem.h60 struct sp_mem_regions_head regions; member
A Dfobj.h27 struct vm_paged_region_head regions; member
A Dtee_mmu_types.h125 struct vm_region_head regions; member
/optee_os-3.20.0/core/arch/arm/kernel/
A Dspmc_sp_handler.c214 SLIST_INSERT_HEAD(&smem->regions, region, link); in spmc_sp_add_sp_region()
266 SLIST_INSERT_HEAD(&smem->regions, region, link); in spmc_sp_add_nw_region()
430 SLIST_FOREACH(reg, &smem->regions, link) { in check_retrieve_request()
480 SLIST_FOREACH(reg, &smem->regions, link) { in create_retrieve_response()
669 SLIST_FOREACH(reg, &smem->regions, link) { in zero_mem_region()
A Dldelf_loader.c178 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) in ldelf_dump_state()
200 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) { in ldelf_dump_state()
A Dsecure_partition.c162 TAILQ_FOREACH(region, &uctx->vm_info.regions, link) { in sp_has_exclusive_access()
288 SLIST_FOREACH(reg, &smem->regions, link) { in sp_map_shared()
308 SLIST_FOREACH(reg, &smem->regions, link) { in sp_unmap_ffa_regions()
A Dthread_spmc.c1445 static int set_pages(struct ffa_address_range *regions, in set_pages() argument
1453 unsigned int page_count = READ_ONCE(regions[n].page_count); in set_pages()
1454 uint64_t addr = READ_ONCE(regions[n].address); in set_pages()

Completed in 33 milliseconds