Lines Matching defs:shost
67 struct Scsi_Host *shost = pde_data(file_inode(file));
74 if (!shost->hostt->write_info)
82 ret = shost->hostt->write_info(shost, page, count);
91 struct Scsi_Host *shost = m->private;
92 return shost->hostt->show_info(m, shost);
216 * @shost: host to add
218 void scsi_proc_host_add(struct Scsi_Host *shost)
220 const struct scsi_host_template *sht = shost->hostt;
232 sprintf(name,"%d", shost->host_no);
234 &proc_scsi_ops, shost);
240 shost_printk(KERN_ERR, shost,
247 * @shost: which host
249 void scsi_proc_host_rm(struct Scsi_Host *shost)
251 const struct scsi_host_template *sht = shost->hostt;
262 sprintf(name,"%d", shost->host_no);
340 struct Scsi_Host *shost;
343 shost = scsi_host_lookup(host);
344 if (!shost)
347 if (shost->transportt->user_scan)
348 error = shost->transportt->user_scan(shost, channel, id, lun);
350 error = scsi_scan_host_selected(shost, channel, id, lun,
352 scsi_host_put(shost);
369 struct Scsi_Host *shost;
372 shost = scsi_host_lookup(host);
373 if (!shost)
375 sdev = scsi_device_lookup(shost, channel, id, lun);
382 scsi_host_put(shost);