/kernel/linux/linux-5.10/drivers/scsi/ |
D | hosts.c | 74 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state() argument 76 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() 147 shost->shost_state = state; in scsi_host_set_state() 152 shost_printk(KERN_ERR, shost, in scsi_host_set_state() 164 void scsi_remove_host(struct Scsi_Host *shost) in scsi_remove_host() argument 168 mutex_lock(&shost->scan_mutex); in scsi_remove_host() 169 spin_lock_irqsave(shost->host_lock, flags); in scsi_remove_host() 170 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_remove_host() 171 if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)) { in scsi_remove_host() 172 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_remove_host() [all …]
|
D | scsi_scan.c | 121 struct Scsi_Host *shost; member 149 data->shost = NULL; in scsi_complete_async_scans() 220 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_alloc_sdev() local 222 sdev = kzalloc(sizeof(*sdev) + shost->transportt->device_size, in scsi_alloc_sdev() 230 sdev->host = shost; in scsi_alloc_sdev() 284 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev() 285 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev() 310 struct Scsi_Host *shost = dev_to_shost(dev->parent); in scsi_target_destroy() local 316 spin_lock_irqsave(shost->host_lock, flags); in scsi_target_destroy() 317 if (shost->hostt->target_destroy) in scsi_target_destroy() [all …]
|
D | scsi_error.c | 66 void scsi_eh_wakeup(struct Scsi_Host *shost, unsigned int busy) in scsi_eh_wakeup() argument 68 lockdep_assert_held(shost->host_lock); in scsi_eh_wakeup() 70 if (busy == shost->host_failed) { in scsi_eh_wakeup() 71 trace_scsi_eh_wakeup(shost); in scsi_eh_wakeup() 72 wake_up_process(shost->ehandler); in scsi_eh_wakeup() 73 SCSI_LOG_ERROR_RECOVERY(5, shost_printk(KERN_INFO, shost, in scsi_eh_wakeup() 84 void scsi_schedule_eh(struct Scsi_Host *shost) in scsi_schedule_eh() argument 88 spin_lock_irqsave(shost->host_lock, flags); in scsi_schedule_eh() 90 if (scsi_host_set_state(shost, SHOST_RECOVERY) == 0 || in scsi_schedule_eh() 91 scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY) == 0) { in scsi_schedule_eh() [all …]
|
D | scsi_transport_fc.c | 29 static int fc_vport_setup(struct Scsi_Host *shost, int channel, 379 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_setup() local 380 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_setup() 434 "fc_wq_%d", shost->host_no); in fc_host_setup() 442 "fc_dl_%d", shost->host_no); in fc_host_setup() 451 fc_bsg_hostadd(shost, fc_host); in fc_host_setup() 460 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_remove() local 461 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_remove() 528 fc_host_post_fc_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_fc_event() argument 566 event->host_no = shost->host_no; in fc_host_post_fc_event() [all …]
|
D | dmx3191d.c | 61 struct Scsi_Host *shost; in dmx3191d_probe_one() local 76 shost = scsi_host_alloc(&dmx3191d_driver_template, in dmx3191d_probe_one() 78 if (!shost) in dmx3191d_probe_one() 81 hostdata = shost_priv(shost); in dmx3191d_probe_one() 87 shost->irq = NO_IRQ; in dmx3191d_probe_one() 89 error = NCR5380_init(shost, 0); in dmx3191d_probe_one() 93 NCR5380_maybe_reset_bus(shost); in dmx3191d_probe_one() 95 pci_set_drvdata(pdev, shost); in dmx3191d_probe_one() 97 error = scsi_add_host(shost, &pdev->dev); in dmx3191d_probe_one() 101 scsi_scan_host(shost); in dmx3191d_probe_one() [all …]
|
D | scsi_proc.c | 52 struct Scsi_Host *shost = PDE_DATA(file_inode(file)); in proc_scsi_host_write() local 59 if (!shost->hostt->write_info) in proc_scsi_host_write() 67 ret = shost->hostt->write_info(shost, page, count); in proc_scsi_host_write() 76 struct Scsi_Host *shost = m->private; in proc_scsi_show() local 77 return shost->hostt->show_info(m, shost); in proc_scsi_show() 138 void scsi_proc_host_add(struct Scsi_Host *shost) in scsi_proc_host_add() argument 140 struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_add() 147 sprintf(name,"%d", shost->host_no); in scsi_proc_host_add() 149 sht->proc_dir, &proc_scsi_ops, shost); in scsi_proc_host_add() 152 "%s\n", __func__, shost->host_no, in scsi_proc_host_add() [all …]
|
D | qlogicfas.c | 106 priv->shost = hreg; in __qlogicfas_detect() 147 struct Scsi_Host *shost; in qlogicfas_detect() local 152 shost = __qlogicfas_detect(sht, iobase[num], irq[num]); in qlogicfas_detect() 153 if (shost == NULL) { in qlogicfas_detect() 157 priv = get_priv_by_host(shost); in qlogicfas_detect() 165 static int qlogicfas_release(struct Scsi_Host *shost) in qlogicfas_release() argument 167 struct qlogicfas408_priv *priv = get_priv_by_host(shost); in qlogicfas_release() 169 scsi_remove_host(shost); in qlogicfas_release() 170 if (shost->irq) { in qlogicfas_release() 172 free_irq(shost->irq, shost); in qlogicfas_release() [all …]
|
D | scsi_lib.c | 81 int scsi_init_sense_cache(struct Scsi_Host *shost) in scsi_init_sense_cache() argument 87 cache = scsi_select_sense_cache(shost->unchecked_isa_dma); in scsi_init_sense_cache() 91 if (shost->unchecked_isa_dma) { in scsi_init_sense_cache() 306 static void scsi_dec_host_busy(struct Scsi_Host *shost, struct scsi_cmnd *cmd) in scsi_dec_host_busy() argument 312 if (unlikely(scsi_host_in_recovery(shost))) { in scsi_dec_host_busy() 313 spin_lock_irqsave(shost->host_lock, flags); in scsi_dec_host_busy() 314 if (shost->host_failed || shost->host_eh_scheduled) in scsi_dec_host_busy() 315 scsi_eh_wakeup(shost, scsi_host_busy(shost)); in scsi_dec_host_busy() 316 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_dec_host_busy() 323 struct Scsi_Host *shost = sdev->host; in scsi_device_unbusy() local [all …]
|
D | scsi_transport_srp.c | 62 static inline struct srp_rport *shost_to_rport(struct Scsi_Host *shost) in shost_to_rport() argument 66 WARN_ON_ONCE(device_for_each_child(&shost->shost_gendev, &child, in shost_to_rport() 107 struct Scsi_Host *shost = dev_to_shost(dev); in srp_host_setup() local 108 struct srp_host_attrs *srp_host = to_srp_host_attrs(shost); in srp_host_setup() 161 struct Scsi_Host *shost = dev_to_shost(dev); in store_srp_rport_delete() local 162 struct srp_internal *i = to_srp_internal(shost->transportt); in store_srp_rport_delete() 382 struct Scsi_Host *shost = rport_to_shost(rport); in srp_reconnect_work() local 387 shost_printk(KERN_ERR, shost, in srp_reconnect_work() 404 struct Scsi_Host *shost = rport_to_shost(rport); in __rport_fail_io_fast() local 415 i = to_srp_internal(shost->transportt); in __rport_fail_io_fast() [all …]
|
D | scsi_transport_sas.c | 174 struct Scsi_Host *shost = dev_to_shost(job->dev); in sas_smp_dispatch() local 186 to_sas_internal(shost->transportt)->f->smp_handler(job, shost, rphy); in sas_smp_dispatch() 190 static int sas_bsg_initialize(struct Scsi_Host *shost, struct sas_rphy *rphy) in sas_bsg_initialize() argument 194 if (!to_sas_internal(shost->transportt)->f->smp_handler) { in sas_bsg_initialize() 195 printk("%s can't handle SMP requests\n", shost->hostt->name); in sas_bsg_initialize() 208 snprintf(name, sizeof(name), "sas_host%d", shost->host_no); in sas_bsg_initialize() 209 q = bsg_setup_queue(&shost->shost_gendev, name, in sas_bsg_initialize() 213 to_sas_host_attrs(shost)->q = q; in sas_bsg_initialize() 226 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_setup() local 227 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); in sas_host_setup() [all …]
|
/kernel/linux/linux-5.10/include/scsi/ |
D | scsi_host.h | 65 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 66 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 271 int (* map_queues)(struct Scsi_Host *shost); 326 int (*host_reset)(struct Scsi_Host *shost, int reset_type); 498 int func_name(struct Scsi_Host *shost, struct scsi_cmnd *cmd) \ 502 spin_lock_irqsave(shost->host_lock, irq_flags); \ 504 spin_unlock_irqrestore(shost->host_lock, irq_flags); \ 707 #define shost_printk(prefix, shost, fmt, a...) \ argument 708 dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a) 710 static inline void *shost_priv(struct Scsi_Host *shost) in shost_priv() argument [all …]
|
D | scsi_transport_iscsi.h | 100 int (*get_host_param) (struct Scsi_Host *shost, 102 int (*set_host_param) (struct Scsi_Host *shost, 122 struct iscsi_endpoint *(*ep_connect) (struct Scsi_Host *shost, 127 int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type, 129 int (*set_path) (struct Scsi_Host *shost, struct iscsi_path *params); 130 int (*set_iface_param) (struct Scsi_Host *shost, void *data, 137 int (*send_ping) (struct Scsi_Host *shost, uint32_t iface_num, 140 int (*get_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx, 142 int (*delete_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx); 143 int (*set_chap) (struct Scsi_Host *shost, void *data, int len); [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | snic_main.c | 174 SNIC_HOST_ERR(snic->shost, in snic_notify_set() 293 SNIC_HOST_INFO(snic->shost, "VNIC_DEV_OPEN Timedout.\n"); in snic_vdev_open_done() 303 snic_add_host(struct Scsi_Host *shost, struct pci_dev *pdev) in snic_add_host() argument 307 ret = scsi_add_host(shost, &pdev->dev); in snic_add_host() 309 SNIC_HOST_ERR(shost, in snic_add_host() 316 SNIC_BUG_ON(shost->work_q != NULL); in snic_add_host() 317 snprintf(shost->work_q_name, sizeof(shost->work_q_name), "scsi_wq_%d", in snic_add_host() 318 shost->host_no); in snic_add_host() 319 shost->work_q = create_singlethread_workqueue(shost->work_q_name); in snic_add_host() 320 if (!shost->work_q) { in snic_add_host() [all …]
|
D | snic_disc.c | 95 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req() 97 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req() 106 SNIC_HOST_ERR(snic->shost, "Resp Buf Alloc Failed.\n"); in snic_queue_report_tgt_req() 116 SNIC_HOST_ERR(snic->shost, in snic_queue_report_tgt_req() 146 SNIC_HOST_ERR(snic->shost, "Queuing Report Tgts Failed.\n"); in snic_queue_report_tgt_req() 151 SNIC_DISC_DBG(snic->shost, "Report Targets Issued.\n"); in snic_queue_report_tgt_req() 156 SNIC_HOST_ERR(snic->shost, in snic_queue_report_tgt_req() 167 struct Scsi_Host *shost = dev_to_shost(&tgt->dev); in snic_scsi_scan_tgt() local 170 SNIC_HOST_INFO(shost, "Scanning Target id 0x%x\n", tgt->id); in snic_scsi_scan_tgt() 177 spin_lock_irqsave(shost->host_lock, flags); in snic_scsi_scan_tgt() [all …]
|
D | snic_scsi.c | 142 SNIC_SCSI_DBG(snic->shost, in snic_release_req_buf() 193 SNIC_HOST_ERR(snic->shost, in snic_queue_icmnd_req() 227 SNIC_HOST_ERR(snic->shost, in snic_queue_icmnd_req() 256 SNIC_TRC((u16)snic->shost->host_no, tag, (ulong) sc, 0, in snic_issue_scsi_req() 259 SNIC_HOST_ERR(snic->shost, "issue_sc:Failed to map SG List.\n"); in snic_issue_scsi_req() 286 SNIC_HOST_ERR(snic->shost, in snic_issue_scsi_req() 300 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, 0, 0, 0, in snic_issue_scsi_req() 313 SNIC_SCSI_DBG(snic->shost, in snic_issue_scsi_req() 317 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, (ulong) rqi, in snic_issue_scsi_req() 333 snic_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *sc) in snic_queuecommand() argument [all …]
|
D | snic_ctl.c | 47 SNIC_HOST_INFO(snic->shost, "Link Event: Link %s.\n", in snic_handle_link() 113 SNIC_HOST_INFO(snic->shost, "Exch Ver Req Preparing...\n"); in snic_queue_exch_ver_req() 117 SNIC_HOST_ERR(snic->shost, in snic_queue_exch_ver_req() 139 SNIC_HOST_ERR(snic->shost, in snic_queue_exch_ver_req() 145 SNIC_HOST_INFO(snic->shost, "Exch Ver Req is issued. ret = %d\n", ret); in snic_queue_exch_ver_req() 164 SNIC_HOST_INFO(snic->shost, "Exch Ver Compl Received.\n"); in snic_io_exch_ver_cmpl_handler() 170 SNIC_HOST_ERR(snic->shost, in snic_io_exch_ver_cmpl_handler() 186 SNIC_HOST_INFO(snic->shost, in snic_io_exch_ver_cmpl_handler() 196 SNIC_HOST_INFO(snic->shost, in snic_io_exch_ver_cmpl_handler() 203 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
D | csio_attr.c | 62 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_reg_rnode() local 78 rn->rport = fc_remote_port_add(shost, 0, &ids); in csio_reg_rnode() 87 spin_lock_irq(shost->host_lock); in csio_reg_rnode() 89 spin_unlock_irq(shost->host_lock); in csio_reg_rnode() 184 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_fchost_attr_init() local 186 fc_host_node_name(shost) = wwn_to_u64(csio_ln_wwnn(ln)); in csio_fchost_attr_init() 187 fc_host_port_name(shost) = wwn_to_u64(csio_ln_wwpn(ln)); in csio_fchost_attr_init() 189 fc_host_supported_classes(shost) = FC_COS_CLASS3; in csio_fchost_attr_init() 190 fc_host_max_npiv_vports(shost) = in csio_fchost_attr_init() 192 fc_host_supported_speeds(shost) = FC_PORTSPEED_10GBIT | in csio_fchost_attr_init() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfad_attr.c | 24 struct Scsi_Host *shost; in bfad_im_get_starget_port_id() local 31 shost = dev_to_shost(starget->dev.parent); in bfad_im_get_starget_port_id() 32 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_id() 50 struct Scsi_Host *shost; in bfad_im_get_starget_node_name() local 57 shost = dev_to_shost(starget->dev.parent); in bfad_im_get_starget_node_name() 58 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_node_name() 76 struct Scsi_Host *shost; in bfad_im_get_starget_port_name() local 83 shost = dev_to_shost(starget->dev.parent); in bfad_im_get_starget_port_name() 84 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_name() 100 bfad_im_get_host_port_id(struct Scsi_Host *shost) in bfad_im_get_host_port_id() argument [all …]
|
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
D | zfcp_scsi.c | 67 int zfcp_scsi_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scpnt) in zfcp_scsi_queuecommand() argument 347 struct Scsi_Host *shost = rport_to_shost(rport); in zfcp_scsi_eh_target_reset_handler() local 350 (struct zfcp_adapter *)shost->hostdata[0]; in zfcp_scsi_eh_target_reset_handler() 353 shost_for_each_device(tmp_sdev, shost) { in zfcp_scsi_eh_target_reset_handler() 403 static int zfcp_scsi_sysfs_host_reset(struct Scsi_Host *shost, int reset_type) in zfcp_scsi_sysfs_host_reset() argument 406 (struct zfcp_adapter *)shost->hostdata[0]; in zfcp_scsi_sysfs_host_reset() 521 struct Scsi_Host *shost; in zfcp_scsi_adapter_unregister() local 524 shost = adapter->scsi_host; in zfcp_scsi_adapter_unregister() 525 if (!shost) in zfcp_scsi_adapter_unregister() 533 fc_remove_host(shost); in zfcp_scsi_adapter_unregister() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/ |
D | qlogic_stub.c | 95 struct Scsi_Host *shost; /* registered host structure */ in qlogic_detect() local 106 shost = scsi_host_alloc(host, sizeof(struct qlogicfas408_priv)); in qlogic_detect() 107 if (!shost) in qlogic_detect() 109 shost->io_port = qbase; in qlogic_detect() 110 shost->n_io_port = 16; in qlogic_detect() 111 shost->dma_channel = -1; in qlogic_detect() 113 shost->irq = qlirq; in qlogic_detect() 115 priv = get_priv_by_host(shost); in qlogic_detect() 119 priv->shost = shost; in qlogic_detect() 122 if (request_irq(qlirq, qlogicfas408_ihandl, 0, qlogic_name, shost)) in qlogic_detect() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
D | mv_init.c | 99 sas_phy->ha = (struct sas_ha_struct *)mvi->shost->hostdata; in mvs_phy_init() 142 if (mvi->shost) in mvs_free() 143 scsi_host_put(mvi->shost); in mvs_free() 218 static int mvs_alloc(struct mvs_info *mvi, struct Scsi_Host *shost) in mvs_alloc() argument 349 struct Scsi_Host *shost, unsigned int id) in mvs_pci_alloc() argument 352 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() 371 mvi->shost = shost; in mvs_pci_alloc() 379 if (!mvs_alloc(mvi, shost)) in mvs_pci_alloc() 403 static int mvs_prep_sas_ha_init(struct Scsi_Host *shost, in mvs_prep_sas_ha_init() argument 409 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_prep_sas_ha_init() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 146 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_enable_fip_show() local 147 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_enable_fip_show() 160 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_nvme_info_show() local 161 struct lpfc_vport *vport = shost_priv(shost); in lpfc_nvme_info_show() 371 spin_lock_irq(shost->host_lock); in lpfc_nvme_info_show() 445 spin_unlock_irq(shost->host_lock); in lpfc_nvme_info_show() 509 spin_unlock_irq(shost->host_lock); in lpfc_nvme_info_show() 533 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_scsi_stat_show() local 534 struct lpfc_vport *vport = shost_priv(shost); in lpfc_scsi_stat_show() 584 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_info_show() local [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 474 void sym_log_bus_error(struct Scsi_Host *shost) in sym_log_bus_error() argument 476 struct sym_data *sym_data = shost_priv(shost); in sym_log_bus_error() 482 shost_printk(KERN_WARNING, shost, in sym_log_bus_error() 529 struct Scsi_Host *shost = dev_id; in DEF_SCSI_QCMD() local 530 struct sym_data *sym_data = shost_priv(shost); in DEF_SCSI_QCMD() 539 spin_lock(shost->host_lock); in DEF_SCSI_QCMD() 540 result = sym_interrupt(shost); in DEF_SCSI_QCMD() 541 spin_unlock(shost->host_lock); in DEF_SCSI_QCMD() 577 struct Scsi_Host *shost = cmd->device->host; in sym_eh_handler() local 578 struct sym_data *sym_data = shost_priv(shost); in sym_eh_handler() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_ctl.c | 58 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_mpi_interface_rev_show() local 59 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_mpi_interface_rev_show() 84 struct Scsi_Host *shost = class_to_shost(cdev); in controller_fatal_error_show() local 85 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in controller_fatal_error_show() 104 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_fw_version_show() local 105 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_fw_version_show() 135 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_ila_version_show() local 136 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_ila_version_show() 161 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_inactive_fw_version_show() local 162 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_inactive_fw_version_show() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 577 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in iscsi_iser_session_destroy() local 580 iscsi_host_remove(shost); in iscsi_iser_session_destroy() 581 iscsi_host_free(shost); in iscsi_iser_session_destroy() 612 struct Scsi_Host *shost; in iscsi_iser_session_create() local 618 shost = iscsi_host_alloc(&iscsi_iser_sht, 0, 0); in iscsi_iser_session_create() 619 if (!shost) in iscsi_iser_session_create() 621 shost->transportt = iscsi_iser_scsi_transport; in iscsi_iser_session_create() 622 shost->cmd_per_lun = qdepth; in iscsi_iser_session_create() 623 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create() 624 shost->max_id = 0; in iscsi_iser_session_create() [all …]
|