• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:scsi_device

61 #include <scsi/scsi_device.h>
191 struct scsi_cmnd *scsi_get_command(struct scsi_device *dev, gfp_t gfp_mask)
252 struct scsi_device *sdev = cmd->device;
670 struct scsi_device *sdev = cmd->device;
715 void scsi_adjust_queue_depth(struct scsi_device *sdev, int tagged, int tags)
779 int scsi_track_queue_full(struct scsi_device *sdev, int depth)
809 * scsi_device_get - get an addition reference to a scsi_device
812 * Gets a reference to the scsi_device and increments the use count
816 int scsi_device_get(struct scsi_device *sdev)
831 * scsi_device_put - release a reference to a scsi_device
834 * Release a reference to the scsi_device and decrements the use count
838 void scsi_device_put(struct scsi_device *sdev)
853 struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *shost,
854 struct scsi_device *prev)
857 struct scsi_device *next = NULL;
862 next = list_entry(list->next, struct scsi_device, siblings);
886 void (*fn)(struct scsi_device *, void *))
889 struct scsi_device *sdev;
904 * Looks up the scsi_device with the specified @lun for a give
905 * @starget. The returned scsi_device does not have an additional
907 * any access to the returned scsi_device.
913 struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *starget,
916 struct scsi_device *sdev;
932 * Looks up the scsi_device with the specified @channel, @id, @lun for a
933 * give host. The returned scsi_device has an additional reference that
936 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget,
939 struct scsi_device *sdev;
960 * Looks up the scsi_device with the specified @channel, @id, @lun for a
961 * give host. The returned scsi_device does not have an additional reference.
963 * returned scsi_device.
969 struct scsi_device *__scsi_device_lookup(struct Scsi_Host *shost,
972 struct scsi_device *sdev;
991 * Looks up the scsi_device with the specified @channel, @id, @lun for a
992 * give host. The returned scsi_device has an additional reference that
995 struct scsi_device *scsi_device_lookup(struct Scsi_Host *shost,
998 struct scsi_device *sdev;
1013 * @sdev: Pointer to struct scsi_device
1017 int scsi_device_cancel(struct scsi_device *sdev, int recovery)