Searched refs:UIO_MAXIOV (Results 1 – 17 of 17) sorted by relevance
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | uio.h | 28 #define UIO_MAXIOV 1024 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | uio.h | 28 #define UIO_MAXIOV 1024 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | uio.h | 17 #define UIO_MAXIOV 1024 macro
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | uio.h | 41 #define UIO_MAXIOV 1024 macro
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | net.c | 289 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 …]
|
D | vhost.h | 112 struct iovec iov[UIO_MAXIOV];
|
D | test.c | 122 vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV, in vhost_test_open()
|
D | vsock.c | 636 UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, in vhost_vsock_dev_open()
|
D | vhost.c | 400 vq->indirect = kmalloc_array(UIO_MAXIOV, in vhost_dev_alloc_iovecs() 2120 UIO_MAXIOV, VHOST_ACCESS_RO); in get_indirect()
|
D | scsi.c | 1842 vhost_dev_init(&vs->dev, vqs, VHOST_SCSI_MAX_VQ, UIO_MAXIOV, in vhost_scsi_open()
|
/kernel/linux/linux-5.10/net/rds/ |
D | rdma.c | 568 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/ |
D | blk-map.c | 26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data()
|
D | bio.c | 448 if (nr_iovecs > UIO_MAXIOV) in bio_alloc_bioset()
|
/kernel/linux/linux-5.10/net/ |
D | compat.c | 79 if (msg.msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr()
|
D | socket.c | 2272 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/ |
D | iov_iter.c | 1711 if (nr_segs > UIO_MAXIOV) in iovec_from_user()
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 277 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);
|