/optee_os/core/include/mm/ |
A D | vm.h | 13 TEE_Result vm_info_init(struct user_mode_ctx *uctx); 16 void vm_info_final(struct user_mode_ctx *uctx); 29 TEE_Result vm_map_pad(struct user_mode_ctx *uctx, vaddr_t *va, size_t len, 39 static inline TEE_Result vm_map(struct user_mode_ctx *uctx, vaddr_t *va, in vm_map() 58 TEE_Result vm_unmap(struct user_mode_ctx *uctx, vaddr_t va, size_t len); 63 void vm_clean_param(struct user_mode_ctx *uctx); 65 TEE_Result vm_add_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, 76 bool vm_buf_is_inside_um_private(const struct user_mode_ctx *uctx, 79 bool vm_buf_intersects_um_private(const struct user_mode_ctx *uctx, 82 TEE_Result vm_buf_to_mboj_offs(const struct user_mode_ctx *uctx, [all …]
|
A D | sp_mem.h | 77 void *sp_mem_get_va(const struct user_mode_ctx *uctx, size_t offset,
|
/optee_os/core/arch/arm/include/mm/ |
A D | tee_pager.h | 102 TEE_Result tee_pager_add_um_region(struct user_mode_ctx *uctx, vaddr_t base, 106 tee_pager_add_um_region(struct user_mode_ctx *uctx __unused, in tee_pager_add_um_region() 125 bool tee_pager_set_um_region_attr(struct user_mode_ctx *uctx, vaddr_t base, 129 tee_pager_set_um_region_attr(struct user_mode_ctx *uctx __unused, in tee_pager_set_um_region_attr() 138 void tee_pager_rem_um_region(struct user_mode_ctx *uctx, vaddr_t base, 152 tee_pager_split_um_region(struct user_mode_ctx *uctx __unused, in tee_pager_split_um_region() 160 void tee_pager_merge_um_region(struct user_mode_ctx *uctx, vaddr_t va, 164 tee_pager_merge_um_region(struct user_mode_ctx *uctx __unused, in tee_pager_merge_um_region() 177 void tee_pager_rem_um_regions(struct user_mode_ctx *uctx); 192 void tee_pager_assign_um_tables(struct user_mode_ctx *uctx); [all …]
|
/optee_os/core/include/kernel/ |
A D | ldelf_loader.h | 13 TEE_Result ldelf_load_ldelf(struct user_mode_ctx *uctx); 15 struct user_mode_ctx *uctx); 16 TEE_Result ldelf_dump_state(struct user_mode_ctx *uctx); 17 TEE_Result ldelf_dump_ftrace(struct user_mode_ctx *uctx, 19 TEE_Result ldelf_dlopen(struct user_mode_ctx *uctx, TEE_UUID *uuid, 21 TEE_Result ldelf_dlsym(struct user_mode_ctx *uctx, TEE_UUID *uuid,
|
A D | user_mode_ctx.h | 22 static inline struct user_mode_ctx *to_user_mode_ctx(struct ts_ctx *ctx) in to_user_mode_ctx() 32 void user_mode_ctx_print_mappings(struct user_mode_ctx *umctx);
|
A D | user_mode_ctx_struct.h | 31 struct user_mode_ctx { struct
|
A D | user_ta.h | 41 struct user_mode_ctx uctx;
|
/optee_os/out/arm/core/kernel/ |
A D | .user_mode_ctx.o.cmd | 1 …user_mode_ctx.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch6…
|
A D | .user_mode_ctx.o.d | 1 out/arm/core/kernel/user_mode_ctx.o: core/kernel/user_mode_ctx.c \ 2 out/arm/include/generated/conf.h core/include/kernel/user_mode_ctx.h \
|
A D | .user_access.o.d | 17 lib/libutils/isoc/include/assert.h core/include/kernel/user_mode_ctx.h \
|
A D | .ts_manager.o.d | 23 core/arch/arm/include/mm/pgt_cache.h core/include/kernel/user_mode_ctx.h \
|
A D | .ldelf_syscalls.o.d | 25 core/include/kernel/user_mode_ctx.h \
|
A D | .tee_ta_manager.o.d | 27 core/include/kernel/user_mode_ctx.h \
|
/optee_os/core/mm/ |
A D | vm.c | 139 static TEE_Result alloc_pgt(struct user_mode_ctx *uctx) in alloc_pgt() 376 static TEE_Result split_vm_region(struct user_mode_ctx *uctx, in split_vm_region() 796 static TEE_Result map_kinit(struct user_mode_ctx *uctx) in map_kinit() 824 TEE_Result vm_info_init(struct user_mode_ctx *uctx) in vm_info_init() 844 void vm_clean_param(struct user_mode_ctx *uctx) in vm_clean_param() 865 static TEE_Result param_mem_to_user_va(struct user_mode_ctx *uctx, in param_mem_to_user_va() 1068 void vm_info_final(struct user_mode_ctx *uctx) in vm_info_final() 1084 bool vm_buf_is_inside_um_private(const struct user_mode_ctx *uctx, in vm_buf_is_inside_um_private() 1100 bool vm_buf_intersects_um_private(const struct user_mode_ctx *uctx, in vm_buf_intersects_um_private() 1115 TEE_Result vm_buf_to_mboj_offs(const struct user_mode_ctx *uctx, in vm_buf_to_mboj_offs() [all …]
|
/optee_os/core/pta/ |
A D | system.c | 58 static TEE_Result system_derive_ta_unique_key(struct user_mode_ctx *uctx, in system_derive_ta_unique_key() 117 static TEE_Result system_map_zi(struct user_mode_ctx *uctx, in system_map_zi() 164 static TEE_Result system_unmap(struct user_mode_ctx *uctx, uint32_t param_types, in system_unmap() 204 static TEE_Result system_dlopen(struct user_mode_ctx *uctx, in system_dlopen() 233 static TEE_Result system_dlsym(struct user_mode_ctx *uctx, uint32_t param_types, in system_dlsym() 334 struct user_mode_ctx *uctx = to_user_mode_ctx(s->ctx); in invoke_command()
|
/optee_os/core/kernel/ |
A D | ldelf_syscalls.c | 34 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_map_zi() 64 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_unmap() 104 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_open_bin() 267 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_map_bin() 427 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_copy_from_bin() 453 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_set_prot() 504 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_remap() 522 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_gen_rnd_num()
|
A D | user_mode_ctx.c | 10 void user_mode_ctx_print_mappings(struct user_mode_ctx *uctx) in user_mode_ctx_print_mappings()
|
A D | sub.mk | 24 srcs-y += user_mode_ctx.c
|
/optee_os/core/arch/arm/kernel/ |
A D | ldelf_loader.c | 28 static TEE_Result alloc_and_map_ldelf_fobj(struct user_mode_ctx *uctx, in alloc_and_map_ldelf_fobj() 52 TEE_Result ldelf_load_ldelf(struct user_mode_ctx *uctx) in ldelf_load_ldelf() 101 struct user_mode_ctx *uctx) in ldelf_init_with_ldelf() 165 TEE_Result ldelf_dump_state(struct user_mode_ctx *uctx) in ldelf_dump_state() 288 TEE_Result ldelf_dump_ftrace(struct user_mode_ctx *uctx, in ldelf_dump_ftrace() 343 TEE_Result ldelf_dlopen(struct user_mode_ctx *uctx, TEE_UUID *uuid, in ldelf_dlopen() 394 TEE_Result ldelf_dlsym(struct user_mode_ctx *uctx, TEE_UUID *uuid, in ldelf_dlsym()
|
/optee_os/core/arch/arm/include/kernel/ |
A D | secure_partition.h | 50 struct user_mode_ctx uctx; 83 struct user_mode_ctx *uctx);
|
A D | thread.h | 271 struct user_mode_ctx; 472 void thread_user_clear_vfp(struct user_mode_ctx *uctx); 474 static inline void thread_user_clear_vfp(struct user_mode_ctx *uctx __unused) in thread_user_clear_vfp()
|
A D | stmm_sp.h | 135 struct user_mode_ctx uctx;
|
/optee_os/core/arch/arm/mm/ |
A D | core_mmu_private.h | 17 struct user_mode_ctx *uctx);
|
A D | tee_pager.c | 735 static TEE_Result pager_add_um_region(struct user_mode_ctx *uctx, vaddr_t base, in pager_add_um_region() 813 TEE_Result tee_pager_add_um_region(struct user_mode_ctx *uctx, vaddr_t base, in tee_pager_add_um_region() 870 TEE_Result tee_pager_split_um_region(struct user_mode_ctx *uctx, vaddr_t va) in tee_pager_split_um_region() 953 void tee_pager_merge_um_region(struct user_mode_ctx *uctx, vaddr_t va, in tee_pager_merge_um_region() 1044 void tee_pager_rem_um_region(struct user_mode_ctx *uctx, vaddr_t base, in tee_pager_rem_um_region() 1060 void tee_pager_rem_um_regions(struct user_mode_ctx *uctx) in tee_pager_rem_um_regions() 1092 bool tee_pager_set_um_region_attr(struct user_mode_ctx *uctx, vaddr_t base, in tee_pager_set_um_region_attr() 1910 void tee_pager_assign_um_tables(struct user_mode_ctx *uctx) in tee_pager_assign_um_tables()
|
/optee_os/out/arm/core/mm/ |
A D | .vm.o.d | 28 core/include/kernel/user_mode_ctx.h \
|