Home
last modified time | relevance | path

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

12

/drivers/scsi/
Dscsi_error.c133 if (host->hostt->eh_should_retry_cmd) in scsi_eh_should_retry_cmd()
134 return host->hostt->eh_should_retry_cmd(cmd); in scsi_eh_should_retry_cmd()
183 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler()
342 if (host->hostt->eh_timed_out) { in scsi_times_out()
343 switch (host->hostt->eh_timed_out(scmd)) { in scsi_times_out()
711 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
743 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
852 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
857 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
860 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
[all …]
Dscsi_sysfs.c259 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode()
299 struct scsi_host_template *sht = shost->hostt; in store_host_reset()
341 !shost->hostt->eh_host_reset_handler)) in store_shost_eh_deadline()
379 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n");
456 mod = sdev->host->hostt->module; in scsi_device_dev_release_usercontext()
516 if (!try_module_get(sdp->host->hostt->module)) in scsi_device_dev_release()
517 sdp->host->hostt->module = NULL; in scsi_device_dev_release()
1028 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT()
1232 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1236 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
[all …]
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()
Dhosts.c183 scsi_proc_hostdir_rm(shost->hostt); in scsi_remove_host()
212 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma()
420 shost->hostt = sht; in scsi_host_alloc()
505 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc()
635 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work()
654 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
Dscsi_scan.c351 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev()
352 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev()
384 if (shost->hostt->target_destroy) in scsi_target_destroy()
385 shost->hostt->target_destroy(starget); in scsi_target_destroy()
519 if (shost->hostt->target_alloc) { in scsi_alloc_target()
520 error = shost->hostt->target_alloc(starget); in scsi_alloc_target()
1034 if (sdev->host->hostt->slave_configure) { in scsi_add_lun()
1035 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun()
1885 if (shost->hostt->scan_finished) { in do_scsi_scan_host()
1887 if (shost->hostt->scan_start) in do_scsi_scan_host()
[all …]
Dscsi_lib.c968 sdev->host->hostt->dma_need_drain(rq); in scsi_cmd_needs_dma_drain()
1141 if (!dev->host->hostt->init_cmd_priv) in scsi_init_command()
1142 to_clear += dev->host->hostt->cmd_size; in scsi_init_command()
1511 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1551 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_prepare_cmd()
1768 shost->hostt->cmd_size; in scsi_mq_init_request()
1772 if (shost->hostt->init_cmd_priv) { in scsi_mq_init_request()
1773 ret = shost->hostt->init_cmd_priv(shost, cmd); in scsi_mq_init_request()
1787 if (shost->hostt->exit_cmd_priv) in scsi_mq_exit_request()
1788 shost->hostt->exit_cmd_priv(shost, cmd); in scsi_mq_exit_request()
[all …]
Dscsi_ioctl.c52 if (host->hostt->info) in ioctl_probe()
53 string = host->hostt->info(host); in ioctl_probe()
55 string = host->hostt->name; in ioctl_probe()
964 if (!sdev->host->hostt->compat_ioctl) in scsi_ioctl()
966 return sdev->host->hostt->compat_ioctl(sdev, cmd, arg); in scsi_ioctl()
969 if (!sdev->host->hostt->ioctl) in scsi_ioctl()
971 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
Dam53c974.c374 struct scsi_host_template *hostt = &scsi_esp_template; in pci_esp_probe_one() local
391 shost = scsi_host_alloc(hostt, sizeof(struct esp)); in pci_esp_probe_one()
Dscsi.c542 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
563 struct module *mod = sdev->host->hostt->module; in scsi_device_put()
Draid_class.c68 if (i->f->cookie != sdev->host->hostt) in raid_match()
Dsd.c1528 if (host->hostt->bios_param) in sd_getgeo()
1529 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()
3287 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity()
3288 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
3462 sdp->host->hostt->rpm_autosuspend_delay); in sd_probe()
Dscsi_transport_fc.c2787 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work()
2806 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work()
2830 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work()
2849 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss()
4125 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch()
4127 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
/drivers/staging/ks7010/
Dks_wlan.h179 struct hostt { struct
510 struct hostt hostt; member
Dks7010_sdio.c395 priv->hostt.buff[priv->hostt.qtail] = le16_to_cpu(hdr->event); in ks_wlan_hw_tx()
396 priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE; in ks_wlan_hw_tx()
Dks_hostif.c1035 priv->hostt.buff[priv->hostt.qtail] = event; in hostif_event_check()
1036 priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE; in hostif_event_check()
/drivers/target/
Dtarget_core_pscsi.c83 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba()
108 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba()
109 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
129 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
/drivers/scsi/libfc/
Dfc_npiv.c27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/drivers/scsi/libsas/
Dsas_scsi_host.c542 if (!shost->hostt->eh_device_reset_handler) in try_to_reset_cmd_device()
545 res = shost->hostt->eh_device_reset_handler(cmd); in try_to_reset_cmd_device()
550 if (shost->hostt->eh_target_reset_handler) in try_to_reset_cmd_device()
551 return shost->hostt->eh_target_reset_handler(cmd); in try_to_reset_cmd_device()
Dsas_host_smp.c270 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
/drivers/scsi/arm/
Darxescsi.c218 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
Dpowertec.c189 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
Dcumana_2.c301 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
Deesox.c386 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
/drivers/scsi/esas2r/
Desas2r_main.c643 esas2r_proc_host->hostt->proc_dir); in esas2r_exit()
736 sh->hostt->proc_dir, in esas2r_info()
/drivers/scsi/qedi/
Dqedi_iscsi.c1282 if (strcmp(shost->hostt->proc_name, "qedi")) { in qedi_set_path()
1285 shost->hostt->proc_name); in qedi_set_path()

12