Lines Matching defs:shost
968 static int srp_exit_cmd_priv(struct Scsi_Host *shost, struct scsi_cmnd *cmd)
970 struct srp_target_port *target = host_to_target(shost);
986 static int srp_init_cmd_priv(struct Scsi_Host *shost, struct scsi_cmnd *cmd)
988 struct srp_target_port *target = host_to_target(shost);
1009 srp_exit_cmd_priv(shost, cmd);
1022 * @shost: SCSI host whose attributes to remove from sysfs.
1027 static void srp_del_scsi_host_attr(struct Scsi_Host *shost)
1031 for (attr = shost->hostt->shost_attrs; attr && *attr; ++attr)
1032 device_remove_file(&shost->shost_dev, *attr);
2150 static int srp_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scmnd)
2152 struct srp_target_port *target = host_to_target(shost);
2425 struct Scsi_Host *shost = target->scsi_host;
2453 shost_printk(KERN_DEBUG, shost,
2460 shost_printk(KERN_WARNING, shost,
2467 shost_printk(KERN_WARNING, shost,
2479 shost_printk(KERN_WARNING, shost,
2482 shost_printk(KERN_WARNING, shost, PFX
2488 shost_printk(KERN_WARNING, shost,
2495 shost_printk(KERN_WARNING, shost, " REJ reason: stale connection\n");
2500 shost_printk(KERN_WARNING, shost, " REJ reason 0x%x\n",
2572 struct Scsi_Host *shost = target->scsi_host;
2577 shost_printk(KERN_WARNING, shost,
2591 shost_printk(KERN_WARNING, shost,
2594 shost_printk(KERN_WARNING, shost,
2597 shost_printk(KERN_WARNING, shost,
2605 shost_printk(KERN_WARNING, shost,
2611 shost_printk(KERN_WARNING, shost, " REJ reason 0x%x\n",
2837 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
2838 struct srp_target_port *target = host_to_target(shost);
2847 struct Scsi_Host *shost = sdev->host;
2848 struct srp_target_port *target = host_to_target(shost);