Searched refs:vm_map (Results 1 – 6 of 6) sorted by relevance
| /optee_os/core/include/mm/ |
| H A D | vm.h | 39 static inline TEE_Result vm_map(struct user_mode_ctx *uctx, vaddr_t *va, in vm_map() function
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | secure_partition.c | 353 res = vm_map(&ctx->uctx, va, reg->page_count * SMALL_PAGE_SIZE, in sp_map_shared() 522 res = vm_map(uctx, &va, bb_size, TEE_MATTR_PRW, 0, mobj, 0); in load_binary_sp() 573 res = vm_map(uctx, &va, bin_size_rounded, TEE_MATTR_URWX, in load_binary_sp() 718 res = vm_map(&ctx->uctx, &va, total_size, perm, 0, m, 0); in copy_and_map_fdt() 790 res = vm_map(&ctx->uctx, va, total_size, perm, 0, m, 0); in create_and_map_boot_info() 964 res = vm_map(&ctx->uctx, &va, size, perm, 0, m, 0); in handle_fdt_load_relative_mem_regions() 1066 res = vm_map(&ctx->uctx, &va, pages_cnt * SMALL_PAGE_SIZE, in handle_fdt_dev_regions() 1298 res = vm_map(&ctx->uctx, &va, size, perm, 0, m, 0); in handle_fdt_mem_regions() 1376 res = vm_map(&ctx->uctx, &log_addr, log_size, perm, 0, m, 0); in handle_tpm_event_log()
|
| H A D | stmm_sp.c | 204 res = vm_map(&spc->uctx, va, num_pgs * SMALL_PAGE_SIZE, in alloc_and_map_sp_fobj()
|
| /optee_os/core/mm/ |
| H A D | vm.c | 864 res = vm_map(uctx, &va, sz, prot, VM_FLAG_PERMANENT, in map_kinit() 872 return vm_map(uctx, &va, sz, TEE_MATTR_PRW, VM_FLAG_PERMANENT, in map_kinit() 1046 res = vm_map(uctx, &va, mem[n].size, in vm_map_param()
|
| /optee_os/core/kernel/ |
| H A D | user_ta.c | 319 res = vm_map(&utc->uctx, &va, mobj->size, prot, VM_FLAG_EPHEMERAL, in user_ta_dump_ftrace()
|
| H A D | ldelf_loader.c | 43 res = vm_map(uctx, va, num_pgs * SMALL_PAGE_SIZE, prot, flags, mobj, 0); in alloc_and_map_fobj()
|