Home
last modified time | relevance | path

Searched refs:user_mode_ctx (Results 1 – 25 of 31) sorted by relevance

12

/optee_os-3.20.0/core/include/mm/
A Dvm.h13 TEE_Result vm_info_init(struct user_mode_ctx *uctx, struct ts_ctx *ts_ctx);
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);
69 TEE_Result vm_add_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj,
80 bool vm_buf_is_inside_um_private(const struct user_mode_ctx *uctx,
83 bool vm_buf_intersects_um_private(const struct user_mode_ctx *uctx,
86 TEE_Result vm_buf_to_mboj_offs(const struct user_mode_ctx *uctx,
[all …]
A Dtee_pager.h102 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 …]
A Dpgt_cache.h56 struct user_mode_ctx;
58 bool pgt_check_avail(struct user_mode_ctx *uctx);
68 static inline void pgt_get_all(struct user_mode_ctx *uctx __unused) { } in pgt_get_all()
70 void pgt_get_all(struct user_mode_ctx *uctx);
79 static inline void pgt_put_all(struct user_mode_ctx *uctx __unused) { } in pgt_put_all()
81 void pgt_put_all(struct user_mode_ctx *uctx);
84 void pgt_clear_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t end);
85 void pgt_flush_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t last);
103 void pgt_flush(struct user_mode_ctx *uctx);
A Dsp_mem.h77 void *sp_mem_get_va(const struct user_mode_ctx *uctx, size_t offset,
A Dcore_mmu.h346 void core_mmu_create_user_map(struct user_mode_ctx *uctx,
626 struct user_mode_ctx *uctx);
/optee_os-3.20.0/core/include/kernel/
A Dldelf_loader.h13 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 Duser_mode_ctx.h22 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 Duser_mode_ctx_struct.h32 struct user_mode_ctx { struct
A Duser_ta.h41 struct user_mode_ctx uctx;
/optee_os-3.20.0/core/mm/
A Dvm.c112 static TEE_Result alloc_pgt(struct user_mode_ctx *uctx) in alloc_pgt()
413 static TEE_Result split_vm_region(struct user_mode_ctx *uctx, in split_vm_region()
851 static TEE_Result map_kinit(struct user_mode_ctx *uctx) in map_kinit()
901 void vm_clean_param(struct user_mode_ctx *uctx) in vm_clean_param()
922 static TEE_Result param_mem_to_user_va(struct user_mode_ctx *uctx, in param_mem_to_user_va()
1126 void vm_info_final(struct user_mode_ctx *uctx) in vm_info_final()
1145 bool vm_buf_is_inside_um_private(const struct user_mode_ctx *uctx, in vm_buf_is_inside_um_private()
1161 bool vm_buf_intersects_um_private(const struct user_mode_ctx *uctx, in vm_buf_intersects_um_private()
1176 TEE_Result vm_buf_to_mboj_offs(const struct user_mode_ctx *uctx, in vm_buf_to_mboj_offs()
1297 TEE_Result vm_check_access_rights(const struct user_mode_ctx *uctx, in vm_check_access_rights()
[all …]
/optee_os-3.20.0/core/pta/
A Dsystem.c58 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-3.20.0/core/arch/riscv/include/kernel/
A Dstmm_sp.h16 struct user_mode_ctx uctx;
A Dsecure_partition.h15 struct user_mode_ctx uctx;
A Dthread_arch.h106 struct user_mode_ctx;
/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dsecure_partition.h52 struct user_mode_ctx uctx;
90 struct user_mode_ctx *uctx);
A Dthread_arch.h278 struct user_mode_ctx;
379 void thread_user_clear_vfp(struct user_mode_ctx *uctx);
381 static inline void thread_user_clear_vfp(struct user_mode_ctx *uctx __unused) in thread_user_clear_vfp()
A Dstmm_sp.h135 struct user_mode_ctx uctx;
/optee_os-3.20.0/core/kernel/
A Dldelf_syscalls.c34 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()
428 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_copy_from_bin()
454 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_set_prot()
505 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_remap()
523 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_gen_rnd_num()
A Duser_mode_ctx.c10 void user_mode_ctx_print_mappings(struct user_mode_ctx *uctx) in user_mode_ctx_print_mappings()
A Dsub.mk31 srcs-y += user_mode_ctx.c
/optee_os-3.20.0/core/arch/arm/mm/
A Dpgt_cache.c169 void pgt_flush_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t last) in pgt_flush_range()
211 void pgt_flush(struct user_mode_ctx *uctx) in pgt_flush()
225 void pgt_clear_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t end) in pgt_clear_range()
271 bool pgt_check_avail(struct user_mode_ctx *uctx) in pgt_check_avail()
606 void pgt_flush(struct user_mode_ctx *uctx) in pgt_flush()
714 void pgt_flush_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t last) in pgt_flush_range()
756 void pgt_clear_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t end) in pgt_clear_range()
798 bool pgt_check_avail(struct user_mode_ctx *uctx) in pgt_check_avail()
819 void pgt_get_all(struct user_mode_ctx *uctx) in pgt_get_all()
840 void pgt_put_all(struct user_mode_ctx *uctx) in pgt_put_all()
A Dtee_pager.c735 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()
A Dsp_mem.c209 void *sp_mem_get_va(const struct user_mode_ctx *uctx, size_t offset, in sp_mem_get_va()
A Dcore_mmu_v7.c508 void core_mmu_create_user_map(struct user_mode_ctx *uctx, in core_mmu_create_user_map()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dldelf_loader.c28 static TEE_Result alloc_and_map_ldelf_fobj(struct user_mode_ctx *uctx, in alloc_and_map_ldelf_fobj()
53 TEE_Result ldelf_load_ldelf(struct user_mode_ctx *uctx) in ldelf_load_ldelf()
102 struct user_mode_ctx *uctx) in ldelf_init_with_ldelf()
166 TEE_Result ldelf_dump_state(struct user_mode_ctx *uctx) in ldelf_dump_state()
289 TEE_Result ldelf_dump_ftrace(struct user_mode_ctx *uctx, in ldelf_dump_ftrace()
344 TEE_Result ldelf_dlopen(struct user_mode_ctx *uctx, TEE_UUID *uuid, in ldelf_dlopen()
395 TEE_Result ldelf_dlsym(struct user_mode_ctx *uctx, TEE_UUID *uuid, in ldelf_dlsym()

Completed in 29 milliseconds

12