Searched refs:vscsi (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 53 static long ibmvscsis_parse_command(struct scsi_info *vscsi, 56 static void ibmvscsis_adapter_idle(struct scsi_info *vscsi); 100 static bool connection_broken(struct scsi_info *vscsi) in connection_broken() argument 113 h_return_code = h_send_crq(vscsi->dds.unit_id, in connection_broken() 117 dev_dbg(&vscsi->dev, "Connection_broken: rc %ld\n", h_return_code); in connection_broken() 140 static long ibmvscsis_unregister_command_q(struct scsi_info *vscsi) in ibmvscsis_unregister_command_q() argument 147 qrc = h_free_crq(vscsi->dds.unit_id); in ibmvscsis_unregister_command_q() 150 spin_lock_bh(&vscsi->intr_lock); in ibmvscsis_unregister_command_q() 151 vscsi->flags &= ~PREP_FOR_SUSPEND_FLAGS; in ibmvscsis_unregister_command_q() 152 spin_unlock_bh(&vscsi->intr_lock); in ibmvscsis_unregister_command_q() [all …]
|
/Linux-v6.6/drivers/scsi/ |
D | virtio_scsi.c | 59 struct virtio_scsi *vscsi; member 109 static void virtscsi_complete_cmd(struct virtio_scsi *vscsi, void *buf) in virtscsi_complete_cmd() argument 120 virtscsi_compute_resid(sc, virtio32_to_cpu(vscsi->vdev, resp->resid)); in virtscsi_complete_cmd() 158 WARN_ON(virtio32_to_cpu(vscsi->vdev, resp->sense_len) > in virtscsi_complete_cmd() 163 virtio32_to_cpu(vscsi->vdev, resp->sense_len), in virtscsi_complete_cmd() 170 static void virtscsi_vq_done(struct virtio_scsi *vscsi, in virtscsi_vq_done() argument 172 void (*fn)(struct virtio_scsi *vscsi, void *buf)) in virtscsi_vq_done() argument 183 fn(vscsi, buf); in virtscsi_vq_done() 194 struct virtio_scsi *vscsi = shost_priv(sh); in virtscsi_req_done() local 196 struct virtio_scsi_vq *req_vq = &vscsi->req_vqs[index]; in virtscsi_req_done() [all …]
|