| /trusted-services/components/service/block_storage/block_store/client/ |
| A D | block_storage_client.c | 44 if (this_context->client.rpc_status == RPC_SUCCESS) { in block_storage_client_get_partition_info() 78 this_context->client.rpc_status = RPC_ERROR_INTERNAL; in block_storage_client_get_partition_info() 115 if (this_context->client.rpc_status == RPC_SUCCESS) { in block_storage_client_open() 137 this_context->client.rpc_status = RPC_ERROR_INTERNAL; in block_storage_client_open() 172 if (this_context->client.rpc_status == RPC_SUCCESS) in block_storage_client_close() 178 this_context->client.rpc_status = RPC_ERROR_INTERNAL; in block_storage_client_close() 224 if (this_context->client.rpc_status == RPC_SUCCESS) { in block_storage_client_read() 244 this_context->client.rpc_status = RPC_ERROR_INTERNAL; in block_storage_client_read() 290 if (this_context->client.rpc_status == RPC_SUCCESS) { in block_storage_client_write() 312 this_context->client.rpc_status = RPC_ERROR_INTERNAL; in block_storage_client_write() [all …]
|
| /trusted-services/components/service/secure_storage/frontend/secure_storage_provider/ |
| A D | secure_storage_provider.c | 32 req->service_status = this_context->backend->interface->set( in set_handler() 33 this_context->backend->context, req->source_id, request_desc->uid, in set_handler() 54 req->service_status = this_context->backend->interface->get( in get_handler() 55 this_context->backend->context, req->source_id, request_desc->uid, in get_handler() 81 req->service_status = this_context->backend->interface->get_info( in get_info_handler() 105 req->service_status = this_context->backend->interface->remove( in remove_handler() 106 this_context->backend->context, req->source_id, request_desc->uid); in remove_handler() 122 req->service_status = this_context->backend->interface->create( in create_handler() 123 this_context->backend->context, req->source_id, request_desc->uid, in create_handler() 150 this_context->backend->context, req->source_id, request_desc->uid, in set_extended_handler() [all …]
|
| /trusted-services/components/rpc/ts_rpc/caller/sp/ |
| A D | ts_rpc_caller_sp.c | 69 if (this_context->has_opened_session) { in open_session() 75 if (endpoint_id == this_context->own_id) { in open_session() 81 req.source_id = this_context->own_id; in open_session() 117 this_context->endpoint_id = endpoint_id; in open_session() 141 if (this_context->has_opened_session) { in find_and_open_session() 228 desc.sender_id = this_context->own_id; in create_shared_memory() 247 req.source_id = this_context->own_id; in create_shared_memory() 313 req.source_id = this_context->own_id; in release_shared_memory() 399 req.source_id = this_context->own_id; in call() 459 this_context->endpoint_id = 0; in close_session() [all …]
|
| /trusted-services/components/service/locator/standalone/ |
| A D | standalone_service_context.cpp | 124 standalone_service_context *this_context = reinterpret_cast<standalone_service_context*>(context); in standalone_service_context_open() local 126 if (!this_context) in standalone_service_context_open() 129 return this_context->open(); in standalone_service_context_open() 134 standalone_service_context *this_context = reinterpret_cast<standalone_service_context*>(context); in standalone_service_context_close() local 136 if (this_context) { in standalone_service_context_close() 137 this_context->close(session_handle); in standalone_service_context_close() 143 standalone_service_context *this_context = reinterpret_cast<standalone_service_context*>(context); in standalone_service_context_relinquish() local 145 if (this_context) { in standalone_service_context_relinquish() 146 this_context->deinit(); in standalone_service_context_relinquish()
|
| /trusted-services/components/service/locator/linux/ffa/ |
| A D | linuxffa_service_context.c | 57 struct linux_ts_service_context *this_context = (struct linux_ts_service_context *)context; in linux_ts_service_context_open() local 68 rpc_status = rpc_caller_session_find_and_open(session, &this_context->caller, in linux_ts_service_context_open() 69 &this_context->service_uuid, 8192); in linux_ts_service_context_open() 91 struct linux_ts_service_context *this_context = (struct linux_ts_service_context *)context; in linux_ts_service_context_relinquish() local 96 ts_rpc_caller_linux_deinit(&this_context->caller); in linux_ts_service_context_relinquish()
|
| /trusted-services/components/service/secure_storage/backend/mock_store/ |
| A D | mock_store.c | 28 struct mock_store *this_context = (struct mock_store*)context; in mock_store_set() local 37 struct mock_store_slot *slot = find_slot(this_context, uid); in mock_store_set() 44 slot = find_empty_slot(this_context); in mock_store_set() 71 struct mock_store *this_context = (struct mock_store*)context; in mock_store_get() local 79 struct mock_store_slot *slot = find_slot(this_context, uid); in mock_store_get() 101 struct mock_store *this_context = (struct mock_store*)context; in mock_store_get_info() local 107 struct mock_store_slot *slot = find_slot(this_context, uid); in mock_store_get_info() 137 struct mock_store_slot *slot = find_slot(this_context, uid); in mock_store_remove() 163 slot = find_slot(this_context, uid); in mock_store_create() 167 slot = find_empty_slot(this_context); in mock_store_create() [all …]
|
| /trusted-services/components/service/locator/remote/restapi/ |
| A D | restapi_service_context.c | 52 struct restapi_service_context *this_context = (struct restapi_service_context *)context; in restapi_service_context_open() local 61 int status = http_caller_open(http_caller, this_context->rpc_call_url); in restapi_service_context_open() 92 struct restapi_service_context *this_context = (struct restapi_service_context *)context; in restapi_service_context_relinquish() local 94 free(this_context); in restapi_service_context_relinquish()
|
| /trusted-services/components/service/log/provider/ |
| A D | log_provider.c | 40 struct log_provider *this_context = (struct log_provider *)context; in log_puts_handler() local 62 this_context->backend->interface->puts(this_context->backend->context, request_desc->msg); in log_puts_handler()
|
| /trusted-services/components/service/secure_storage/backend/secure_storage_client/ |
| A D | secure_storage_client.c | 21 struct secure_storage_client *this_context = (struct secure_storage_client *)context; in secure_storage_client_set() local 32 this_context->client.rpc_status = RPC_SUCCESS; in secure_storage_client_set() 76 struct secure_storage_client *this_context = (struct secure_storage_client*)context; in secure_storage_client_get() local 93 handle = rpc_caller_session_begin(this_context->client.session, &request, in secure_storage_client_get() 132 struct secure_storage_client *this_context = (struct secure_storage_client*)context; in secure_storage_client_get_info() local 149 handle = rpc_caller_session_begin(this_context->client.session, &request, in secure_storage_client_get_info() 191 struct secure_storage_client *this_context = (struct secure_storage_client*)context; in secure_storage_client_remove() local 203 handle = rpc_caller_session_begin(this_context->client.session, &request, in secure_storage_client_remove() 231 struct secure_storage_client *this_context = (struct secure_storage_client*)context; in secure_storage_client_create() local 243 handle = rpc_caller_session_begin(this_context->client.session, &request, in secure_storage_client_create() [all …]
|
| /trusted-services/components/service/locator/sp/ffa/ |
| A D | spffa_service_context.c | 46 struct sp_ts_service_context *this_context = (struct sp_ts_service_context *)context; in sp_ts_service_context_open() local 54 rpc_status = rpc_caller_session_find_and_open(session, &this_context->caller, in sp_ts_service_context_open() 55 &this_context->service_uuid, in sp_ts_service_context_open()
|
| /trusted-services/components/service/rpmb/provider/ |
| A D | rpmb_provider.c | 15 struct rpmb_provider *this_context = (struct rpmb_provider *)context; in get_dev_info_handler() local 28 req->service_status = rpmb_backend_get_dev_info(this_context->backend, request_desc->dev_id, in get_dev_info_handler() 59 struct rpmb_provider *this_context = (struct rpmb_provider *)context; in data_request_handler() local 82 this_context->backend, in data_request_handler()
|
| /trusted-services/components/service/locator/linux/mm_communicate/ |
| A D | mm_communicate_service_context.c | 62 struct mm_communicate_service_context *this_context = in mm_communicate_service_context_open() local 71 efi_guid_to_rpc_uuid(&this_context->svc_guid, &service_uuid); in mm_communicate_service_context_open() 74 rpc_status = rpc_caller_session_find_and_open(session, &this_context->caller, in mm_communicate_service_context_open()
|
| /trusted-services/components/service/rpmb/client/ |
| A D | rpmb_client.c | 15 struct rpmb_client *this_context = (struct rpmb_client *)context; in rpmb_client_get_dev_info() local 24 handle = rpc_caller_session_begin(this_context->session, (uint8_t **)&request_desc, in rpmb_client_get_dev_info() 70 struct rpmb_client *this_context = (struct rpmb_client *)context; in rpmb_client_data_request() local 97 handle = rpc_caller_session_begin(this_context->session, (uint8_t **)&request_desc, in rpmb_client_data_request()
|