Home
last modified time | relevance | path

Searched refs:sp_ctx (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/arch/riscv/include/kernel/
A Dsecure_partition.h14 struct sp_ctx { struct
31 static inline struct sp_ctx *to_sp_ctx(struct ts_ctx *ctx __unused) in to_sp_ctx() argument
/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dsecure_partition.h49 struct sp_ctx { struct
77 static inline struct sp_ctx *to_sp_ctx(struct ts_ctx *ctx) in to_sp_ctx()
80 return container_of(ctx, struct sp_ctx, ts_ctx); in to_sp_ctx()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dspmc_sp_handler.c158 struct sp_ctx *sp_ctx = NULL; in spmc_sp_add_sp_region() local
164 sp_ctx = to_sp_ctx(owner_sp->ts_sess.ctx); in spmc_sp_add_sp_region()
206 if (!sp_has_exclusive_access(region, &sp_ctx->uctx)) { in spmc_sp_add_sp_region()
482 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in create_retrieve_response()
665 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in zero_mem_region()
908 struct sp_ctx *sp_ctx = NULL; in handle_mem_perm_get() local
922 sp_ctx = to_sp_ctx(sp_s->ts_sess.ctx); in handle_mem_perm_get()
923 if (!sp_ctx) in handle_mem_perm_get()
952 struct sp_ctx *sp_ctx = NULL; in handle_mem_perm_set() local
969 sp_ctx = to_sp_ctx(sp_s->ts_sess.ctx); in handle_mem_perm_set()
[all …]
A Dsecure_partition.c191 struct sp_ctx *spc = NULL; in sp_create_ctx()
194 spc = calloc(1, sizeof(struct sp_ctx)); in sp_create_ctx()
245 static TEE_Result sp_init_set_registers(struct sp_ctx *ctx) in sp_init_set_registers()
262 struct sp_ctx *ctx = NULL; in sp_map_shared()
305 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in sp_unmap_ffa_regions()
327 struct sp_ctx *ctx = NULL; in sp_open_session()
919 struct sp_ctx *ctx = NULL; in sp_first_run()
967 struct sp_ctx *ctx = to_sp_ctx(sp->ts_sess.ctx); in sp_enter()
995 struct sp_ctx *ctx = to_sp_ctx(s->ctx); in sp_enter_invoke_cmd()
1055 struct sp_ctx *uctx = to_sp_ctx(ts->ctx); in sp_handle_svc()
[all …]

Completed in 11 milliseconds