/drivers/scsi/ |
D | hosts.c | 64 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state() 155 void scsi_remove_host(struct Scsi_Host *shost) in scsi_remove_host() 191 int scsi_add_host(struct Scsi_Host *shost, struct device *dev) in scsi_add_host() 270 struct Scsi_Host *shost = dev_to_shost(dev); in scsi_host_dev_release() local 313 struct Scsi_Host *shost; in scsi_host_alloc() local 421 struct Scsi_Host *shost = scsi_host_alloc(sht, privsize); in scsi_register() local 435 void scsi_unregister(struct Scsi_Host *shost) in scsi_unregister() 465 struct Scsi_Host *shost = NULL; in scsi_host_lookup() local 481 struct Scsi_Host *scsi_host_get(struct Scsi_Host *shost) in scsi_host_get() 494 void scsi_host_put(struct Scsi_Host *shost) in scsi_host_put() [all …]
|
D | scsi_scan.c | 131 struct Scsi_Host *shost; member 244 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_alloc_sdev() local 332 struct Scsi_Host *shost = dev_to_shost(dev->parent); in scsi_target_destroy() local 368 struct Scsi_Host *shost = dev_to_shost(parent); in __scsi_find_target() local 400 struct Scsi_Host *shost = dev_to_shost(parent); in scsi_alloc_target() local 491 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_target_reap() local 1016 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_probe_and_add_lun() local 1163 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_sequential_lun_scan() local 1324 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_report_lun_scan() local 1505 struct scsi_device *__scsi_add_device(struct Scsi_Host *shost, uint channel, in __scsi_add_device() [all …]
|
D | scsi_transport_srp_internal.h | 4 static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id, in srp_tgt_it_nexus_create() 10 static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id) in srp_tgt_it_nexus_destroy() 16 static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id, in srp_tgt_it_nexus_create() 21 static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id) in srp_tgt_it_nexus_destroy()
|
D | scsi_transport_fc_internal.h | 4 static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id, in fc_tgt_it_nexus_create() 10 static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id) in fc_tgt_it_nexus_destroy() 15 static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id, in fc_tgt_it_nexus_create() 21 static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id) in fc_tgt_it_nexus_destroy()
|
D | scsi_tgt_lib.c | 58 struct Scsi_Host *shost; member 76 struct scsi_cmnd *scsi_host_get_command(struct Scsi_Host *shost, in scsi_host_get_command() 144 void scsi_host_put_command(struct Scsi_Host *shost, struct scsi_cmnd *cmd) in scsi_host_put_command() 214 int scsi_tgt_alloc_queue(struct Scsi_Host *shost) in scsi_tgt_alloc_queue() 262 void scsi_tgt_free_queue(struct Scsi_Host *shost) in scsi_tgt_free_queue() 342 struct Scsi_Host *shost = scsi_tgt_cmd_to_host(cmd); in scsi_tgt_transfer_response() local 412 static int scsi_tgt_abort_cmd(struct Scsi_Host *shost, struct scsi_cmnd *cmd) in scsi_tgt_abort_cmd() 452 struct Scsi_Host *shost; in scsi_tgt_kspace_exec() local 530 int scsi_tgt_tsk_mgmt_request(struct Scsi_Host *shost, u64 itn_id, in scsi_tgt_tsk_mgmt_request() 547 struct Scsi_Host *shost; in scsi_tgt_kspace_tsk_mgmt() local [all …]
|
D | scsi.c | 216 scsi_host_alloc_command(struct Scsi_Host *shost, gfp_t gfp_mask) in scsi_host_alloc_command() 244 struct scsi_cmnd *__scsi_get_command(struct Scsi_Host *shost, gfp_t gfp_mask) in __scsi_get_command() 312 void __scsi_put_command(struct Scsi_Host *shost, struct scsi_cmnd *cmd, in __scsi_put_command() 475 int scsi_setup_command_freelist(struct Scsi_Host *shost) in scsi_setup_command_freelist() 505 void scsi_destroy_command_freelist(struct Scsi_Host *shost) in scsi_destroy_command_freelist() 804 struct Scsi_Host *shost = sdev->host; in scsi_finish_command() local 1014 struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *shost, in __scsi_iterate_devices() 1051 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in starget_for_each_device() local 1079 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in __starget_for_each_device() local 1134 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_device_lookup_by_target() local [all …]
|
D | scsi_transport_fc.c | 356 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_setup() local 494 fc_host_post_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_event() 569 fc_host_post_vendor_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_vendor_event() 815 struct Scsi_Host *shost = rport_to_shost(rport); in store_fc_rport_dev_loss_tmo() local 1196 struct Scsi_Host *shost = vport_to_shost(vport); in store_fc_vport_delete() local 1215 struct Scsi_Host *shost = vport_to_shost(vport); in store_fc_vport_disable() local 1392 struct Scsi_Host *shost = transport_class_to_shost(dev); in show_fc_host_supported_classes() local 1406 struct Scsi_Host *shost = transport_class_to_shost(dev); in show_fc_host_supported_fc4s() local 1416 struct Scsi_Host *shost = transport_class_to_shost(dev); in show_fc_host_supported_speeds() local 1442 struct Scsi_Host *shost = transport_class_to_shost(dev); in show_fc_host_active_fc4s() local [all …]
|
D | scsi_error.c | 51 void scsi_eh_wakeup(struct Scsi_Host *shost) in scsi_eh_wakeup() 66 void scsi_schedule_eh(struct Scsi_Host *shost) in scsi_schedule_eh() 92 struct Scsi_Host *shost = scmd->device->host; in scsi_eh_scmd_add() local 177 static inline void scsi_eh_prt_fail_stats(struct Scsi_Host *shost, in scsi_eh_prt_fail_stats() 682 struct Scsi_Host *shost = sdev->host; in scsi_send_eh_cmnd() local 943 static int scsi_eh_stu(struct Scsi_Host *shost, in scsi_eh_stu() 997 static int scsi_eh_bus_device_reset(struct Scsi_Host *shost, in scsi_eh_bus_device_reset() 1051 static int scsi_eh_target_reset(struct Scsi_Host *shost, in scsi_eh_target_reset() 1109 static int scsi_eh_bus_reset(struct Scsi_Host *shost, in scsi_eh_bus_reset() 1488 static void scsi_restart_operations(struct Scsi_Host *shost) in scsi_restart_operations() [all …]
|
D | scsi_transport_srp.c | 62 struct Scsi_Host *shost = dev_to_shost(dev); in srp_host_setup() local 154 struct Scsi_Host *shost; in srp_rport_match() local 172 struct Scsi_Host *shost; in srp_host_match() local 195 struct srp_rport *srp_rport_add(struct Scsi_Host *shost, in srp_rport_add() 254 struct Scsi_Host *shost = dev_to_shost(dev->parent); in srp_rport_del() local 281 void srp_remove_host(struct Scsi_Host *shost) in srp_remove_host() 287 static int srp_tsk_mgmt_response(struct Scsi_Host *shost, u64 nexus, u64 tm_id, in srp_tsk_mgmt_response() 294 static int srp_it_nexus_response(struct Scsi_Host *shost, u64 nexus, int result) in srp_it_nexus_response()
|
D | scsi_transport_sas.c | 197 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_release() local 205 static int sas_bsg_initialize(struct Scsi_Host *shost, struct sas_rphy *rphy) in sas_bsg_initialize() 255 static void sas_bsg_remove(struct Scsi_Host *shost, struct sas_rphy *rphy) in sas_bsg_remove() 277 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_setup() local 296 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_remove() local 309 struct Scsi_Host *shost; in sas_host_match() local 357 void sas_remove_host(struct Scsi_Host *shost) in sas_remove_host() 479 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in do_sas_phy_enable() local 527 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in do_sas_phy_reset() local 577 struct Scsi_Host *shost; in sas_phy_match() local [all …]
|
D | scsi_proc.c | 61 struct Scsi_Host *shost = data; in proc_scsi_read() local 80 struct Scsi_Host *shost = data; in proc_scsi_write_proc() local 146 void scsi_proc_host_add(struct Scsi_Host *shost) in scsi_proc_host_add() 173 void scsi_proc_host_rm(struct Scsi_Host *shost) in scsi_proc_host_rm() 258 struct Scsi_Host *shost; in scsi_add_single_device() local 286 struct Scsi_Host *shost; in scsi_remove_single_device() local
|
D | scsi_transport_iscsi.c | 243 struct Scsi_Host *shost = dev_to_shost(dev); in iscsi_setup_host() local 262 struct Scsi_Host *shost = dev_to_shost(dev); in iscsi_remove_host() local 394 struct Scsi_Host *shost; in iscsi_session_release() local 416 void iscsi_host_for_each_session(struct Scsi_Host *shost, in iscsi_host_for_each_session() 432 int iscsi_scan_finished(struct Scsi_Host *shost, unsigned long time) in iscsi_scan_finished() 453 struct Scsi_Host *shost; in iscsi_user_scan_session() local 487 static int iscsi_user_scan(struct Scsi_Host *shost, uint channel, in iscsi_user_scan() 504 struct Scsi_Host *shost = iscsi_session_to_shost(session); in iscsi_scan_session() local 551 struct Scsi_Host *shost = iscsi_session_to_shost(session); in __iscsi_unblock_session() local 619 struct Scsi_Host *shost = iscsi_session_to_shost(session); in __iscsi_unbind_session() local [all …]
|
D | scsi_module.c | 20 struct Scsi_Host *shost; in init_this_scsi_driver() local 55 struct Scsi_Host *shost, *s; in exit_this_scsi_driver() local
|
D | scsi_sysfs.c | 97 static int scsi_scan(struct Scsi_Host *shost, const char *str) in scsi_scan() 151 struct Scsi_Host *shost = class_to_shost(dev); in store_scan() local 166 struct Scsi_Host *shost = class_to_shost(dev); in store_shost_state() local 188 struct Scsi_Host *shost = class_to_shost(dev); in show_shost_state() local 221 struct Scsi_Host *shost = class_to_shost(dev); in show_shost_supported_mode() local 237 struct Scsi_Host *shost = class_to_shost(dev); in show_shost_active_mode() local 966 struct Scsi_Host *shost = sdev->host; in scsi_remove_device() local 976 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in __scsi_remove_target() local 1048 int scsi_sysfs_add_host(struct Scsi_Host *shost) in scsi_sysfs_add_host() 1076 struct Scsi_Host *shost = sdev->host; in scsi_sysfs_device_initialize() local
|
D | scsi_lib.c | 492 struct Scsi_Host *shost = sdev->host; in scsi_device_unbusy() local 517 struct Scsi_Host *shost = current_sdev->host; in scsi_single_lun_run() local 569 static inline int scsi_host_is_busy(struct Scsi_Host *shost) in scsi_host_is_busy() 593 struct Scsi_Host *shost = sdev->host; in scsi_run_queue() local 696 void scsi_run_host_queues(struct Scsi_Host *shost) in scsi_run_host_queues() 1450 static inline int scsi_target_queue_ready(struct Scsi_Host *shost, in scsi_target_queue_ready() 1497 struct Scsi_Host *shost, in scsi_host_queue_ready() 1542 struct Scsi_Host *shost; in scsi_lld_busy() local 1566 struct Scsi_Host *shost = sdev->host; in scsi_kill_request() local 1654 struct Scsi_Host *shost; in scsi_request_fn() local [all …]
|
D | scsi_transport_spi.c | 167 struct Scsi_Host *shost = dev_to_shost(dev); in spi_host_setup() local 187 struct Scsi_Host *shost; in spi_host_match() local 468 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in show_spi_transport_period() local 484 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in store_spi_transport_period() local 512 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in show_spi_transport_min_period() local 546 struct Scsi_Host *shost = transport_class_to_shost(cdev); in show_spi_host_signalling() local 558 struct Scsi_Host *shost = transport_class_to_shost(dev); in store_spi_host_signalling() local 819 struct Scsi_Host *shost = sdev->host; in spi_dv_device_internal() local 1300 struct Scsi_Host *shost; in spi_device_match() local 1323 struct Scsi_Host *shost; in spi_target_match() local [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 103 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_info_show() local 122 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_guard_err_show() local 134 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_apptag_err_show() local 146 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_reftag_err_show() local 183 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_serialnum_show() local 206 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_temp_sensor_show() local 224 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_modeldesc_show() local 243 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_modelname_show() local 262 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_programtype_show() local 280 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_mlomgmt_show() local [all …]
|
D | lpfc_init.c | 878 struct Scsi_Host *shost; in lpfc_handle_eratt() local 1827 struct Scsi_Host *shost; in lpfc_online() local 1889 struct Scsi_Host *shost; in lpfc_offline_prep() local 1930 struct Scsi_Host *shost; in lpfc_offline() local 2023 struct Scsi_Host *shost; in lpfc_create_port() local 2103 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in destroy_port() local 2156 int lpfc_scan_finished(struct Scsi_Host *shost, unsigned long time) in lpfc_scan_finished() 2206 void lpfc_host_attrib_init(struct Scsi_Host *shost) in lpfc_host_attrib_init() 2220 fc_host_supported_fc4s(shost)[2] = 1; in lpfc_host_attrib_init() local 2221 fc_host_supported_fc4s(shost)[7] = 1; in lpfc_host_attrib_init() local [all …]
|
D | lpfc_nportdisc.c | 247 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_rcv_plogi() local 438 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_rcv_padisc() local 495 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_rcv_logo() local 578 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_disc_set_adisc() local 659 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_rcv_logo_unused_node() local 688 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_rcv_plogi_plogi_issue() local 766 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_rcv_els_plogi_issue() local 798 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cmpl_plogi_plogi_issue() local 946 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_device_rm_plogi_issue() local 968 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_device_recov_plogi_issue() local [all …]
|
D | lpfc_hbadisc.c | 338 struct Scsi_Host *shost; in lpfc_send_fastpath_evt() local 646 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cleanup_rpis() local 695 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_linkdown_port() local 711 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_linkdown() local 793 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_linkup_port() local 855 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_mbx_cmpl_clear_la() local 1176 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_mbx_cmpl_read_la() local 1333 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_mbx_cmpl_unreg_vpi() local 1383 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_mbx_cmpl_reg_vpi() local 1594 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_register_remote_port() local [all …]
|
D | lpfc_els.c | 82 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_els_chk_latt() local 412 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cmpl_els_flogi_fabric() local 535 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cmpl_els_flogi_nport() local 656 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cmpl_els_flogi() local 1181 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_end_rscn() local 1224 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cmpl_els_plogi() local 1421 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cmpl_els_prli() local 1499 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_issue_els_prli() local 1603 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_adisc_done() local 1695 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_cmpl_els_adisc() local [all …]
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 491 void sym_log_bus_error(struct Scsi_Host *shost) in sym_log_bus_error() 544 struct Scsi_Host *shost = dev_id; in sym53c8xx_intr() local 592 struct Scsi_Host *shost = cmd->device->host; in sym_eh_handler() local 991 static int sym_user_command(struct Scsi_Host *shost, char *buffer, int length) in sym_user_command() 1178 static int sym_host_info(struct Scsi_Host *shost, char *ptr, off_t offset, int len) in sym_host_info() 1213 static int sym53c8xx_proc_info(struct Scsi_Host *shost, char *buffer, in sym53c8xx_proc_info() 1274 struct Scsi_Host *shost; in sym_attach() local 1644 static int sym_detach(struct Scsi_Host *shost, struct pci_dev *pdev) in sym_detach() 1698 struct Scsi_Host *shost; in sym2_probe() local 1749 struct Scsi_Host *shost = pci_get_drvdata(pdev); in sym2_remove() local [all …]
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 871 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in __ibmvfc_get_target() local 892 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ibmvfc_get_target() local 909 static void ibmvfc_get_host_speed(struct Scsi_Host *shost) in ibmvfc_get_host_speed() 953 static void ibmvfc_get_host_port_state(struct Scsi_Host *shost) in ibmvfc_get_host_port_state() 1083 static int ibmvfc_issue_fc_host_lip(struct Scsi_Host *shost) in ibmvfc_issue_fc_host_lip() 2085 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ibmvfc_terminate_rport_io() local 2288 static int ibmvfc_scan_finished(struct Scsi_Host *shost, unsigned long time) in ibmvfc_scan_finished() 2319 struct Scsi_Host *shost = sdev->host; in ibmvfc_slave_alloc() local 2345 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ibmvfc_target_alloc() local 2367 struct Scsi_Host *shost = sdev->host; in ibmvfc_slave_configure() local [all …]
|
D | ibmvstgt.c | 194 struct Scsi_Host *shost = target->shost; in handle_cmd_queue() local 319 struct Scsi_Host *shost = target->shost; in send_adapter_info() local 368 struct Scsi_Host *shost = iue->target->shost; in process_login() local 742 static int ibmvstgt_tsk_mgmt_response(struct Scsi_Host *shost, in ibmvstgt_tsk_mgmt_response() 769 static int ibmvstgt_it_nexus_response(struct Scsi_Host *shost, u64 itn_id, in ibmvstgt_it_nexus_response() 798 struct Scsi_Host *shost = class_to_shost(dev); in unit_address_show() local 831 struct Scsi_Host *shost; in ibmvstgt_probe() local 896 struct Scsi_Host *shost = target->shost; in ibmvstgt_remove() local
|
/drivers/scsi/libsas/ |
D | sas_init.c | 173 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_enable() local 203 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_reset() local 238 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_set_phy_speed() local
|