/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_ioctl.c | 51 if (host->hostt->info) in ioctl_probe() 52 string = host->hostt->info(host); in ioctl_probe() 54 string = host->hostt->name; in ioctl_probe() 280 if (sdev->host->hostt->ioctl) in scsi_ioctl() 281 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl() 295 if (sdev->host->hostt->compat_ioctl) in scsi_compat_ioctl() 296 return sdev->host->hostt->compat_ioctl(sdev, cmd, arg); in scsi_compat_ioctl()
|
H A D | scsi_error.c | 153 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler() 305 if (host->hostt->eh_timed_out) in scsi_times_out() 306 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out() 646 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() 678 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() 793 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local 798 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset() 801 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset() 804 if (!hostt in scsi_try_host_reset() 823 struct scsi_host_template *hostt = host->hostt; scsi_try_bus_reset() local 865 struct scsi_host_template *hostt = host->hostt; scsi_try_target_reset() local 894 struct scsi_host_template *hostt = scmd->device->host->hostt; scsi_try_bus_device_reset() local 923 scsi_try_to_abort_cmd(struct scsi_host_template *hostt, struct scsi_cmnd *scmd) scsi_try_to_abort_cmd() argument [all...] |
H A D | scsi_proc.c | 59 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()
|
H A D | hosts.c | 183 scsi_proc_hostdir_rm(shost->hostt); in scsi_remove_host() 212 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() 424 shost->hostt = sht; in scsi_host_alloc() 509 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc() 639 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work() 658 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
|
H A D | scsi_sysfs.c | 258 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"); 457 mod = sdev->host->hostt->module; in scsi_device_dev_release_usercontext() 515 if (!try_module_get(sdp->host->hostt->module)) in scsi_device_dev_release() 516 sdp->host->hostt->module = NULL; in scsi_device_dev_release() 1027 struct scsi_host_template *sht = sdev->host->hostt; in sdev_store_queue_depth() 1231 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 1235 !sdev->host->hostt in scsi_sdev_attr_is_visible() [all...] |
H A D | scsi_scan.c | 284 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev() 285 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev() 317 if (shost->hostt->target_destroy) in scsi_target_destroy() 318 shost->hostt->target_destroy(starget); in scsi_target_destroy() 452 if (shost->hostt->target_alloc) { in scsi_alloc_target() 453 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 in do_scsi_scan_host() [all...] |
H A D | scsi_lib.c | 996 sdev->host->hostt->dma_need_drain(rq); in scsi_cmd_needs_dma_drain() 1160 if (!dev->host->hostt->init_cmd_priv) in scsi_init_command() 1161 to_clear += dev->host->hostt->cmd_size; in scsi_init_command() 1526 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd() 1568 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_prepare_cmd() 1760 shost->hostt->cmd_size; in scsi_mq_init_request() 1764 if (shost->hostt->init_cmd_priv) { in scsi_mq_init_request() 1765 ret = shost->hostt->init_cmd_priv(shost, cmd); in scsi_mq_init_request() 1780 if (shost->hostt->exit_cmd_priv) in scsi_mq_exit_request() 1781 shost->hostt in scsi_mq_exit_request() [all...] |
H A D | scsi.c | 534 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get() 555 struct module *mod = sdev->host->hostt->module; in scsi_device_put()
|
H A D | am53c974.c | 374 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()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_error.c | 130 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() 346 if (host->hostt->eh_timed_out) { in scsi_timeout() 347 switch (host->hostt->eh_timed_out(scmd)) { in scsi_timeout() 728 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() 760 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() 877 const struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local 907 const struct scsi_host_template *hostt = host->hostt; scsi_try_bus_reset() local 949 const struct scsi_host_template *hostt = host->hostt; scsi_try_target_reset() local 978 const struct scsi_host_template *hostt = scmd->device->host->hostt; scsi_try_bus_device_reset() local 1007 scsi_try_to_abort_cmd(const struct scsi_host_template *hostt, struct scsi_cmnd *scmd) scsi_try_to_abort_cmd() argument [all...] |
H A D | hosts.c | 184 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() 436 shost->hostt = sht; in scsi_host_alloc() 522 if (scsi_proc_hostdir_add(shost->hostt) < 0) in scsi_host_alloc() 652 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work() 671 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
|
H A D | scsi_scan.c | 366 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() 1065 if (sdev->host->hostt->slave_configure) { in scsi_add_lun() 1066 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun() 1941 if (shost->hostt->scan_finished) { in do_scsi_scan_host() 1943 if (shost->hostt in do_scsi_scan_host() [all...] |
H A D | scsi_lib.c | 1003 sdev->host->hostt->dma_need_drain(rq); in scsi_cmd_needs_dma_drain() 1519 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd() 1572 if (!shost->hostt->init_cmd_priv) in scsi_prepare_cmd() 1573 memset(cmd + 1, 0, shost->hostt->cmd_size); in scsi_prepare_cmd() 1581 sg = (void *)cmd + sizeof(struct scsi_cmnd) + shost->hostt->cmd_size; in scsi_prepare_cmd() 1824 shost->hostt->cmd_size; in scsi_mq_init_request() 1828 if (shost->hostt->init_cmd_priv) { in scsi_mq_init_request() 1829 ret = shost->hostt->init_cmd_priv(shost, cmd); in scsi_mq_init_request() 1843 if (shost->hostt->exit_cmd_priv) in scsi_mq_exit_request() 1844 shost->hostt in scsi_mq_exit_request() [all...] |
H A D | scsi_proc.c | 74 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 D | scsi_ioctl.c | 52 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 D | scsi_sysfs.c | 259 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode() 299 const 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"); 1029 const struct scsi_host_template *sht = sdev->host->hostt; in sdev_store_queue_depth() 1260 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 1264 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible() 1506 if (sdev->host->hostt->slave_destroy) in __scsi_remove_device() 1507 sdev->host->hostt->slave_destroy(sdev); in __scsi_remove_device() 1639 const struct scsi_host_template *hostt in scsi_sysfs_device_initialize() local [all...] |
H A D | scsi.c | 751 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get() 758 module_put(sdev->host->hostt->module); in scsi_device_get() 774 struct module *mod = sdev->host->hostt->module; in scsi_device_put()
|
H A D | am53c974.c | 374 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()
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
H A D | ks_wlan.h | 179 struct hostt { struct 510 struct hostt hostt; member
|
/kernel/linux/linux-6.6/drivers/staging/ks7010/ |
H A D | ks_wlan.h | 179 struct hostt { struct 510 struct hostt hostt; member
|
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_pscsi.c | 85 (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()
|
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_pscsi.c | 82 (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()
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_npiv.c | 27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
|
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_npiv.c | 27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 542 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()
|