Searched refs:iotlb_iov (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/vhost/ |
H A D | vhost.c | 1181 ret = translate_desc(vq, (u64)(uintptr_t)to, size, vq->iotlb_iov, in vhost_copy_to_user() 1182 ARRAY_SIZE(vq->iotlb_iov), in vhost_copy_to_user() 1186 iov_iter_init(&t, ITER_DEST, vq->iotlb_iov, ret, size); in vhost_copy_to_user() 1216 ret = translate_desc(vq, (u64)(uintptr_t)from, size, vq->iotlb_iov, in vhost_copy_from_user() 1217 ARRAY_SIZE(vq->iotlb_iov), in vhost_copy_from_user() 1225 iov_iter_init(&f, ITER_SOURCE, vq->iotlb_iov, ret, size); in vhost_copy_from_user() 1241 ret = translate_desc(vq, (u64)(uintptr_t)addr, size, vq->iotlb_iov, in __vhost_get_user_slow() 1242 ARRAY_SIZE(vq->iotlb_iov), in __vhost_get_user_slow() 1251 if (ret != 1 || vq->iotlb_iov[0].iov_len != size) { in __vhost_get_user_slow() 1258 return vq->iotlb_iov[0].iov_base; in __vhost_get_user_slow()
|
H A D | vhost.h | 129 struct iovec iotlb_iov[64]; member
|