Home
last modified time | relevance | path

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

12

/tools/testing/selftests/powerpc/ptrace/
Dptrace.h110 iov.iov_len = n * sizeof(unsigned long); in ptrace_read_regs()
130 iov.iov_len = n * sizeof(unsigned long); in ptrace_write_regs()
152 iov.iov_len = sizeof(unsigned long); in show_tar_registers()
199 iov.iov_len = sizeof(unsigned long); in write_tar_registers()
242 iov.iov_len = sizeof(unsigned long); in show_tm_checkpointed_state()
290 iov.iov_len = sizeof(unsigned long); in write_ckpt_tar_registers()
371 iov.iov_len = sizeof(struct fpr_regs); in show_ckpt_fpr()
395 iov.iov_len = sizeof(struct fpr_regs); in write_ckpt_fpr()
481 iov.iov_len = sizeof(struct pt_regs); in show_ckpt_gpr()
509 iov.iov_len = sizeof(struct pt_regs); in write_ckpt_gpr()
[all …]
/tools/io_uring/
Dio_uring-cp.c103 data->iov.iov_len = size; in queue_read()
117 data->iov.iov_len = data->first_len; in queue_write()
201 } else if (cqe->res != data->iov.iov_len) { in copy_file()
204 data->iov.iov_len -= cqe->res; in copy_file()
/tools/testing/selftests/net/
Dtls.c388 vec.iov_len = send_len; in TEST_F()
410 vec[i].iov_len = SEND_LEN; in TEST_F()
462 int iov_len = 5; in TEST_F() local
467 for (i = 0; i < iov_len; i++) { in TEST_F()
471 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F()
472 total_len += vec[i].iov_len; in TEST_F()
475 msg.msg_iovlen = iov_len; in TEST_F()
480 for (i = 0; i < iov_len; i++) { in TEST_F()
486 for (i = 0; i < iov_len; i++) in TEST_F()
496 int iov_len = 1024; in TEST_F() local
[all …]
Dtcp_inq.c159 iov[0].iov_len = BUF_SIZE / 2; in main()
161 if (recvmsg(fd, &msg, 0) != iov[0].iov_len) in main()
170 if (inq != BUF_SIZE - iov[0].iov_len) { in main()
Dudpgso_bench_tx.c354 iov[i].iov_len = cfg_mss < left ? cfg_mss : left; in send_udp_sendmmsg()
366 off += iov[i].iov_len; in send_udp_sendmmsg()
367 left -= iov[i].iov_len; in send_udp_sendmmsg()
400 iov.iov_len = cfg_payload_len; in send_udp_segment()
423 if (ret != iov.iov_len) in send_udp_segment()
425 (unsigned long long)iov.iov_len); in send_udp_segment()
Dudpgso.c442 if (ret != msg->msg_iov->iov_len) in __send_one()
444 (unsigned long long)msg->msg_iov->iov_len); in __send_one()
460 iov.iov_len = len; in send_one()
481 iov.iov_len = 1; in send_one()
486 iov.iov_len = len - 1; in send_one()
Dipv6_flowlabel.c46 iov.iov_len = sizeof(cfg_data); in do_send()
85 iov.iov_len = sizeof(data); in do_recv()
Dmsg_zerocopy.c191 len += msg->msg_iov[i].iov_len; in do_sendmsg()
245 msg->msg_iov[0].iov_len = payload_len + extra_len; in do_sendmsg_corked()
505 iov[0].iov_len = sizeof(eth); in do_tx()
525 iov[1].iov_len = setup_iph(&nh.iph, cfg_payload_len); in do_tx()
527 iov[1].iov_len = setup_ip6h(&nh.ip6h, cfg_payload_len); in do_tx()
541 iov[2].iov_len = cfg_payload_len; in do_tx()
Dso_txtime.c83 iov.iov_len = 1; in do_send_one()
165 iov.iov_len = sizeof(data); in do_recv_errqueue_timeout()
Dudpgso_bench_rx.c224 iov.iov_len = len; in recv_msg()
Dtxtimestamp.c379 entry.iov_len = cfg_payload_len; in recv_errmsg()
597 iov.iov_len = total_len; in do_test()
Drxtimestamp.c193 recv_iov.iov_len = read_size; in do_recv()
Dtimestamping.c294 entry.iov_len = sizeof(data); in recvpacket()
Dnettest.c899 iov[0].iov_len = msglen; in send_msg_cmsg()
991 iov[0].iov_len = sizeof(buf); in socket_read_dgram()
1044 iov[0].iov_len = len; in socket_read_dgram()
/tools/testing/selftests/vm/
Dmemfd_secret.c97 liov.iov_len = riov.iov_len = sizeof(buf); in try_process_vm_read()
/tools/perf/util/
Dprobe-file.c981 iov[0].iov_base = (void *)prefix; iov[0].iov_len = 1; in probe_cache_entry__write()
982 iov[1].iov_base = entry->spev; iov[1].iov_len = strlen(entry->spev); in probe_cache_entry__write()
983 iov[2].iov_base = (void *)"\n"; iov[2].iov_len = 1; in probe_cache_entry__write()
985 if (ret < (int)iov[1].iov_len + 2) in probe_cache_entry__write()
990 iov[0].iov_len = strlen(snode->s); in probe_cache_entry__write()
991 iov[1].iov_base = (void *)"\n"; iov[1].iov_len = 1; in probe_cache_entry__write()
993 if (ret < (int)iov[0].iov_len + 1) in probe_cache_entry__write()
/tools/testing/selftests/arm64/fp/
Dsve-ptrace.c89 iov.iov_len = sz; in get_sve()
111 iov.iov_len = sve->size; in set_sve()
/tools/virtio/
Dvringh_test.c529 assert(riov.iov[0].iov_len == 1); in main()
533 assert(wiov.iov[0].iov_len == 2); in main()
537 assert(wiov.iov[0].iov_len == 1); in main()
539 assert(wiov.iov[1].iov_len == 1); in main()
/tools/testing/selftests/x86/
Dtest_vsyscall.c486 local.iov_len = 4096; in test_process_vm_readv()
488 remote.iov_len = 4096; in test_process_vm_readv()
/tools/testing/vsock/
Dvsock_test.c319 iov.iov_len = sizeof(buf); in test_seqpacket_msg_bounds_server()
374 iov.iov_len = sizeof(buf); in test_seqpacket_msg_trunc_server()
Dvsock_diag_test.c185 .iov_len = sizeof(req), in send_req()
214 .iov_len = len, in recv_resp()
/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c96 iov.iov_len = offsetof(struct user_hwdebug_state, dbg_regs) + in set_watchpoint()
/tools/testing/selftests/landlock/
Dbase_test.c274 .iov_len = sizeof(data_tx), in TEST()
/tools/lib/bpf/
Dnetlink.c112 iov->iov_len = len; in alloc_iov()
143 if (len > iov.iov_len) { in libbpf_netlink_recv()
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1058 iov.iov_len = sizeof(data); in sendmsg_to_server()
1123 iov.iov_len = sizeof(data); in recvmsg_from_client()

12