Searched refs:cmd_pi (Results 1 – 1 of 1) sorted by relevance
46 struct virtio_scsi_cmd_req_pi cmd_pi; member528 struct virtio_scsi_cmd_req_pi *cmd_pi, in virtio_scsi_init_hdr_pi() argument534 virtio_scsi_init_hdr(vdev, (struct virtio_scsi_cmd_req *)cmd_pi, sc); in virtio_scsi_init_hdr_pi()542 cmd_pi->pi_bytesout = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi()546 cmd_pi->pi_bytesin = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi()586 virtio_scsi_init_hdr_pi(vscsi->vdev, &cmd->req.cmd_pi, sc); in virtscsi_queuecommand()587 memcpy(cmd->req.cmd_pi.cdb, sc->cmnd, sc->cmd_len); in virtscsi_queuecommand()588 req_size = sizeof(cmd->req.cmd_pi); in virtscsi_queuecommand()