Lines Matching refs:v_req
1058 struct virtio_scsi_cmd_req v_req;
1100 vc.req = &v_req;
1101 vc.req_size = sizeof(v_req);
1102 vc.lunp = &v_req.lun[0];
1103 vc.target = &v_req.lun[1];
1194 tag = vhost64_to_cpu(vq, v_req.tag);
1195 task_attr = v_req.task_attr;
1196 cdb = &v_req.cdb[0];
1197 lun = vhost_buf_to_lun(v_req.lun);
1393 } v_req;
1419 vc.req = &v_req.type;
1420 typ_size = sizeof(v_req.type);
1434 switch (vhost32_to_cpu(vq, v_req.type)) {
1436 vc.req = &v_req.tmf;
1439 vc.lunp = &v_req.tmf.lun[0];
1440 vc.target = &v_req.tmf.lun[1];
1444 vc.req = &v_req.an;
1447 vc.lunp = &v_req.an.lun[0];
1451 vq_err(vq, "Unknown control request %d", v_req.type);
1474 if (v_req.type == VIRTIO_SCSI_T_TMF)
1475 vhost_scsi_handle_tmf(vs, tpg, vq, &v_req.tmf, &vc);