Home
last modified time | relevance | path

Searched refs:user_ta_ctx (Results 1 – 15 of 15) sorted by relevance

/optee_os/core/include/tee/
H A Dtee_obj.h27 void tee_obj_add(struct user_ta_ctx *utc, struct tee_obj *o);
29 TEE_Result tee_obj_get(struct user_ta_ctx *utc, vaddr_t obj_id,
32 void tee_obj_close(struct user_ta_ctx *utc, struct tee_obj *o);
34 void tee_obj_close_all(struct user_ta_ctx *utc);
H A Dtee_svc_cryp.h12 struct user_ta_ctx;
38 void tee_svc_cryp_free_states(struct user_ta_ctx *utc);
H A Dtee_svc_storage.h62 void tee_svc_storage_close_all_enum(struct user_ta_ctx *utc);
/optee_os/core/tee/
H A Dtee_obj.c15 void tee_obj_add(struct user_ta_ctx *utc, struct tee_obj *o) in tee_obj_add()
20 TEE_Result tee_obj_get(struct user_ta_ctx *utc, vaddr_t obj_id, in tee_obj_get()
34 void tee_obj_close(struct user_ta_ctx *utc, struct tee_obj *o) in tee_obj_close()
46 void tee_obj_close_all(struct user_ta_ctx *utc) in tee_obj_close_all()
H A Dtee_svc_storage.c42 static TEE_Result tee_svc_storage_get_enum(struct user_ta_ctx *utc, in tee_svc_storage_get_enum()
57 static TEE_Result tee_svc_close_enum(struct user_ta_ctx *utc, in tee_svc_close_enum()
76 static void remove_corrupt_obj(struct user_ta_ctx *utc, struct tee_obj *o) in remove_corrupt_obj()
174 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()
627 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_storage_next_enum()
[all …]
H A Dtee_svc.c586 static TEE_Result utee_param_to_param(struct user_ta_ctx *utc, in utee_param_to_param()
663 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()
H A Dtee_svc_cryp.c1728 static TEE_Result copy_in_attrs(struct user_ta_ctx *utc, in copy_in_attrs()
2583 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in tee_svc_cryp_get_state()
2594 static void cryp_state_free(struct user_ta_ctx *utc, struct tee_cryp_state *cs) in cryp_state_free()
2784 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_cryp_state_alloc()
2947 void tee_svc_cryp_free_states(struct user_ta_ctx *utc) in tee_svc_cryp_free_states()
3199 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_cipher_init()
3689 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_cryp_derive_key()
4419 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_asymm_operate()
4651 struct user_ta_ctx *utc = to_user_ta_ctx(sess->ctx); in syscall_asymm_verify()
/optee_os/core/include/kernel/
H A Duser_ta.h34 struct user_ta_ctx { struct
52 static inline struct user_ta_ctx *to_user_ta_ctx(struct ts_ctx *ctx) in to_user_ta_ctx() argument
55 return container_of(ctx, struct user_ta_ctx, ta_ctx.ts_ctx); in to_user_ta_ctx()
H A Dtee_ta_manager.h51 struct user_ta_ctx;
/optee_os/core/kernel/
H A Duser_ta.c153 struct user_ta_ctx *utc = to_user_ta_ctx(session->ctx); in user_ta_enter()
260 static void dump_state_no_ldelf_dbg(struct user_ta_ctx *utc) in dump_state_no_ldelf_dbg()
267 struct user_ta_ctx *utc = to_user_ta_ctx(ctx); in user_ta_dump_state()
291 struct user_ta_ctx *utc = to_user_ta_ctx(ctx); in user_ta_dump_ftrace()
367 static void release_utc_state(struct user_ta_ctx *utc) in release_utc_state()
389 static void free_utc(struct user_ta_ctx *utc) in free_utc()
459 struct user_ta_ctx *utc = NULL; in tee_ta_init_user_ta_session()
467 utc = calloc(1, sizeof(struct user_ta_ctx)); in tee_ta_init_user_ta_session()
518 struct user_ta_ctx *utc = to_user_ta_ctx(s->ts_sess.ctx); in tee_ta_complete_user_ta_session()
H A Dtee_ta_manager.c1053 struct user_ta_ctx *utc = NULL; in tee_ta_gprof_sample_pc()
/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.c15 struct user_ta_ctx *utc = NULL; 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()