Lines Matching refs:v_req
931 struct virtio_scsi_cmd_req v_req; in vhost_scsi_handle_vq() local
973 vc.req = &v_req; in vhost_scsi_handle_vq()
974 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq()
975 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()
976 vc.target = &v_req.lun[1]; in vhost_scsi_handle_vq()
1067 tag = vhost64_to_cpu(vq, v_req.tag); in vhost_scsi_handle_vq()
1068 task_attr = v_req.task_attr; in vhost_scsi_handle_vq()
1069 cdb = &v_req.cdb[0]; in vhost_scsi_handle_vq()
1070 lun = vhost_buf_to_lun(v_req.lun); in vhost_scsi_handle_vq()
1258 } v_req; in vhost_scsi_ctl_handle_vq() local
1284 vc.req = &v_req.type; in vhost_scsi_ctl_handle_vq()
1285 typ_size = sizeof(v_req.type); in vhost_scsi_ctl_handle_vq()
1299 switch (vhost32_to_cpu(vq, v_req.type)) { in vhost_scsi_ctl_handle_vq()
1301 vc.req = &v_req.tmf; in vhost_scsi_ctl_handle_vq()
1304 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()
1305 vc.target = &v_req.tmf.lun[1]; in vhost_scsi_ctl_handle_vq()
1309 vc.req = &v_req.an; in vhost_scsi_ctl_handle_vq()
1312 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()
1316 vq_err(vq, "Unknown control request %d", v_req.type); in vhost_scsi_ctl_handle_vq()
1339 if (v_req.type == VIRTIO_SCSI_T_TMF) in vhost_scsi_ctl_handle_vq()
1340 vhost_scsi_handle_tmf(vs, tpg, vq, &v_req.tmf, &vc); in vhost_scsi_ctl_handle_vq()