Home
last modified time | relevance | path

Searched refs:cmd_pi (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/scsi/
H A Dvirtio_scsi.c51 struct virtio_scsi_cmd_req_pi cmd_pi; member
532 struct virtio_scsi_cmd_req_pi *cmd_pi, in virtio_scsi_init_hdr_pi() argument
538 virtio_scsi_init_hdr(vdev, (struct virtio_scsi_cmd_req *)cmd_pi, sc); in virtio_scsi_init_hdr_pi()
546 cmd_pi->pi_bytesout = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi()
550 cmd_pi->pi_bytesin = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi()
590 virtio_scsi_init_hdr_pi(vscsi->vdev, &cmd->req.cmd_pi, sc); in virtscsi_queuecommand()
591 memcpy(cmd->req.cmd_pi.cdb, sc->cmnd, sc->cmd_len); in virtscsi_queuecommand()
592 req_size = sizeof(cmd->req.cmd_pi); in virtscsi_queuecommand()