Lines Matching refs:SHpnt
251 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()
316 || (SHpnt->host_blocked) in scsi_queue_next_request()
317 || (SHpnt->host_self_blocked)) { in scsi_queue_next_request()
328 SHpnt->some_device_starved = 0; in scsi_queue_next_request()
853 struct Scsi_Host *SHpnt; in scsi_request_fn() local
862 SHpnt = SDpnt->host; in scsi_request_fn()
874 if (SHpnt->in_recovery || q->plugged) in scsi_request_fn()
883 if ((SHpnt->can_queue > 0 && (SHpnt->host_busy >= SHpnt->can_queue)) in scsi_request_fn()
884 || (SHpnt->host_blocked) in scsi_request_fn()
885 || (SHpnt->host_self_blocked)) { in scsi_request_fn()
896 SHpnt->some_device_starved = 1; in scsi_request_fn()
995 SHpnt->host_busy++; in scsi_request_fn()
1057 SHpnt->host_busy--; in scsi_request_fn()
1061 SHpnt->some_device_starved = 1; in scsi_request_fn()
1080 SHpnt->host_busy--; in scsi_request_fn()
1120 void scsi_block_requests(struct Scsi_Host * SHpnt) in scsi_block_requests() argument
1122 SHpnt->host_self_blocked = TRUE; in scsi_block_requests()
1145 void scsi_unblock_requests(struct Scsi_Host * SHpnt) in scsi_unblock_requests() argument
1149 SHpnt->host_self_blocked = FALSE; in scsi_unblock_requests()
1151 for (SDloop = SHpnt->host_queue; SDloop; SDloop = SDloop->next) in scsi_unblock_requests()
1176 void scsi_report_bus_reset(struct Scsi_Host * SHpnt, int channel) in scsi_report_bus_reset() argument
1179 for (SDloop = SHpnt->host_queue; SDloop; SDloop = SDloop->next) { in scsi_report_bus_reset()
1196 void scsi_register_blocked_host(struct Scsi_Host * SHpnt) in scsi_register_blocked_host() argument
1200 void scsi_deregister_blocked_host(struct Scsi_Host * SHpnt) in scsi_deregister_blocked_host() argument