/linux-2.4.37.9/drivers/scsi/ |
D | scsi_scan.c | 47 Scsi_Device ** SDpnt, struct Scsi_Host *shpnt, 358 Scsi_Device *SDpnt; in scan_scsis() local 365 SDpnt = (Scsi_Device *) kmalloc(sizeof(Scsi_Device), in scan_scsis() 367 if (SDpnt) { in scan_scsis() 368 memset(SDpnt, 0, sizeof(Scsi_Device)); in scan_scsis() 376 scsi_initialize_queue(SDpnt, shpnt); in scan_scsis() 377 SDpnt->request_queue.queuedata = (void *) SDpnt; in scan_scsis() 390 SDpnt->queue_depth = 1; in scan_scsis() 391 SDpnt->host = shpnt; in scan_scsis() 392 SDpnt->online = TRUE; in scan_scsis() [all …]
|
D | scsi.c | 151 void scsi_build_commandblocks(Scsi_Device * SDpnt); 194 void scsi_initialize_queue(Scsi_Device * SDpnt, struct Scsi_Host * SHpnt) in scsi_initialize_queue() argument 196 request_queue_t *q = &SDpnt->request_queue; in scsi_initialize_queue() 201 q->queuedata = (void *) SDpnt; in scsi_initialize_queue() 357 Scsi_Device *SDpnt; in scsi_allocate_device() local 385 for (SDpnt = host->host_queue; in scsi_allocate_device() 386 SDpnt; in scsi_allocate_device() 387 SDpnt = SDpnt->next) { in scsi_allocate_device() 392 if (SDpnt->channel != device->channel in scsi_allocate_device() 393 || SDpnt->id != device->id in scsi_allocate_device() [all …]
|
D | scsi_dma.c | 195 Scsi_Device *SDpnt; in scsi_resize_dma_pool() local 238 for (SDpnt = host->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_resize_dma_pool() 247 if (SDpnt->type == TYPE_WORM || SDpnt->type == TYPE_ROM || in scsi_resize_dma_pool() 248 SDpnt->type == TYPE_DISK || SDpnt->type == TYPE_MOD) { in scsi_resize_dma_pool() 258 SDpnt->queue_depth; in scsi_resize_dma_pool() 259 if (SDpnt->type == TYPE_WORM || SDpnt->type == TYPE_ROM) in scsi_resize_dma_pool() 260 new_dma_sectors += (2048 >> 9) * SDpnt->queue_depth; in scsi_resize_dma_pool() 261 } else if (SDpnt->type == TYPE_SCANNER || in scsi_resize_dma_pool() 262 SDpnt->type == TYPE_PRINTER || in scsi_resize_dma_pool() 263 SDpnt->type == TYPE_PROCESSOR || in scsi_resize_dma_pool() [all …]
|
D | scsi_lib.c | 250 Scsi_Device *SDpnt; in scsi_queue_next_request() local 273 SDpnt = (Scsi_Device *) q->queuedata; in scsi_queue_next_request() 274 SHpnt = SDpnt->host; in scsi_queue_next_request() 283 if (SDpnt->single_lun in scsi_queue_next_request() 285 && SDpnt->device_busy == 0) { in scsi_queue_next_request() 288 for (SDpnt = SHpnt->host_queue; in scsi_queue_next_request() 289 SDpnt; in scsi_queue_next_request() 290 SDpnt = SDpnt->next) { in scsi_queue_next_request() 295 || (SDpnt->device_blocked)) { in scsi_queue_next_request() 298 q = &SDpnt->request_queue; in scsi_queue_next_request() [all …]
|
D | scsi_error.c | 244 int scsi_block_when_processing_errors(Scsi_Device * SDpnt) in scsi_block_when_processing_errors() argument 247 SCSI_SLEEP(&SDpnt->host->host_wait, SDpnt->host->in_recovery); in scsi_block_when_processing_errors() 249 SCSI_LOG_ERROR_RECOVERY(5, printk("Open returning %d\n", SDpnt->online)); in scsi_block_when_processing_errors() 251 return SDpnt->online; in scsi_block_when_processing_errors() 1235 Scsi_Device *SDpnt; in scsi_restart_operations() local 1256 for (SDpnt = host->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_restart_operations() 1261 || (SDpnt->device_blocked)) { in scsi_restart_operations() 1264 q = &SDpnt->request_queue; in scsi_restart_operations() 1309 Scsi_Device *SDpnt; in scsi_unjam_host() local 1324 for (SDpnt = host->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_unjam_host() [all …]
|
D | scsi_obsolete.c | 834 Scsi_Device *SDpnt; in scsi_mark_host_reset() local 836 for (SDpnt = Host->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_mark_host_reset() 837 for (SCpnt = SDpnt->device_queue; SCpnt; SCpnt = SCpnt->next) in scsi_mark_host_reset() 848 Scsi_Device *SDpnt; in scsi_mark_bus_reset() local 850 for (SDpnt = Host->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_mark_bus_reset() 851 for (SCpnt = SDpnt->device_queue; SCpnt; SCpnt = SCpnt->next) in scsi_mark_bus_reset() 862 Scsi_Device *SDpnt; in scsi_reset() local 937 for (SDpnt = host->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_reset() 938 SCpnt1 = SDpnt->device_queue; in scsi_reset() 1043 for (SDpnt = host->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_reset() [all …]
|
D | scsi_merge.c | 292 Scsi_Device * SDpnt; in recount_segments() local 296 SDpnt = SCpnt->device; in recount_segments() 299 CLUSTERABLE_DEVICE(SHpnt, SDpnt), in recount_segments() 406 Scsi_Device *SDpnt = q->queuedata; in __scsi_back_merge_fn() local 407 struct Scsi_Host *SHpnt = SDpnt->host; in __scsi_back_merge_fn() 465 Scsi_Device *SDpnt = q->queuedata; in __scsi_front_merge_fn() local 466 struct Scsi_Host *SHpnt = SDpnt->host; in __scsi_front_merge_fn() 601 Scsi_Device *SDpnt = q->queuedata; in __scsi_merge_requests_fn() local 602 struct Scsi_Host *SHpnt = SDpnt->host; in __scsi_merge_requests_fn() 1154 void initialize_merge_fn(Scsi_Device * SDpnt) in initialize_merge_fn() argument [all …]
|
D | scsi.h | 453 extern void initialize_merge_fn(Scsi_Device * SDpnt); 463 extern int scsi_maybe_unblock_host(Scsi_Device * SDpnt); 473 extern int scsi_starvation_completion(Scsi_Device * SDpnt); 480 extern void scsi_release_commandblocks(Scsi_Device * SDpnt); 481 extern void scsi_build_commandblocks(Scsi_Device * SDpnt);
|
D | scsi_ioctl.c | 98 Scsi_Device *SDpnt; in ioctl_internal_command() local 149 SDpnt = SRpnt->sr_device; in ioctl_internal_command() 195 Scsi_Device *SDpnt; in scsi_ioctl_send_command() local 339 SDpnt = SRpnt->sr_device; in scsi_ioctl_send_command()
|
D | hosts.h | 452 extern void scsi_free_host_dev(Scsi_Device * SDpnt); 533 void scsi_initialize_queue(Scsi_Device * SDpnt, struct Scsi_Host * SHpnt);
|
D | cpqfcTSinit.c | 411 Scsi_Device *SDpnt; in cpqfcTS_ioctl() local 527 SDpnt = ScsiPassThruCmnd->device; in cpqfcTS_ioctl() 534 wake_up(&SDpnt->scpnt_wait); in cpqfcTS_ioctl() 1361 Scsi_Device *SDpnt; in cpqfcTS_TargetDeviceReset() local 1421 SDpnt = SCpnt->device; in cpqfcTS_TargetDeviceReset() 1428 wake_up(&SDpnt->scpnt_wait); in cpqfcTS_TargetDeviceReset() 1437 Scsi_Device *SDpnt = Cmnd->device; in cpqfcTS_eh_device_reset() local 1440 retval = cpqfcTS_TargetDeviceReset(SDpnt, 0); in cpqfcTS_eh_device_reset()
|
D | ChangeLog | 260 * scsi.c (scan_scsis): memset(SDpnt, 0) and set SCmd.device to SDpnt. 1283 (scan_scsis): Get SDpnt from scsi_init_malloc, and refresh
|
/linux-2.4.37.9/drivers/acorn/scsi/ |
D | fas216.c | 2521 Scsi_Device *SDpnt; in fas216_eh_bus_reset() local 2549 for (SDpnt = info->host->host_queue; SDpnt; SDpnt = SDpnt->next) { in fas216_eh_bus_reset() 2552 if (SDpnt->soft_reset) in fas216_eh_bus_reset() 2555 queue_remove_all_target(&info->queues.issue, SDpnt->id); in fas216_eh_bus_reset() 2556 queue_remove_all_target(&info->queues.disconnected, SDpnt->id); in fas216_eh_bus_reset() 2557 if (info->origSCpnt && info->origSCpnt->target == SDpnt->id) in fas216_eh_bus_reset() 2559 if (info->reqSCpnt && info->reqSCpnt->target == SDpnt->id) in fas216_eh_bus_reset() 2564 clear_bit(SDpnt->id * 8 + i, info->busyluns); in fas216_eh_bus_reset()
|