Lines Matching refs:v_req
948 struct virtio_scsi_cmd_req v_req; in vhost_scsi_handle_vq() local
990 vc.req = &v_req; in vhost_scsi_handle_vq()
991 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq()
992 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()
993 vc.target = &v_req.lun[1]; in vhost_scsi_handle_vq()
1084 tag = vhost64_to_cpu(vq, v_req.tag); in vhost_scsi_handle_vq()
1085 task_attr = v_req.task_attr; in vhost_scsi_handle_vq()
1086 cdb = &v_req.cdb[0]; in vhost_scsi_handle_vq()
1087 lun = vhost_buf_to_lun(v_req.lun); in vhost_scsi_handle_vq()
1282 } v_req; in vhost_scsi_ctl_handle_vq() local
1308 vc.req = &v_req.type; in vhost_scsi_ctl_handle_vq()
1309 typ_size = sizeof(v_req.type); in vhost_scsi_ctl_handle_vq()
1323 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()
1325 vc.req = &v_req.tmf; in vhost_scsi_ctl_handle_vq()
1328 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()
1329 vc.target = &v_req.tmf.lun[1]; in vhost_scsi_ctl_handle_vq()
1333 vc.req = &v_req.an; in vhost_scsi_ctl_handle_vq()
1336 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()
1340 vq_err(vq, "Unknown control request %d", v_req.type); in vhost_scsi_ctl_handle_vq()
1363 if (v_req.type == VIRTIO_SCSI_T_TMF) in vhost_scsi_ctl_handle_vq()
1364 vhost_scsi_handle_tmf(vs, tpg, vq, &v_req.tmf, &vc); in vhost_scsi_ctl_handle_vq()