Lines Matching refs:v_req_pi
1009 struct virtio_scsi_cmd_req_pi v_req_pi; in vhost_scsi_handle_vq() local
1065 req = &v_req_pi; in vhost_scsi_handle_vq()
1066 req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
1067 lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()
1068 target = &v_req_pi.lun[1]; in vhost_scsi_handle_vq()
1151 if (v_req_pi.pi_bytesout) { in vhost_scsi_handle_vq()
1158 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq()
1159 } else if (v_req_pi.pi_bytesin) { in vhost_scsi_handle_vq()
1166 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq()
1180 tag = vhost64_to_cpu(vq, v_req_pi.tag); in vhost_scsi_handle_vq()
1181 task_attr = v_req_pi.task_attr; in vhost_scsi_handle_vq()
1182 cdb = &v_req_pi.cdb[0]; in vhost_scsi_handle_vq()
1183 lun = ((v_req_pi.lun[2] << 8) | v_req_pi.lun[3]) & 0x3FFF; in vhost_scsi_handle_vq()