Home
last modified time | relevance | path

Searched refs:vhost64_to_cpu (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/vhost/
H A Dvhost.h361 static inline u64 vhost64_to_cpu(struct vhost_virtqueue *vq, __virtio64 val) in vhost64_to_cpu() function
H A Dvhost.c2723 ret = translate_desc(vq, vhost64_to_cpu(vq, indirect->addr), len, vq->indirect, in get_indirect()
2750 i, (size_t)vhost64_to_cpu(vq, indirect->addr) + i * sizeof desc); in get_indirect()
2755 i, (size_t)vhost64_to_cpu(vq, indirect->addr) + i * sizeof desc); in get_indirect()
2764 ret = translate_desc(vq, vhost64_to_cpu(vq, desc.addr), in get_indirect()
2777 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in get_indirect()
2889 ret = translate_desc(vq, vhost64_to_cpu(vq, desc.addr), in vhost_get_vq_desc()
2903 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in vhost_get_vq_desc()
H A Dscsi.c1424 tag = vhost64_to_cpu(vq, v_req_pi.tag); in vhost_scsi_handle_vq()
1429 tag = vhost64_to_cpu(vq, v_req.tag); in vhost_scsi_handle_vq()