Home
last modified time | relevance | path

Searched refs:iovs (Results 1 – 16 of 16) sorted by relevance

/trusty/user/base/experimental/lib/tidl/
Dipc_ql_tipc.cpp197 const struct trusty_ipc_iovec* iovs, in send_iovs() argument
206 int rc = trusty_ipc_send(chan, iovs, iovs_cnt, true); in send_iovs()
215 struct trusty_ipc_iovec iovs[] = { in send() local
221 return send_iovs(fd, iovs, 1, handles, num_handles); in send()
225 struct trusty_ipc_iovec* iovs, in recv_iovs() argument
234 int rc = trusty_ipc_recv(chan, iovs, iovs_cnt, true); in recv_iovs()
245 struct trusty_ipc_iovec iovs[] = { in recv() local
251 return recv_iovs(fd, iovs, 1, handles, num_handles); in recv()
261 struct trusty_ipc_iovec iovs[] = { in send() local
271 return send_iovs(fd, iovs, 2, handles, num_handles); in send()
[all …]
Dipc.cpp95 struct iovec iovs[] = { in send() local
106 .num_iov = static_cast<uint32_t>(countof(iovs)), in send()
107 .iov = iovs, in send()
133 struct iovec iovs[] = { in recv() local
144 .num_iov = static_cast<uint32_t>(countof(iovs)), in recv()
145 .iov = iovs, in recv()
165 struct iovec iovs[] = { in send() local
180 .num_iov = static_cast<uint32_t>(countof(iovs)), in send()
181 .iov = iovs, in send()
209 struct iovec iovs[] = { in recv() local
[all …]
/trusty/user/app/sample/stats-test/
Dstats_test.cpp76 struct iovec iovs[] = { in TEST_F() local
87 .num_iov = countof(iovs), in TEST_F()
88 .iov = iovs, in TEST_F()
111 struct iovec iovs[] = { in TEST_F() local
122 .num_iov = countof(iovs), in TEST_F()
123 .iov = iovs, in TEST_F()
/trusty/kernel/lib/trusty/
Dvqueue.c202 iovlist->iovs[iovlist->used].iov_len = desc->len; in _vqueue_get_avail_buf_locked()
289 DEBUG_ASSERT(vqiovs->iovs); in vqueue_map_iovs()
299 vqiovs->iovs[i].iov_len <= obj->size) { in vqueue_map_iovs()
304 vqiovs->iovs[i].iov_base = obj->iov_base; in vqueue_map_iovs()
325 vqiovs->iovs[i].iov_base = NULL; in vqueue_map_iovs()
326 size = round_up(vqiovs->iovs[i].iov_len, PAGE_SIZE); in vqueue_map_iovs()
329 size, &vqiovs->iovs[i].iov_base, in vqueue_map_iovs()
337 vqiovs->iovs[i].iov_base, size); in vqueue_map_iovs()
347 vqiovs->iovs[i].iov_base, (unsigned long)size); in vqueue_map_iovs()
356 (vaddr_t)vqiovs->iovs[i].iov_base); in vqueue_map_iovs()
[all …]
Dtipc_virtio_dev.c763 if (buf->in_iovs.iovs[0].iov_len < sizeof(struct tipc_hdr)) { in handle_rx_msg()
764 TRACEF("msg too short %zu\n", buf->in_iovs.iovs[0].iov_len); in handle_rx_msg()
769 ns_hdr = buf->in_iovs.iovs[0].iov_base; in handle_rx_msg()
770 ns_data = buf->in_iovs.iovs[0].iov_base + sizeof(struct tipc_hdr); in handle_rx_msg()
779 buf->in_iovs.iovs[0].iov_len) { in handle_rx_msg()
781 ns_data_len, ns_shm_len, buf->in_iovs.iovs[0].iov_len); in handle_rx_msg()
819 buf.in_iovs.iovs = in_iovs; in tipc_rx_thread_func()
1289 buf.out_iovs.iovs = out_iovs; in tipc_send_data()
1326 if (sizeof(struct tipc_hdr) > buf.out_iovs.iovs[0].iov_len) { in tipc_send_data()
1328 TRACEF("buf is too small (%zu < %zu)\n", buf.out_iovs.iovs[0].iov_len, in tipc_send_data()
[all …]
Dvqueue.h68 struct iovec_kern* iovs; member
/trusty/hardware/nxp/app/hwcrypto/
Dmain.c132 struct iovec iovs[2] = { in tipc_send_two_segments() local
143 .iov = iovs, in tipc_send_two_segments()
144 .num_iov = countof(iovs), in tipc_send_two_segments()
168 struct iovec iovs[2] = {{ in tipc_recv_two_segments() local
177 .iov = iovs, in tipc_recv_two_segments()
178 .num_iov = countof(iovs), in tipc_recv_two_segments()
/trusty/user/app/storage/
Derror_reporting.c84 struct iovec iovs[] = { in do_error_report() local
95 .num_iov = countof(iovs), in do_error_report()
96 .iov = iovs, in do_error_report()
/trusty/user/base/lib/tipc/
Dtipc.c99 struct iovec iovs[2] = { in tipc_send2() local
110 .iov = iovs, in tipc_send2()
111 .num_iov = countof(iovs), in tipc_send2()
138 struct iovec iovs[2] = { in tipc_recv2() local
149 .iov = iovs, in tipc_recv2()
150 .num_iov = countof(iovs), in tipc_recv2()
/trusty/user/base/lib/tipc/rust/src/
Dhandle.rs162 let mut iovs = arrayvec::ArrayVec::<_, MAX_MSG_IOVECS>::new(); in recv_vectored() localVariable
164 iovs.extend(buffers.iter_mut().map(|buf| trusty_sys::iovec { in recv_vectored()
170 num_iov: iovs.len().try_into()?, in recv_vectored()
171 iov: iovs.as_mut_ptr(), in recv_vectored()
210 let mut iovs = arrayvec::ArrayVec::<_, MAX_MSG_IOVECS>::new(); in send_vectored() localVariable
212 iovs.extend( in send_vectored()
221 num_iov: iovs.len().try_into()?, in send_vectored()
222 iov: iovs.as_mut_ptr(), in send_vectored()
/trusty/kernel/lib/metrics/
Dmetrics.c171 struct iovec_kern iovs[] = { in report_crash() local
182 .num_iov = countof(iovs), in report_crash()
183 .iov = iovs, in report_crash()
211 struct iovec_kern iovs[] = { in report_exit() local
222 .num_iov = countof(iovs), in report_exit()
223 .iov = iovs, in report_exit()
/trusty/user/base/lib/secure_fb/srv/
Dsecure_fb_server.c128 struct iovec iovs[] = { in handle_get_fbs_req() local
143 .num_iov = countof(iovs), in handle_get_fbs_req()
144 .iov = iovs, in handle_get_fbs_req()
/trusty/user/base/lib/spi/srv/tipc/
Dtipc.c89 struct iovec iovs[2] = { in recv_msg() local
100 .iov = iovs, in recv_msg()
101 .num_iov = countof(iovs), in recv_msg()
/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c139 struct iovec iovs[3] = { in sign_data() local
155 iovs[2].iov_base = (void*)aad; in sign_data()
158 .iov = iovs, in sign_data()
/trusty/user/base/lib/secure_fb/
Dsecure_fb.c158 struct iovec iovs[] = { in handle_get_fbs_resp() local
173 .num_iov = countof(iovs), in handle_get_fbs_resp()
174 .iov = iovs, in handle_get_fbs_resp()
/trusty/user/base/lib/spi/client/
Dclient.c46 struct iovec iovs[2] = { in send_shm() local
57 .iov = iovs, in send_shm()
58 .num_iov = countof(iovs), in send_shm()