Home
last modified time | relevance | path

Searched refs:sp_session (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/arch/arm/include/kernel/
H A Dsecure_partition.h19 TAILQ_HEAD(sp_sessions_head, sp_session);
23 struct sp_session { struct
38 TAILQ_ENTRY(sp_session) link; argument
43 struct sp_session *open_session;
62 static inline struct sp_session *__noprof
66 return container_of(sess, struct sp_session, ts_sess); in to_sp_session()
75 struct sp_session *sp_get_session(uint32_t session_id);
76 TEE_Result sp_enter(struct thread_smc_1_2_regs *args, struct sp_session *sp);
82 TEE_Result sp_map_shared(struct sp_session *s,
86 TEE_Result sp_unmap_ffa_regions(struct sp_session *s, struct sp_mem *smem);
H A Dspmc_sp_handler.h19 struct sp_session *caller_sp);
21 struct sp_session *caller_sp);
27 uint64_t *global_handle, struct sp_session *owner_sp);
41 struct sp_session *owner_sp __unused) in spmc_sp_add_share()
/optee_os/core/arch/arm/kernel/
H A Dspmc_sp_handler.c43 struct sp_session *caller, in ffa_get_dst()
44 struct sp_session **dst) in ffa_get_dst()
46 struct sp_session *s = NULL; in ffa_get_dst()
69 static struct sp_mem_receiver *find_sp_mem_receiver(struct sp_session *s, in find_sp_mem_receiver()
95 struct sp_session *s = NULL; in add_mem_region_to_sp()
130 struct sp_session *owner_sp) in spmc_sp_handle_mem_share()
165 struct sp_session *owner_sp, in spmc_sp_add_sp_region()
285 uint64_t *global_handle, struct sp_session *owner_sp) in spmc_sp_add_share()
433 struct sp_session *sp_sess = to_sp_session(ts_sess); in spmc_sp_set_to_preempted()
444 struct sp_session *sp_sess = sp_get_session(endpoint_id); in spmc_sp_resume_from_preempted()
[all …]
H A Dsecure_partition.c119 struct sp_session *sp_get_session(uint32_t session_id) in sp_get_session()
121 struct sp_session *s = NULL; in sp_get_session()
136 struct sp_session *s = NULL; in sp_partition_info_get()
221 static TEE_Result sp_create_ctx(const TEE_UUID *bin_uuid, struct sp_session *s) in sp_create_ctx()
257 struct sp_session *session) in insert_session_ordered()
259 struct sp_session *s = NULL; in insert_session_ordered()
278 struct sp_session **sess) in sp_create_session()
281 struct sp_session *s = calloc(1, sizeof(struct sp_session)); in sp_create_session()
320 TEE_Result sp_map_shared(struct sp_session *s, in sp_map_shared()
364 TEE_Result sp_unmap_ffa_regions(struct sp_session *s, struct sp_mem *smem) in sp_unmap_ffa_regions()
[all …]
/optee_os/core/arch/riscv/include/kernel/
H A Dsecure_partition.h24 static inline struct sp_session *__noprof