Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/scsi/
Dscsi_error.c130 if (host->hostt->eh_should_retry_cmd) in scsi_eh_should_retry_cmd()
131 return host->hostt->eh_should_retry_cmd(cmd); in scsi_eh_should_retry_cmd()
166 rtn = scsi_try_to_abort_cmd(shost->hostt, scmd); in scmd_eh_abort_handler()
341 if (host->hostt->eh_timed_out) in scsi_timeout()
342 rtn = host->hostt->eh_timed_out(scmd); in scsi_timeout()
699 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
731 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
840 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
845 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
848 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
[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.c221 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma()
343 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release()
437 shost->hostt = sht; in scsi_host_alloc()
522 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc()
651 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work()
670 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
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");
457 mod = sdev->host->hostt->module; in scsi_device_dev_release_usercontext()
529 if (!try_module_get(sdp->host->hostt->module)) in scsi_device_dev_release()
530 sdp->host->hostt->module = NULL; in scsi_device_dev_release()
1044 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT()
1248 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1252 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
[all …]
Dscsi_scan.c367 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev()
368 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev()
400 if (shost->hostt->target_destroy) in scsi_target_destroy()
401 shost->hostt->target_destroy(starget); in scsi_target_destroy()
536 if (shost->hostt->target_alloc) { in scsi_alloc_target()
537 error = shost->hostt->target_alloc(starget); in scsi_alloc_target()
1061 if (sdev->host->hostt->slave_configure) { in scsi_add_lun()
1062 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun()
1913 if (shost->hostt->scan_finished) { in do_scsi_scan_host()
1915 if (shost->hostt->scan_start) in do_scsi_scan_host()
[all …]
Dscsi_lib.c1006 sdev->host->hostt->dma_need_drain(rq); in scsi_cmd_needs_dma_drain()
1524 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1576 if (!shost->hostt->init_cmd_priv) in scsi_prepare_cmd()
1577 memset(cmd + 1, 0, shost->hostt->cmd_size); in scsi_prepare_cmd()
1585 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_prepare_cmd()
1823 shost->hostt->cmd_size; in scsi_mq_init_request()
1827 if (shost->hostt->init_cmd_priv) { in scsi_mq_init_request()
1828 ret = shost->hostt->init_cmd_priv(shost, cmd); in scsi_mq_init_request()
1842 if (shost->hostt->exit_cmd_priv) in scsi_mq_exit_request()
1843 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()
930 if (!sdev->host->hostt->compat_ioctl) in scsi_ioctl()
932 return sdev->host->hostt->compat_ioctl(sdev, cmd, arg); in scsi_ioctl()
935 if (!sdev->host->hostt->ioctl) in scsi_ioctl()
937 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.c568 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
589 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.c1411 if (host->hostt->bios_param) in sd_getgeo()
1412 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()
3352 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity()
3353 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
3525 sdp->host->hostt->rpm_autosuspend_delay); in sd_probe()
Dscsi_transport_fc.c2790 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work()
2809 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work()
2833 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work()
2852 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss()
4128 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch()
4130 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
/Linux-v6.1/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.c1031 priv->hostt.buff[priv->hostt.qtail] = event; in hostif_event_check()
1032 priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE; in hostif_event_check()
/Linux-v6.1/Documentation/scsi/
Dscsi_eh.rst50 invoking hostt->queuecommand() or the block layer will time it out.
92 1. invokes optional hostt->eh_timed_out() callback. Return value can
152 has timed out, unless hostt->eh_timed_out() made lower layers forget
209 hostt EH callbacks. Callbacks may be omitted and omitted ones are
353 hostt->eh_abort_handler() is invoked for each scmd. The
393 *NOTE* If hostt->eh_abort_handler() isn't implemented or
406 instead of issuing STU, hostt->eh_device_reset_handler()
415 hostt->eh_bus_reset_handler() is invoked for each channel
424 This is the last resort. hostt->eh_host_reset_handler()
/Linux-v6.1/drivers/target/
Dtarget_core_pscsi.c82 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba()
107 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba()
108 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
128 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
/Linux-v6.1/drivers/scsi/libfc/
Dfc_npiv.c27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/Linux-v6.1/drivers/scsi/libsas/
Dsas_scsi_host.c545 if (!shost->hostt->eh_device_reset_handler) in try_to_reset_cmd_device()
548 res = shost->hostt->eh_device_reset_handler(cmd); in try_to_reset_cmd_device()
553 if (shost->hostt->eh_target_reset_handler) in try_to_reset_cmd_device()
554 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()
/Linux-v6.1/drivers/scsi/arm/
Darxescsi.c222 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
Dpowertec.c193 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
Dcumana_2.c305 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
Deesox.c390 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
/Linux-v6.1/include/scsi/
Dscsi_host.h557 struct scsi_host_template *hostt; member

12