| /linux/drivers/scsi/ |
| H A D | scsi_error.c | 130 if (host->hostt->eh_should_retry_cmd) in scsi_eh_should_retry_cmd() 131 return host->hostt->eh_should_retry_cmd(cmd); in scsi_eh_should_retry_cmd() 166 rtn = scsi_try_to_abort_cmd(shost->hostt, scmd); in scmd_eh_abort_handler() 234 if (!shost->hostt->eh_abort_handler) { in scsi_abort_command() 347 if (host->hostt->eh_timed_out) { in scsi_timeout() 348 switch (host->hostt->eh_timed_out(scmd)) { in scsi_timeout() 749 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() 784 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() 901 const struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local 906 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset() [all …]
|
| H A D | hosts.c | 184 scsi_proc_hostdir_rm(shost->hostt); in scsi_remove_host() 222 const struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() 375 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release() 450 shost->hostt = sht; in scsi_host_alloc() 547 if (scsi_proc_hostdir_add(shost->hostt) < 0) in scsi_host_alloc() 678 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work() 697 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
|
| H A D | scsi_scan.c | 371 if (shost->hostt->sdev_init) { in scsi_alloc_sdev() 372 ret = shost->hostt->sdev_init(sdev); in scsi_alloc_sdev() 404 if (shost->hostt->target_destroy) in scsi_target_destroy() 405 shost->hostt->target_destroy(starget); in scsi_target_destroy() 540 if (shost->hostt->target_alloc) { in scsi_alloc_target() 541 error = shost->hostt->target_alloc(starget); in scsi_alloc_target() 881 const struct scsi_host_template *hostt = sdev->host->hostt; in scsi_add_lun() local 1088 if (hostt->sdev_configure) in scsi_add_lun() 1089 ret = hostt->sdev_configure(sdev, &lim); in scsi_add_lun() 1114 if (hostt->sdev_configure) in scsi_add_lun() [all …]
|
| H A D | scsi_proc.c | 74 if (!shost->hostt->write_info) in proc_scsi_host_write() 82 ret = shost->hostt->write_info(shost, page, count); in proc_scsi_host_write() 92 return shost->hostt->show_info(m, shost); in proc_scsi_show() 220 const struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_add() 251 const struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_rm()
|
| H A D | scsi_lib.c | 1106 sdev->host->hostt->dma_need_drain(rq); in scsi_cmd_needs_dma_drain() 1638 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd() 1693 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_prepare_cmd() 1864 if (shost->hostt->cmd_size && !shost->hostt->init_cmd_priv) in scsi_queue_rq() 1865 memset(scsi_cmd_priv(cmd), 0, shost->hostt->cmd_size); in scsi_queue_rq() 1888 reason = shost->hostt->queue_reserved_command(shost, cmd); in scsi_queue_rq() 1957 shost->hostt->cmd_size; in scsi_mq_init_request() 1961 if (shost->hostt->init_cmd_priv) { in scsi_mq_init_request() 1962 ret = shost->hostt->init_cmd_priv(shost, cmd); in scsi_mq_init_request() 1976 if (shost->hostt->exit_cmd_priv) in scsi_mq_exit_request() [all …]
|
| H A D | scsi_sysfs.c | 259 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode() 299 const struct scsi_host_template *sht = shost->hostt; in store_host_reset() 341 !shost->hostt->eh_host_reset_handler)) in store_shost_eh_deadline() 379 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n"); 977 const struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() 1208 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 1212 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 1461 if (!scsi_device_is_pseudo_dev(sdev) && sdev->host->hostt->sdev_destroy) in __scsi_remove_device() 1462 sdev->host->hostt->sdev_destroy(sdev); in __scsi_remove_device() 1595 const struct scsi_host_template *hostt = shost->hostt; in scsi_sysfs_device_initialize() local [all …]
|
| H A D | scsi.c | 793 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get() 800 module_put(sdev->host->hostt->module); in scsi_device_get() 816 struct module *mod = sdev->host->hostt->module; in scsi_device_put()
|
| H A D | am53c974.c | 374 const struct scsi_host_template *hostt = &scsi_esp_template; in pci_esp_probe_one() local 391 shost = scsi_host_alloc(hostt, sizeof(struct esp)); in pci_esp_probe_one()
|
| H A D | raid_class.c | 68 if (i->f->cookie != sdev->host->hostt) in raid_match()
|
| H A D | scsi_transport_fc.c | 2781 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work() 2800 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work() 2825 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work() 2845 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss() 4138 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch() 4140 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
|
| H A D | sd.c | 1646 if (host->hostt->bios_param) in sd_getgeo() 1647 host->hostt->bios_param(sdp, disk, capacity, diskinfo); in sd_getgeo() 3884 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity() 3885 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
|
| H A D | sg.c | 1099 return put_user(sdp->device->host->hostt->emulated, ip); in sg_ioctl_common() 2622 scsidp->host->hostt->emulated); in sg_proc_seq_show_debug()
|
| /linux/Documentation/translations/zh_CN/scsi/ |
| H A D | scsi_eh.rst | 59 完成路径:底层驱动可通过调用hostt->queuecommand()时从 102 1. 首先调用可选的hostt->eh_timed_out()回调函数。 170 hostt->eh_timed_out()回调函数已经明确通知底层驱动丢弃该 375 *注意* 如果hostt->eh_abort_handler()未实现或返回失败,可能 386 hostt->eh_device_reset_handler()替代STU命令。此外,由于我们 395 hostt->eh_bus_reset_handler()。如果总线重置成功,那么该通道上 402 调用hostt->eh_host_reset_handler()是最终的手段。如果SCSI主机
|
| H A D | scsi_mid_low_api.rst | 1012 hostt 1015 hostt->proc_name
|
| /linux/Documentation/scsi/ |
| H A D | scsi_eh.rst | 50 invoking hostt->queuecommand() or the block layer will time it out. 92 1. invokes optional hostt->eh_timed_out() callback. Return value can 155 has timed out, unless hostt->eh_timed_out() made lower layers forget 212 hostt EH callbacks. Callbacks may be omitted and omitted ones are 371 *NOTE* If hostt->eh_abort_handler() isn't implemented or 384 instead of issuing STU, hostt->eh_device_reset_handler() 393 hostt->eh_bus_reset_handler() is invoked for each channel 402 This is the last resort. hostt->eh_host_reset_handler()
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_npiv.c | 27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
|
| /linux/drivers/scsi/arm/ |
| H A D | arxescsi.c | 222 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
|
| H A D | powertec.c | 193 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
|
| H A D | cumana_2.c | 305 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
|
| H A D | eesox.c | 390 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_host_smp.c | 270 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 579 const struct scsi_host_template *hostt; member
|
| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_main.c | 642 proc_dir = scsi_template_proc_dir(esas2r_proc_host->hostt); in esas2r_exit() 737 proc_dir = scsi_template_proc_dir(sh->hostt); in esas2r_info()
|
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_iscsi.c | 1283 if (strcmp(shost->hostt->proc_name, "qedi")) { in qedi_set_path() 1286 shost->hostt->proc_name); in qedi_set_path()
|
| /linux/Documentation/driver-api/ |
| H A D | libata.rst | 422 ``hostt->queuecommand`` callback. scmds can either be simulated or 432 Note that SCSI midlayer invokes hostt->queuecommand while holding
|