/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 318 fmr_param.pool_size = target->scsi_host->can_queue; in srp_alloc_fmr_pool() 444 target->scsi_host->can_queue, in srp_alloc_fr_pool() 544 shost_printk(KERN_WARNING, target->scsi_host, PFX in srp_create_ch_ib() 552 shost_printk(KERN_WARNING, target->scsi_host, PFX in srp_create_ch_ib() 663 shost_printk(KERN_ERR, target->scsi_host, in srp_path_rec_completion() 683 if (!scsi_host_get(target->scsi_host)) in srp_lookup_path() 709 shost_printk(KERN_WARNING, target->scsi_host, in srp_lookup_path() 713 scsi_host_put(target->scsi_host); in srp_lookup_path() 793 shost_printk(KERN_DEBUG, target->scsi_host, in srp_send_req() 837 shost_printk(KERN_DEBUG, target->scsi_host, in srp_disconnect_target() [all …]
|
D | ib_srp.h | 205 struct Scsi_Host *scsi_host; member
|
/drivers/s390/scsi/ |
D | zfcp_scsi.c | 163 struct Scsi_Host *scsi_host = scpnt->device->host; in zfcp_scsi_eh_abort_handler() local 165 (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_scsi_eh_abort_handler() 390 if (adapter->scsi_host) in zfcp_scsi_adapter_register() 395 adapter->scsi_host = scsi_host_alloc(&zfcp_scsi_host_template, in zfcp_scsi_adapter_register() 397 if (!adapter->scsi_host) { in zfcp_scsi_adapter_register() 405 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register() 406 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register() 407 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register() 408 adapter->scsi_host->unique_id = dev_id.devno; in zfcp_scsi_adapter_register() 409 adapter->scsi_host->max_cmd_len = 16; /* in struct fcp_cmnd */ in zfcp_scsi_adapter_register() [all …]
|
D | zfcp_erp.c | 124 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port() 125 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_action_dismiss_port() 128 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port() 689 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all() 690 __shost_for_each_device(sdev, port->adapter->scsi_host) in _zfcp_erp_lun_reopen_all() 693 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all() 792 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP) in zfcp_erp_adapter_strat_fsf_xconf() 984 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP) in zfcp_erp_port_strategy_open_common() 1307 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_erp_try_rport_unblock() 1592 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status() [all …]
|
D | zfcp_fc.c | 111 fc_host_post_event(adapter->scsi_host, fc_get_event_number(), in zfcp_fc_post_event() 535 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_adisc() 719 if (acc->fp_wwpn == fc_host_port_name(adapter->scsi_host)) in zfcp_fc_eval_gpn_ft() 764 if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT && in zfcp_fc_scan_ports() 765 fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV) in zfcp_fc_scan_ports() 803 hton24(gspn_req->gspn.fp_fid, fc_host_port_id(adapter->scsi_host)); in zfcp_fc_gspn() 822 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_NPIV && in zfcp_fc_gspn() 824 snprintf(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn() 830 strlcpy(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn() 840 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_rspn() [all …]
|
D | zfcp_sysfs.c | 263 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_sysfs_port_in_use() 264 __shost_for_each_device(sdev, adapter->scsi_host) { in zfcp_sysfs_port_in_use() 281 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_sysfs_port_in_use() 568 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_util_show() local 573 adapter = (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_sysfs_adapter_util_show() 593 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_ex_config() local 598 adapter = (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_sysfs_adapter_ex_config() 647 struct Scsi_Host *scsi_host = class_to_shost(dev); in zfcp_sysfs_adapter_q_full_show() local 649 ((struct zfcp_adapter *) scsi_host->hostdata[0])->qdio; in zfcp_sysfs_adapter_q_full_show()
|
D | zfcp_unit.c | 58 if (scsi_queue_work(port->adapter->scsi_host, in zfcp_unit_queue_scsi_scan() 201 shost = port->adapter->scsi_host; in zfcp_unit_sdev()
|
D | zfcp_qdio.c | 432 if (adapter->scsi_host) { in zfcp_qdio_open() 433 adapter->scsi_host->sg_tablesize = qdio->max_sbale_per_req; in zfcp_qdio_open() 434 adapter->scsi_host->max_sectors = qdio->max_sbale_per_req * 8; in zfcp_qdio_open()
|
D | zfcp_def.h | 157 struct Scsi_Host *scsi_host; /* Pointer to mid-layer */ member
|
D | zfcp_fsf.c | 477 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_evaluate() 545 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_data_handler() 622 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_port_evaluate() 1709 shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_fsf_close_physical_port_handler() 1732 shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_fsf_close_physical_port_handler()
|
/drivers/scsi/ |
D | dc395x.c | 297 struct Scsi_Host *scsi_host; member 945 DC395x_LOCK_IO(acb->scsi_host, flags); in waiting_timeout() 947 DC395x_UNLOCK_IO(acb->scsi_host, flags); in waiting_timeout() 1096 if (cmd->device->id >= acb->scsi_host->max_id || in dc395x_queue_command_lck() 1097 cmd->device->lun >= acb->scsi_host->max_lun || in dc395x_queue_command_lck() 1484 DC395x_LOCK_IO(acb->scsi_host, flags); 1487 DC395x_UNLOCK_IO(acb->scsi_host, flags); 1545 DC395x_write8(acb, TRM_S1040_SCSI_HOSTID, acb->scsi_host->this_id); in start_scsi() 1710 DC395x_LOCK_IO(acb->scsi_host, flags); in dc395x_handle_interrupt() 1799 DC395x_UNLOCK_IO(acb->scsi_host, flags); in dc395x_handle_interrupt() [all …]
|
D | hpsa.c | 474 hpsa_scan_start(h->scsi_host); in host_store_rescan() 791 h->scsi_host->host_no, in path_info_show() 1162 if (h == NULL || h->pdev == NULL || h->scsi_host == NULL) in hpsa_show_dev_msg() 1199 h->scsi_host->host_no, dev->bus, dev->target, dev->lun, in hpsa_show_dev_msg() 1534 h->scsi_host->host_no, in hpsa_show_volume_status() 1542 h->scsi_host->host_no, in hpsa_show_volume_status() 1548 h->scsi_host->host_no, in hpsa_show_volume_status() 1554 h->scsi_host->host_no, in hpsa_show_volume_status() 1560 h->scsi_host->host_no, in hpsa_show_volume_status() 1566 h->scsi_host->host_no, in hpsa_show_volume_status() [all …]
|
D | BusLogic.c | 273 adapter->scsi_host->can_queue = adapter->drvr_qdepth; in blogic_create_addlccbs() 2466 myadapter->scsi_host = host; in blogic_init() 2565 struct Scsi_Host *host = adapter->scsi_host; in blogic_deladapter() 2890 spin_lock_irqsave(adapter->scsi_host->host_lock, processor_flag); in blogic_inthandler() 2958 spin_unlock_irqrestore(adapter->scsi_host->host_lock, processor_flag); in blogic_inthandler() 3061 spin_unlock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck() 3063 spin_lock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck() 3209 spin_unlock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck() 3212 spin_lock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck() 3359 spin_unlock_irq(adapter->scsi_host->host_lock); [all …]
|
D | hpsa.h | 207 struct Scsi_Host *scsi_host; member
|
D | BusLogic.h | 993 struct Scsi_Host *scsi_host; member
|
/drivers/target/ |
D | target_core_pscsi.c | 91 struct Scsi_Host *scsi_host = phv->phv_lld_host; in pscsi_detach_hba() local 93 if (scsi_host) { in pscsi_detach_hba() 94 scsi_host_put(scsi_host); in pscsi_detach_hba() 98 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba()
|
/drivers/block/ |
D | cciss_scsi.c | 119 struct Scsi_Host *scsi_host; member 549 sh = h->scsi_ctlr->scsi_host; in adjust_cciss_scsi_table() 710 shba->scsi_host = NULL; in cciss_scsi_setup() 862 h->scsi_ctlr)->scsi_host = sh; in cciss_scsi_detect() 1524 scsi_remove_host(sa->scsi_host); in DEF_SCSI_QCMD() 1525 scsi_host_put(sa->scsi_host); in DEF_SCSI_QCMD() 1531 sa->scsi_host = NULL; in DEF_SCSI_QCMD()
|
D | skd_main.c | 4936 vmklnx_scsi_register_poll_handler(skdev->scsi_host, in skd_pci_probe() 4940 vmklnx_scsi_register_poll_handler(skdev->scsi_host, in skd_pci_probe()
|
/drivers/message/fusion/ |
D | Kconfig | 118 echo [level] > /sys/class/scsi_host/host#/debug_level
|
/drivers/ata/ |
D | libata-scsi.c | 3706 ap->scsi_host = shost; in ata_scsi_add_hosts() 3732 struct Scsi_Host *shost = host->ports[i]->scsi_host; in ata_scsi_add_hosts() 3761 sdev = __scsi_add_device(ap->scsi_host, channel, id, 0, in ata_scsi_scan_host() 3859 mutex_lock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev() 3885 mutex_unlock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()
|
D | libata-eh.c | 871 if (scsi_host_in_recovery(ap->scsi_host)) { in ata_port_wait_eh() 1013 scsi_schedule_eh(ap->scsi_host); in ata_std_sched_eh() 1033 struct Scsi_Host *host = ap->scsi_host; in ata_std_end_eh()
|
D | libata-core.c | 2123 hdepth = min(ap->scsi_host->can_queue, ATA_MAX_QUEUE - 1); in ata_dev_config_ncq() 5768 if (ap->scsi_host) in ata_host_release() 5769 scsi_host_put(ap->scsi_host); in ata_host_release() 6379 scsi_remove_host(ap->scsi_host); in ata_port_detach()
|
/drivers/scsi/libsas/ |
D | sas_ata.c | 578 ap->scsi_host = shost; in sas_ata_init()
|
/drivers/scsi/esas2r/ |
D | atioctl.h | 663 void *scsi_host; member
|
D | esas2r_ioctl.c | 1501 ioctl->data.modinfo.scsi_host = a->host; in esas2r_ioctl_handler()
|