Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/
Dscsi.c297 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 …]
Dscsi_error.c134 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 …]
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()
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()
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");
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 …]
Dscsi_scan.c281 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 …]
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.c956 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()
Draid_class.c70 if (i->f->cookie != sdev->host->hostt) in raid_match()
Dsd.c1287 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()
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.c1065 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()
Dips.c6730 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()
Dscsi_transport_iscsi.c1497 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()
DNCR5380.c640 instance->hostt->name, instance->io_port, instance->n_io_port, in prepare_info()
Du14-34f.c967 sh[j]->hostt->use_clustering = DISABLE_CLUSTERING; in port_detect()
Dscsi_transport_sas.c221 printk("%s can't handle SMP requests\n", shost->hostt->name); in sas_bsg_initialize()
Datari_NCR5380.c635 instance->hostt->name, instance->io_port, instance->n_io_port, in prepare_info()
Dst.c3760 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()
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.4.14/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.4.14/drivers/target/
Dtarget_core_pscsi.c98 (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/
Dfc_npiv.c39 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/linux-4.4.14/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.4.14/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.4.14/include/scsi/
Dscsi_host.h564 struct scsi_host_template *hostt; member
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c690 esas2r_proc_host->hostt->proc_dir); in esas2r_exit()
795 sh->hostt->proc_dir, in esas2r_info()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_target.c5770 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/
Dmegaraid_sas_base.c5263 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/
Dib_srp.c920 for (attr = shost->hostt->shost_attrs; attr && *attr; ++attr) in srp_del_scsi_host_attr()