Searched refs:UIO_MAXIOV (Results 1 – 11 of 11) sorted by relevance
27 #define UIO_MAXIOV 1024 macro
91 struct iovec iov[UIO_MAXIOV];
230 UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs()231 dev->vqs[i].log = kmalloc(sizeof *dev->vqs[i].log * UIO_MAXIOV, in vhost_dev_alloc_iovecs()234 UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs()1031 UIO_MAXIOV); in get_indirect()
251 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs()331 likely(mergeable) ? UIO_MAXIOV : 1); in handle_rx()
373 if (nr_iovecs > UIO_MAXIOV) in bio_kmalloc()705 if (iov_count > UIO_MAXIOV) in bio_alloc_map_data()
598 if (nr_segs > UIO_MAXIOV) { in rw_copy_check_uvector()
569 if (nr_segs > UIO_MAXIOV || nr_segs < 0) in compat_rw_copy_check_uvector()1275 if (nr_segs > UIO_MAXIOV) in compat_sys_vmsplice()
1660 if (unlikely(nr_segs > UIO_MAXIOV)) in SYSCALL_DEFINE4()
570 if (args->nr_local > UIO_MAXIOV) { in rds_cmsg_rdma_args()
1898 if (msg_sys.msg_iovlen > UIO_MAXIOV) in SYSCALL_DEFINE3()1996 if (msg_sys->msg_iovlen > UIO_MAXIOV) in __sys_recvmsg()
219 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);