Lines Matching defs:shost
963 static int srp_exit_cmd_priv(struct Scsi_Host *shost, struct scsi_cmnd *cmd)
965 struct srp_target_port *target = host_to_target(shost);
981 static int srp_init_cmd_priv(struct Scsi_Host *shost, struct scsi_cmnd *cmd)
983 struct srp_target_port *target = host_to_target(shost);
1004 srp_exit_cmd_priv(shost, cmd);
1017 * @shost: SCSI host whose attributes to remove from sysfs.
1022 static void srp_del_scsi_host_attr(struct Scsi_Host *shost)
1027 for (g = shost->hostt->shost_groups; *g; ++g) {
1032 device_remove_file(&shost->shost_dev, dev_attr);
2151 static int srp_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scmnd)
2154 struct srp_target_port *target = host_to_target(shost);
2427 struct Scsi_Host *shost = target->scsi_host;
2455 shost_printk(KERN_DEBUG, shost,
2462 shost_printk(KERN_WARNING, shost,
2469 shost_printk(KERN_WARNING, shost,
2481 shost_printk(KERN_WARNING, shost,
2484 shost_printk(KERN_WARNING, shost, PFX
2490 shost_printk(KERN_WARNING, shost,
2497 shost_printk(KERN_WARNING, shost, " REJ reason: stale connection\n");
2502 shost_printk(KERN_WARNING, shost, " REJ reason 0x%x\n",
2574 struct Scsi_Host *shost = target->scsi_host;
2579 shost_printk(KERN_WARNING, shost,
2593 shost_printk(KERN_WARNING, shost,
2596 shost_printk(KERN_WARNING, shost,
2599 shost_printk(KERN_WARNING, shost,
2607 shost_printk(KERN_WARNING, shost,
2613 shost_printk(KERN_WARNING, shost, " REJ reason 0x%x\n",
2839 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
2840 struct srp_target_port *target = host_to_target(shost);
2849 struct Scsi_Host *shost = sdev->host;
2850 struct srp_target_port *target = host_to_target(shost);