Home
last modified time | relevance | path

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

/linux/drivers/vhost/
H A Dvhost.h389 static inline u32 vhost32_to_cpu(struct vhost_virtqueue *vq, __virtio32 val) in vhost32_to_cpu() function
H A Dvhost.c2813 u32 len = vhost32_to_cpu(vq, indirect->len); in get_indirect()
2868 vhost32_to_cpu(vq, desc.len), iov + iov_count, in get_indirect()
2881 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect()
3009 vhost32_to_cpu(vq, desc.len), iov + iov_count, in vhost_get_vq_desc_n()
3023 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in vhost_get_vq_desc_n()
H A Dscsi.c1434 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq()
1441 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq()
1632 if (vhost32_to_cpu(vq, vtmf->subtype) != in vhost_scsi_handle_tmf()
1758 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()