Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/scsi/
Dscsi_error.c145 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler()
296 if (host->hostt->eh_timed_out) in scsi_times_out()
297 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out()
645 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
677 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
792 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
797 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
800 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
803 if (!hostt->skip_settle_delay) in scsi_try_host_reset()
822 struct scsi_host_template *hostt = host->hostt; in scsi_try_bus_reset() local
[all …]
Dscsi_ioctl.c51 if (host->hostt->info) in ioctl_probe()
52 string = host->hostt->info(host); in ioctl_probe()
54 string = host->hostt->name; in ioctl_probe()
270 if (sdev->host->hostt->ioctl) in scsi_ioctl()
271 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
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.c258 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode()
298 struct scsi_host_template *sht = shost->hostt; in store_host_reset()
340 !shost->hostt->eh_host_reset_handler)) in store_shost_eh_deadline()
379 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n");
974 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT()
1178 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1182 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1346 if (sdev->host->hostt->sdev_attrs) { in scsi_sysfs_add_sdev()
1347 for (i = 0; sdev->host->hostt->sdev_attrs[i]; i++) { in scsi_sysfs_add_sdev()
1349 sdev->host->hostt->sdev_attrs[i]); in scsi_sysfs_add_sdev()
[all …]
Dhosts.c210 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma()
315 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release()
413 shost->hostt = sht; in scsi_host_alloc()
496 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc()
609 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work()
628 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
Dscsi_scan.c285 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev()
286 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev()
318 if (shost->hostt->target_destroy) in scsi_target_destroy()
319 shost->hostt->target_destroy(starget); in scsi_target_destroy()
453 if (shost->hostt->target_alloc) { in scsi_alloc_target()
454 error = shost->hostt->target_alloc(starget); in scsi_alloc_target()
964 if (sdev->host->hostt->slave_configure) { in scsi_add_lun()
965 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun()
1809 if (shost->hostt->scan_finished) { in do_scsi_scan_host()
1811 if (shost->hostt->scan_start) in do_scsi_scan_host()
[all …]
Dscsi_lib.c1152 sizeof(*cmd) - sizeof(cmd->req) + dev->host->hostt->cmd_size); in scsi_init_command()
1555 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1592 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_mq_prep_fn()
1757 shost->hostt->cmd_size; in scsi_mq_init_request()
1777 if (shost->hostt->map_queues) in scsi_map_queues()
1778 return shost->hostt->map_queues(shost); in scsi_map_queues()
1849 shost->hostt->commit_rqs(shost, hctx->queue_num); in scsi_commit_rqs()
1888 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; in scsi_mq_setup_tags()
1894 if (shost->hostt->commit_rqs) in scsi_mq_setup_tags()
1904 BLK_ALLOC_POLICY_TO_MQ_FLAG(shost->hostt->tag_alloc_policy); in scsi_mq_setup_tags()
Dscsi.c537 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
558 module_put(sdev->host->hostt->module); in scsi_device_put()
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()
Draid_class.c68 if (i->f->cookie != sdev->host->hostt) in raid_match()
Dsd.c1437 if (host->hostt->bios_param) in sd_getgeo()
1438 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()
1708 if (!sdev->host->hostt->compat_ioctl) in sd_compat_ioctl()
1710 return sdev->host->hostt->compat_ioctl(sdev, cmd, (void __user *)arg); in sd_compat_ioctl()
3204 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity()
3205 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
Dscsi_transport_fc.c2323 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work()
2342 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work()
2366 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work()
2385 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss()
3636 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch()
3638 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
Datari_scsi.c380 instance->hostt->can_queue > 1) in falcon_get_lock()
/Linux-v5.4/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.c1044 priv->hostt.buff[priv->hostt.qtail] = event; in hostif_event_check()
1045 priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE; in hostif_event_check()
/Linux-v5.4/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
140 has timed out, unless hostt->eh_timed_out() made lower layers forget
194 hostt EH callbacks. Callbacks may be omitted and omitted ones are
322 hostt->eh_abort_handler() is invoked for each scmd. The
362 *NOTE* If hostt->eh_abort_handler() isn't implemented or
375 instead of issuing STU, hostt->eh_device_reset_handler()
384 hostt->eh_bus_reset_handler() is invoked for each channel
393 This is the last resort. hostt->eh_host_reset_handler()
/Linux-v5.4/drivers/target/
Dtarget_core_pscsi.c85 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba()
110 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba()
111 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
131 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
/Linux-v5.4/drivers/scsi/libfc/
Dfc_npiv.c27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/arm/
Darxescsi.c218 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
Dpowertec.c188 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
Dcumana_2.c300 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
/Linux-v5.4/include/scsi/
Dscsi_host.h548 struct scsi_host_template *hostt; member

12