/linux-4.1.27/drivers/scsi/ |
D | scsi.c | 343 if (shost->hostt->cmd_size) in scsi_find_host_cmd_pool() 344 return shost->hostt->cmd_pool; in scsi_find_host_cmd_pool() 361 struct scsi_host_template *hostt = shost->hostt; in scsi_alloc_host_cmd_pool() local 368 pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->proc_name); in scsi_alloc_host_cmd_pool() 369 pool->sense_name = kasprintf(GFP_KERNEL, "%s_sense", hostt->proc_name); in scsi_alloc_host_cmd_pool() 381 if (hostt->cmd_size) in scsi_alloc_host_cmd_pool() 382 hostt->cmd_pool = pool; in scsi_alloc_host_cmd_pool() 390 struct scsi_host_template *hostt = shost->hostt; in scsi_get_host_cmd_pool() local 392 size_t cmd_size = sizeof(struct scsi_cmnd) + hostt->cmd_size; in scsi_get_host_cmd_pool() 428 if (hostt->cmd_size) { in scsi_get_host_cmd_pool() [all …]
|
D | scsi_error.c | 132 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler() 282 else if (host->hostt->eh_timed_out) in scsi_times_out() 283 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out() 286 if (!host->hostt->no_async_abort && in scsi_times_out() 603 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() 635 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() 749 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local 754 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset() 757 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset() 760 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() 314 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release() 413 shost->hostt = sht; in scsi_host_alloc() 461 shost->use_blk_mq = scsi_use_blk_mq && !shost->hostt->disable_blk_mq; in scsi_host_alloc() 491 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc() 614 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work() 633 "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"); 855 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() 916 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 920 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 1053 if (sdev->host->hostt->sdev_attrs) { in scsi_sysfs_add_sdev() 1054 for (i = 0; sdev->host->hostt->sdev_attrs[i]; i++) { in scsi_sysfs_add_sdev() 1056 sdev->host->hostt->sdev_attrs[i]); in scsi_sysfs_add_sdev() [all …]
|
D | scsi_scan.c | 278 (shost->bqt || shost->hostt->use_blk_tags)) { in scsi_alloc_sdev() 281 shost->hostt->tag_alloc_policy); in scsi_alloc_sdev() 287 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev() 288 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev() 319 if (shost->hostt->target_destroy) in scsi_target_destroy() 320 shost->hostt->target_destroy(starget); in scsi_target_destroy() 453 if (shost->hostt->target_alloc) { in scsi_alloc_target() 454 error = shost->hostt->target_alloc(starget); in scsi_alloc_target() 969 if (sdev->host->hostt->slave_configure) { in scsi_add_lun() 970 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun() [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 | 951 struct scsi_host_template *hostt; in virtscsi_probe() local 965 hostt = &virtscsi_host_template_single; in virtscsi_probe() 967 hostt = &virtscsi_host_template_multi; in virtscsi_probe() 969 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 | 1272 if (host->hostt->bios_param) in sd_getgeo() 1273 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo() 1533 if (!sdev->host->hostt->compat_ioctl) in sd_compat_ioctl() 1535 return sdev->host->hostt->compat_ioctl(sdev, cmd, (void __user *)arg); in sd_compat_ioctl() 2793 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity() 2794 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 | 1059 return put_user(sdp->device->host->hostt->emulated, ip); in sg_ioctl() 1126 if (sdev->host->hostt->compat_ioctl) { in sg_compat_ioctl() 1129 ret = sdev->host->hostt->compat_ioctl(sdev, cmd_in, (void __user *)arg); in sg_compat_ioctl() 2685 scsidp->host->hostt->emulated); in sg_proc_seq_show_debug()
|
D | ips.c | 6734 sh->sg_tablesize = sh->hostt->sg_tablesize; in ips_register_scsi() 6735 sh->can_queue = sh->hostt->can_queue; in ips_register_scsi() 6736 sh->cmd_per_lun = sh->hostt->cmd_per_lun; in ips_register_scsi() 6737 sh->use_clustering = sh->hostt->use_clustering; in ips_register_scsi()
|
D | scsi_transport_iscsi.c | 1495 if ((shost->hostt->vendor_id == 0L) || in iscsi_bsg_host_dispatch() 1497 shost->hostt->vendor_id)) { in iscsi_bsg_host_dispatch() 1946 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 | scsi_transport_sas.c | 221 printk("%s can't handle SMP requests\n", shost->hostt->name); in sas_bsg_initialize()
|
D | u14-34f.c | 967 sh[j]->hostt->use_clustering = DISABLE_CLUSTERING; in port_detect()
|
D | atari_NCR5380.c | 635 instance->hostt->name, instance->io_port, instance->n_io_port, in prepare_info()
|
D | st.c | 3706 if (sdev->host->hostt->compat_ioctl) { in st_compat_ioctl() 3708 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.1.27/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.1.27/include/scsi/ |
D | scsi_tcq.h | 70 shost->hostt->tag_alloc_policy); in scsi_init_shared_tag_map()
|
D | scsi_host.h | 569 struct scsi_host_template *hostt; member
|
/linux-4.1.27/drivers/target/ |
D | target_core_pscsi.c | 102 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba() 127 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba() 128 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba() 148 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
|
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_npiv.c | 39 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/scsi/esas2r/ |
D | esas2r_main.c | 691 esas2r_proc_host->hostt->proc_dir); in esas2r_exit() 796 sh->hostt->proc_dir, in esas2r_info()
|
/linux-4.1.27/drivers/staging/unisys/virthba/ |
D | virthba.c | 553 scsihost->hostt->name, virthbainfo); in virthba_probe()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_target.c | 5782 if (!(base_vha->host->hostt->supported_mode & MODE_TARGET)) in qlt_add_target() 5783 base_vha->host->hostt->supported_mode |= MODE_TARGET; in qlt_add_target() 5897 if (!(host->hostt->supported_mode & MODE_TARGET)) in qlt_lport_register()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 5050 host->hostt->eh_device_reset_handler = NULL; in megasas_io_attach() 5051 host->hostt->eh_bus_reset_handler = NULL; in megasas_io_attach()
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 918 for (attr = shost->hostt->shost_attrs; attr && *attr; ++attr) in srp_del_scsi_host_attr()
|