Lines Matching refs:v_req_pi
1051 struct virtio_scsi_cmd_req_pi v_req_pi; in vhost_scsi_handle_vq() local
1087 vc.req = &v_req_pi; in vhost_scsi_handle_vq()
1088 vc.req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
1089 vc.lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()
1090 vc.target = &v_req_pi.lun[1]; in vhost_scsi_handle_vq()
1152 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()
1165 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq()
1181 tag = vhost64_to_cpu(vq, v_req_pi.tag); in vhost_scsi_handle_vq()
1182 task_attr = v_req_pi.task_attr; in vhost_scsi_handle_vq()
1183 cdb = &v_req_pi.cdb[0]; in vhost_scsi_handle_vq()
1184 lun = vhost_buf_to_lun(v_req_pi.lun); in vhost_scsi_handle_vq()