Searched refs:cpu_to_vhost32 (Results 1 – 3 of 3) sorted by relevance
356 static inline __virtio32 cpu_to_vhost32(struct vhost_virtqueue *vq, u32 val) in cpu_to_vhost32() function
556 evt->event.event = cpu_to_vhost32(vq, event); in vhost_scsi_allocate_evt() 557 evt->event.reason = cpu_to_vhost32(vq, reason); in vhost_scsi_allocate_evt() 618 event->event |= cpu_to_vhost32(vq, VIRTIO_SCSI_T_EVENTS_MISSED); in vhost_scsi_do_evt_work() 711 v_rsp.resid = cpu_to_vhost32(cmd->tvc_vq, in vhost_scsi_complete_cmd_work() 715 v_rsp.sense_len = cpu_to_vhost32(cmd->tvc_vq, in vhost_scsi_complete_cmd_work()
2943 cpu_to_vhost32(vq, head), in vhost_add_used() 2944 cpu_to_vhost32(vq, len) in vhost_add_used()