Searched refs:UIO_MAXIOV (Results 1 – 12 of 12) sorted by relevance
177 UIO_MAXIOV, GFP_KERNEL); in vhost_net_set_ubuf_info()246 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used()256 add = min(UIO_MAXIOV - nvq->done_idx, j); in vhost_zerocopy_signal_used()259 nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV; in vhost_zerocopy_signal_used()331 % UIO_MAXIOV == nvq->done_idx)) in handle_tx()368 && (nvq->upend_idx + 1) % UIO_MAXIOV != in handle_tx()386 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx()397 % UIO_MAXIOV; in handle_tx()467 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs()506 r = UIO_MAXIOV + 1; in get_rx_bufs()[all …]
99 struct iovec iov[UIO_MAXIOV];
350 vq->indirect = kmalloc(sizeof *vq->indirect * UIO_MAXIOV, in vhost_dev_alloc_iovecs()352 vq->log = kmalloc(sizeof *vq->log * UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs()353 vq->heads = kmalloc(sizeof *vq->heads * UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs()1257 UIO_MAXIOV); in get_indirect()
27 #define UIO_MAXIOV 1024 macro
434 if (nr_iovecs > UIO_MAXIOV) in bio_alloc_bioset()1000 if (iov_count > UIO_MAXIOV) in bio_alloc_map_data()
1649 if (unlikely(nr_segs > UIO_MAXIOV)) in SYSCALL_DEFINE4()1674 if (nr_segs > UIO_MAXIOV) in COMPAT_SYSCALL_DEFINE4()
722 if (nr_segs > UIO_MAXIOV) { in rw_copy_check_uvector()
565 if (nr_segs > UIO_MAXIOV || nr_segs < 0) in compat_rw_copy_check_uvector()
571 if (args->nr_local > UIO_MAXIOV) { in rds_cmsg_rdma_args()
1866 if (nr_segs > UIO_MAXIOV) in copy_msghdr_from_user()2009 if (vlen > UIO_MAXIOV) in __sys_sendmmsg()2010 vlen = UIO_MAXIOV; in __sys_sendmmsg()
79 if (nr_segs > UIO_MAXIOV) in get_compat_msghdr()
326 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);