/trusty/user/app/storage/ |
D | tipc_ns.c | 104 {.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 …]
|
D | error_reporting.c | 87 .iov_len = sizeof(req), in do_error_report() 91 .iov_len = sizeof(atom), in do_error_report()
|
D | ipc.c | 160 .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/ |
D | iovectest.c | 74 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/ |
D | ipc.cpp | 43 .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/ |
D | iovec.c | 42 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()
|
D | vqueue.c | 202 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()
|
D | tipc_virtio_dev.c | 620 .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/ |
D | trusty_rng.c | 75 .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/ |
D | trusty_uio.c | 32 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/ |
D | stats_test.cpp | 79 .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/ |
D | main.c | 84 .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/ |
D | tipc.c | 48 .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/ |
D | uio.h | 32 size_t iov_len; member 37 user_size_t iov_len; member
|
/trusty/kernel/lib/metrics/ |
D | metrics.c | 105 .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/ |
D | hwkey.c | 80 {.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/ |
D | main.rs | 36 let iov = iovec { iov_base: message2.as_ptr() as *mut _, iov_len: message2.len() }; in main()
|
/trusty/kernel/lib/libc-trusty/ |
D | writev.c | 50 ret = io_write(io_handle, (const void*)iov->iov_base, iov->iov_len); in trusty_writev()
|
/trusty/user/base/lib/coverage/common/ |
D | ipc.c | 28 .iov_len = msg_len, in coverage_send() 61 .iov_len = msg_len, in coverage_recv()
|
/trusty/user/base/lib/keymaster/ |
D | keymaster.c | 44 .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/ |
D | secure_fb_server.c | 131 .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/ |
D | hwbcc.c | 142 .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/ |
D | secure_fb.c | 161 .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/ |
D | secure_dpu.c | 68 .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/ |
D | vmm_obj.c | 84 .iov_len = sizeof(size64), in vmm_obj_map_ro()
|