Lines Matching refs:v_req
1287 struct virtio_scsi_cmd_req v_req; in vhost_scsi_handle_vq() local
1335 vc.req = &v_req; in vhost_scsi_handle_vq()
1336 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq()
1337 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()
1338 vc.target = &v_req.lun[1]; in vhost_scsi_handle_vq()
1429 tag = vhost64_to_cpu(vq, v_req.tag); in vhost_scsi_handle_vq()
1430 task_attr = v_req.task_attr; in vhost_scsi_handle_vq()
1431 cdb = &v_req.cdb[0]; in vhost_scsi_handle_vq()
1432 lun = vhost_buf_to_lun(v_req.lun); in vhost_scsi_handle_vq()
1674 } v_req; in vhost_scsi_ctl_handle_vq() local
1705 vc.req = &v_req.type; in vhost_scsi_ctl_handle_vq()
1706 typ_size = sizeof(v_req.type); in vhost_scsi_ctl_handle_vq()
1720 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()
1722 vc.req = &v_req.tmf; in vhost_scsi_ctl_handle_vq()
1725 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()
1726 vc.target = &v_req.tmf.lun[1]; in vhost_scsi_ctl_handle_vq()
1730 vc.req = &v_req.an; in vhost_scsi_ctl_handle_vq()
1733 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()
1737 vq_err(vq, "Unknown control request %d", v_req.type); in vhost_scsi_ctl_handle_vq()
1760 if (v_req.type == VIRTIO_SCSI_T_TMF) in vhost_scsi_ctl_handle_vq()
1761 vhost_scsi_handle_tmf(vs, tpg, vq, &v_req.tmf, &vc, in vhost_scsi_ctl_handle_vq()
1778 v_req.type == VIRTIO_SCSI_T_TMF ? in vhost_scsi_ctl_handle_vq()