if (shost->shost_state == SHOST_RECOVERY) 
if (scsi_host_in_recovery(shost)) 
static inline int scsi_host_queue_ready(struct request_queue *q,				   struct Scsi_Host *shost,				   struct scsi_device *sdev){	if (shost->shost_state == SHOST_RECOVERY)		return 0;	if (shost->host_busy == 0 && shost->host_blocked) {		/*		 * unblock after host_blocked iterates to zero		 */		if (--shost->host_blocked == 0) {			SCSI_LOG_MLQUEUE(3,				printk("scsi%d unblocking host at zero depth\n",					shost->host_no));		} else {			blk_plug_device(q);			return 0;		}	}	if ((shost->can_queue > 0 && shost->host_busy >= shost->can_queue) ||	    shost->host_blocked || shost->host_self_blocked) {		if (list_empty(&sdev->starved_entry))			list_add_tail(&sdev->starved_entry, &shost->starved_list);		return 0;	}	/* We're OK to process the command, so we can't be starved */	if (!list_empty(&sdev->starved_entry))		list_del_init(&sdev->starved_entry);	return 1;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/939647ee308e0ad924e776657704c7bedd498664/scsi_lib.c/buggy/drivers/scsi/scsi_lib.c