• Home
  • Raw
  • Download

Lines Matching refs:shost

95 		ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id);  in snic_queue_report_tgt_req()
97 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req()
106 SNIC_HOST_ERR(snic->shost, "Resp Buf Alloc Failed.\n"); in snic_queue_report_tgt_req()
116 SNIC_HOST_ERR(snic->shost, in snic_queue_report_tgt_req()
146 SNIC_HOST_ERR(snic->shost, "Queuing Report Tgts Failed.\n"); in snic_queue_report_tgt_req()
151 SNIC_DISC_DBG(snic->shost, "Report Targets Issued.\n"); in snic_queue_report_tgt_req()
156 SNIC_HOST_ERR(snic->shost, in snic_queue_report_tgt_req()
167 struct Scsi_Host *shost = dev_to_shost(&tgt->dev); in snic_scsi_scan_tgt() local
170 SNIC_HOST_INFO(shost, "Scanning Target id 0x%x\n", tgt->id); in snic_scsi_scan_tgt()
177 spin_lock_irqsave(shost->host_lock, flags); in snic_scsi_scan_tgt()
179 spin_unlock_irqrestore(shost->host_lock, flags); in snic_scsi_scan_tgt()
225 struct Scsi_Host *shost = snic_tgt_to_shost(tgt); in snic_tgt_del() local
228 scsi_flush_work(shost); in snic_tgt_del()
263 SNIC_HOST_ERR(snic->shost, "Failure to allocate snic_tgt.\n"); in snic_tgt_create()
282 tgt->dev.parent = get_device(&snic->shost->shost_gendev); in snic_tgt_create()
289 snic->shost->host_no, tgt->channel, tgt->id); in snic_tgt_create()
294 snic->shost->host_no, tgt->channel, tgt->id); in snic_tgt_create()
298 SNIC_HOST_INFO(snic->shost, "Target type Unknown Detected.\n"); in snic_tgt_create()
300 snic->shost->host_no, tgt->channel, tgt->id); in snic_tgt_create()
304 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_create()
308 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_create()
310 SNIC_HOST_INFO(snic->shost, in snic_tgt_create()
316 SNIC_HOST_ERR(snic->shost, in snic_tgt_create()
320 put_device(&snic->shost->shost_gendev); in snic_tgt_create()
327 SNIC_HOST_INFO(snic->shost, "Scanning %s.\n", dev_name(&tgt->dev)); in snic_tgt_create()
329 scsi_queue_work(snic->shost, &tgt->scan_work); in snic_tgt_create()
362 SNIC_HOST_INFO(snic->shost, "tgt_disc: Discovery restart.\n"); in snic_handle_tgt_disc()
378 SNIC_HOST_ERR(snic->shost, "Failed to create tgt.\n"); in snic_handle_tgt_disc()
388 SNIC_HOST_INFO(snic->shost, "Discovery Completed.\n"); in snic_handle_tgt_disc()
411 SNIC_HOST_ERR(snic->shost, "No Targets Found on this host.\n"); in snic_report_tgt_cmpl_handler()
418 SNIC_HOST_INFO(snic->shost, "Target Count = %d\n", tgt_cnt); in snic_report_tgt_cmpl_handler()
423 SNIC_HOST_INFO(snic->shost, in snic_report_tgt_cmpl_handler()
472 SNIC_SCSI_DBG(snic->shost, "Terminating Discovery.\n"); in snic_disc_term()
487 SNIC_SCSI_DBG(snic->shost, "Discovery Start.\n"); in snic_disc_start()
511 SNIC_HOST_INFO(snic->shost, "Discovery Failed, err=%d.\n", ret); in snic_disc_start()
525 SNIC_HOST_INFO(snic->shost, "disc_work: Discovery\n"); in snic_handle_disc()
532 SNIC_HOST_ERR(snic->shost, in snic_handle_disc()
548 scsi_flush_work(snic->shost); in snic_tgt_del_all()
551 spin_lock_irqsave(snic->shost->host_lock, flags); in snic_tgt_del_all()
557 SNIC_HOST_INFO(snic->shost, "Tgt %d q'ing for del\n", tgt->id); in snic_tgt_del_all()
561 spin_unlock_irqrestore(snic->shost->host_lock, flags); in snic_tgt_del_all()