/drivers/scsi/ |
D | scsi_priv.h | 9 struct scsi_device; 45 extern int scsi_get_device_flags(struct scsi_device *sdev, 65 extern int scsi_maybe_unblock_host(struct scsi_device *sdev); 66 extern void scsi_device_unbusy(struct scsi_device *sdev); 71 extern struct request_queue *scsi_alloc_queue(struct scsi_device *sdev); 113 extern int scsi_sysfs_add_sdev(struct scsi_device *); 117 extern void scsi_sysfs_device_initialize(struct scsi_device *); 118 extern int scsi_sysfs_target_initialize(struct scsi_device *); 120 extern void __scsi_remove_device(struct scsi_device *); 141 extern int scsi_internal_device_block(struct scsi_device *sdev); [all …]
|
D | scsi.c | 280 struct scsi_cmnd *scsi_get_command(struct scsi_device *dev, gfp_t gfp_mask) in scsi_get_command() 342 struct scsi_device *sdev = cmd->device; in scsi_put_command() 802 struct scsi_device *sdev = cmd->device; in scsi_finish_command() 870 void scsi_adjust_queue_depth(struct scsi_device *sdev, int tagged, int tags) in scsi_adjust_queue_depth() 940 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full() 977 int scsi_device_get(struct scsi_device *sdev) in scsi_device_get() 999 void scsi_device_put(struct scsi_device *sdev) in scsi_device_put() 1014 struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *shost, in __scsi_iterate_devices() 1015 struct scsi_device *prev) in __scsi_iterate_devices() 1018 struct scsi_device *next = NULL; in __scsi_iterate_devices() [all …]
|
D | scsi_sysfs.c | 285 struct scsi_device *sdev; in scsi_device_cls_release() 293 struct scsi_device *sdev; in scsi_device_dev_release_usercontext() 299 sdev = container_of(work, struct scsi_device, ew.work); in scsi_device_dev_release_usercontext() 341 struct scsi_device *sdp = to_scsi_device(dev); in scsi_device_dev_release() 354 struct scsi_device *sdp; in scsi_bus_match() 367 struct scsi_device *sdev; in scsi_bus_uevent() 381 struct scsi_device *sdev; in scsi_bus_suspend() 406 struct scsi_device *sdev; in scsi_bus_resume() 426 struct scsi_device *sdev = to_scsi_device(dev); in scsi_bus_remove() 478 struct scsi_device *sdev; \ [all …]
|
D | scsi_lib.c | 109 struct scsi_device *device = cmd->device; in __scsi_queue_insert() 208 int scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute() 257 int scsi_execute_req(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_req() 419 int scsi_execute_async(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_async() 490 void scsi_device_unbusy(struct scsi_device *sdev) in scsi_device_unbusy() 515 static void scsi_single_lun_run(struct scsi_device *current_sdev) in scsi_single_lun_run() 518 struct scsi_device *sdev, *tmp; in scsi_single_lun_run() 554 static inline int scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy() 592 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() 620 struct scsi_device, starved_entry); in scsi_run_queue() [all …]
|
D | 53c700.h | 106 static inline char *NCR_700_get_sense_cmnd(struct scsi_device *SDp) in NCR_700_get_sense_cmnd() 114 NCR_700_set_depth(struct scsi_device *SDp, __u8 depth) in NCR_700_set_depth() 121 NCR_700_get_depth(struct scsi_device *SDp) in NCR_700_get_depth() 128 NCR_700_is_flag_set(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_set() 133 NCR_700_is_flag_clear(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_clear() 138 NCR_700_set_flag(struct scsi_device *SDp, __u32 flag) in NCR_700_set_flag() 143 NCR_700_clear_flag(struct scsi_device *SDp, __u32 flag) in NCR_700_clear_flag() 155 NCR_700_get_tag_neg_state(struct scsi_device *SDp) in NCR_700_get_tag_neg_state() 161 NCR_700_set_tag_neg_state(struct scsi_device *SDp, in NCR_700_set_tag_neg_state()
|
D | sd.c | 129 struct scsi_device *sdp = sdkp->device; in sd_store_cache_type() 180 struct scsi_device *sdp = sdkp->device; in sd_store_manage_start_stop() 195 struct scsi_device *sdp = sdkp->device; in sd_store_allow_restart() 231 struct scsi_device *sdp = sdkp->device; in sd_show_manage_start_stop() 364 struct scsi_device *sdev = sdkp->device; in scsi_disk_put() 383 struct scsi_device *sdp = q->queuedata; in sd_prep_fn() 617 struct scsi_device *sdev; in sd_open() 689 struct scsi_device *sdev = sdkp->device; in sd_release() 709 struct scsi_device *sdp = sdkp->device; in sd_getgeo() 748 struct scsi_device *sdp = scsi_disk(disk)->device; in sd_ioctl() [all …]
|
D | sr.h | 26 struct scsi_device; 36 struct scsi_device *device; 64 int sr_test_unit_ready(struct scsi_device *sdev, struct scsi_sense_hdr *sshdr);
|
D | ses.c | 51 struct scsi_device *sdev = to_scsi_device(dev); in ses_probe() 67 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() 83 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() 110 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor() 140 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor() 270 struct scsi_device *sdev; in ses_match_host() 351 struct scsi_device *sdev) in ses_match_to_enclosure() 424 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_add() 425 struct scsi_device *tmp_sdev; in ses_intf_add() 642 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_remove()
|
D | scsi_ioctl.c | 88 static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, in ioctl_internal_command() 134 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal() 167 static int scsi_ioctl_get_pci(struct scsi_device *sdev, void __user *arg) in scsi_ioctl_get_pci() 194 int scsi_ioctl(struct scsi_device *sdev, int cmd, void __user *arg) in scsi_ioctl() 286 int scsi_nonblockable_ioctl(struct scsi_device *sdev, int cmd, in scsi_nonblockable_ioctl()
|
D | scsi_scan.c | 209 static void scsi_unlock_floptical(struct scsi_device *sdev, in scsi_unlock_floptical() 239 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, in scsi_alloc_sdev() 242 struct scsi_device *sdev; in scsi_alloc_sdev() 554 static int scsi_probe_lun(struct scsi_device *sdev, unsigned char *inq_result, in scsi_probe_lun() 745 static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result, in scsi_add_lun() 954 static inline void scsi_destroy_sdev(struct scsi_device *sdev) in scsi_destroy_sdev() 1010 struct scsi_device **sdevp, int rescan, in scsi_probe_and_add_lun() 1013 struct scsi_device *sdev; in scsi_probe_and_add_lun() 1323 struct scsi_device *sdev; in scsi_report_lun_scan() 1505 struct scsi_device *__scsi_add_device(struct Scsi_Host *shost, uint channel, in __scsi_add_device() [all …]
|
D | scsi_error.c | 156 int scsi_block_when_processing_errors(struct scsi_device *sdev) in scsi_block_when_processing_errors() 181 struct scsi_device *sdev; in scsi_eh_prt_fail_stats() 229 struct scsi_device *sdev = scmd->device; in scsi_check_sense() 469 static void __scsi_report_device_reset(struct scsi_device *sdev, void *data) in __scsi_report_device_reset() 583 struct scsi_device *sdev = scmd->device; in scsi_eh_prep_cmnd() 681 struct scsi_device *sdev = scmd->device; in scsi_send_eh_cmnd() 948 struct scsi_device *sdev; in scsi_eh_stu() 1002 struct scsi_device *sdev; in scsi_eh_bus_device_reset() 1464 static void scsi_eh_lock_door(struct scsi_device *sdev) in scsi_eh_lock_door() 1490 struct scsi_device *sdev; in scsi_restart_operations() [all …]
|
D | scsi_transport_spi.c | 101 static int spi_execute(struct scsi_device *sdev, const void *cmd, in spi_execute() 208 struct scsi_device *sdev = to_scsi_device(dev); in spi_device_configure() 588 spi_dv_device_echo_buffer(struct scsi_device *sdev, u8 *buffer, in spi_dv_device_echo_buffer() 674 spi_dv_device_compare_inquiry(struct scsi_device *sdev, u8 *buffer, in spi_dv_device_compare_inquiry() 710 spi_dv_retrain(struct scsi_device *sdev, u8 *buffer, u8 *ptr, in spi_dv_retrain() 712 (*compare_fn)(struct scsi_device *, u8 *, u8 *, int)) in spi_dv_retrain() argument 768 spi_dv_device_get_echo_buffer(struct scsi_device *sdev, u8 *buffer) in spi_dv_device_get_echo_buffer() 815 spi_dv_device_internal(struct scsi_device *sdev, u8 *buffer) in spi_dv_device_internal() 958 spi_dv_device(struct scsi_device *sdev) in spi_dv_device() 1009 struct scsi_device *sdev; [all …]
|
D | sr.c | 158 struct scsi_device *sdev = cd->device; in scsi_cd_put() 168 int sr_test_unit_ready(struct scsi_device *sdev, struct scsi_sense_hdr *sshdr) in sr_test_unit_ready() 337 struct scsi_device *sdp = q->queuedata; in sr_prep_fn() 499 struct scsi_device *sdev = cd->device; in sr_block_ioctl() 552 struct scsi_device *sdev = cd->device; in sr_open() 580 struct scsi_device *sdev = to_scsi_device(dev); in sr_probe()
|
D | dpti.h | 36 static int adpt_slave_configure(struct scsi_device *); 39 static int adpt_bios_param(struct scsi_device * sdev, struct block_device *dev, 191 struct scsi_device *pScsi_dev;
|
D | 53c700.c | 175 STATIC int NCR_700_slave_alloc(struct scsi_device *SDpnt); 176 STATIC int NCR_700_slave_configure(struct scsi_device *SDpnt); 177 STATIC void NCR_700_slave_destroy(struct scsi_device *SDpnt); 178 static int NCR_700_change_queue_depth(struct scsi_device *SDpnt, int depth); 179 static int NCR_700_change_queue_type(struct scsi_device *SDpnt, int depth); 276 NCR_700_get_SXFER(struct scsi_device *SDp) in NCR_700_get_SXFER() 1102 struct scsi_device *SDp; in process_script_interrupt() 1538 struct scsi_device *SDp; in NCR_700_intr() 2040 NCR_700_slave_alloc(struct scsi_device *SDp) in NCR_700_slave_alloc() 2052 NCR_700_slave_configure(struct scsi_device *SDp) in NCR_700_slave_configure() [all …]
|
/drivers/scsi/device_handler/ |
D | scsi_dh.c | 55 scsi_dh_cache_lookup(struct scsi_device *sdev) in scsi_dh_cache_lookup() 74 struct scsi_device *sdev) in scsi_dh_handler_lookup() 101 struct scsi_device *sdev) in device_handler_match() 148 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach() 170 static void scsi_dh_handler_detach(struct scsi_device *sdev, in scsi_dh_handler_detach() 193 struct scsi_device *sdev = to_scsi_device(dev); in store_dh_state() 229 struct scsi_device *sdev = to_scsi_device(dev); in show_dh_state() 246 struct scsi_device *sdev; in scsi_dh_sysfs_attr_add() 265 struct scsi_device *sdev; in scsi_dh_sysfs_attr_remove() 285 struct scsi_device *sdev; in scsi_dh_notifier() [all …]
|
D | scsi_dh_emc.c | 115 *get_clariion_data(struct scsi_device *sdev) in get_clariion_data() 125 static int trespass_endio(struct scsi_device *sdev, char *sense) in trespass_endio() 166 static int parse_sp_info_reply(struct scsi_device *sdev, in parse_sp_info_reply() 215 static char * parse_sp_model(struct scsi_device *sdev, unsigned char *buffer) in parse_sp_model() 268 static struct request *get_req(struct scsi_device *sdev, int cmd, in get_req() 319 static int send_inquiry_cmd(struct scsi_device *sdev, int page, in send_inquiry_cmd() 352 static int send_trespass_cmd(struct scsi_device *sdev, in send_trespass_cmd() 401 static int clariion_check_sense(struct scsi_device *sdev, in clariion_check_sense() 449 static int clariion_prep_fn(struct scsi_device *sdev, struct request *req) in clariion_prep_fn() 462 static int clariion_std_inquiry(struct scsi_device *sdev, in clariion_std_inquiry() [all …]
|
D | scsi_dh_hp_sw.c | 44 static inline struct hp_sw_dh_data *get_hp_sw_data(struct scsi_device *sdev) in get_hp_sw_data() 58 static int tur_done(struct scsi_device *sdev, unsigned char *sense) in tur_done() 105 static int hp_sw_tur(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_tur() 158 static int start_done(struct scsi_device *sdev, unsigned char *sense) in start_done() 200 static int hp_sw_start_stop(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_start_stop() 248 static int hp_sw_prep_fn(struct scsi_device *sdev, struct request *req) in hp_sw_prep_fn() 271 static int hp_sw_activate(struct scsi_device *sdev) in hp_sw_activate() 297 static int hp_sw_bus_attach(struct scsi_device *sdev); 298 static void hp_sw_bus_detach(struct scsi_device *sdev); 310 static int hp_sw_bus_attach(struct scsi_device *sdev) in hp_sw_bus_attach() [all …]
|
D | scsi_dh_alua.c | 68 static inline struct alua_dh_data *get_alua_data(struct scsi_device *sdev) in get_alua_data() 90 static struct request *get_alua_req(struct scsi_device *sdev, in get_alua_req() 124 static int submit_std_inquiry(struct scsi_device *sdev, struct alua_dh_data *h) in submit_std_inquiry() 161 static int submit_vpd_inquiry(struct scsi_device *sdev, struct alua_dh_data *h) in submit_vpd_inquiry() 198 static unsigned submit_rtpg(struct scsi_device *sdev, struct alua_dh_data *h) in submit_rtpg() 241 static unsigned submit_stpg(struct scsi_device *sdev, struct alua_dh_data *h) in submit_stpg() 290 static int alua_std_inquiry(struct scsi_device *sdev, struct alua_dh_data *h) in alua_std_inquiry() 333 static int alua_vpd_inquiry(struct scsi_device *sdev, struct alua_dh_data *h) in alua_vpd_inquiry() 420 static int alua_check_sense(struct scsi_device *sdev, in alua_check_sense() 479 static int alua_stpg(struct scsi_device *sdev, int state, in alua_stpg() [all …]
|
D | scsi_dh_rdac.c | 201 static inline struct rdac_dh_data *get_rdac_data(struct scsi_device *sdev) in get_rdac_data() 208 static struct request *get_rdac_req(struct scsi_device *sdev, in get_rdac_req() 238 static struct request *rdac_failover_get(struct scsi_device *sdev, in rdac_failover_get() 335 static int submit_inquiry(struct scsi_device *sdev, int page_code, in submit_inquiry() 366 static int get_lun(struct scsi_device *sdev, struct rdac_dh_data *h) in get_lun() 384 static int check_ownership(struct scsi_device *sdev, struct rdac_dh_data *h) in check_ownership() 412 static int initialize_controller(struct scsi_device *sdev, in initialize_controller() 428 static int set_mode_select(struct scsi_device *sdev, struct rdac_dh_data *h) in set_mode_select() 448 static int mode_select_handle_sense(struct scsi_device *sdev, in mode_select_handle_sense() 478 static int send_mode_select(struct scsi_device *sdev, struct rdac_dh_data *h) in send_mode_select() [all …]
|
/drivers/message/fusion/ |
D | mptscsih.h | 115 extern void mptscsih_slave_destroy(struct scsi_device *device); 116 extern int mptscsih_slave_configure(struct scsi_device *device); 121 extern int mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capac… 127 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
/drivers/ata/ |
D | libata-scsi.c | 62 const struct scsi_device *scsidev); 64 const struct scsi_device *scsidev); 190 struct scsi_device *sdev = to_scsi_device(device); in ata_scsi_park_show() 230 struct scsi_device *sdev = to_scsi_device(device); in ata_scsi_park_store() 337 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_show() 350 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_store() 405 int ata_std_bios_param(struct scsi_device *sdev, struct block_device *bdev, in ata_std_bios_param() 428 static int ata_get_identity(struct ata_port *ap, struct scsi_device *sdev, in ata_get_identity() 467 int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg) in ata_cmd_ioctl() 576 int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg) in ata_task_ioctl() [all …]
|
/drivers/usb/storage/ |
D | scsiglue.c | 79 static int slave_alloc (struct scsi_device *sdev) in slave_alloc() 122 static int slave_configure(struct scsi_device *sdev) in slave_configure() 478 struct scsi_device *sdev = to_scsi_device(dev); in show_max_sectors() 487 struct scsi_device *sdev = to_scsi_device(dev); in store_max_sectors()
|
/drivers/scsi/aacraid/ |
D | linit.c | 310 static int aac_biosparm(struct scsi_device *sdev, struct block_device *bdev, in aac_biosparm() 402 static int aac_slave_configure(struct scsi_device *sdev) in aac_slave_configure() 419 struct scsi_device * dev; in aac_slave_configure() 469 static int aac_change_queue_depth(struct scsi_device *sdev, int depth) in aac_change_queue_depth() 473 struct scsi_device * dev; in aac_change_queue_depth() 499 struct scsi_device *sdev = to_scsi_device(dev); in aac_show_raid_level() 522 static int aac_ioctl(struct scsi_device *sdev, int cmd, void __user * arg) in aac_ioctl() 532 struct scsi_device * dev = cmd->device; in aac_eh_abort() 587 struct scsi_device * dev = cmd->device; in aac_eh_reset() 748 static int aac_compat_ioctl(struct scsi_device *sdev, int cmd, void __user *arg) in aac_compat_ioctl()
|
/drivers/scsi/aic7xxx/ |
D | aic79xx_proc.c | 52 struct scsi_device *sdev); 229 struct scsi_device *dev; in ahd_dump_target_state() 241 ahd_dump_device_state(struct info_str *info, struct scsi_device *sdev) in ahd_dump_device_state()
|