Home
last modified time | relevance | path

Searched refs:to_user_ta_ctx (Results 1 – 13 of 13) sorted by relevance

/optee_os/core/kernel/
H A Duser_ta.c153 struct user_ta_ctx *utc = to_user_ta_ctx(session->ctx); in user_ta_enter()
249 if (!to_user_ta_ctx(s->ctx)->ta_ctx.is_initializing) in user_ta_enter_close_session()
267 struct user_ta_ctx *utc = to_user_ta_ctx(ctx); in user_ta_dump_state()
292 struct user_ta_ctx *utc = to_user_ta_ctx(ctx); in user_ta_dump_ftrace()
407 release_utc_state(to_user_ta_ctx(ctx)); in user_ta_get_instance_id()
412 free_utc(to_user_ta_ctx(ctx));
417 return to_user_ta_ctx(ctx)->uctx.vm_info.asid;
528 struct user_ta_ctx *utc = to_user_ta_ctx(s->ts_sess.ctx); in tee_ta_complete_user_ta_session()
H A Dldelf_loader.c168 to_user_ta_ctx(uctx->ts_ctx)->ta_ctx.flags = arg_bbuf->flags; in ldelf_init_with_ldelf()
H A Dtee_ta_manager.c1076 utc = to_user_ta_ctx(s->ctx); in tee_ta_gprof_sample_pc()
/optee_os/core/tee/
H A Dtee_svc_storage.c174 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_obj_open()
323 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_obj_create()
448 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_obj_del()
480 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_obj_rename()
542 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_alloc_enum()
562 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_free_enum()
580 res = tee_svc_storage_get_enum(to_user_ta_ctx(sess->ctx), in syscall_storage_reset_enum()
604 res = tee_svc_storage_get_enum(to_user_ta_ctx(sess->ctx), in syscall_storage_start_enum()
627 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_next_enum()
718 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_obj_read()
[all …]
H A Dtee_svc_cryp.c1181 res = tee_obj_get(to_user_ta_ctx(sess->ctx), in syscall_cryp_obj_get_info()
1212 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_restrict_usage()
1294 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_get_attr()
1675 tee_obj_add(to_user_ta_ctx(sess->ctx), o); in syscall_cryp_obj_alloc()
1679 tee_obj_close(to_user_ta_ctx(sess->ctx), o); in syscall_cryp_obj_alloc()
1689 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_close()
1700 tee_obj_close(to_user_ta_ctx(sess->ctx), o); in syscall_cryp_obj_close()
1710 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_reset()
2001 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_populate()
2024 res = copy_in_attrs(to_user_ta_ctx(sess->ctx), usr_attrs, attr_count, in syscall_cryp_obj_populate()
[all …]
H A Dtee_obj.c67 tee_obj_close(to_user_ta_ctx(sess->ts_sess.ctx), o); in tee_obj_verify()
H A Dtee_svc.c663 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in tee_svc_copy_param()
784 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_open_ta_session()
833 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_close_ta_session()
850 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_invoke_ta_command()
904 return vm_check_access_rights(&to_user_ta_ctx(s->ctx)->uctx, flags, in syscall_check_access_rights()
/optee_os/core/include/kernel/
H A Duser_mode_ctx.h25 return &to_user_ta_ctx(ctx)->uctx; in to_user_mode_ctx()
H A Duser_ta.h52 static inline struct user_ta_ctx *to_user_ta_ctx(struct ts_ctx *ctx) in to_user_ta_ctx() function
/optee_os/core/arch/arm/kernel/
H A Darch_scall.c49 struct user_ta_ctx *utc = to_user_ta_ctx(s->ctx); in scall_save_panic_stack()
121 struct user_ta_ctx *utc = to_user_ta_ctx(s->ctx); in scall_save_panic_stack()
H A Dthread.c988 struct user_ta_ctx *utc = to_user_ta_ctx(s->ctx); in thread_get_pauth_keys()
/optee_os/core/arch/arm/tee/
H A Dsvc_cache.c21 utc = to_user_ta_ctx(s->ctx); in syscall_cache_operation()
/optee_os/core/arch/riscv/kernel/
H A Darch_scall.c57 struct user_ta_ctx *utc = to_user_ta_ctx(s->ctx); in scall_save_panic_stack()