SCB *tul_alloc_scb(HCS * hcsp)
static SCB *tul_alloc_scb(HCS * hcsp)
SCB *tul_alloc_scb(HCS * hcsp){	SCB *pTmpScb;	ULONG flags;	spin_lock_irqsave(&(hcsp->HCS_AvailLock), flags);	if ((pTmpScb = hcsp->HCS_FirstAvail) != NULL) {#if DEBUG_QUEUE		printk("find scb at %08lx\n", (ULONG) pTmpScb);#endif		if ((hcsp->HCS_FirstAvail = pTmpScb->SCB_NxtScb) == NULL)			hcsp->HCS_LastAvail = NULL;		pTmpScb->SCB_NxtScb = NULL;		pTmpScb->SCB_Status = SCB_RENT;	}	spin_unlock_irqrestore(&(hcsp->HCS_AvailLock), flags);	return (pTmpScb);}