/trusty/user/base/experimental/lib/tidl/ |
D | ipc.cpp | 40 uint32_t num_handles) { in send() argument 48 .num_handles = num_handles, in send() 59 uint32_t num_handles) { in recv() argument 78 .num_handles = num_handles, in recv() 94 uint32_t num_handles) { in send() argument 108 .num_handles = num_handles, in send() 121 uint32_t num_handles) { in recv() argument 146 .num_handles = num_handles, in recv() 164 uint32_t num_handles) { in send() argument 182 .num_handles = num_handles, in send() [all …]
|
D | ipc_ql_tipc.cpp | 200 uint32_t num_handles) { in send_iovs() argument 201 assert(num_handles == 0); in send_iovs() 214 uint32_t num_handles) { in send() argument 221 return send_iovs(fd, iovs, 1, handles, num_handles); in send() 228 uint32_t num_handles) { in recv_iovs() argument 229 assert(num_handles == 0); in recv_iovs() 243 uint32_t num_handles) { in recv() argument 251 return recv_iovs(fd, iovs, 1, handles, num_handles); in recv() 260 uint32_t num_handles) { in send() argument 271 return send_iovs(fd, iovs, 2, handles, num_handles); in send() [all …]
|
/trusty/user/base/lib/hwaes/srv/ |
D | hwaes_server.c | 279 size_t num_handles) { in hwaes_handle_aes_cmd() argument 296 size_t header_num_handles = cmd_header->num_handles; in hwaes_handle_aes_cmd() 298 if (header_num_handles != num_handles) { in hwaes_handle_aes_cmd() 300 header_num_handles, num_handles); in hwaes_handle_aes_cmd() 305 num_handles * sizeof(struct hwaes_shm_desc); in hwaes_handle_aes_cmd() 317 rc = hwaes_map_shm(num_handles, shm_handles, shm_descs, shms); in hwaes_handle_aes_cmd() 334 rc = hwaes_set_arg_in(&cmd_header->key, PROT_READ, shms, num_handles, in hwaes_handle_aes_cmd() 342 rc = hwaes_set_arg_in(&cmd_header->iv, PROT_READ, shms, num_handles, in hwaes_handle_aes_cmd() 350 rc = hwaes_set_arg_in(&cmd_header->aad, PROT_READ, shms, num_handles, in hwaes_handle_aes_cmd() 358 rc = hwaes_set_arg_in(&cmd_header->text_in, PROT_READ, shms, num_handles, in hwaes_handle_aes_cmd() [all …]
|
/trusty/kernel/lib/trusty/include/lib/trusty/ |
D | ipc_msg.h | 57 uint32_t num_handles; member 65 uint32_t num_handles; member 72 uint32_t num_handles; member 78 uint32_t num_handles; member
|
/trusty/kernel/lib/trusty/ |
D | ipc_msg.c | 70 uint num_handles; member 149 if (item->num_handles) { in ipc_msg_queue_destroy() 150 for (uint j = 0; j < item->num_handles; j++) { in ipc_msg_queue_destroy() 198 if (msg->num_handles) { in kern_msg_write_locked() 199 if (msg->num_handles > MAX_MSG_HANDLES) { in kern_msg_write_locked() 200 LTRACEF("sending too many (%u) handles\n", msg->num_handles); in kern_msg_write_locked() 218 for (uint i = 0; i < msg->num_handles; i++) { in kern_msg_write_locked() 232 item->num_handles++; in kern_msg_write_locked() 238 for (uint i = 0; i < item->num_handles; i++) { in kern_msg_write_locked() 242 item->num_handles = 0; in kern_msg_write_locked() [all …]
|
/trusty/user/base/app/apploader/ |
D | apploader.c | 122 uint32_t* num_handles) { in apploader_read() argument 137 uint32_t max_num_handles = num_handles ? *num_handles : 0; in apploader_read() 138 if (msg_inf.num_handles > max_num_handles) { in apploader_read() 140 msg_inf.num_handles); in apploader_read() 153 .num_handles = msg_inf.num_handles, in apploader_read() 158 if (rc >= 0 && num_handles) { in apploader_read() 159 *num_handles = msg_inf.num_handles; in apploader_read() 193 uint32_t num_handles = 1; in apploader_send_secure_get_memory_command() local 196 secure_mem_handle, &num_handles); in apploader_send_secure_get_memory_command() 213 if (num_handles != 1) { in apploader_send_secure_get_memory_command() [all …]
|
/trusty/kernel/lib/ktipc/include/lib/ktipc/ |
D | ktipc.h | 238 .num_handles = (arg_num_handles), \ 258 #define ktipc_send_handles(chan, handles, num_handles, buffers...) \ argument 259 ktipc_internal_send(chan, handles, num_handles, buffers, NULL, 0, NULL, 0, \ 298 uint32_t num_handles); 300 #define ktipc_internal_recv(chan, min_sz, handles, num_handles, buf0, sz0, \ argument 322 (num_handles)); \ 344 #define ktipc_recv_handles(chan, min_sz, handles, num_handles, buffers...) \ argument 345 ktipc_internal_recv(chan, min_sz, handles, num_handles, buffers, NULL, 0, \
|
/trusty/user/base/experimental/lib/tidl/include/lib/tidl/ |
D | tidl.h | 93 static constexpr uint32_t num_handles = 1; variable 109 static constexpr uint32_t num_handles = 0; 120 decltype(T::num_handles), 128 static constexpr uint32_t num_handles = T::num_handles; 278 uint32_t num_handles); 284 uint32_t num_handles); 291 uint32_t num_handles); 299 uint32_t num_handles); 308 uint32_t num_handles); 318 uint32_t num_handles);
|
/trusty/user/base/lib/hwaes/ |
D | hwaes.c | 55 size_t num_handles; member 100 size_t shm_num = shm_wrapper_ptr->num_handles; in hwaes_set_shm_arg_helper() 113 shm_wrapper_ptr->num_handles = shm_num + 1; in hwaes_set_shm_arg_helper() 274 .num_handles = shm_ptr->num_handles, in hwaes_send_req() 327 .num_handles = 0, in hwaes_recv_resp() 392 cmd_header.num_handles = shm.num_handles; in hwaes_crypt() 397 shm.num_handles * sizeof(struct hwaes_shm_desc), in hwaes_crypt()
|
/trusty/user/base/include/user/ |
D | trusty_ipc.h | 77 uint32_t num_handles; member 84 uint32_t num_handles; member
|
/trusty/user/app/sample/memref-test/receiver/ |
D | receiver.c | 68 .num_handles = 1, in receiver_on_message() 77 if (msg_inf.num_handles != 1) { in receiver_on_message()
|
/trusty/user/base/lib/secure_fb/srv/include/lib/secure_fb/srv/ |
D | dev.h | 39 size_t num_handles; member
|
/trusty/user/base/interface/boot_done/generated/include/ |
D | IBootDone.h | 14 static constexpr uint32_t num_handles = 0U; member
|
/trusty/user/base/lib/tipc/ |
D | tipc.c | 54 .num_handles = 0, in tipc_send1() 82 .num_handles = 0, in tipc_recv1() 113 .num_handles = 0, in tipc_send2() 152 .num_handles = 0, in tipc_recv2()
|
/trusty/user/base/interface/boot_done/generated/ |
D | IBootDone.cpp | 11 ::tidl::HandleOps<Request_set_boot_done>::num_handles; in set_boot_done() 139 .num_handles = 0, in on_message() 152 constexpr uint32_t req_num_handles = Request_set_boot_done::num_handles; in on_message() 159 .num_handles = req_num_handles, in on_message()
|
/trusty/user/base/lib/coverage/common/ |
D | ipc.c | 34 .num_handles = h ? 1 : 0, in coverage_send() 67 .num_handles = h ? 1 : 0, in coverage_recv()
|
/trusty/user/base/lib/scudo/test/srv/ |
D | scudo_app.cpp | 125 msg_inf.num_handles > 1) { in recv_memref_msg() 136 .num_handles = msg_inf.num_handles, in recv_memref_msg() 137 .handles = msg_inf.num_handles ? memref : NULL, in recv_memref_msg()
|
/trusty/user/base/lib/secure_fb/srv/ |
D | secure_fb_server.c | 117 buffers.num_handles = 0; in handle_get_fbs_req() 145 .num_handles = buffers.num_handles, in handle_get_fbs_req()
|
/trusty/user/base/lib/tipc/test/main/ |
D | main.c | 1066 msg.num_handles = 0; in TEST() 1171 msg.num_handles = 1; in TEST() 1177 msg.num_handles = 0; in TEST() 1302 tx_msg.num_handles = 0; in TEST() 1372 tx_msg.num_handles = 0; in TEST() 1379 rx_msg.num_handles = 0; in TEST() 1850 msg.num_handles = 0; in TEST() 1988 msg.num_handles = 0; in TEST() 2081 msg.num_handles = 1; in TEST() 2121 msg.num_handles = 8; in TEST() [all …]
|
/trusty/user/base/lib/spi/srv/tipc/ |
D | tipc.c | 81 size_t num_handles = h ? 1 : 0; in recv_msg() local 103 .num_handles = num_handles, in recv_msg()
|
/trusty/user/app/confirmationui/src/ |
D | main.cpp | 94 .num_handles = max_num_handles, in confirmationui_recv() 110 if (msg_info.num_handles > max_num_handles) { in confirmationui_recv() 111 TLOGE("Message has too many handles (%u)\n", msg_info.num_handles); in confirmationui_recv()
|
/trusty/user/base/interface/hwaes/include/interface/hwaes/ |
D | hwaes.h | 233 uint32_t num_handles; member
|
/trusty/user/base/lib/tipc/test/srv/ |
D | srv.c | 646 st->echo_msgs[msg_cnt].handle_cnt = msg_info.num_handles; in echo_handle_msg() 654 msg.num_handles = msg_info.num_handles; in echo_handle_msg() 685 msg.num_handles = st->echo_msgs[i].handle_cnt; in echo_handle_msg() 691 for (unsigned int j = 0; j < msg.num_handles; j++) { in echo_handle_msg() 806 msg.num_handles = 0; in uuid_handle_port()
|
/trusty/user/base/app/acvp/ |
D | acvp.cpp | 269 .num_handles = msg_info.num_handles, in ParseAcvpMessage() 279 if (msg_info.num_handles != 1) { in ParseAcvpMessage() 280 TLOGE("Expected 1 handle, found %d\n", msg_info.num_handles); in ParseAcvpMessage()
|
/trusty/kernel/lib/ktipc/ |
D | ktipc.c | 400 uint32_t num_handles) { in ktipc_recv_iov() argument 422 .num_handles = num_handles, in ktipc_recv_iov()
|