Home
last modified time | relevance | path

Searched refs:connection_t (Results 1 – 14 of 14) sorted by relevance

/trusted-firmware-m-3.7.0/secure_fw/spm/core/
Dspm_local_connection.c21 #define CONNECTION_SIZE ((sizeof(struct connection_t) + 7) & ~0x7)
24 static inline struct connection_t *alloc_conn_from_stack_top(void) in alloc_conn_from_stack_top()
30 return (struct connection_t *)stack_top; in alloc_conn_from_stack_top()
51 psa_handle_t connection_to_handle(struct connection_t *p_connection) in connection_to_handle()
58 struct connection_t *handle_to_connection(psa_handle_t handle) in handle_to_connection()
60 struct connection_t *p_connection; in handle_to_connection()
66 p_connection = (struct connection_t *) in handle_to_connection()
82 struct connection_t *spm_allocate_connection(void) in spm_allocate_connection()
87 psa_status_t spm_validate_connection(const struct connection_t *p_connection) in spm_validate_connection()
93 void spm_free_connection(struct connection_t *p_connection) in spm_free_connection()
Dspm_connection_pool.c20 TFM_POOL_DECLARE(connection_pool, sizeof(struct connection_t),
61 psa_handle_t connection_to_handle(struct connection_t *p_connection) in connection_to_handle()
89 struct connection_t *handle_to_connection(psa_handle_t handle) in handle_to_connection()
91 struct connection_t *p_connection; in handle_to_connection()
97 p_connection = (struct connection_t *)((((uintptr_t)handle - in handle_to_connection()
109 sizeof(struct connection_t), in spm_init_connection_space()
115 struct connection_t *spm_allocate_connection(void) in spm_allocate_connection()
118 return (struct connection_t *)tfm_pool_alloc(connection_pool); in spm_allocate_connection()
121 psa_status_t spm_validate_connection(const struct connection_t *p_connection) in spm_validate_connection()
132 void spm_free_connection(struct connection_t *p_connection) in spm_free_connection()
Dspm.h73 struct connection_t { struct
100 struct connection_t *p_handles; /* Handle(s) link */ argument
120 struct connection_t *p_handles; argument
141 struct connection_t *spm_allocate_connection(void);
143 psa_status_t spm_validate_connection(const struct connection_t *p_connection);
146 void spm_free_connection(struct connection_t *p_connection);
162 struct connection_t *spm_get_handle_by_signal(struct partition_t *p_ptn,
215 psa_status_t spm_get_idle_connection(struct connection_t **p_connection,
230 struct connection_t *spm_msg_handle_to_connection(psa_handle_t msg_handle);
241 void spm_init_idle_connection(struct connection_t *p_connection,
[all …]
Dpsa_connection_api.c23 struct connection_t *p_connection; in tfm_spm_client_psa_connect()
37 psa_status_t spm_psa_connect_client_id_associated(struct connection_t **p_connection, in spm_psa_connect_client_id_associated()
41 struct connection_t *connection; in spm_psa_connect_client_id_associated()
102 struct connection_t *p_connection; in spm_psa_close_client_id_associated()
131 struct connection_t *handle; in tfm_spm_partition_psa_set_rhandle()
Dspm_ipc.c52 struct connection_t *spm_get_handle_by_signal(struct partition_t *p_ptn, in spm_get_handle_by_signal()
55 struct connection_t *p_handle_iter; in spm_get_handle_by_signal()
56 struct connection_t **pr_handle_iter, **last_found_handle_holder = NULL; in spm_get_handle_by_signal()
181 psa_status_t spm_get_idle_connection(struct connection_t **p_connection, in spm_get_idle_connection()
185 struct connection_t *connection; in spm_get_idle_connection()
269 struct connection_t *spm_msg_handle_to_connection(psa_handle_t msg_handle) in spm_msg_handle_to_connection()
281 struct connection_t *p_conn_handle = handle_to_connection(msg_handle); in spm_msg_handle_to_connection()
296 void spm_init_idle_connection(struct connection_t *p_connection, in spm_init_idle_connection()
404 void update_caller_outvec_len(struct connection_t *handle) in update_caller_outvec_len()
Dpsa_mmiovec_api.c19 struct connection_t *handle; in tfm_spm_partition_psa_map_invec()
95 struct connection_t *handle; in tfm_spm_partition_psa_unmap_invec()
149 struct connection_t *handle; in tfm_spm_partition_psa_map_outvec()
223 struct connection_t *handle; in tfm_spm_partition_psa_unmap_outvec()
Dpsa_read_write_skip_api.c19 struct connection_t *handle = NULL; in tfm_spm_partition_psa_read()
88 struct connection_t *handle = NULL; in tfm_spm_partition_psa_skip()
148 struct connection_t *handle = NULL; in tfm_spm_partition_psa_write()
Dmailbox_agent_api.c26 struct connection_t *p_connection; in tfm_spm_agent_psa_call()
62 struct connection_t *p_connection; in tfm_spm_agent_psa_connect()
Dtfm_rpc.c114 struct connection_t *handle = (struct connection_t *)msg.rhandle; in tfm_rpc_client_call_reply()
Dpsa_api.c119 struct connection_t *handle = NULL; in tfm_spm_partition_psa_get()
161 struct connection_t **pr_handle_iter, **prev = NULL; in tfm_spm_partition_psa_get()
204 struct connection_t *handle; in tfm_spm_partition_psa_reply()
Dbackend_sfn.c42 psa_status_t backend_messaging(struct connection_t *p_connection) in backend_messaging()
76 psa_status_t backend_replying(struct connection_t *handle, int32_t status) in backend_replying()
Dpsa_call_api.c19 psa_status_t spm_associate_call_params(struct connection_t *p_connection, in spm_associate_call_params()
161 struct connection_t *p_connection; in tfm_spm_client_psa_call()
Dbackend_ipc.c180 psa_status_t backend_messaging(struct connection_t *p_connection) in backend_messaging()
218 psa_status_t backend_replying(struct connection_t *handle, int32_t status) in backend_replying()
/trusted-firmware-m-3.7.0/secure_fw/spm/include/ffm/
Dbackend.h40 psa_status_t backend_messaging(struct connection_t *p_connection);
46 psa_status_t backend_replying(struct connection_t *handle, int32_t status);