Home
last modified time | relevance | path

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

12

/linux/drivers/scsi/
H A 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()
234 if (!shost->hostt->eh_abort_handler) { in scsi_abort_command()
347 if (host->hostt->eh_timed_out) { in scsi_timeout()
348 switch (host->hostt->eh_timed_out(scmd)) { in scsi_timeout()
729 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
761 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
878 const struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
883 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
[all …]
H A Dscsi_scan.c366 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev()
367 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev()
399 if (shost->hostt->target_destroy) in scsi_target_destroy()
400 shost->hostt->target_destroy(starget); in scsi_target_destroy()
535 if (shost->hostt->target_alloc) { in scsi_alloc_target()
536 error = shost->hostt->target_alloc(starget); in scsi_alloc_target()
876 const struct scsi_host_template *hostt = sdev->host->hostt; in scsi_add_lun() local
1077 if (hostt->device_configure) in scsi_add_lun()
1078 ret = hostt->device_configure(sdev, &lim); in scsi_add_lun()
1079 else if (hostt->slave_configure) in scsi_add_lun()
[all …]
H A Dhosts.c184 scsi_proc_hostdir_rm(shost->hostt); in scsi_remove_host()
222 const struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma()
361 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release()
436 shost->hostt = sht; in scsi_host_alloc()
528 if (scsi_proc_hostdir_add(shost->hostt) < 0) in scsi_host_alloc()
658 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work()
677 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
H A Dscsi_proc.c74 if (!shost->hostt->write_info) in proc_scsi_host_write()
82 ret = shost->hostt->write_info(shost, page, count); in proc_scsi_host_write()
92 return shost->hostt->show_info(m, shost); in proc_scsi_show()
220 const struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_add()
251 const struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_rm()
H A 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()
933 if (!sdev->host->hostt->compat_ioctl) in scsi_ioctl()
935 return sdev->host->hostt->compat_ioctl(sdev, cmd, arg); in scsi_ioctl()
938 if (!sdev->host->hostt->ioctl) in scsi_ioctl()
940 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
H A Dscsi_lib.c1094 sdev->host->hostt->dma_need_drain(rq); in scsi_cmd_needs_dma_drain()
1602 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1655 if (!shost->hostt->init_cmd_priv) in scsi_prepare_cmd()
1656 memset(cmd + 1, 0, shost->hostt->cmd_size); in scsi_prepare_cmd()
1664 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_prepare_cmd()
1906 shost->hostt->cmd_size; in scsi_mq_init_request()
1910 if (shost->hostt->init_cmd_priv) { in scsi_mq_init_request()
1911 ret = shost->hostt->init_cmd_priv(shost, cmd); in scsi_mq_init_request()
1925 if (shost->hostt->exit_cmd_priv) in scsi_mq_exit_request()
1926 shost->hostt->exit_cmd_priv(shost, cmd); in scsi_mq_exit_request()
[all …]
H A Dscsi.c767 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
774 module_put(sdev->host->hostt->module); in scsi_device_get()
790 struct module *mod = sdev->host->hostt->module; in scsi_device_put()
H A Dam53c974.c374 const 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()
H A Draid_class.c68 if (i->f->cookie != sdev->host->hostt) in raid_match()
H A 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()
H A Dsd.c1615 if (host->hostt->bios_param) in sd_getgeo()
1616 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()
3848 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity()
3849 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
H A Dsg.c1098 return put_user(sdp->device->host->hostt->emulated, ip); in sg_ioctl_common()
2610 scsidp->host->hostt->emulated); in sg_proc_seq_show_debug()
H A DNCR5380.c424 instance->hostt->name, instance->irq, hostdata->io_port, in NCR5380_init()
/linux/Documentation/scsi/
H A 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
155 has timed out, unless hostt->eh_timed_out() made lower layers forget
212 hostt EH callbacks. Callbacks may be omitted and omitted ones are
356 hostt->eh_abort_handler() is invoked for each scmd. The
396 *NOTE* If hostt->eh_abort_handler() isn't implemented or
409 instead of issuing STU, hostt->eh_device_reset_handler()
418 hostt->eh_bus_reset_handler() is invoked for each channel
427 This is the last resort. hostt->eh_host_reset_handler()
/linux/drivers/scsi/libfc/
H A Dfc_npiv.c27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/linux/drivers/scsi/libsas/
H A Dsas_scsi_host.c509 if (!shost->hostt->eh_device_reset_handler) in try_to_reset_cmd_device()
512 res = shost->hostt->eh_device_reset_handler(cmd); in try_to_reset_cmd_device()
517 if (shost->hostt->eh_target_reset_handler) in try_to_reset_cmd_device()
518 return shost->hostt->eh_target_reset_handler(cmd); in try_to_reset_cmd_device()
H A Dsas_host_smp.c270 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
/linux/drivers/scsi/arm/
H A Darxescsi.c222 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
H A Dpowertec.c193 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
H A Dcumana_2.c305 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
H A Deesox.c390 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
/linux/include/scsi/
H A Dscsi_host.h566 const struct scsi_host_template *hostt; member
/linux/drivers/scsi/esas2r/
H A Desas2r_main.c642 proc_dir = scsi_template_proc_dir(esas2r_proc_host->hostt); in esas2r_exit()
737 proc_dir = scsi_template_proc_dir(sh->hostt); in esas2r_info()
/linux/drivers/scsi/qedi/
H A Dqedi_iscsi.c1283 if (strcmp(shost->hostt->proc_name, "qedi")) { in qedi_set_path()
1286 shost->hostt->proc_name); in qedi_set_path()
/linux/Documentation/driver-api/
H A Dlibata.rst415 ``hostt->queuecommand`` callback. scmds can either be simulated or
425 Note that SCSI midlayer invokes hostt->queuecommand while holding

12