Searched refs:iotlb_iov (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/vhost/ |
D | vhost.c | 830 ret = translate_desc(vq, (u64)(uintptr_t)to, size, vq->iotlb_iov, in vhost_copy_to_user() 831 ARRAY_SIZE(vq->iotlb_iov), in vhost_copy_to_user() 835 iov_iter_init(&t, WRITE, vq->iotlb_iov, ret, size); in vhost_copy_to_user() 865 ret = translate_desc(vq, (u64)(uintptr_t)from, size, vq->iotlb_iov, in vhost_copy_from_user() 866 ARRAY_SIZE(vq->iotlb_iov), in vhost_copy_from_user() 874 iov_iter_init(&f, READ, vq->iotlb_iov, ret, size); in vhost_copy_from_user() 890 ret = translate_desc(vq, (u64)(uintptr_t)addr, size, vq->iotlb_iov, in __vhost_get_user_slow() 891 ARRAY_SIZE(vq->iotlb_iov), in __vhost_get_user_slow() 900 if (ret != 1 || vq->iotlb_iov[0].iov_len != size) { in __vhost_get_user_slow() 907 return vq->iotlb_iov[0].iov_base; in __vhost_get_user_slow()
|
D | vhost.h | 111 struct iovec iotlb_iov[64]; member
|