Lines Matching refs:v_req
928 struct virtio_scsi_cmd_req v_req; in vhost_scsi_handle_vq() local
970 vc.req = &v_req; in vhost_scsi_handle_vq()
971 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq()
972 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()
973 vc.target = &v_req.lun[1]; in vhost_scsi_handle_vq()
1064 tag = vhost64_to_cpu(vq, v_req.tag); in vhost_scsi_handle_vq()
1065 task_attr = v_req.task_attr; in vhost_scsi_handle_vq()
1066 cdb = &v_req.cdb[0]; in vhost_scsi_handle_vq()
1067 lun = vhost_buf_to_lun(v_req.lun); in vhost_scsi_handle_vq()
1255 } v_req; in vhost_scsi_ctl_handle_vq() local
1281 vc.req = &v_req.type; in vhost_scsi_ctl_handle_vq()
1282 typ_size = sizeof(v_req.type); in vhost_scsi_ctl_handle_vq()
1296 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()
1298 vc.req = &v_req.tmf; in vhost_scsi_ctl_handle_vq()
1301 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()
1302 vc.target = &v_req.tmf.lun[1]; in vhost_scsi_ctl_handle_vq()
1306 vc.req = &v_req.an; in vhost_scsi_ctl_handle_vq()
1309 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()
1313 vq_err(vq, "Unknown control request %d", v_req.type); in vhost_scsi_ctl_handle_vq()
1336 if (v_req.type == VIRTIO_SCSI_T_TMF) in vhost_scsi_ctl_handle_vq()
1337 vhost_scsi_handle_tmf(vs, tpg, vq, &v_req.tmf, &vc); in vhost_scsi_ctl_handle_vq()