Searched refs:UIO_MAXIOV (Results 1 – 14 of 14) sorted by relevance
/linux-6.3-rc2/include/uapi/linux/ |
A D | uio.h | 28 #define UIO_MAXIOV 1024 macro
|
/linux-6.3-rc2/drivers/vhost/ |
A D | net.c | 290 kmalloc_array(UIO_MAXIOV, in vhost_net_set_ubuf_info() 377 add = min(UIO_MAXIOV - nvq->done_idx, j); in vhost_zerocopy_signal_used() 380 nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV; in vhost_zerocopy_signal_used() 605 return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > in vhost_exceeds_maxpend() 923 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx_zerocopy() 942 % UIO_MAXIOV; in handle_tx_zerocopy() 1060 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs() 1099 r = UIO_MAXIOV + 1; in get_rx_bufs() 1165 likely(mergeable) ? UIO_MAXIOV : 1); in handle_rx() 1187 if (unlikely(headcount > UIO_MAXIOV)) { in handle_rx() [all …]
|
A D | vhost.h | 110 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 | 666 UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, in vhost_vsock_dev_open()
|
A D | scsi.c | 1516 tv_cmd->tvc_resp_iov = kcalloc(UIO_MAXIOV, in vhost_scsi_setup_vq_cmds() 1844 vhost_dev_init(&vs->dev, vqs, nvqs, UIO_MAXIOV, in vhost_scsi_open()
|
A D | vhost.c | 392 vq->indirect = kmalloc_array(UIO_MAXIOV, in vhost_dev_alloc_iovecs() 2133 UIO_MAXIOV, VHOST_ACCESS_RO); in get_indirect()
|
/linux-6.3-rc2/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-6.3-rc2/net/ |
A D | compat.c | 75 if (msg->msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr()
|
A D | socket.c | 2416 if (msg->msg_iovlen > UIO_MAXIOV) in __copy_msghdr() 2614 if (vlen > UIO_MAXIOV) in __sys_sendmmsg() 2615 vlen = UIO_MAXIOV; in __sys_sendmmsg()
|
/linux-6.3-rc2/block/ |
A D | blk-map.c | 26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data()
|
A D | bio.c | 603 if (nr_vecs > UIO_MAXIOV) in bio_kmalloc()
|
/linux-6.3-rc2/lib/ |
A D | iov_iter.c | 1762 if (nr_segs > UIO_MAXIOV) in iovec_from_user()
|
/linux-6.3-rc2/net/core/ |
A D | sock.c | 283 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);
|
Completed in 41 milliseconds