Searched refs:riov (Results 1 – 4 of 4) sorted by relevance
/drivers/net/caif/ |
D | caif_virtio.c | 49 struct vringh_kiov riov; member 257 struct vringh_kiov *riov = &cfv->ctx.riov; in cfv_rx_poll() local 267 if (riov->i == riov->used) { in cfv_rx_poll() 277 riov, in cfv_rx_poll() 286 buf = phys_to_virt((unsigned long) riov->iov[riov->i].iov_base); in cfv_rx_poll() 290 riov->iov[riov->i].iov_len); in cfv_rx_poll() 307 ++riov->i; in cfv_rx_poll() 340 cfv->ndev->stats.rx_dropped = riov->used - riov->i; in cfv_rx_poll() 721 vringh_kiov_init(&cfv->ctx.riov, NULL, 0); in cfv_probe() 764 vringh_kiov_cleanup(&cfv->ctx.riov); in cfv_remove()
|
/drivers/vhost/ |
D | vringh.c | 249 struct vringh_kiov *riov, in __vringh_iov() argument 269 if (riov) in __vringh_iov() 270 riov->i = riov->used = 0; in __vringh_iov() 321 iov = riov; in __vringh_iov() 624 struct vringh_iov *riov, in vringh_getdesc_user() argument 662 err = __vringh_iov(vrh, *head, (struct vringh_kiov *)riov, in vringh_getdesc_user() 680 ssize_t vringh_iov_pull_user(struct vringh_iov *riov, void *dst, size_t len) in vringh_iov_pull_user() argument 682 return vringh_iov_xfer((struct vringh_kiov *)riov, in vringh_iov_pull_user() 882 struct vringh_kiov *riov, in vringh_getdesc_kern() argument 898 err = __vringh_iov(vrh, *head, riov, wiov, no_range_check, NULL, in vringh_getdesc_kern() [all …]
|
/drivers/misc/mic/host/ |
D | mic_virtio.c | 265 struct vringh_kiov *riov = &mvr->riov; in _mic_virtio_copy() local 274 if (riov->i == riov->used && wiov->i == wiov->used) { in _mic_virtio_copy() 275 ret = vringh_getdesc_kern(vrh, riov, wiov, in _mic_virtio_copy() 295 ret = mic_vringh_copy(mvdev, riov, ubuf, len, MIC_VRINGH_READ, in _mic_virtio_copy() 322 if (riov->i == riov->used && wiov->i == wiov->used) in _mic_virtio_copy() 333 total += mic_vringh_iov_consumed(riov); in _mic_virtio_copy() 339 vringh_kiov_cleanup(riov); in _mic_virtio_copy() 684 vringh_kiov_init(&mvr->riov, NULL, 0); in mic_virtio_add_device() 785 vringh_kiov_cleanup(&mvr->riov); in mic_virtio_del_device()
|
D | mic_virtio.h | 59 struct vringh_kiov riov; member
|