Lines Matching defs:shost
701 struct Scsi_Host *shost =
710 scsi_block_requests(shost);
719 * the section might clash with shost->host_lock.
725 struct Scsi_Host *shost =
737 scsi_unblock_requests(shost);
744 * the section might clash with shost->host_lock.
748 struct Scsi_Host *shost =
755 scsi_unblock_requests(shost);
803 struct Scsi_Host *shost;
864 shost = container_of((void *)tgt, struct Scsi_Host, hostdata[0]);
865 sdev = __scsi_add_device(shost, 0, 0, sbp2_lun2int(lu->lun), lu);
1129 struct Scsi_Host *shost;
1136 shost = scsi_host_alloc(&scsi_driver_template, sizeof(*tgt));
1137 if (shost == NULL)
1140 tgt = (struct sbp2_target *)shost->hostdata;
1150 shost->max_cmd_len = SBP2_MAX_CDB_SIZE;
1152 if (scsi_add_host_with_dma(shost, &unit->device,
1190 scsi_host_put(shost);
1217 struct Scsi_Host *shost =
1226 sdev = scsi_device_lookup(shost, 0, 0, sbp2_lun2int(lu->lun));
1249 scsi_remove_host(shost);
1250 dev_notice(&unit->device, "released target %d:0:0\n", shost->host_no);
1252 scsi_host_put(shost);
1443 static int sbp2_scsi_queuecommand(struct Scsi_Host *shost,