Home
last modified time | relevance | path

Searched refs:iov_len (Results 1 – 25 of 49) sorted by relevance

12

/trusty/user/app/storage/
Dtipc_ns.c104 {.iov_base = &msg, .iov_len = sizeof(msg)}, in rpmb_send()
105 {.iov_base = read_buf, .iov_len = read_size}, in rpmb_send()
109 {.iov_base = &msg, .iov_len = sizeof(msg)}, in rpmb_send()
110 {.iov_base = &req, .iov_len = sizeof(req)}, in rpmb_send()
111 {.iov_base = reliable_write_buf, .iov_len = reliable_write_size}, in rpmb_send()
112 {.iov_base = write_buf, .iov_len = write_size}, in rpmb_send()
156 struct iovec tx_iov[] = {{.iov_base = &msg, .iov_len = sizeof(msg)}, in ns_open_file()
157 {.iov_base = &req, .iov_len = sizeof(req)}, in ns_open_file()
158 {.iov_base = (char*)fname, .iov_len = fname_size}}; in ns_open_file()
160 struct iovec rx_iov[] = {{.iov_base = &msg, .iov_len = sizeof(msg)}, in ns_open_file()
[all …]
Derror_reporting.c87 .iov_len = sizeof(req), in do_error_report()
91 .iov_len = sizeof(atom), in do_error_report()
Dipc.c160 .iov_len = msg_inf.len, in do_handle_msg()
339 size_t min_len = rx_iovecs[0].iov_len; in sync_ipc_send_msg()
349 resp_size += rx_iovecs[i].iov_len; in sync_ipc_send_msg()
/trusty/kernel/app/usercopytest/
Diovectest.c74 uiov[index].iov_len = len; in write_chunked_iovec()
152 .iov_len = 0, in TEST_F()
156 .iov_len = 0, in TEST_F()
160 .iov_len = 3, in TEST_F()
164 .iov_len = 0, in TEST_F()
168 .iov_len = 0, in TEST_F()
172 .iov_len = 0, in TEST_F()
176 .iov_len = 25, in TEST_F()
180 .iov_len = 0, in TEST_F()
184 .iov_len = 0, in TEST_F()
[all …]
/trusty/user/base/experimental/lib/tidl/
Dipc.cpp43 .iov_len = len, in send()
73 .iov_len = buf_sz, in recv()
98 .iov_len = hdr_len, in send()
102 .iov_len = payload1_len, in send()
136 .iov_len = buf1_sz, in recv()
140 .iov_len = buf2_sz, in recv()
168 .iov_len = hdr_len, in send()
172 .iov_len = payload1_len, in send()
176 .iov_len = payload2_len, in send()
212 .iov_len = buf1_sz, in recv()
[all …]
/trusty/kernel/lib/trusty/
Diovec.c42 if (to_copy > iov->iov_len) in membuf_to_kern_iovec()
43 to_copy = iov->iov_len; in membuf_to_kern_iovec()
78 if (to_copy > iov->iov_len) in kern_iovec_to_membuf()
79 to_copy = iov->iov_len; in kern_iovec_to_membuf()
123 if (to_copy > uiov.iov_len) in membuf_to_user_iovec()
124 to_copy = uiov.iov_len; in membuf_to_user_iovec()
166 if (uiov.iov_len < iter->data_offset) in user_iovec_to_membuf_iter()
170 size_t to_copy = uiov.iov_len - iter->data_offset; in user_iovec_to_membuf_iter()
181 if (iter->data_offset >= uiov.iov_len) { in user_iovec_to_membuf_iter()
Dvqueue.c202 iovlist->iovs[iovlist->used].iov_len = desc->len; in _vqueue_get_avail_buf_locked()
299 vqiovs->iovs[i].iov_len <= obj->size) { in vqueue_map_iovs()
326 size = round_up(vqiovs->iovs[i].iov_len, PAGE_SIZE); in vqueue_map_iovs()
386 (unsigned long)vqiovs->iovs[i].iov_len); in vqueue_unmap_iovs()
393 (unsigned long)vqiovs->iovs[i].iov_len); in vqueue_unmap_iovs()
425 fake_vqiovs.iovs[0].iov_len = obj->size; in vqueue_unmap_memid()
Dtipc_virtio_dev.c620 .iov_len = len, in handle_chan_msg()
763 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()
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()
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()
1347 if (ttl_len > buf.out_iovs.iovs[0].iov_len) { in tipc_send_data()
1351 buf.out_iovs.iovs[0].iov_len, ttl_len); in tipc_send_data()
1352 data_len = buf.out_iovs.iovs[0].iov_len - sizeof(struct tipc_hdr); in tipc_send_data()
/trusty/user/base/lib/rng/
Dtrusty_rng.c75 .iov_len = sizeof(req_hdr), in trusty_rng_hw_rand()
85 .iov_len = len, in trusty_rng_hw_rand()
109 while (rx_msg.iov[0].iov_len > 0) { in trusty_rng_hw_rand()
122 if (inf.len > rx_msg.iov[0].iov_len) { in trusty_rng_hw_rand()
135 rx_msg.iov[0].iov_len -= rx_size; in trusty_rng_hw_rand()
/trusty/user/base/lib/libc-trusty/
Dtrusty_uio.c32 struct iovec iov = {.iov_base = buf, .iov_len = count}; in read()
46 struct iovec iov = {.iov_base = buf, .iov_len = count}; in write()
55 struct iovec iov = {.iov_base = buf, .iov_len = count}; in trusty_read()
64 struct iovec iov = {.iov_base = buf, .iov_len = count}; in trusty_write()
/trusty/user/app/sample/stats-test/
Dstats_test.cpp79 .iov_len = sizeof(req), in TEST_F()
83 .iov_len = sizeof(args), in TEST_F()
114 .iov_len = sizeof(req), in TEST_F()
118 .iov_len = sizeof(args), in TEST_F()
/trusty/hardware/nxp/app/hwcrypto/
Dmain.c84 .iov_len = len, in tipc_send_single_buf()
111 .iov_len = len, in tipc_recv_single_buf()
135 .iov_len = hdr_len, in tipc_send_two_segments()
139 .iov_len = payload_len, in tipc_send_two_segments()
170 .iov_len = hdr_len, in tipc_recv_two_segments()
174 .iov_len = payload_len, in tipc_recv_two_segments()
/trusty/user/base/lib/tipc/
Dtipc.c48 .iov_len = len, in tipc_send1()
76 .iov_len = buf_sz, in tipc_recv1()
102 .iov_len = hdr_len, in tipc_send2()
106 .iov_len = payload_len, in tipc_send2()
141 .iov_len = buf1_sz, in tipc_recv2()
145 .iov_len = buf2_sz, in tipc_recv2()
/trusty/kernel/lib/trusty/include/lib/trusty/
Duio.h32 size_t iov_len; member
37 user_size_t iov_len; member
/trusty/kernel/lib/metrics/
Dmetrics.c105 .iov_len = sizeof(resp), in recv_resp()
174 .iov_len = sizeof(req), in report_crash()
178 .iov_len = sizeof(args), in report_crash()
214 .iov_len = sizeof(req), in report_exit()
218 .iov_len = sizeof(args), in report_exit()
247 .iov_len = sizeof(req), in report_event_drop()
/trusty/user/base/lib/hwkey/
Dhwkey.c80 {.iov_base = msg, .iov_len = sizeof(*msg)}, in send_req()
81 {.iov_base = req_buf, .iov_len = req_buf_len}, in send_req()
127 {.iov_base = msg, .iov_len = sizeof(*msg)}, in send_req()
128 {.iov_base = rsp_buf, .iov_len = *rsp_buf_len}, in send_req()
/trusty/user/app/sample/skel_rust/
Dmain.rs36 let iov = iovec { iov_base: message2.as_ptr() as *mut _, iov_len: message2.len() }; in main()
/trusty/kernel/lib/libc-trusty/
Dwritev.c50 ret = io_write(io_handle, (const void*)iov->iov_base, iov->iov_len); in trusty_writev()
/trusty/user/base/lib/coverage/common/
Dipc.c28 .iov_len = msg_len, in coverage_send()
61 .iov_len = msg_len, in coverage_recv()
/trusty/user/base/lib/keymaster/
Dkeymaster.c44 .iov_len = sizeof(msg), in send_req()
91 {.iov_base = &msg, .iov_len = sizeof(msg)}, in read_response()
92 {.iov_base = buf, .iov_len = size}, in read_response()
/trusty/user/base/lib/secure_fb/srv/
Dsecure_fb_server.c131 .iov_len = sizeof(hdr), in handle_get_fbs_req()
135 .iov_len = sizeof(args), in handle_get_fbs_req()
139 .iov_len = fbs_len, in handle_get_fbs_req()
/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c142 .iov_len = sizeof(req), in sign_data()
146 .iov_len = data_size, in sign_data()
150 .iov_len = aad_size, in sign_data()
/trusty/user/base/lib/secure_fb/
Dsecure_fb.c161 .iov_len = sizeof(hdr), in handle_get_fbs_resp()
165 .iov_len = sizeof(args), in handle_get_fbs_resp()
169 .iov_len = sizeof(fbs), in handle_get_fbs_resp()
/trusty/user/base/lib/secure_dpu/
Dsecure_dpu.c68 .iov_len = sizeof(hdr), in handle_allocate_buffer_resp()
72 .iov_len = sizeof(resp), in handle_allocate_buffer_resp()
/trusty/user/base/lib/vmm_obj/
Dvmm_obj.c84 .iov_len = sizeof(size64), in vmm_obj_map_ro()

12