/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 110 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/ |
D | io_uring-cp.c | 103 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/ |
D | tls.c | 388 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 …]
|
D | tcp_inq.c | 159 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()
|
D | udpgso_bench_tx.c | 354 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()
|
D | udpgso.c | 442 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()
|
D | ipv6_flowlabel.c | 46 iov.iov_len = sizeof(cfg_data); in do_send() 85 iov.iov_len = sizeof(data); in do_recv()
|
D | msg_zerocopy.c | 191 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()
|
D | so_txtime.c | 83 iov.iov_len = 1; in do_send_one() 165 iov.iov_len = sizeof(data); in do_recv_errqueue_timeout()
|
D | udpgso_bench_rx.c | 224 iov.iov_len = len; in recv_msg()
|
D | txtimestamp.c | 379 entry.iov_len = cfg_payload_len; in recv_errmsg() 597 iov.iov_len = total_len; in do_test()
|
D | rxtimestamp.c | 193 recv_iov.iov_len = read_size; in do_recv()
|
D | timestamping.c | 294 entry.iov_len = sizeof(data); in recvpacket()
|
D | nettest.c | 899 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/ |
D | memfd_secret.c | 97 liov.iov_len = riov.iov_len = sizeof(buf); in try_process_vm_read()
|
/tools/perf/util/ |
D | probe-file.c | 981 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/ |
D | sve-ptrace.c | 89 iov.iov_len = sz; in get_sve() 111 iov.iov_len = sve->size; in set_sve()
|
/tools/virtio/ |
D | vringh_test.c | 529 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/ |
D | test_vsyscall.c | 486 local.iov_len = 4096; in test_process_vm_readv() 488 remote.iov_len = 4096; in test_process_vm_readv()
|
/tools/testing/vsock/ |
D | vsock_test.c | 319 iov.iov_len = sizeof(buf); in test_seqpacket_msg_bounds_server() 374 iov.iov_len = sizeof(buf); in test_seqpacket_msg_trunc_server()
|
D | vsock_diag_test.c | 185 .iov_len = sizeof(req), in send_req() 214 .iov_len = len, in recv_resp()
|
/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 96 iov.iov_len = offsetof(struct user_hwdebug_state, dbg_regs) + in set_watchpoint()
|
/tools/testing/selftests/landlock/ |
D | base_test.c | 274 .iov_len = sizeof(data_tx), in TEST()
|
/tools/lib/bpf/ |
D | netlink.c | 112 iov->iov_len = len; in alloc_iov() 143 if (len > iov.iov_len) { in libbpf_netlink_recv()
|
/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1058 iov.iov_len = sizeof(data); in sendmsg_to_server() 1123 iov.iov_len = sizeof(data); in recvmsg_from_client()
|