Searched refs:UIO_MAXIOV (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/vhost/ |
A D | net.c | 289 kmalloc_array(UIO_MAXIOV, in vhost_net_set_ubuf_info() 376 add = min(UIO_MAXIOV - nvq->done_idx, j); in vhost_zerocopy_signal_used() 379 nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV; in vhost_zerocopy_signal_used() 602 return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > in vhost_exceeds_maxpend() 920 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx_zerocopy() 939 % UIO_MAXIOV; in handle_tx_zerocopy() 1057 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs() 1096 r = UIO_MAXIOV + 1; in get_rx_bufs() 1162 likely(mergeable) ? UIO_MAXIOV : 1); in handle_rx() 1184 if (unlikely(headcount > UIO_MAXIOV)) { in handle_rx() [all …]
|
A D | vhost.h | 111 struct iovec iov[UIO_MAXIOV];
|
A D | test.c | 122 vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV, in vhost_test_open()
|
A D | vsock.c | 690 UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, in vhost_vsock_dev_open()
|
A D | vhost.c | 400 vq->indirect = kmalloc_array(UIO_MAXIOV, in vhost_dev_alloc_iovecs() 2120 UIO_MAXIOV, VHOST_ACCESS_RO); in get_indirect()
|
A D | scsi.c | 1805 vhost_dev_init(&vs->dev, vqs, VHOST_SCSI_MAX_VQ, UIO_MAXIOV, in vhost_scsi_open()
|
/linux/include/uapi/linux/ |
A D | uio.h | 28 #define UIO_MAXIOV 1024 macro
|
/linux/net/rds/ |
A D | rdma.c | 568 if (args->nr_local > UIO_MAXIOV) in rds_rdma_extra_size() 633 if (args->nr_local > UIO_MAXIOV) { in rds_cmsg_rdma_args()
|
/linux/block/ |
A D | blk-map.c | 26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data()
|
A D | bio.c | 519 if (nr_iovecs > UIO_MAXIOV) in bio_kmalloc()
|
/linux/net/ |
A D | compat.c | 79 if (msg.msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr()
|
A D | socket.c | 2325 if (msg.msg_iovlen > UIO_MAXIOV) in __copy_msghdr_from_user() 2522 if (vlen > UIO_MAXIOV) in __sys_sendmmsg() 2523 vlen = UIO_MAXIOV; in __sys_sendmmsg()
|
/linux/lib/ |
A D | iov_iter.c | 1919 if (nr_segs > UIO_MAXIOV) in iovec_from_user()
|
/linux/net/core/ |
A D | sock.c | 280 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);
|
Completed in 66 milliseconds