SCB *tul_find_first_pend_scb(HCS * pCurHcb) 
static SCB *tul_find_first_pend_scb(HCS * pCurHcb) 
SCB *tul_find_first_pend_scb(HCS * pCurHcb){	SCB *pFirstPend;	pFirstPend = pCurHcb->HCS_FirstPend;	while (pFirstPend != NULL) {		if (pFirstPend->SCB_Opcode != ExecSCSI) {			return (pFirstPend);		}		if (pFirstPend->SCB_TagMsg == 0) {			if ((pCurHcb->HCS_ActTags[pFirstPend->SCB_Target] == 0) &&			    !(pCurHcb->HCS_Tcs[pFirstPend->SCB_Target].TCS_Flags & TCF_BUSY)) {				return (pFirstPend);			}		} else {			if ((pCurHcb->HCS_ActTags[pFirstPend->SCB_Target] >=			  pCurHcb->HCS_MaxTags[pFirstPend->SCB_Target]) |			    (pCurHcb->HCS_Tcs[pFirstPend->SCB_Target].TCS_Flags & TCF_BUSY)) {				pFirstPend = pFirstPend->SCB_NxtScb;				continue;			}			return (pFirstPend);		}		pFirstPend = pFirstPend->SCB_NxtScb;	}	return (pFirstPend);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a2ba192c96d12447472e105890a9cd1b97952747/initio.c/clean/drivers/scsi/initio.c