Home
last modified time | relevance | path

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

12

/drivers/scsi/
Dscsi_error.c136 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler()
287 if (host->hostt->eh_timed_out) in scsi_times_out()
288 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out()
612 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
644 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
759 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
764 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
767 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
770 if (!hostt->skip_settle_delay) in scsi_try_host_reset()
789 struct scsi_host_template *hostt = host->hostt; in scsi_try_bus_reset() local
[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()
269 if (sdev->host->hostt->ioctl) in scsi_ioctl()
270 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
Dhosts.c204 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma()
226 shost->hostt->tag_alloc_policy); in scsi_add_host_with_dma()
319 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release()
428 shost->hostt = sht; in scsi_host_alloc()
477 shost->use_blk_mq = scsi_use_blk_mq || shost->hostt->force_blk_mq; in scsi_host_alloc()
507 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc()
633 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work()
652 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
Dscsi_proc.c59 if (!shost->hostt->write_info) in proc_scsi_host_write()
67 ret = shost->hostt->write_info(shost, page, count); in proc_scsi_host_write()
77 return shost->hostt->show_info(m, shost); in proc_scsi_show()
140 struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_add()
164 if (!shost->hostt->proc_dir) in scsi_proc_host_rm()
168 remove_proc_entry(name, shost->hostt->proc_dir); in scsi_proc_host_rm()
Dscsi_sysfs.c256 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode()
296 struct scsi_host_template *sht = shost->hostt; in store_host_reset()
338 !shost->hostt->eh_host_reset_handler)) in store_shost_eh_deadline()
378 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n");
955 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT()
1123 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1127 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1299 if (sdev->host->hostt->sdev_attrs) { in scsi_sysfs_add_sdev()
1300 for (i = 0; sdev->host->hostt->sdev_attrs[i]; i++) { in scsi_sysfs_add_sdev()
1302 sdev->host->hostt->sdev_attrs[i]); in scsi_sysfs_add_sdev()
[all …]
Dscsi_scan.c286 shost->hostt->tag_alloc_policy); in scsi_alloc_sdev()
293 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev()
294 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev()
326 if (shost->hostt->target_destroy) in scsi_target_destroy()
327 shost->hostt->target_destroy(starget); in scsi_target_destroy()
461 if (shost->hostt->target_alloc) { in scsi_alloc_target()
462 error = shost->hostt->target_alloc(starget); in scsi_alloc_target()
972 if (sdev->host->hostt->slave_configure) { in scsi_add_lun()
973 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun()
1814 if (shost->hostt->scan_finished) { in do_scsi_scan_host()
[all …]
Dscsi_lib.c1228 sizeof(*cmd) - sizeof(cmd->req) + dev->host->hostt->cmd_size); in scsi_init_command()
1749 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1950 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_mq_prep_fn()
2095 shost->hostt->cmd_size; in scsi_mq_init_request()
2115 if (shost->hostt->map_queues) in scsi_map_queues()
2116 return shost->hostt->map_queues(shost); in scsi_map_queues()
2231 q->cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_old_alloc_queue()
2282 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; in scsi_mq_setup_tags()
2294 BLK_ALLOC_POLICY_TO_MQ_FLAG(shost->hostt->tag_alloc_policy); in scsi_mq_setup_tags()
Dvirtio_scsi.c884 struct scsi_host_template *hostt; in virtscsi_probe() local
898 hostt = &virtscsi_host_template_single; in virtscsi_probe()
900 hostt = &virtscsi_host_template_multi; in virtscsi_probe()
902 shost = scsi_host_alloc(hostt, in virtscsi_probe()
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()
Dscsi.c557 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
578 module_put(sdev->host->hostt->module); in scsi_device_put()
Draid_class.c69 if (i->f->cookie != sdev->host->hostt) in raid_match()
Dsd.c1440 if (host->hostt->bios_param) in sd_getgeo()
1441 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()
1721 if (!sdev->host->hostt->compat_ioctl) in sd_compat_ioctl()
1723 return sdev->host->hostt->compat_ioctl(sdev, cmd, p); in sd_compat_ioctl()
3259 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity()
3260 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
Dscsi_transport_fc.c2335 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work()
2354 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work()
2378 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work()
2397 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss()
3649 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch()
3651 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
Datari_scsi.c380 instance->hostt->can_queue > 1) in falcon_get_lock()
Dsg.c1103 return put_user(sdp->device->host->hostt->emulated, ip); in sg_ioctl()
1169 if (sdev->host->hostt->compat_ioctl) { in sg_compat_ioctl()
1172 ret = sdev->host->hostt->compat_ioctl(sdev, cmd_in, (void __user *)arg); in sg_compat_ioctl()
2723 scsidp->host->hostt->emulated); in sg_proc_seq_show_debug()
/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()
/drivers/scsi/libfc/
Dfc_npiv.c39 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/drivers/scsi/libsas/
Dsas_scsi_host.c562 if (!shost->hostt->eh_device_reset_handler) in try_to_reset_cmd_device()
565 res = shost->hostt->eh_device_reset_handler(cmd); in try_to_reset_cmd_device()
570 if (shost->hostt->eh_target_reset_handler) in try_to_reset_cmd_device()
571 return shost->hostt->eh_target_reset_handler(cmd); in try_to_reset_cmd_device()
Dsas_host_smp.c273 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
/drivers/staging/ks7010/
Dks7010_sdio.c338 priv->hostt.buff[priv->hostt.qtail] = le16_to_cpu(hdr->event); in ks_wlan_hw_tx()
339 priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE; in ks_wlan_hw_tx()
Dks_wlan.h501 struct hostt_t hostt; member
/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()

12