Searched refs:UIO_MAXIOV (Results 1 – 12 of 12) sorted by relevance
178 UIO_MAXIOV, GFP_KERNEL); in vhost_net_set_ubuf_info()247 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used()257 add = min(UIO_MAXIOV - nvq->done_idx, j); in vhost_zerocopy_signal_used()260 nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV; in vhost_zerocopy_signal_used()332 % UIO_MAXIOV == nvq->done_idx)) in handle_tx()369 && (nvq->upend_idx + 1) % UIO_MAXIOV != in handle_tx()387 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx()398 % UIO_MAXIOV; in handle_tx()468 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs()507 r = UIO_MAXIOV + 1; in get_rx_bufs()[all …]
99 struct iovec iov[UIO_MAXIOV];
271 vq->indirect = kmalloc(sizeof *vq->indirect * UIO_MAXIOV, in vhost_dev_alloc_iovecs()273 vq->log = kmalloc(sizeof *vq->log * UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs()274 vq->heads = kmalloc(sizeof *vq->heads * UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs()1142 UIO_MAXIOV); in get_indirect()
27 #define UIO_MAXIOV 1024 macro
421 if (nr_iovecs > UIO_MAXIOV) in bio_alloc_bioset()1032 if (iov_count > UIO_MAXIOV) in bio_alloc_map_data()
1640 if (unlikely(nr_segs > UIO_MAXIOV)) in SYSCALL_DEFINE4()1665 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()
570 if (args->nr_local > UIO_MAXIOV) { in rds_cmsg_rdma_args()
1875 if (nr_segs > UIO_MAXIOV) in copy_msghdr_from_user()2018 if (vlen > UIO_MAXIOV) in __sys_sendmmsg()2019 vlen = UIO_MAXIOV; in __sys_sendmmsg()
79 if (nr_segs > UIO_MAXIOV) in get_compat_msghdr()
325 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);