Searched refs:vhost32_to_cpu (Results 1 – 3 of 3) sorted by relevance
/drivers/vhost/ |
D | vhost.h | 310 static inline u32 vhost32_to_cpu(struct vhost_virtqueue *vq, __virtio32 val) in vhost32_to_cpu() function
|
D | vhost.c | 2120 u32 len = vhost32_to_cpu(vq, indirect->len); in get_indirect() 2175 vhost32_to_cpu(vq, desc.len), iov + iov_count, in get_indirect() 2188 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect() 2315 vhost32_to_cpu(vq, desc.len), iov + iov_count, in vhost_get_vq_desc() 2329 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in vhost_get_vq_desc()
|
D | scsi.c | 1036 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq() 1043 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq() 1181 if (vhost32_to_cpu(vq, vtmf->subtype) != in vhost_scsi_handle_tmf() 1296 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()
|