Home
last modified time | relevance | path

Searched refs:hostt (Results 1 – 40 of 40) sorted by relevance

/linux-4.1.27/drivers/scsi/
Dscsi.c343 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 …]
Dscsi_error.c132 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 …]
Dscsi_ioctl.c50 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()
Dscsi_proc.c58 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()
Dhosts.c204 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()
Dscsi_sysfs.c225 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 …]
Dscsi_scan.c278 (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 …]
Dam53c974.c403 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()
Dvirtio_scsi.c951 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()
Draid_class.c70 if (i->f->cookie != sdev->host->hostt) in raid_match()
Dsd.c1272 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()
Dscsi_lib.c1721 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()
Dscsi_transport_fc.c2351 "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()
Dsg.c1059 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()
Dips.c6734 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()
Dscsi_transport_iscsi.c1495 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()
DNCR5380.c640 instance->hostt->name, instance->io_port, instance->n_io_port, in prepare_info()
Dscsi_transport_sas.c221 printk("%s can't handle SMP requests\n", shost->hostt->name); in sas_bsg_initialize()
Du14-34f.c967 sh[j]->hostt->use_clustering = DISABLE_CLUSTERING; in port_detect()
Datari_NCR5380.c635 instance->hostt->name, instance->io_port, instance->n_io_port, in prepare_info()
Dst.c3706 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()
Dosst.c5284 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/
Dscsi_eh.txt45 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()
Dscsi_mid_low_api.txt1225 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/
Dscsi_tcq.h70 shost->hostt->tag_alloc_policy); in scsi_init_shared_tag_map()
Dscsi_host.h569 struct scsi_host_template *hostt; member
/linux-4.1.27/drivers/target/
Dtarget_core_pscsi.c102 (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/
Dfc_npiv.c39 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/linux-4.1.27/drivers/scsi/libsas/
Dsas_scsi_host.c559 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()
Dsas_host_smp.c287 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
/linux-4.1.27/drivers/scsi/arm/
Darxescsi.c217 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
Dpowertec.c191 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
Dcumana_2.c303 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
Deesox.c388 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
Dacornscsi.c2788 , host->hostt->name, host->io_port, host->irq, in acornscsi_info()
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_main.c691 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/
Dvirthba.c553 scsihost->hostt->name, virthbainfo); in virthba_probe()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_target.c5782 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/
Dmegaraid_sas_base.c5050 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/
Dib_srp.c918 for (attr = shost->hostt->shost_attrs; attr && *attr; ++attr) in srp_del_scsi_host_attr()