/linux/include/scsi/ |
A D | scsi_device.h | 103 struct scsi_device { struct 251 container_of(d, struct scsi_device, sdev_gendev) argument 253 container_of(d, struct scsi_device, sdev_dev) 299 struct scsi_device *starget_sdev_user; 353 extern void scsi_remove_device(struct scsi_device *); 355 void scsi_attach_vpd(struct scsi_device *sdev); 359 extern void scsi_device_put(struct scsi_device *); 369 void (*fn)(struct scsi_device *, void *)); 371 void (*fn)(struct scsi_device *, 376 struct scsi_device *); [all …]
|
A D | scsi_dh.h | 55 enum scsi_disposition (*check_sense)(struct scsi_device *, 57 int (*attach)(struct scsi_device *); 58 void (*detach)(struct scsi_device *); 59 int (*activate)(struct scsi_device *, activate_complete, void *); 60 blk_status_t (*prep_fn)(struct scsi_device *, struct request *); 61 int (*set_params)(struct scsi_device *, const char *); 62 void (*rescan)(struct scsi_device *);
|
A D | scsi_host.h | 18 struct scsi_device; 105 int (*ioctl)(struct scsi_device *dev, unsigned int cmd, 116 int (*compat_ioctl)(struct scsi_device *dev, unsigned int cmd, 173 int (* slave_alloc)(struct scsi_device *); 204 int (* slave_configure)(struct scsi_device *); 215 void (* slave_destroy)(struct scsi_device *); 272 int (* change_queue_depth)(struct scsi_device *, int); 307 int (* bios_param)(struct scsi_device *, struct block_device *, 316 void (*unlock_native_capacity)(struct scsi_device *);
|
A D | scsi_transport_sas.h | 197 u64 sas_get_address(struct scsi_device *); 198 unsigned int sas_tlr_supported(struct scsi_device *); 199 unsigned int sas_is_tlr_enabled(struct scsi_device *); 200 void sas_disable_tlr(struct scsi_device *); 201 void sas_enable_tlr(struct scsi_device *); 230 int sas_read_port_mode_page(struct scsi_device *);
|
A D | scsi_ioctl.h | 22 struct scsi_device; 46 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev, 48 int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode,
|
A D | scsi_dbg.h | 6 struct scsi_device; 12 extern void scsi_print_sense_hdr(const struct scsi_device *, const char *, 15 extern void __scsi_print_sense(const struct scsi_device *, const char *name,
|
A D | scsi_eh.h | 9 struct scsi_device; 17 extern int scsi_block_when_processing_errors(struct scsi_device *); 30 extern int scsi_ioctl_reset(struct scsi_device *, int __user *);
|
/linux/drivers/scsi/ |
A D | scsi_priv.h | 14 struct scsi_device; 55 extern blist_flags_t scsi_get_device_flags(struct scsi_device *sdev, 90 extern int scsi_maybe_unblock_host(struct scsi_device *sdev); 96 extern void scsi_start_queue(struct scsi_device *sdev); 137 extern int scsi_sysfs_add_sdev(struct scsi_device *); 141 extern void scsi_sysfs_device_initialize(struct scsi_device *); 142 extern int scsi_sysfs_target_initialize(struct scsi_device *); 144 extern void __scsi_remove_device(struct scsi_device *); 176 void scsi_dh_add_device(struct scsi_device *sdev); 177 void scsi_dh_release_device(struct scsi_device *sdev); [all …]
|
A D | scsi.c | 161 struct scsi_device *sdev = cmd->device; in scsi_finish_command() 438 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd() 521 int scsi_device_get(struct scsi_device *sdev) in scsi_device_get() 557 struct scsi_device *prev) in __scsi_iterate_devices() 560 struct scsi_device *next = NULL; in __scsi_iterate_devices() 594 struct scsi_device *sdev; in starget_for_each_device() 622 struct scsi_device *sdev; in __starget_for_each_device() 650 struct scsi_device *sdev; in __scsi_device_lookup_by_target() 675 struct scsi_device *sdev; in scsi_device_lookup_by_target() 708 struct scsi_device *sdev; in __scsi_device_lookup() [all …]
|
A D | scsi_lib.c | 322 struct scsi_device *sdev, *tmp; in scsi_single_lun_run() 390 struct scsi_device *sdev; in scsi_starved_list_run() 466 struct scsi_device *sdev; in scsi_requeue_run_queue() 476 struct scsi_device *sdev; in scsi_run_host_queues() 1248 struct scsi_device *sdev) in scsi_dev_queue_ready() 1282 struct scsi_device *sdev) in scsi_target_queue_ready() 1338 struct scsi_device *sdev, in scsi_host_queue_ready() 1969 struct scsi_device *sdev = NULL; in scsi_device_from_queue() 2445 struct scsi_device *sdev; in scsi_evt_thread() 2898 struct scsi_device *sdev; in scsi_host_block() [all …]
|
A D | scsi_sysfs.c | 433 struct scsi_device *sdev; in scsi_device_cls_release() 441 struct scsi_device *sdev; in scsi_device_dev_release_usercontext() 526 struct scsi_device *sdp; in scsi_bus_match() 539 struct scsi_device *sdev; in scsi_bus_uevent() 697 struct scsi_device *sdev; in sdev_show_timeout() 706 struct scsi_device *sdev; in sdev_store_timeout() 718 struct scsi_device *sdev; in sdev_show_eh_timeout() 727 struct scsi_device *sdev; in sdev_store_eh_timeout() 963 struct scsi_device *sdev; in sdev_show_modalias() 1186 struct scsi_device *sdev; in sdev_show_queue_ramp_up_period() [all …]
|
A D | scsi_dh.c | 71 scsi_dh_find_driver(struct scsi_device *sdev) in scsi_dh_find_driver() 124 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach() 163 static void scsi_dh_handler_detach(struct scsi_device *sdev) in scsi_dh_handler_detach() 170 void scsi_dh_add_device(struct scsi_device *sdev) in scsi_dh_add_device() 186 void scsi_dh_release_device(struct scsi_device *sdev) in scsi_dh_release_device() 253 struct scsi_device *sdev; in scsi_dh_activate() 300 struct scsi_device *sdev; in scsi_dh_set_params() 322 struct scsi_device *sdev; in scsi_dh_attach() 361 struct scsi_device *sdev; in scsi_dh_attached_handler_name()
|
A D | ses.c | 47 struct scsi_device *sdev = to_scsi_device(dev); in ses_probe() 77 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() 118 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() 152 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor() 182 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor() 421 struct scsi_device *sdev; 512 struct scsi_device *sdev, in ses_enclosure_data_process() 616 struct scsi_device *sdev, in ses_match_to_enclosure() 640 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_add() 641 struct scsi_device *tmp_sdev; in ses_intf_add() [all …]
|
A D | 53c700.h | 107 static inline char *NCR_700_get_sense_cmnd(struct scsi_device *SDp) in NCR_700_get_sense_cmnd() 115 NCR_700_set_depth(struct scsi_device *SDp, __u8 depth) in NCR_700_set_depth() 122 NCR_700_get_depth(struct scsi_device *SDp) in NCR_700_get_depth() 129 NCR_700_is_flag_set(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_set() 134 NCR_700_is_flag_clear(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_clear() 139 NCR_700_set_flag(struct scsi_device *SDp, __u32 flag) in NCR_700_set_flag() 144 NCR_700_clear_flag(struct scsi_device *SDp, __u32 flag) in NCR_700_clear_flag() 156 NCR_700_get_tag_neg_state(struct scsi_device *SDp) in NCR_700_get_tag_neg_state() 162 NCR_700_set_tag_neg_state(struct scsi_device *SDp, in NCR_700_set_tag_neg_state()
|
A D | scsi_error.c | 127 struct scsi_device *sdev = cmd->device; in scsi_eh_should_retry_cmd() 399 struct scsi_device *sdev; in scsi_eh_prt_fail_stats() 690 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() 722 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() 1379 struct scsi_device *sdev; in scsi_eh_test_devices() 1456 struct scsi_device *sdev; in scsi_eh_stu() 1522 struct scsi_device *sdev; in scsi_eh_bus_device_reset() 1756 struct scsi_device *sdev; in scsi_eh_offline_sdevs() 2056 struct scsi_device *sdev; in scsi_restart_operations() 2323 struct scsi_device *sdev; in scsi_report_bus_reset() [all …]
|
A D | sd.h | 72 struct scsi_device *device; 181 static inline sector_t logical_to_sectors(struct scsi_device *sdev, sector_t blocks) in logical_to_sectors() 186 static inline unsigned int logical_to_bytes(struct scsi_device *sdev, sector_t blocks) in logical_to_bytes() 191 static inline sector_t bytes_to_logical(struct scsi_device *sdev, unsigned int bytes) in bytes_to_logical() 196 static inline sector_t sectors_to_logical(struct scsi_device *sdev, sector_t sector) in sectors_to_logical()
|
A D | scsi_ioctl.c | 67 static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, in ioctl_internal_command() 121 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal() 154 static int scsi_ioctl_get_pci(struct scsi_device *sdev, void __user *arg) in scsi_ioctl_get_pci() 176 static int sg_set_timeout(struct scsi_device *sdev, int __user *p) in sg_set_timeout() 186 static int sg_get_reserved_size(struct scsi_device *sdev, int __user *p) in sg_get_reserved_size() 194 static int sg_set_reserved_size(struct scsi_device *sdev, int __user *p) in sg_set_reserved_size() 218 static int scsi_get_idlun(struct scsi_device *sdev, void __user *argp) in scsi_get_idlun() 232 static int scsi_send_start_stop(struct scsi_device *sdev, int data) in scsi_send_start_stop() 345 static int scsi_fill_sghdr_rq(struct scsi_device *sdev, struct request *rq, in scsi_fill_sghdr_rq() 411 static int sg_io(struct scsi_device *sdev, struct gendisk *disk, in sg_io() [all …]
|
/linux/drivers/scsi/cxlflash/ |
A D | superpipe.h | 64 struct scsi_device *sdev; 70 struct scsi_device *sdev; 117 int cxlflash_vlun_resize(struct scsi_device *sdev, 119 int _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, 122 int cxlflash_disk_release(struct scsi_device *sdev, 124 int _cxlflash_disk_release(struct scsi_device *sdev, struct ctx_info *ctxi, 127 int cxlflash_disk_clone(struct scsi_device *sdev, 130 int cxlflash_disk_virtual_open(struct scsi_device *sdev, void *arg); 148 int cxlflash_manage_lun(struct scsi_device *sdev,
|
/linux/drivers/s390/scsi/ |
A D | zfcp_ext.h | 36 struct zfcp_port *, struct scsi_device *, u8, u8); 39 struct scsi_device *sdev, u8 want, u8 need); 54 extern void zfcp_dbf_scsi_common(char *tag, int level, struct scsi_device *sdev, 76 extern void zfcp_erp_set_lun_status(struct scsi_device *, u32); 77 extern void zfcp_erp_clear_lun_status(struct scsi_device *, u32); 78 extern void zfcp_erp_lun_reopen(struct scsi_device *, int, char *); 79 extern void zfcp_erp_lun_shutdown(struct scsi_device *, int, char *); 80 extern void zfcp_erp_lun_shutdown_wait(struct scsi_device *, char *); 137 extern struct zfcp_fsf_req *zfcp_fsf_fcp_task_mgmt(struct scsi_device *sdev, 195 extern struct scsi_device *zfcp_unit_sdev(struct zfcp_unit *unit);
|
A D | zfcp_erp.c | 94 struct scsi_device *sdev; in zfcp_erp_action_dismiss_port() 164 struct scsi_device *sdev) in zfcp_erp_required_act() 217 struct scsi_device *sdev) in zfcp_erp_setup_act() 284 struct scsi_device *sdev, in zfcp_erp_action_enqueue() 672 struct scsi_device *sdev; in _zfcp_erp_lun_reopen_all() 1338 struct scsi_device *sdev = act->sdev; in zfcp_erp_strategy_statechange() 1419 struct scsi_device *sdev; in zfcp_erp_try_rport_unblock() 1696 struct scsi_device *sdev; in zfcp_erp_set_adapter_status() 1733 struct scsi_device *sdev; in zfcp_erp_clear_adapter_status() 1779 struct scsi_device *sdev; in zfcp_erp_set_port_status() [all …]
|
/linux/drivers/scsi/device_handler/ |
A D | scsi_dh_hp_sw.c | 31 struct scsi_device *sdev; 43 static int tur_done(struct scsi_device *sdev, struct hp_sw_dh_data *h, in tur_done() 81 static int hp_sw_tur(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_tur() 121 struct scsi_device *sdev = h->sdev; in hp_sw_start_stop() 162 static blk_status_t hp_sw_prep_fn(struct scsi_device *sdev, struct request *req) in hp_sw_prep_fn() 184 static int hp_sw_activate(struct scsi_device *sdev, in hp_sw_activate() 200 static int hp_sw_bus_attach(struct scsi_device *sdev) in hp_sw_bus_attach() 231 static void hp_sw_bus_detach( struct scsi_device *sdev ) in hp_sw_bus_detach()
|
A D | scsi_dh_emc.c | 100 static int trespass_endio(struct scsi_device *sdev, in trespass_endio() 135 static int parse_sp_info_reply(struct scsi_device *sdev, in parse_sp_info_reply() 189 static char * parse_sp_model(struct scsi_device *sdev, unsigned char *buffer) in parse_sp_model() 235 static int send_trespass_cmd(struct scsi_device *sdev, in send_trespass_cmd() 283 static enum scsi_disposition clariion_check_sense(struct scsi_device *sdev, in clariion_check_sense() 331 static blk_status_t clariion_prep_fn(struct scsi_device *sdev, in clariion_prep_fn() 344 static int clariion_std_inquiry(struct scsi_device *sdev, in clariion_std_inquiry() 369 static int clariion_send_inquiry(struct scsi_device *sdev, in clariion_send_inquiry() 381 static int clariion_activate(struct scsi_device *sdev, in clariion_activate() 473 static int clariion_bus_attach(struct scsi_device *sdev) in clariion_bus_attach() [all …]
|
A D | scsi_dh_alua.c | 80 struct scsi_device *rtpg_sdev; 88 struct scsi_device *sdev; 105 struct scsi_device *sdev, 268 static int alua_check_tpgs(struct scsi_device *sdev) in alua_check_tpgs() 490 static int alua_tur(struct scsi_device *sdev) in alua_tur() 817 struct scsi_device *sdev = NULL; in alua_rtpg_select_sdev() 863 struct scsi_device *sdev; in alua_rtpg_work() 974 struct scsi_device *sdev, in alua_rtpg_queue() 1091 static int alua_activate(struct scsi_device *sdev, in alua_activate() 1184 static void alua_rescan(struct scsi_device *sdev) in alua_rescan() [all …]
|
A D | scsi_dh_rdac.c | 166 struct scsi_device *ms_sdev; 187 struct scsi_device *sdev; 327 u8 *array_id, struct scsi_device *sdev) in get_controller() 437 static int initialize_controller(struct scsi_device *sdev, in initialize_controller() 485 static int mode_select_handle_sense(struct scsi_device *sdev, in mode_select_handle_sense() 531 struct scsi_device *sdev = ctlr->ms_sdev; in send_mode_select() 585 static int queue_mode_select(struct scsi_device *sdev, in queue_mode_select() 611 static int rdac_activate(struct scsi_device *sdev, in rdac_activate() 659 static enum scsi_disposition rdac_check_sense(struct scsi_device *sdev, in rdac_check_sense() 724 static int rdac_bus_attach(struct scsi_device *sdev) in rdac_bus_attach() [all …]
|
/linux/drivers/message/fusion/ |
A D | mptscsih.h | 119 extern void mptscsih_slave_destroy(struct scsi_device *device); 120 extern int mptscsih_slave_configure(struct scsi_device *device); 125 extern int mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capac… 131 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|