Lines Matching refs:v_req_pi
851 struct virtio_scsi_cmd_req_pi v_req_pi; in vhost_scsi_handle_vq() local
907 req = &v_req_pi; in vhost_scsi_handle_vq()
908 req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
909 lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()
910 target = &v_req_pi.lun[1]; in vhost_scsi_handle_vq()
993 if (v_req_pi.pi_bytesout) { in vhost_scsi_handle_vq()
1000 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq()
1001 } else if (v_req_pi.pi_bytesin) { in vhost_scsi_handle_vq()
1008 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq()
1022 tag = vhost64_to_cpu(vq, v_req_pi.tag); in vhost_scsi_handle_vq()
1023 task_attr = v_req_pi.task_attr; in vhost_scsi_handle_vq()
1024 cdb = &v_req_pi.cdb[0]; in vhost_scsi_handle_vq()
1025 lun = ((v_req_pi.lun[2] << 8) | v_req_pi.lun[3]) & 0x3FFF; in vhost_scsi_handle_vq()