Lines Matching defs:shost
700 struct Scsi_Host *shost =
709 scsi_block_requests(shost);
718 * the section might clash with shost->host_lock.
724 struct Scsi_Host *shost =
736 scsi_unblock_requests(shost);
743 * the section might clash with shost->host_lock.
747 struct Scsi_Host *shost =
754 scsi_unblock_requests(shost);
802 struct Scsi_Host *shost;
863 shost = container_of((void *)tgt, struct Scsi_Host, hostdata[0]);
864 sdev = __scsi_add_device(shost, 0, 0, sbp2_lun2int(lu->lun), lu);
1128 struct Scsi_Host *shost;
1135 shost = scsi_host_alloc(&scsi_driver_template, sizeof(*tgt));
1136 if (shost == NULL)
1139 tgt = (struct sbp2_target *)shost->hostdata;
1149 shost->max_cmd_len = SBP2_MAX_CDB_SIZE;
1151 if (scsi_add_host_with_dma(shost, &unit->device,
1189 scsi_host_put(shost);
1216 struct Scsi_Host *shost =
1225 sdev = scsi_device_lookup(shost, 0, 0, sbp2_lun2int(lu->lun));
1248 scsi_remove_host(shost);
1249 dev_notice(&unit->device, "released target %d:0:0\n", shost->host_no);
1251 scsi_host_put(shost);
1442 static int sbp2_scsi_queuecommand(struct Scsi_Host *shost,