Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/vhost/
Dnet.c177 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 …]
Dvhost.h99 struct iovec iov[UIO_MAXIOV];
Dvhost.c350 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()
/linux-4.4.14/include/uapi/linux/
Duio.h27 #define UIO_MAXIOV 1024 macro
/linux-4.4.14/block/
Dbio.c434 if (nr_iovecs > UIO_MAXIOV) in bio_alloc_bioset()
1000 if (iov_count > UIO_MAXIOV) in bio_alloc_map_data()
/linux-4.4.14/fs/
Dsplice.c1649 if (unlikely(nr_segs > UIO_MAXIOV)) in SYSCALL_DEFINE4()
1674 if (nr_segs > UIO_MAXIOV) in COMPAT_SYSCALL_DEFINE4()
Dread_write.c722 if (nr_segs > UIO_MAXIOV) { in rw_copy_check_uvector()
Dcompat.c565 if (nr_segs > UIO_MAXIOV || nr_segs < 0) in compat_rw_copy_check_uvector()
/linux-4.4.14/net/rds/
Drdma.c571 if (args->nr_local > UIO_MAXIOV) { in rds_cmsg_rdma_args()
/linux-4.4.14/net/
Dsocket.c1866 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()
Dcompat.c79 if (nr_segs > UIO_MAXIOV) in get_compat_msghdr()
/linux-4.4.14/net/core/
Dsock.c326 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);