Home
last modified time | relevance | path

Searched refs:SHpnt (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dscsi_lib.c251 struct Scsi_Host *SHpnt; in scsi_queue_next_request() local
274 SHpnt = SDpnt->host; in scsi_queue_next_request()
288 for (SDpnt = SHpnt->host_queue; in scsi_queue_next_request()
291 if (((SHpnt->can_queue > 0) in scsi_queue_next_request()
292 && (SHpnt->host_busy >= SHpnt->can_queue)) in scsi_queue_next_request()
293 || (SHpnt->host_blocked) in scsi_queue_next_request()
294 || (SHpnt->host_self_blocked) in scsi_queue_next_request()
312 if (SHpnt->some_device_starved) { in scsi_queue_next_request()
313 for (SDpnt = SHpnt->host_queue; SDpnt; SDpnt = SDpnt->next) { in scsi_queue_next_request()
315 if ((SHpnt->can_queue > 0 && (SHpnt->host_busy >= SHpnt->can_queue)) in scsi_queue_next_request()
[all …]
Dscsi_merge.c291 struct Scsi_Host *SHpnt; in recount_segments() local
295 SHpnt = SCpnt->host; in recount_segments()
299 CLUSTERABLE_DEVICE(SHpnt, SDpnt), in recount_segments()
300 SHpnt->unchecked_isa_dma, NULL); in recount_segments()
310 struct Scsi_Host *SHpnt, in scsi_new_mergeable() argument
321 req->nr_segments >= SHpnt->sg_tablesize) in scsi_new_mergeable()
329 struct Scsi_Host *SHpnt, in scsi_new_segment() argument
337 if (req->nr_hw_segments >= SHpnt->sg_tablesize || in scsi_new_segment()
338 req->nr_segments >= SHpnt->sg_tablesize) in scsi_new_segment()
347 struct Scsi_Host *SHpnt, in scsi_new_segment() argument
[all …]
Dhosts.h453 extern Scsi_Device * scsi_get_host_dev(struct Scsi_Host * SHpnt);
455 extern void scsi_unblock_requests(struct Scsi_Host * SHpnt);
456 extern void scsi_block_requests(struct Scsi_Host * SHpnt);
457 extern void scsi_report_bus_reset(struct Scsi_Host * SHpnt, int channel);
486 extern void scsi_register_blocked_host(struct Scsi_Host * SHpnt);
487 extern void scsi_deregister_blocked_host(struct Scsi_Host * SHpnt);
489 static inline void scsi_set_pci_device(struct Scsi_Host *SHpnt, in scsi_set_pci_device() argument
492 SHpnt->pci_dev = pdev; in scsi_set_pci_device()
533 void scsi_initialize_queue(Scsi_Device * SDpnt, struct Scsi_Host * SHpnt);
Dscsi.c194 void scsi_initialize_queue(Scsi_Device * SDpnt, struct Scsi_Host * SHpnt) in scsi_initialize_queue() argument
2744 Scsi_Device * scsi_get_host_dev(struct Scsi_Host * SHpnt) in scsi_get_host_dev() argument
2766 SDpnt->host = SHpnt; in scsi_get_host_dev()
2767 SDpnt->id = SHpnt->this_id; in scsi_get_host_dev()
2773 scsi_initialize_queue(SDpnt, SHpnt); in scsi_get_host_dev()