Searched refs:UIO_MAXIOV (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/include/uapi/linux/ |
D | uio.h | 28 #define UIO_MAXIOV 1024 macro
|
/linux-6.6.21/drivers/vhost/ |
D | net.c | 290 kmalloc_array(UIO_MAXIOV, in vhost_net_set_ubuf_info() 367 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used() 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() 945 % UIO_MAXIOV; in handle_tx_zerocopy() 1065 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs() 1104 r = UIO_MAXIOV + 1; in get_rx_bufs() 1170 likely(mergeable) ? UIO_MAXIOV : 1); in handle_rx() [all …]
|
D | vhost.h | 126 struct iovec iov[UIO_MAXIOV];
|
D | test.c | 122 vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV, in vhost_test_open()
|
D | vsock.c | 668 UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, in vhost_vsock_dev_open()
|
D | scsi.c | 1629 tv_cmd->tvc_resp_iov = kcalloc(UIO_MAXIOV, in vhost_scsi_setup_vq_cmds() 1974 vhost_dev_init(&vs->dev, vqs, nvqs, UIO_MAXIOV, in vhost_scsi_open()
|
D | vhost.c | 438 vq->indirect = kmalloc_array(UIO_MAXIOV, in vhost_dev_alloc_iovecs() 2415 UIO_MAXIOV, VHOST_ACCESS_RO); in get_indirect()
|
/linux-6.6.21/drivers/md/ |
D | dm-flakey.c | 419 if (unlikely(bio->bi_iter.bi_size > UIO_MAXIOV << PAGE_SHIFT)) in clone_bio() 420 dm_accept_partial_bio(bio, UIO_MAXIOV << PAGE_SHIFT >> SECTOR_SHIFT); in clone_bio()
|
/linux-6.6.21/net/rds/ |
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.6.21/net/ |
D | compat.c | 75 if (msg->msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr()
|
D | socket.c | 2474 if (msg->msg_iovlen > UIO_MAXIOV) in __copy_msghdr() 2673 if (vlen > UIO_MAXIOV) in __sys_sendmmsg() 2674 vlen = UIO_MAXIOV; in __sys_sendmmsg()
|
/linux-6.6.21/block/ |
D | blk-map.c | 26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data()
|
D | bio.c | 603 if (nr_vecs > UIO_MAXIOV) in bio_kmalloc()
|
/linux-6.6.21/lib/ |
D | iov_iter.c | 1411 if (nr_segs > UIO_MAXIOV) in iovec_from_user()
|
/linux-6.6.21/net/core/ |
D | sock.c | 288 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);
|