Home
last modified time | relevance | path

Searched refs:v_req_pi (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/vhost/
H A Dscsi.c949 struct virtio_scsi_cmd_req_pi v_req_pi; in vhost_scsi_handle_vq() local
985 vc.req = &v_req_pi; in vhost_scsi_handle_vq()
986 vc.req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
987 vc.lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()
988 vc.target = &v_req_pi.lun[1]; in vhost_scsi_handle_vq()
1050 if (v_req_pi.pi_bytesout) { in vhost_scsi_handle_vq()
1056 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq()
1057 } else if (v_req_pi.pi_bytesin) { in vhost_scsi_handle_vq()
1063 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq()
1079 tag = vhost64_to_cpu(vq, v_req_pi in vhost_scsi_handle_vq()
[all...]
/kernel/linux/linux-6.6/drivers/vhost/
H A Dscsi.c1042 struct virtio_scsi_cmd_req_pi v_req_pi; in vhost_scsi_handle_vq() local
1078 vc.req = &v_req_pi; in vhost_scsi_handle_vq()
1079 vc.req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
1080 vc.lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()
1081 vc.target = &v_req_pi.lun[1]; in vhost_scsi_handle_vq()
1143 if (v_req_pi.pi_bytesout) { in vhost_scsi_handle_vq()
1149 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesout); in vhost_scsi_handle_vq()
1150 } else if (v_req_pi.pi_bytesin) { in vhost_scsi_handle_vq()
1156 prot_bytes = vhost32_to_cpu(vq, v_req_pi.pi_bytesin); in vhost_scsi_handle_vq()
1172 tag = vhost64_to_cpu(vq, v_req_pi in vhost_scsi_handle_vq()
[all...]

Completed in 5 milliseconds