Lines Matching refs:v_req_pi
808 struct virtio_scsi_cmd_req_pi v_req_pi; in vhost_scsi_handle_vq() local
864 req = &v_req_pi; in vhost_scsi_handle_vq()
865 req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
866 lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()
867 target = &v_req_pi.lun[1]; in vhost_scsi_handle_vq()
949 if (v_req_pi.pi_bytesout) { in vhost_scsi_handle_vq()
956 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq()
957 } else if (v_req_pi.pi_bytesin) { in vhost_scsi_handle_vq()
964 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq()
978 tag = vhost64_to_cpu(vq, v_req_pi.tag); in vhost_scsi_handle_vq()
979 task_attr = v_req_pi.task_attr; in vhost_scsi_handle_vq()
980 cdb = &v_req_pi.cdb[0]; in vhost_scsi_handle_vq()
981 lun = ((v_req_pi.lun[2] << 8) | v_req_pi.lun[3]) & 0x3FFF; in vhost_scsi_handle_vq()