Home
last modified time | relevance | path

Searched refs:endpoint_id (Results 1 – 8 of 8) sorted by relevance

/optee_os/core/arch/arm/include/kernel/
H A Dspmc_sp_handler.h29 int spmc_sp_resume_from_preempted(uint16_t endpoint_id, uint16_t thread_id);
50 static inline int spmc_sp_resume_from_preempted(uint16_t endpoint_id __unused, in spmc_sp_resume_from_preempted()
H A Dsecure_partition.h26 uint16_t endpoint_id; member
H A Dthread_spmc.h48 size_t idx, uint16_t endpoint_id,
/optee_os/core/arch/arm/kernel/
H A Dspmc_sp_handler.c58 if (FFA_SRC(args->a1) != caller->endpoint_id) { in ffa_get_dst()
86 if (receiver->perm.endpoint_id == s->endpoint_id) in find_sp_mem_receiver()
98 uint16_t endpoint_id = READ_ONCE(access_perm->endpoint_id); in add_mem_region_to_sp() local
100 s = sp_get_session(endpoint_id); in add_mem_region_to_sp()
119 receiver->perm.endpoint_id = endpoint_id; in add_mem_region_to_sp()
313 if ((owner_sp && owner_sp->endpoint_id != sender_id) || in spmc_sp_add_share()
442 int spmc_sp_resume_from_preempted(uint16_t endpoint_id, uint16_t thread_id) in spmc_sp_resume_from_preempted() argument
444 struct sp_session *sp_sess = sp_get_session(endpoint_id); in spmc_sp_resume_from_preempted()
662 receiver = sp_mem_get_receiver(caller_sp->endpoint_id, smem); in ffa_mem_retrieve()
761 if (READ_ONCE(mem->endpoint_id_array[0]) != caller_sp->endpoint_id) { in ffa_mem_relinquish()
[all …]
H A Dsecure_partition.c124 if (s->endpoint_id == session_id) in sp_get_session()
163 s->endpoint_id, 1, in sp_partition_info_get()
206 static TEE_Result new_session_id(uint16_t *endpoint_id) in new_session_id() argument
213 *endpoint_id = id; in new_session_id()
291 res = new_session_id(&s->endpoint_id); in sp_create_session()
1091 static TEE_Result swap_sp_endpoints(uint32_t endpoint_id, in swap_sp_endpoints() argument
1094 struct sp_session *session = sp_get_session(endpoint_id); in swap_sp_endpoints()
1115 assert(manifest_endpoint_id == endpoint_id); in swap_sp_endpoints()
1116 EMSG("SP: Found duplicated endpoint ID %#"PRIx32, endpoint_id); in swap_sp_endpoints()
1120 session->endpoint_id = new_endpoint_id; in swap_sp_endpoints()
[all …]
H A Dthread_spmc.c530 size_t idx, uint16_t endpoint_id, in spmc_fill_partition_entry() argument
545 fpi->id = endpoint_id; in spmc_fill_partition_entry()
1031 if (READ_ONCE(descr->endpoint_id) == optee_core_lsp.sp_id) { in get_acc_perms()
1165 return READ_ONCE(perm->endpoint_id) != optee_core_lsp.sp_id; in is_sp_op()
1432 uint32_t endpoint_id = args->a4; in handle_mem_frag_tx() local
1444 uint16_t guest_id = endpoint_id >> 16; in handle_mem_frag_tx()
2404 .endpoint_id = optee_core_lsp.sp_id, in thread_spmc_get_protmem_config()
2655 perm_descr->endpoint_id = optee_core_lsp.sp_id; in spmc_retrieve_req()
/optee_os/core/arch/arm/include/
H A Dffa.h276 uint16_t endpoint_id; member
/optee_os/core/arch/arm/mm/
H A Dsp_mem.c189 if (r->perm.endpoint_id == s_id) in sp_mem_get_receiver()