Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/linux/
Duio.h28 #define UIO_MAXIOV 1024 macro
/linux-6.6.21/drivers/vhost/
Dnet.c290 kmalloc_array(UIO_MAXIOV, in vhost_net_set_ubuf_info()
367 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used()
377 add = min(UIO_MAXIOV - nvq->done_idx, j); in vhost_zerocopy_signal_used()
380 nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV; in vhost_zerocopy_signal_used()
605 return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > in vhost_exceeds_maxpend()
923 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx_zerocopy()
945 % UIO_MAXIOV; in handle_tx_zerocopy()
1065 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs()
1104 r = UIO_MAXIOV + 1; in get_rx_bufs()
1170 likely(mergeable) ? UIO_MAXIOV : 1); in handle_rx()
[all …]
Dvhost.h126 struct iovec iov[UIO_MAXIOV];
Dtest.c122 vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV, in vhost_test_open()
Dvsock.c668 UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, in vhost_vsock_dev_open()
Dscsi.c1629 tv_cmd->tvc_resp_iov = kcalloc(UIO_MAXIOV, in vhost_scsi_setup_vq_cmds()
1974 vhost_dev_init(&vs->dev, vqs, nvqs, UIO_MAXIOV, in vhost_scsi_open()
Dvhost.c438 vq->indirect = kmalloc_array(UIO_MAXIOV, in vhost_dev_alloc_iovecs()
2415 UIO_MAXIOV, VHOST_ACCESS_RO); in get_indirect()
/linux-6.6.21/drivers/md/
Ddm-flakey.c419 if (unlikely(bio->bi_iter.bi_size > UIO_MAXIOV << PAGE_SHIFT)) in clone_bio()
420 dm_accept_partial_bio(bio, UIO_MAXIOV << PAGE_SHIFT >> SECTOR_SHIFT); in clone_bio()
/linux-6.6.21/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()
/linux-6.6.21/net/
Dcompat.c75 if (msg->msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr()
Dsocket.c2474 if (msg->msg_iovlen > UIO_MAXIOV) in __copy_msghdr()
2673 if (vlen > UIO_MAXIOV) in __sys_sendmmsg()
2674 vlen = UIO_MAXIOV; in __sys_sendmmsg()
/linux-6.6.21/block/
Dblk-map.c26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data()
Dbio.c603 if (nr_vecs > UIO_MAXIOV) in bio_kmalloc()
/linux-6.6.21/lib/
Diov_iter.c1411 if (nr_segs > UIO_MAXIOV) in iovec_from_user()
/linux-6.6.21/net/core/
Dsock.c288 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);