• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:scsi_device

61 #include <scsi/scsi_device.h>
284 struct scsi_cmnd *scsi_get_command(struct scsi_device *dev, gfp_t gfp_mask)
346 struct scsi_device *sdev = cmd->device;
809 struct scsi_device *sdev = cmd->device;
869 void scsi_adjust_queue_depth(struct scsi_device *sdev, int tagged, int tags)
939 int scsi_track_queue_full(struct scsi_device *sdev, int depth)
986 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer,
1029 int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf,
1066 * scsi_device_get - get an additional reference to a scsi_device
1069 * Description: Gets a reference to the scsi_device and increments the use count
1073 int scsi_device_get(struct scsi_device *sdev)
1088 * scsi_device_put - release a reference to a scsi_device
1091 * Description: Release a reference to the scsi_device and decrements the use
1095 void scsi_device_put(struct scsi_device *sdev)
1110 struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *shost,
1111 struct scsi_device *prev)
1114 struct scsi_device *next = NULL;
1119 next = list_entry(list->next, struct scsi_device, siblings);
1145 void (*fn)(struct scsi_device *, void *))
1148 struct scsi_device *sdev;
1165 * take a reference on the scsi_device, so the whole loop must be
1173 void (*fn)(struct scsi_device *, void *))
1176 struct scsi_device *sdev;
1191 * Description: Looks up the scsi_device with the specified @lun for a given
1192 * @starget. The returned scsi_device does not have an additional
1194 * any access to the returned scsi_device. A scsi_device in state
1201 struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *starget,
1204 struct scsi_device *sdev;
1222 * Description: Looks up the scsi_device with the specified @lun for a given
1223 * @starget. The returned scsi_device has an additional reference that
1226 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget,
1229 struct scsi_device *sdev;
1250 * Description: Looks up the scsi_device with the specified @channel, @id, @lun
1251 * for a given host. The returned scsi_device does not have an additional
1253 * to the returned scsi_device.
1259 struct scsi_device *__scsi_device_lookup(struct Scsi_Host *shost,
1262 struct scsi_device *sdev;
1281 * Description: Looks up the scsi_device with the specified @channel, @id, @lun
1282 * for a given host. The returned scsi_device has an additional reference that
1285 struct scsi_device *scsi_device_lookup(struct Scsi_Host *shost,
1288 struct scsi_device *sdev;