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

/linux-4.1.27/drivers/scsi/
H A Dscsi_ioctl.c50 if (host->hostt->info) ioctl_probe()
51 string = host->hostt->info(host); ioctl_probe()
53 string = host->hostt->name; ioctl_probe()
266 if (sdev->host->hostt->ioctl) scsi_ioctl()
267 return sdev->host->hostt->ioctl(sdev, cmd, arg); scsi_ioctl()
H A Dscsi.c343 if (shost->hostt->cmd_size) scsi_find_host_cmd_pool()
344 return shost->hostt->cmd_pool; scsi_find_host_cmd_pool()
361 struct scsi_host_template *hostt = shost->hostt; scsi_alloc_host_cmd_pool() local
368 pool->cmd_name = kasprintf(GFP_KERNEL, "%s_cmd", hostt->proc_name); scsi_alloc_host_cmd_pool()
369 pool->sense_name = kasprintf(GFP_KERNEL, "%s_sense", hostt->proc_name); scsi_alloc_host_cmd_pool()
381 if (hostt->cmd_size) scsi_alloc_host_cmd_pool()
382 hostt->cmd_pool = pool; scsi_alloc_host_cmd_pool()
390 struct scsi_host_template *hostt = shost->hostt; scsi_get_host_cmd_pool() local
392 size_t cmd_size = sizeof(struct scsi_cmnd) + hostt->cmd_size; scsi_get_host_cmd_pool()
428 if (hostt->cmd_size) { scsi_get_host_cmd_pool()
430 hostt->cmd_pool = NULL; scsi_get_host_cmd_pool()
437 struct scsi_host_template *hostt = shost->hostt; scsi_put_host_cmd_pool() local
453 if (hostt->cmd_size) { scsi_put_host_cmd_pool()
455 hostt->cmd_pool = NULL; scsi_put_host_cmd_pool()
985 if (!try_module_get(sdev->host->hostt->module)) scsi_device_get()
1006 module_put(sdev->host->hostt->module); scsi_device_put()
H A Dscsi_proc.c58 if (!shost->hostt->write_info) proc_scsi_host_write()
66 ret = shost->hostt->write_info(shost, page, count); proc_scsi_host_write()
76 return shost->hostt->show_info(m, shost); proc_scsi_show()
139 struct scsi_host_template *sht = shost->hostt; scsi_proc_host_add()
163 if (!shost->hostt->proc_dir) scsi_proc_host_rm()
167 remove_proc_entry(name, shost->hostt->proc_dir); scsi_proc_host_rm()
H A Dhosts.c204 struct scsi_host_template *sht = shost->hostt; scsi_add_host_with_dma()
314 scsi_proc_hostdir_rm(shost->hostt); scsi_host_dev_release()
413 shost->hostt = sht; scsi_host_alloc()
461 shost->use_blk_mq = scsi_use_blk_mq && !shost->hostt->disable_blk_mq; scsi_host_alloc()
491 scsi_proc_hostdir_add(shost->hostt); scsi_host_alloc()
614 "when no workqueue created.\n", shost->hostt->name); scsi_queue_work()
633 "when no workqueue created.\n", shost->hostt->name); scsi_flush_work()
H A Dscsi_sysfs.c225 unsigned int supported_mode = shost->hostt->supported_mode; show_shost_supported_mode()
265 struct scsi_host_template *sht = shost->hostt; store_host_reset()
305 !shost->hostt->eh_host_reset_handler)) store_shost_eh_deadline()
345 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n");
855 struct scsi_host_template *sht = sdev->host->hostt; sdev_store_queue_depth()
916 !sdev->host->hostt->change_queue_depth) scsi_sdev_attr_is_visible()
920 !sdev->host->hostt->change_queue_depth) scsi_sdev_attr_is_visible()
1053 if (sdev->host->hostt->sdev_attrs) { scsi_sysfs_add_sdev()
1054 for (i = 0; sdev->host->hostt->sdev_attrs[i]; i++) { scsi_sysfs_add_sdev()
1056 sdev->host->hostt->sdev_attrs[i]); scsi_sysfs_add_sdev()
1090 if (sdev->host->hostt->slave_destroy) __scsi_remove_device()
1091 sdev->host->hostt->slave_destroy(sdev); __scsi_remove_device()
1204 if (shost->hostt->shost_attrs) { scsi_sysfs_add_host()
1205 for (i = 0; shost->hostt->shost_attrs[i]; i++) { scsi_sysfs_add_host()
1207 shost->hostt->shost_attrs[i]); scsi_sysfs_add_host()
H A Dscsi_error.c132 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); scmd_eh_abort_handler()
282 else if (host->hostt->eh_timed_out) scsi_times_out()
283 rtn = host->hostt->eh_timed_out(scmd); scsi_times_out()
286 if (!host->hostt->no_async_abort && scsi_times_out()
603 struct scsi_host_template *sht = sdev->host->hostt; scsi_handle_queue_ramp_up()
635 struct scsi_host_template *sht = sdev->host->hostt; scsi_handle_queue_full()
749 struct scsi_host_template *hostt = host->hostt; scsi_try_host_reset() local
754 if (!hostt->eh_host_reset_handler) scsi_try_host_reset()
757 rtn = hostt->eh_host_reset_handler(scmd); scsi_try_host_reset()
760 if (!hostt->skip_settle_delay) scsi_try_host_reset()
779 struct scsi_host_template *hostt = host->hostt; scsi_try_bus_reset() local
784 if (!hostt->eh_bus_reset_handler) scsi_try_bus_reset()
787 rtn = hostt->eh_bus_reset_handler(scmd); scsi_try_bus_reset()
790 if (!hostt->skip_settle_delay) scsi_try_bus_reset()
821 struct scsi_host_template *hostt = host->hostt; scsi_try_target_reset() local
823 if (!hostt->eh_target_reset_handler) scsi_try_target_reset()
826 rtn = hostt->eh_target_reset_handler(scmd); scsi_try_target_reset()
850 struct scsi_host_template *hostt = scmd->device->host->hostt; scsi_try_bus_device_reset() local
852 if (!hostt->eh_device_reset_handler) scsi_try_bus_device_reset()
855 rtn = hostt->eh_device_reset_handler(scmd); scsi_try_bus_device_reset()
863 * @hostt: SCSI driver host template
878 static int scsi_try_to_abort_cmd(struct scsi_host_template *hostt, scsi_try_to_abort_cmd() argument
881 if (!hostt->eh_abort_handler) scsi_try_to_abort_cmd()
884 return hostt->eh_abort_handler(scmd); scsi_try_to_abort_cmd()
889 if (scsi_try_to_abort_cmd(scmd->device->host->hostt, scmd) != SUCCESS) scsi_abort_eh_cmnd()
1027 rtn = shost->hostt->queuecommand(shost, scmd); scsi_send_eh_cmnd()
1335 rtn = scsi_try_to_abort_cmd(shost->hostt, scmd); list_for_each_entry_safe()
H A Dscsi_scan.c278 (shost->bqt || shost->hostt->use_blk_tags)) { scsi_alloc_sdev()
281 shost->hostt->tag_alloc_policy); scsi_alloc_sdev()
287 if (shost->hostt->slave_alloc) { scsi_alloc_sdev()
288 ret = shost->hostt->slave_alloc(sdev); scsi_alloc_sdev()
319 if (shost->hostt->target_destroy) scsi_target_destroy()
320 shost->hostt->target_destroy(starget); scsi_target_destroy()
453 if (shost->hostt->target_alloc) { scsi_alloc_target()
454 error = shost->hostt->target_alloc(starget); scsi_alloc_target()
969 if (sdev->host->hostt->slave_configure) { scsi_add_lun()
970 ret = sdev->host->hostt->slave_configure(sdev); scsi_add_lun()
1861 if (shost->hostt->scan_finished) { do_scsi_scan_host()
1863 if (shost->hostt->scan_start) do_scsi_scan_host()
1864 shost->hostt->scan_start(shost); do_scsi_scan_host()
1866 while (!shost->hostt->scan_finished(shost, jiffies - start)) do_scsi_scan_host()
H A Dam53c974.c403 struct scsi_host_template *hostt = &scsi_esp_template; pci_esp_probe_one() local
420 shost = scsi_host_alloc(hostt, sizeof(struct esp)); pci_esp_probe_one()
H A Draid_class.c70 if (i->f->cookie != sdev->host->hostt) raid_match()
H A Dvirtio_scsi.c951 struct scsi_host_template *hostt; virtscsi_probe() local
965 hostt = &virtscsi_host_template_single; virtscsi_probe()
967 hostt = &virtscsi_host_template_multi; virtscsi_probe()
969 shost = scsi_host_alloc(hostt, virtscsi_probe()
H A Dsd.c1272 if (host->hostt->bios_param) sd_getgeo()
1273 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); sd_getgeo()
1533 if (!sdev->host->hostt->compat_ioctl) sd_compat_ioctl()
1535 return sdev->host->hostt->compat_ioctl(sdev, cmd, (void __user *)arg); sd_compat_ioctl()
2793 if (sdev->host->hostt->unlock_native_capacity) sd_unlock_native_capacity()
2794 sdev->host->hostt->unlock_native_capacity(sdev); sd_unlock_native_capacity()
H A Dscsi_lib.c1721 rtn = host->hostt->queuecommand(host, cmd); scsi_dispatch_cmd()
1930 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; scsi_mq_prep_fn()
2194 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; scsi_mq_setup_tags()
2206 BLK_ALLOC_POLICY_TO_MQ_FLAG(shost->hostt->tag_alloc_policy); scsi_mq_setup_tags()
H A Dscsi_transport_srp.c422 /* Wait until ongoing shost->hostt->queuecommand() calls have finished. */ srp_wait_for_queuecommand()
H A Dsg.c1059 return put_user(sdp->device->host->hostt->emulated, ip); sg_ioctl()
1126 if (sdev->host->hostt->compat_ioctl) { sg_compat_ioctl()
1129 ret = sdev->host->hostt->compat_ioctl(sdev, cmd_in, (void __user *)arg); sg_compat_ioctl()
2685 scsidp->host->hostt->emulated); sg_proc_seq_show_debug()
H A Dscsi_transport_fc.c2351 "when no workqueue created.\n", shost->hostt->name); fc_queue_work()
2370 "when no workqueue created.\n", shost->hostt->name); fc_flush_work()
2394 "when no workqueue created.\n", shost->hostt->name); fc_queue_devloss_work()
2413 "when no workqueue created.\n", shost->hostt->name); fc_flush_devloss()
3816 if ((shost->hostt->vendor_id == 0L) || fc_bsg_host_dispatch()
3818 shost->hostt->vendor_id)) { fc_bsg_host_dispatch()
H A Dscsi_transport_sas.c221 printk("%s can't handle SMP requests\n", shost->hostt->name); sas_bsg_initialize()
H A Dips.c6734 sh->sg_tablesize = sh->hostt->sg_tablesize; ips_register_scsi()
6735 sh->can_queue = sh->hostt->can_queue; ips_register_scsi()
6736 sh->cmd_per_lun = sh->hostt->cmd_per_lun; ips_register_scsi()
6737 sh->use_clustering = sh->hostt->use_clustering; ips_register_scsi()
H A Dscsi_transport_iscsi.c1495 if ((shost->hostt->vendor_id == 0L) || iscsi_bsg_host_dispatch()
1497 shost->hostt->vendor_id)) { iscsi_bsg_host_dispatch()
1946 if (shost->hostt->scan_finished) { __iscsi_unblock_session()
H A Du14-34f.c967 sh[j]->hostt->use_clustering = DISABLE_CLUSTERING; port_detect()
H A Dst.c3721 if (sdev->host->hostt->compat_ioctl) { new_tape_buffer()
3723 ret = sdev->host->hostt->compat_ioctl(sdev, cmd, (void __user *)arg); new_tape_buffer()
H A Datari_NCR5380.c635 instance->hostt->name, instance->io_port, instance->n_io_port, prepare_info()
H A DNCR5380.c640 instance->hostt->name, instance->io_port, instance->n_io_port, prepare_info()
H A Dosst.c5288 if (sdev->host->hostt->compat_ioctl) { osst_compat_ioctl()
5290 ret = sdev->host->hostt->compat_ioctl(sdev, cmd_in, (void __user *)arg);
/linux-4.1.27/include/scsi/
H A Dscsi_tcq.h70 shost->hostt->tag_alloc_policy); scsi_init_shared_tag_map()
H A Dscsi_host.h569 struct scsi_host_template *hostt; member in struct:Scsi_Host
/linux-4.1.27/drivers/scsi/libfc/
H A Dfc_npiv.c39 vn_port = libfc_host_alloc(shost->hostt, privsize); libfc_vport_create()
/linux-4.1.27/drivers/target/
H A Dtarget_core_pscsi.c102 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : pscsi_detach_hba()
127 " %s\n", hba->hba_id, (sh->hostt->name) ? pscsi_pmode_enable_hba()
128 (sh->hostt->name) : "Unknown"); pscsi_pmode_enable_hba()
148 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); pscsi_pmode_enable_hba()
/linux-4.1.27/drivers/scsi/arm/
H A Darxescsi.c217 host->hostt->name, info->info.scsi.type, info->ec->slot_no, arxescsi_info()
H A Dpowertec.c191 host->hostt->name, info->info.scsi.type, info->ec->slot_no, powertecscsi_info()
H A Dcumana_2.c303 host->hostt->name, info->info.scsi.type, info->ec->slot_no, cumanascsi_2_info()
H A Deesox.c388 host->hostt->name, info->info.scsi.type, info->ec->slot_no, eesoxscsi_info()
H A Dacornscsi.c2788 , host->hostt->name, host->io_port, host->irq, acornscsi_info()
/linux-4.1.27/drivers/scsi/libsas/
H A Dsas_host_smp.c287 memcpy(resp_data + 12, shost->hostt->name, sas_smp_host_handler()
H A Dsas_scsi_host.c559 if (!shost->hostt->eh_device_reset_handler) try_to_reset_cmd_device()
562 res = shost->hostt->eh_device_reset_handler(cmd); try_to_reset_cmd_device()
567 if (shost->hostt->eh_bus_reset_handler) try_to_reset_cmd_device()
568 return shost->hostt->eh_bus_reset_handler(cmd); try_to_reset_cmd_device()
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_main.c691 esas2r_proc_host->hostt->proc_dir); esas2r_exit()
796 sh->hostt->proc_dir, esas2r_info()
/linux-4.1.27/drivers/staging/unisys/virthba/
H A Dvirthba.c553 scsihost->hostt->name, virthbainfo); virthba_probe()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_target.c5782 if (!(base_vha->host->hostt->supported_mode & MODE_TARGET)) qlt_add_target()
5783 base_vha->host->hostt->supported_mode |= MODE_TARGET; qlt_add_target()
5897 if (!(host->hostt->supported_mode & MODE_TARGET)) qlt_lport_register()
/linux-4.1.27/drivers/infiniband/ulp/srp/
H A Dib_srp.c918 for (attr = shost->hostt->shost_attrs; attr && *attr; ++attr) srp_del_scsi_host_attr()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c5050 host->hostt->eh_device_reset_handler = NULL; megasas_io_attach()
5051 host->hostt->eh_bus_reset_handler = NULL; megasas_io_attach()
/linux-4.1.27/drivers/ata/
H A Dlibata-scsi.c1309 * This is libata standard hostt->change_queue_depth callback.

Completed in 1088 milliseconds