Home
last modified time | relevance | path

Searched refs:to_user_mode_ctx (Results 1 – 12 of 12) sorted by relevance

/optee_os/core/include/kernel/
H A Duser_mode_ctx.h22 static inline struct user_mode_ctx *to_user_mode_ctx(struct ts_ctx *ctx) in to_user_mode_ctx() function
/optee_os/core/kernel/
H A Dldelf_syscalls.c47 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_map_zi()
87 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_unmap()
127 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_open_bin()
302 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_map_bin()
471 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_copy_from_bin()
497 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_set_prot()
548 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_remap()
H A Duser_access.c34 return to_user_mode_ctx(s->ctx); in get_current_uctx()
/optee_os/core/pta/veraison_attestation/
H A Dhash.c113 uctx = to_user_mode_ctx(s->ctx); in get_hash_ta_memory()
/optee_os/core/arch/riscv/kernel/
H A Dabort.c248 thread_user_enable_vfp(&to_user_mode_ctx(s->ctx)->vfp); in handle_user_mode_vfp()
/optee_os/core/pta/
H A Dsystem.c370 struct user_mode_ctx *uctx = to_user_mode_ctx(s->ctx); in invoke_command()
H A Dattestation.c654 uctx = to_user_mode_ctx(s->ctx); in cmd_hash_ta_memory()
/optee_os/core/arch/arm/mm/
H A Dtee_pager.c471 uint32_t asid = to_user_mode_ctx(tblidx.pgt->ctx)->vm_info.asid; in tblidx_tlbi_entry()
684 return find_region(to_user_mode_ctx(ctx)->regions, va); in find_uta_region()
1951 regions = to_user_mode_ctx(pgt->ctx)->regions; in tee_pager_pgt_save_and_release_entries()
/optee_os/core/arch/arm/kernel/
H A Dabort.c399 thread_user_enable_vfp(&to_user_mode_ctx(s->ctx)->vfp); in handle_user_mode_vfp()
H A Dstmm_sp.c579 user_mode_ctx_print_mappings(to_user_mode_ctx(ctx)); in stmm_dump_state()
/optee_os/core/mm/
H A Dvm.c1313 uctx = to_user_mode_ctx(tsd->ctx); in vm_set_ctx()
1320 uctx = to_user_mode_ctx(ctx); in vm_set_ctx()
H A Dcore_mmu.c2484 res = vm_va2pa(to_user_mode_ctx(thread_get_tsd()->ctx), in check_pa_matches_va()
2588 return vm_pa2va(to_user_mode_ctx(thread_get_tsd()->ctx), pa, len); in phys_to_virt_ts_vaspace()