Home
last modified time | relevance | path

Searched refs:UIO_MAXIOV (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/include/uapi/linux/
Duio.h28 #define UIO_MAXIOV 1024 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Duio.h28 #define UIO_MAXIOV 1024 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Duio.h17 #define UIO_MAXIOV 1024 macro
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Duio.h41 #define UIO_MAXIOV 1024 macro
/kernel/linux/linux-5.10/drivers/vhost/
Dnet.c289 kmalloc_array(UIO_MAXIOV, in vhost_net_set_ubuf_info()
366 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used()
376 add = min(UIO_MAXIOV - nvq->done_idx, j); in vhost_zerocopy_signal_used()
379 nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV; in vhost_zerocopy_signal_used()
602 return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > in vhost_exceeds_maxpend()
920 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx_zerocopy()
940 % UIO_MAXIOV; in handle_tx_zerocopy()
1056 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs()
1095 r = UIO_MAXIOV + 1; in get_rx_bufs()
1161 likely(mergeable) ? UIO_MAXIOV : 1); in handle_rx()
[all …]
Dvhost.h112 struct iovec iov[UIO_MAXIOV];
Dtest.c122 vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV, in vhost_test_open()
Dvsock.c636 UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, in vhost_vsock_dev_open()
Dvhost.c400 vq->indirect = kmalloc_array(UIO_MAXIOV, in vhost_dev_alloc_iovecs()
2120 UIO_MAXIOV, VHOST_ACCESS_RO); in get_indirect()
Dscsi.c1842 vhost_dev_init(&vs->dev, vqs, VHOST_SCSI_MAX_VQ, UIO_MAXIOV, in vhost_scsi_open()
/kernel/linux/linux-5.10/net/rds/
Drdma.c568 if (args->nr_local > UIO_MAXIOV) in rds_rdma_extra_size()
633 if (args->nr_local > UIO_MAXIOV) { in rds_cmsg_rdma_args()
/kernel/linux/linux-5.10/block/
Dblk-map.c26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data()
Dbio.c448 if (nr_iovecs > UIO_MAXIOV) in bio_alloc_bioset()
/kernel/linux/linux-5.10/net/
Dcompat.c79 if (msg.msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr()
Dsocket.c2272 if (msg.msg_iovlen > UIO_MAXIOV) in __copy_msghdr_from_user()
2469 if (vlen > UIO_MAXIOV) in __sys_sendmmsg()
2470 vlen = UIO_MAXIOV; in __sys_sendmmsg()
/kernel/linux/linux-5.10/lib/
Diov_iter.c1711 if (nr_segs > UIO_MAXIOV) in iovec_from_user()
/kernel/linux/linux-5.10/net/core/
Dsock.c277 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);