Searched refs:iovs (Results 1 – 5 of 5) sorted by relevance
/system/core/trusty/storage/proxy/ |
D | ipc.c | 70 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {req_buf, req_buf_len}}; in ipc_get_msg() local 74 rc = readv(tipc_fd, iovs, 2); in ipc_get_msg() 99 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {out, out_size}}; in ipc_respond() local 105 rc = writev(tipc_fd, iovs, out ? 2 : 1); in ipc_respond()
|
/system/core/trusty/utils/acvp/ |
D | trusty_modulewrapper.cpp | 169 iovec iovs[2]; in ForwardResponse() local 170 iovs[0].iov_base = &resp; in ForwardResponse() 171 iovs[0].iov_len = sizeof(uint32_t) * (1 + resp.num_spans); in ForwardResponse() 173 iovs[1].iov_base = shm_buffer_; in ForwardResponse() 174 iovs[1].iov_len = total_args_size; in ForwardResponse() 180 r = writev(STDOUT_FILENO, &iovs[iov_done], 2 - iov_done); in ForwardResponse() 189 iovec& iov = iovs[i]; in ForwardResponse()
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 738 struct iovec iovs[2]= {{tx0_buf, 0}, {tx1_buf, 0}}; in writev_test() local 758 iovs[0].iov_len = msg_len / 3; in writev_test() 759 iovs[1].iov_len = msg_len - iovs[0].iov_len; in writev_test() 761 memset(tx0_buf, i + 1, iovs[0].iov_len); in writev_test() 762 memset(tx1_buf, i + 2, iovs[1].iov_len); in writev_test() 765 rc = writev(echo_fd, iovs, 2); in writev_test() 791 if (memcmp(tx0_buf, rx_buf, iovs[0].iov_len)) { in writev_test() 796 if (memcmp(tx1_buf, rx_buf + iovs[0].iov_len, iovs[1].iov_len)) { in writev_test() 820 struct iovec iovs[2]= {{rx0_buf, 0}, {rx1_buf, 0}}; in readv_test() local 840 iovs[0].iov_len = msg_len / 3; in readv_test() [all …]
|
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 347 struct iovec iovs[4] = { in debuggerd_dispatch_pseudothread() local 359 iovs[3] = {.iov_base = &thread_info->process_info, in debuggerd_dispatch_pseudothread() 366 iovs[3] = {.iov_base = &thread_info->process_info.abort_msg, .iov_len = sizeof(uintptr_t)}; in debuggerd_dispatch_pseudothread() 373 ssize_t rc = TEMP_FAILURE_RETRY(writev(output_write.get(), iovs, arraysize(iovs))); in debuggerd_dispatch_pseudothread()
|
/system/netd/server/ |
D | XfrmControllerTest.cpp | 88 const std::vector<iovec>& iovs = ::testing::get<N>(args); in ACTION_TEMPLATE() local 90 for (const iovec& iov : iovs) { in ACTION_TEMPLATE()
|