Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/scsi/
Dscsi_error.c139 else if (host->hostt->eh_timed_out) in scsi_times_out()
140 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out()
360 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
396 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
512 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
517 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
520 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
523 if (!hostt->skip_settle_delay) in scsi_try_host_reset()
542 struct scsi_host_template *hostt = host->hostt; in scsi_try_bus_reset() local
547 if (!hostt->eh_bus_reset_handler) in scsi_try_bus_reset()
[all …]
Dscsi_ioctl.c50 if (host->hostt->info) in ioctl_probe()
51 string = host->hostt->info(host); in ioctl_probe()
53 string = host->hostt->name; in ioctl_probe()
272 if (sdev->host->hostt->ioctl) in scsi_ioctl()
273 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
Dscsi_proc.c64 n = shost->hostt->proc_info(shost, buffer, start, offset, length, 0); in proc_scsi_read()
93 ret = shost->hostt->proc_info(shost, page, &start, 0, count, 1); in proc_scsi_write_proc()
146 struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_add()
174 if (!shost->hostt->proc_dir) in scsi_proc_host_rm()
178 remove_proc_entry(name, shost->hostt->proc_dir); in scsi_proc_host_rm()
Dscsi_sysfs.c224 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode()
258 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n");
713 struct scsi_host_template *sht = sdev->host->hostt; in sdev_store_queue_depth_rw()
773 struct scsi_host_template *sht = sdev->host->hostt; in sdev_store_queue_type_rw()
877 if (sdev->host->hostt->change_queue_depth) { in scsi_sysfs_add_sdev()
888 if (sdev->host->hostt->change_queue_type) in scsi_sysfs_add_sdev()
904 if (sdev->host->hostt->sdev_attrs) { in scsi_sysfs_add_sdev()
905 for (i = 0; sdev->host->hostt->sdev_attrs[i]; i++) { in scsi_sysfs_add_sdev()
907 sdev->host->hostt->sdev_attrs[i]); in scsi_sysfs_add_sdev()
931 if (sdev->host->hostt->slave_destroy) in __scsi_remove_device()
[all …]
Dhosts.c203 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma()
290 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release()
375 shost->hostt = sht; in scsi_host_alloc()
432 scsi_proc_hostdir_add(shost->hostt); in scsi_host_alloc()
553 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work()
572 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
Dscsi_netlink.c61 struct scsi_host_template *hostt; member
268 if (shost->hostt != driver->hostt) { in scsi_generic_msg_handler()
402 scsi_nl_add_driver(u64 vendor_id, struct scsi_host_template *hostt, in scsi_nl_add_driver() argument
419 driver->hostt = hostt; in scsi_nl_add_driver()
Dscsi_scan.c306 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev()
307 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev()
340 if (shost->hostt->target_destroy) in scsi_target_destroy()
341 shost->hostt->target_destroy(starget); in scsi_target_destroy()
443 if (shost->hostt->target_alloc) { in scsi_alloc_target()
444 error = shost->hostt->target_alloc(starget); in scsi_alloc_target()
931 if (sdev->host->hostt->slave_configure) { in scsi_add_lun()
932 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun()
1827 if (shost->hostt->scan_finished) { in do_scsi_scan_host()
1829 if (shost->hostt->scan_start) in do_scsi_scan_host()
[all …]
Datari_scsi.c713 instance->host_no, instance->hostt->can_queue, in atari_scsi_detect()
714 instance->hostt->cmd_per_lun, in atari_scsi_detect()
715 instance->hostt->sg_tablesize, in atari_scsi_detect()
719 instance->hostt->this_id ); in atari_scsi_detect()
Dscsi_tgt_lib.c291 shost->hostt->eh_abort_handler(cmd); in scsi_tgt_free_queue()
349 err = shost->hostt->transfer_response(cmd, scsi_tgt_cmd_done); in scsi_tgt_transfer_response()
419 err = shost->hostt->eh_abort_handler(cmd); in scsi_tgt_abort_cmd()
Dscsi.c558 cmd->device->host->hostt->queuecommand); in scsi_log_send()
746 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1081 try_module_get(sdev->host->hostt->module); in scsi_device_get()
1098 struct module *module = sdev->host->hostt->module; in scsi_device_put()
Dsd.c1039 if (host->hostt->bios_param) in sd_getgeo()
1040 host->hostt->bios_param(sdp, bdev, sdkp->capacity, diskinfo); in sd_getgeo()
1277 if (sdev->host->hostt->compat_ioctl) { in sd_compat_ioctl()
1280 ret = sdev->host->hostt->compat_ioctl(sdev, cmd, (void __user *)arg); in sd_compat_ioctl()
2390 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity()
2391 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
Draid_class.c70 if (i->f->cookie != sdev->host->hostt) in raid_match()
Dscsi_transport_fc.c2306 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work()
2325 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work()
2349 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work()
2368 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss()
3778 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch()
3780 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
Dsg.c1010 return put_user(sdp->device->host->hostt->emulated, ip); in sg_ioctl()
1115 if (sdev->host->hostt->compat_ioctl) { in sg_compat_ioctl()
1118 ret = sdev->host->hostt->compat_ioctl(sdev, cmd_in, (void __user *)arg); in sg_compat_ioctl()
2615 scsidp->host->hostt->emulated); in sg_proc_seq_show_debug()
/linux-2.6.39/Documentation/scsi/
Dscsi_eh.txt45 invoking hostt->queuecommand() or SCSI midlayer will time it out.
86 1. invokes optional hostt->eh_timed_out() callback. Return value can
145 has timed out, unless hostt->eh_timed_out() made lower layers forget
199 hostt EH callbacks. Callbacks may be omitted and omitted ones are
324 hostt->eh_abort_handler() is invoked for each scmd. The
364 *NOTE* If hostt->eh_abort_handler() isn't implemented or
377 instead of issuing STU, hostt->eh_device_reset_handler()
386 hostt->eh_bus_reset_handler() is invoked for each channel
395 This is the last resort. hostt->eh_host_reset_handler()
/linux-2.6.39/drivers/target/
Dtarget_core_pscsi.c119 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba()
147 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba()
148 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
168 hba_depth = (sh->hostt->can_queue > sh->can_queue) ? in pscsi_pmode_enable_hba()
169 sh->hostt->can_queue : sh->can_queue; in pscsi_pmode_enable_hba()
178 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
/linux-2.6.39/include/scsi/
Dscsi_netlink.h133 int scsi_nl_add_driver(u64 vendor_id, struct scsi_host_template *hostt,
Dscsi_host.h567 struct scsi_host_template *hostt; member
/linux-2.6.39/drivers/scsi/libfc/
Dfc_npiv.c38 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/linux-2.6.39/drivers/scsi/libsas/
Dsas_scsi_host.c506 if (!shost->hostt->eh_device_reset_handler) in try_to_reset_cmd_device()
509 res = shost->hostt->eh_device_reset_handler(cmd); in try_to_reset_cmd_device()
514 if (shost->hostt->eh_bus_reset_handler) in try_to_reset_cmd_device()
515 return shost->hostt->eh_bus_reset_handler(cmd); in try_to_reset_cmd_device()
Dsas_host_smp.c192 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
/linux-2.6.39/drivers/scsi/arm/
Darxescsi.c217 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
Dpowertec.c191 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
Dcumana_2.c303 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
Deesox.c388 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()

12