/linux-4.4.14/drivers/scsi/ |
D | scsi.c | 297 if (shost->hostt->cmd_size) in scsi_find_host_cmd_pool() 298 return shost->hostt->cmd_pool; in scsi_find_host_cmd_pool() 315 struct scsi_host_template *hostt = shost->hostt; in scsi_alloc_host_cmd_pool() local 322 pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->proc_name); in scsi_alloc_host_cmd_pool() 323 pool->sense_name = kasprintf(GFP_KERNEL, "%s_sense", hostt->proc_name); in scsi_alloc_host_cmd_pool() 335 if (hostt->cmd_size) in scsi_alloc_host_cmd_pool() 336 hostt->cmd_pool = pool; in scsi_alloc_host_cmd_pool() 344 struct scsi_host_template *hostt = shost->hostt; in scsi_get_host_cmd_pool() local 346 size_t cmd_size = sizeof(struct scsi_cmnd) + hostt->cmd_size; in scsi_get_host_cmd_pool() 382 if (hostt->cmd_size) { in scsi_get_host_cmd_pool() [all …]
|
D | scsi_error.c | 134 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler() 284 else if (host->hostt->eh_timed_out) in scsi_times_out() 285 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out() 288 if (!host->hostt->no_async_abort && in scsi_times_out() 608 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() 640 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() 754 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local 759 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset() 762 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset() 765 if (!hostt->skip_settle_delay) in scsi_try_host_reset() [all …]
|
D | scsi_ioctl.c | 50 if (host->hostt->info) in ioctl_probe() 51 string = host->hostt->info(host); in ioctl_probe() 53 string = host->hostt->name; in ioctl_probe() 266 if (sdev->host->hostt->ioctl) in scsi_ioctl() 267 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
|
D | scsi_proc.c | 58 if (!shost->hostt->write_info) in proc_scsi_host_write() 66 ret = shost->hostt->write_info(shost, page, count); in proc_scsi_host_write() 76 return shost->hostt->show_info(m, shost); in proc_scsi_show() 139 struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_add() 163 if (!shost->hostt->proc_dir) in scsi_proc_host_rm() 167 remove_proc_entry(name, shost->hostt->proc_dir); in scsi_proc_host_rm()
|
D | hosts.c | 204 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() 222 shost->hostt->tag_alloc_policy); in scsi_add_host_with_dma() 321 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release() 431 shost->hostt = sht; in scsi_host_alloc() 479 shost->use_blk_mq = scsi_use_blk_mq && !shost->hostt->disable_blk_mq; in scsi_host_alloc() 509 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc() 632 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work() 651 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
|
D | scsi_sysfs.c | 225 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode() 265 struct scsi_host_template *sht = shost->hostt; in store_host_reset() 305 !shost->hostt->eh_host_reset_handler)) in store_shost_eh_deadline() 345 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n"); 880 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() 941 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 945 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 1088 if (sdev->host->hostt->sdev_attrs) { in scsi_sysfs_add_sdev() 1089 for (i = 0; sdev->host->hostt->sdev_attrs[i]; i++) { in scsi_sysfs_add_sdev() 1091 sdev->host->hostt->sdev_attrs[i]); in scsi_sysfs_add_sdev() [all …]
|
D | scsi_scan.c | 281 shost->hostt->tag_alloc_policy); in scsi_alloc_sdev() 288 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev() 289 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev() 321 if (shost->hostt->target_destroy) in scsi_target_destroy() 322 shost->hostt->target_destroy(starget); in scsi_target_destroy() 455 if (shost->hostt->target_alloc) { in scsi_alloc_target() 456 error = shost->hostt->target_alloc(starget); in scsi_alloc_target() 974 if (sdev->host->hostt->slave_configure) { in scsi_add_lun() 975 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun() 1803 if (shost->hostt->scan_finished) { in do_scsi_scan_host() [all …]
|
D | am53c974.c | 403 struct scsi_host_template *hostt = &scsi_esp_template; in pci_esp_probe_one() local 420 shost = scsi_host_alloc(hostt, sizeof(struct esp)); in pci_esp_probe_one()
|
D | virtio_scsi.c | 956 struct scsi_host_template *hostt; in virtscsi_probe() local 970 hostt = &virtscsi_host_template_single; in virtscsi_probe() 972 hostt = &virtscsi_host_template_multi; in virtscsi_probe() 974 shost = scsi_host_alloc(hostt, in virtscsi_probe()
|
D | raid_class.c | 70 if (i->f->cookie != sdev->host->hostt) in raid_match()
|
D | sd.c | 1287 if (host->hostt->bios_param) in sd_getgeo() 1288 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo() 1548 if (!sdev->host->hostt->compat_ioctl) in sd_compat_ioctl() 1550 return sdev->host->hostt->compat_ioctl(sdev, cmd, (void __user *)arg); in sd_compat_ioctl() 2915 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity() 2916 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
|
D | scsi_lib.c | 1721 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd() 1930 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_mq_prep_fn() 2194 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; in scsi_mq_setup_tags() 2206 BLK_ALLOC_POLICY_TO_MQ_FLAG(shost->hostt->tag_alloc_policy); in scsi_mq_setup_tags()
|
D | scsi_transport_fc.c | 2351 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work() 2370 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work() 2394 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work() 2413 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss() 3816 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch() 3818 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
|
D | sg.c | 1065 return put_user(sdp->device->host->hostt->emulated, ip); in sg_ioctl() 1132 if (sdev->host->hostt->compat_ioctl) { in sg_compat_ioctl() 1135 ret = sdev->host->hostt->compat_ioctl(sdev, cmd_in, (void __user *)arg); in sg_compat_ioctl() 2691 scsidp->host->hostt->emulated); in sg_proc_seq_show_debug()
|
D | ips.c | 6730 sh->sg_tablesize = sh->hostt->sg_tablesize; in ips_register_scsi() 6731 sh->can_queue = sh->hostt->can_queue; in ips_register_scsi() 6732 sh->cmd_per_lun = sh->hostt->cmd_per_lun; in ips_register_scsi() 6733 sh->use_clustering = sh->hostt->use_clustering; in ips_register_scsi()
|
D | scsi_transport_iscsi.c | 1497 if ((shost->hostt->vendor_id == 0L) || in iscsi_bsg_host_dispatch() 1499 shost->hostt->vendor_id)) { in iscsi_bsg_host_dispatch() 1948 if (shost->hostt->scan_finished) { in __iscsi_unblock_session()
|
D | NCR5380.c | 640 instance->hostt->name, instance->io_port, instance->n_io_port, in prepare_info()
|
D | u14-34f.c | 967 sh[j]->hostt->use_clustering = DISABLE_CLUSTERING; in port_detect()
|
D | scsi_transport_sas.c | 221 printk("%s can't handle SMP requests\n", shost->hostt->name); in sas_bsg_initialize()
|
D | atari_NCR5380.c | 635 instance->hostt->name, instance->io_port, instance->n_io_port, in prepare_info()
|
D | st.c | 3760 if (sdev->host->hostt->compat_ioctl) { in st_compat_ioctl() 3762 ret = sdev->host->hostt->compat_ioctl(sdev, cmd, (void __user *)arg); in st_compat_ioctl()
|
D | osst.c | 5284 if (sdev->host->hostt->compat_ioctl) { in osst_compat_ioctl() 5286 ret = sdev->host->hostt->compat_ioctl(sdev, cmd_in, (void __user *)arg); in osst_compat_ioctl()
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi_eh.txt | 45 invoking hostt->queuecommand() or the block layer will time it out. 82 1. invokes optional hostt->eh_timed_out() callback. Return value can 153 has timed out, unless hostt->eh_timed_out() made lower layers forget 207 hostt EH callbacks. Callbacks may be omitted and omitted ones are 333 hostt->eh_abort_handler() is invoked for each scmd. The 373 *NOTE* If hostt->eh_abort_handler() isn't implemented or 386 instead of issuing STU, hostt->eh_device_reset_handler() 395 hostt->eh_bus_reset_handler() is invoked for each channel 404 This is the last resort. hostt->eh_host_reset_handler()
|
D | scsi_mid_low_api.txt | 1225 hostt - pointer to driver's struct scsi_host_template from which 1227 hostt->proc_name - name of LLD. This is the driver name that sysfs uses
|
/linux-4.4.14/drivers/target/ |
D | target_core_pscsi.c | 98 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba() 123 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba() 124 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba() 144 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_npiv.c | 39 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
|
/linux-4.4.14/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 559 if (!shost->hostt->eh_device_reset_handler) in try_to_reset_cmd_device() 562 res = shost->hostt->eh_device_reset_handler(cmd); in try_to_reset_cmd_device() 567 if (shost->hostt->eh_bus_reset_handler) in try_to_reset_cmd_device() 568 return shost->hostt->eh_bus_reset_handler(cmd); in try_to_reset_cmd_device()
|
D | sas_host_smp.c | 287 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
|
/linux-4.4.14/drivers/scsi/arm/ |
D | arxescsi.c | 217 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
|
D | powertec.c | 191 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
|
D | cumana_2.c | 303 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
|
D | eesox.c | 388 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
|
D | acornscsi.c | 2788 , host->hostt->name, host->io_port, host->irq, in acornscsi_info()
|
/linux-4.4.14/include/scsi/ |
D | scsi_host.h | 564 struct scsi_host_template *hostt; member
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_main.c | 690 esas2r_proc_host->hostt->proc_dir); in esas2r_exit() 795 sh->hostt->proc_dir, in esas2r_info()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_target.c | 5770 if (!(base_vha->host->hostt->supported_mode & MODE_TARGET)) in qlt_add_target() 5771 base_vha->host->hostt->supported_mode |= MODE_TARGET; in qlt_add_target() 5885 if (!(host->hostt->supported_mode & MODE_TARGET)) in qlt_lport_register()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 5263 host->hostt->eh_device_reset_handler = NULL; in megasas_io_attach() 5264 host->hostt->eh_bus_reset_handler = NULL; in megasas_io_attach()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 920 for (attr = shost->hostt->shost_attrs; attr && *attr; ++attr) in srp_del_scsi_host_attr()
|