Home
last modified time | relevance | path

Searched refs:channel_ctx (Results 1 – 3 of 3) sorted by relevance

/trusty/kernel/services/apploader/
Dapploader_service.c125 struct apploader_channel_ctx* channel_ctx, in apploader_service_handle_cmd_get_memory() argument
130 if (channel_ctx->vmm_obj_slice.obj) { in apploader_service_handle_cmd_get_memory()
171 vmm_obj_slice_bind(&channel_ctx->vmm_obj_slice, vmm_obj, 0, in apploader_service_handle_cmd_get_memory()
191 struct apploader_channel_ctx* channel_ctx, in apploader_service_handle_cmd_load_application() argument
196 if (!channel_ctx->vmm_obj_slice.obj) { in apploader_service_handle_cmd_load_application()
202 if (!vmm_obj_has_only_ref(channel_ctx->vmm_obj_slice.obj, in apploader_service_handle_cmd_load_application()
203 &channel_ctx->vmm_obj_slice.obj_ref)) { in apploader_service_handle_cmd_load_application()
211 req->manifest_end > channel_ctx->vmm_obj_slice.size) { in apploader_service_handle_cmd_load_application()
220 req->img_end > channel_ctx->vmm_obj_slice.size) { in apploader_service_handle_cmd_load_application()
229 channel_ctx->vmm_obj_slice.size); in apploader_service_handle_cmd_load_application()
[all …]
/trusty/kernel/services/smc/
Dsmc_service.c93 struct smc_channel_ctx* channel_ctx = ctx; in smc_service_handle_msg() local
107 rc = channel_ctx->policy.check_access(smc_nr); in smc_service_handle_msg()
121 rc = channel_ctx->policy.check_request(smc_nr, &channel_ctx->uuid, in smc_service_handle_msg()
164 struct smc_channel_ctx* channel_ctx = calloc(1, sizeof(*channel_ctx)); in smc_service_handle_connect() local
165 if (!channel_ctx) { in smc_service_handle_connect()
170 smc_load_access_policy(peer_uuid, &channel_ctx->policy); in smc_service_handle_connect()
171 channel_ctx->uuid = *peer_uuid; in smc_service_handle_connect()
173 *ctx_p = channel_ctx; in smc_service_handle_connect()
179 struct smc_channel_ctx* channel_ctx = ctx; in smc_service_handle_channel_cleanup() local
180 free(channel_ctx); in smc_service_handle_channel_cleanup()
/trusty/user/app/storage/
Dipc.c204 struct ipc_channel_context* channel_ctx = self; in handle_channel() local
205 assert(is_valid_chan_ops(&channel_ctx->ops)); in handle_channel()
210 if (channel_ctx->ops.on_handle_msg != NULL) { in handle_channel()
211 int rc = do_handle_msg(channel_ctx, ev); in handle_channel()
216 do_disconnect(channel_ctx, ev); in handle_channel()
222 do_disconnect(channel_ctx, ev); in handle_channel()
228 do_disconnect(channel_ctx, ev); in handle_channel()