Home
last modified time | relevance | path

Searched refs:iov_length (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c137 int iov_length; member
342 static int msg_loop_sendpage(int fd, int iov_length, int cnt, in msg_loop_sendpage() argument
357 for (j = 0; j < iov_length; j++, k++) in msg_loop_sendpage()
370 sent = sendfile(fd, fp, NULL, iov_length); in msg_loop_sendpage()
403 int iov_count, int iov_length, in msg_alloc_iov() argument
415 unsigned char *d = calloc(iov_length, sizeof(char)); in msg_alloc_iov()
422 iov[i].iov_len = iov_length; in msg_alloc_iov()
427 for (j = 0; j < iov_length; j++) in msg_alloc_iov()
538 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
546 int iov_alloc_length = iov_length; in msg_loop()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c252 int iov_length = 8192; test_sockmap_ktls_tx_no_buf() local
/linux/drivers/vhost/
H A Dtest.c87 len = iov_length(vq->iov, out); in handle_vq()
H A Dnet.c648 size_t len = iov_length(vq->iov, out); in init_iov_iter()
1110 len = iov_length(vq->iov + seg, in); in get_rx_bufs()
H A Dscsi.c1176 vc->out_size = iov_length(vq->iov, vc->out); in vhost_scsi_get_desc()
1177 vc->in_size = iov_length(&vq->iov[vc->out], vc->in); in vhost_scsi_get_desc()
/linux/include/linux/
H A Duio.h175 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length() function