Lines Matching refs:v_req
1041 struct virtio_scsi_cmd_req v_req; in vhost_scsi_handle_vq() local
1083 vc.req = &v_req; in vhost_scsi_handle_vq()
1084 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq()
1085 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()
1086 vc.target = &v_req.lun[1]; in vhost_scsi_handle_vq()
1177 tag = vhost64_to_cpu(vq, v_req.tag); in vhost_scsi_handle_vq()
1178 task_attr = v_req.task_attr; in vhost_scsi_handle_vq()
1179 cdb = &v_req.cdb[0]; in vhost_scsi_handle_vq()
1180 lun = vhost_buf_to_lun(v_req.lun); in vhost_scsi_handle_vq()
1376 } v_req; in vhost_scsi_ctl_handle_vq() local
1402 vc.req = &v_req.type; in vhost_scsi_ctl_handle_vq()
1403 typ_size = sizeof(v_req.type); in vhost_scsi_ctl_handle_vq()
1417 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()
1419 vc.req = &v_req.tmf; in vhost_scsi_ctl_handle_vq()
1422 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()
1423 vc.target = &v_req.tmf.lun[1]; in vhost_scsi_ctl_handle_vq()
1427 vc.req = &v_req.an; in vhost_scsi_ctl_handle_vq()
1430 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()
1434 vq_err(vq, "Unknown control request %d", v_req.type); in vhost_scsi_ctl_handle_vq()
1457 if (v_req.type == VIRTIO_SCSI_T_TMF) in vhost_scsi_ctl_handle_vq()
1458 vhost_scsi_handle_tmf(vs, tpg, vq, &v_req.tmf, &vc); in vhost_scsi_ctl_handle_vq()