Searched refs:translate_desc (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/vhost/ |
D | vhost.c | 814 static int translate_desc(struct vhost_virtqueue *vq, u64 addr, u32 len, 838 ret = translate_desc(vq, (u64)(uintptr_t)to, size, vq->iotlb_iov, in vhost_copy_to_user() 873 ret = translate_desc(vq, (u64)(uintptr_t)from, size, vq->iotlb_iov, in vhost_copy_from_user() 898 ret = translate_desc(vq, (u64)(uintptr_t)addr, size, vq->iotlb_iov, in __vhost_get_user_slow() 1915 ret = translate_desc(vq, (uintptr_t)vq->used + used_offset, in log_used() 2037 static int translate_desc(struct vhost_virtqueue *vq, u64 addr, u32 len, in translate_desc() function 2119 ret = translate_desc(vq, vhost64_to_cpu(vq, indirect->addr), len, vq->indirect, in get_indirect() 2160 ret = translate_desc(vq, vhost64_to_cpu(vq, desc.addr), in get_indirect() 2300 ret = translate_desc(vq, vhost64_to_cpu(vq, desc.addr), in vhost_get_vq_desc()
|