Searched refs:vhost32_to_cpu (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/vhost/ |
H A D | vhost.h | 326 static inline u32 vhost32_to_cpu(struct vhost_virtqueue *vq, __virtio32 val) in vhost32_to_cpu() function
|
H A D | vhost.c | 2469 u32 len = vhost32_to_cpu(vq, indirect->len); in get_indirect() 2524 vhost32_to_cpu(vq, desc.len), iov + iov_count, in get_indirect() 2537 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect() 2664 vhost32_to_cpu(vq, desc.len), iov + iov_count, in vhost_get_vq_desc() 2678 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in vhost_get_vq_desc()
|
H A D | scsi.c | 1158 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq() 1165 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq() 1319 if (vhost32_to_cpu(vq, vtmf->subtype) != in vhost_scsi_handle_tmf() 1426 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()
|