Searched refs:UIO_MAXIOV (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/include/uapi/linux/ |
H A D | uio.h | 28 #define UIO_MAXIOV 1024 macro
|
/openbmc/linux/drivers/vhost/ |
H A D | net.c | 290 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 …]
|
H A D | vhost.h | 128 struct iovec iov[UIO_MAXIOV];
|
H A D | test.c | 122 vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV, in vhost_test_open()
|
H A D | vsock.c | 669 UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, in vhost_vsock_dev_open()
|
H A D | scsi.c | 1639 tv_cmd->tvc_resp_iov = kcalloc(UIO_MAXIOV, in vhost_scsi_setup_vq_cmds() 1984 vhost_dev_init(&vs->dev, vqs, nvqs, UIO_MAXIOV, in vhost_scsi_open()
|
H A D | vhost.c | 480 vq->indirect = kmalloc_array(UIO_MAXIOV, in vhost_dev_alloc_iovecs() 2483 UIO_MAXIOV, VHOST_ACCESS_RO); in get_indirect()
|
/openbmc/linux/drivers/md/ |
H A D | dm-flakey.c | 419 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()
|
/openbmc/linux/net/rds/ |
H A D | rdma.c | 571 if (args->nr_local > UIO_MAXIOV) in rds_rdma_extra_size() 636 if (args->nr_local > UIO_MAXIOV) { in rds_cmsg_rdma_args()
|
/openbmc/linux/net/ |
H A D | compat.c | 75 if (msg->msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr()
|
H A D | socket.c | 2509 if (msg->msg_iovlen > UIO_MAXIOV) in __copy_msghdr() 2708 if (vlen > UIO_MAXIOV) in __sys_sendmmsg() 2709 vlen = UIO_MAXIOV; in __sys_sendmmsg()
|
/openbmc/linux/block/ |
H A D | blk-map.c | 26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data()
|
H A D | bio.c | 603 if (nr_vecs > UIO_MAXIOV) in bio_kmalloc()
|
/openbmc/linux/lib/ |
H A D | iov_iter.c | 1413 if (nr_segs > UIO_MAXIOV) in iovec_from_user()
|
/openbmc/linux/net/core/ |
H A D | sock.c | 289 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 3390 if (vlen > UIO_MAXIOV) { in do_sendrecvmmsg() 3391 vlen = UIO_MAXIOV; in do_sendrecvmmsg()
|