• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:Scsi_Host

65 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state)
156 void scsi_remove_host(struct Scsi_Host *shost)
192 int scsi_add_host(struct Scsi_Host *shost, struct device *dev)
259 struct Scsi_Host *shost = dev_to_shost(dev);
288 * Allocate a new Scsi_Host and perform basic initialization.
293 * Pointer to a new Scsi_Host
295 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
297 struct Scsi_Host *shost;
304 shost = kzalloc(sizeof(struct Scsi_Host) + privsize, gfp_mask);
401 struct Scsi_Host *scsi_register(struct scsi_host_template *sht, int privsize)
403 struct Scsi_Host *shost = scsi_host_alloc(sht, privsize);
417 void scsi_unregister(struct Scsi_Host *shost)
425 * scsi_host_lookup - get a reference to a Scsi_Host by host no
430 * A pointer to located Scsi_Host or NULL.
432 struct Scsi_Host *scsi_host_lookup(unsigned short hostnum)
436 struct Scsi_Host *shost = ERR_PTR(-ENXIO), *p;
453 * scsi_host_get - inc a Scsi_Host ref count
454 * @shost: Pointer to Scsi_Host to inc.
456 struct Scsi_Host *scsi_host_get(struct Scsi_Host *shost)
466 * scsi_host_put - dec a Scsi_Host ref count
467 * @shost: Pointer to Scsi_Host to dec.
469 void scsi_host_put(struct Scsi_Host *shost)
492 * scsi_queue_work - Queue work to the Scsi_Host workqueue.
493 * @shost: Pointer to Scsi_Host.
501 int scsi_queue_work(struct Scsi_Host *shost, struct work_struct *work)
517 * scsi_flush_work - Flush a Scsi_Host's workqueue.
518 * @shost: Pointer to Scsi_Host.
520 void scsi_flush_work(struct Scsi_Host *shost)