Lines Matching refs:instance

100 "struct scsi_host_template", an instance of which is passed to
103 struct scsi_host_template. Defining an instance of struct
235 instance of struct scsi_host_template with the name "driver_template"
315 - scsi_host_alloc(): returns a pointer to new instance of struct
317 - scsi_host_get(): adds 1 to the reference count of the given instance
319 instance. If the reference count reaches 0 then the given instance
327 a copy of a pointer to a Scsi_device instance it should use scsi_device_get()
369 scsi_add_device - creates new scsi device (lu) instance
374 scsi_host_alloc - return a new scsi_host instance whose refcount==1
375 scsi_host_get - increments Scsi_Host instance's refcount
376 scsi_host_put - decrements Scsi_Host instance's refcount (free if 0)
378 scsi_register - create and register a scsi host adapter instance.
391 * scsi_add_device - creates new scsi device (lu) instance
392 * @shost: pointer to scsi host instance
397 * Returns pointer to new struct scsi_device instance or
419 * @shost: pointer to scsi host instance
492 * scsi_host_alloc - create a scsi host adapter instance and perform basic
496 * last member of the returned Scsi_Host instance)
498 * Returns pointer to new Scsi_Host instance or NULL on failure
517 * scsi_host_get - increment Scsi_Host instance refcount
518 * @shost: pointer to struct Scsi_Host instance
532 * scsi_host_put - decrement Scsi_Host instance refcount, free if 0
533 * @shost: pointer to struct Scsi_Host instance
540 * latter refcount reaches 0, the Scsi_Host instance is freed.
541 * The LLD need not worry exactly when the Scsi_Host instance is
542 * freed, it just shouldn't access the instance after it has balanced
571 * scsi_register - create and register a scsi host adapter instance.
574 * last member of the returned Scsi_Host instance)
576 * Returns pointer to new Scsi_Host instance or NULL on failure
593 * @sdev: a pointer to a scsi device instance
612 * @shost: a pointer to a scsi host instance
649 * @shost: a pointer to a scsi host instance
664 * @sdev: pointer to SCSI device instance
698 * scsi_unregister - unregister and free memory used by host instance
699 * @shp: pointer to scsi host instance to unregister.
720 pointers are placed in an instance of struct scsi_host_template which
729 of a "struct scsi_host_template" instance. A pointer to such an instance
1159 * commands will be sent for this sdp instance. [However the device
1160 * could be re-attached in the future in which case a new instance
1174 There is one "struct scsi_host_template" instance per LLD ***. It is
1190 that handles both ISA and PCI cards and has a separate instance of
1195 There is one struct Scsi_Host instance per host (HBA) that an LLD
1197 with "struct scsi_host_template". When a new struct Scsi_Host instance
1199 initialized from the driver's struct scsi_host_template instance. Members
1226 this struct Scsi_Host instance was spawned
1228 transportt - pointer to driver's struct scsi_transport_template instance
1247 Generally, there is one instance of this structure for each SCSI logical unit
1258 be at least one instance of struct scsi_cmnd available for each SCSI device.
1331 Each struct Scsi_Host instance has a spin_lock called struct