Lines Matching refs:ASC_ASSERT

3684         ASC_ASSERT(REQPTIME(reqp) <= REQTIMESTAMP()); \
3959 #define ASC_ASSERT(a) macro
3962 #define ASC_ASSERT(a) \ macro
4396 ASC_ASSERT(cplen < ASC_PRTBUF_SIZE); in advansys_proc_info()
4413 ASC_ASSERT(cplen < ASC_PRTBUF_SIZE); in advansys_proc_info()
4437 ASC_ASSERT(cplen < ASC_PRTBUF_SIZE); in advansys_proc_info()
4459 ASC_ASSERT(cplen < ASC_PRTBUF_SIZE); in advansys_proc_info()
4475 ASC_ASSERT(cplen < ASC_PRTBUF_SIZE); in advansys_proc_info()
4492 ASC_ASSERT(cplen <= ASC_PRTBUF_SIZE); in advansys_proc_info()
4509 ASC_ASSERT(cplen <= ASC_PRTBUF_SIZE); in advansys_proc_info()
4532 ASC_ASSERT(cplen < ASC_PRTBUF_SIZE); in advansys_proc_info()
5773 ASC_ASSERT(boardp->prtbuf != NULL); in advansys_release()
5872 ASC_ASSERT(strlen(info) < ASC_INFO_SIZE); in advansys_info()
6120 ASC_ASSERT(last_scp != NULL); in advansys_reset()
6124 ASC_ASSERT(REQPNEXT(last_scp) != NULL); in advansys_reset()
6143 ASC_ASSERT(last_scp != NULL); in advansys_reset()
6147 ASC_ASSERT(REQPNEXT(last_scp) != NULL); in advansys_reset()
6396 ASC_ASSERT(last_scp != NULL); in advansys_interrupt()
6400 ASC_ASSERT(REQPNEXT(last_scp) != NULL); in advansys_interrupt()
6471 ASC_ASSERT(scp->scsi_done != NULL); in asc_scsi_done_list()
7056 ASC_ASSERT(prev_sg_block != NULL); in adv_get_sglist()
7139 ASC_ASSERT(asc_dvc_varp == &boardp->dvc_var.asc_dvc_var); in asc_isr_callback()
7334 ASC_ASSERT(adv_dvc_varp == &boardp->dvc_var.adv_dvc_var); in adv_isr_callback()
7509 ASC_ASSERT(reqp != NULL); in asc_enqueue()
7510 ASC_ASSERT(flag == ASC_FRONT || flag == ASC_BACK); in asc_enqueue()
7512 ASC_ASSERT(tid >= 0 && tid <= ADV_MAX_TID); in asc_enqueue()
7561 ASC_ASSERT(tid >= 0 && tid <= ADV_MAX_TID); in asc_dequeue()
7563 ASC_ASSERT(ascq->q_tidmask & ADV_TID_TO_TIDMASK(tid)); in asc_dequeue()
7568 ASC_ASSERT(ascq->q_last[tid] == reqp); in asc_dequeue()
7574 ASC_ASSERT(ascq->q_cur_cnt[tid] >= 0); in asc_dequeue()
7609 ASC_ASSERT((tid == ASC_TID_ALL) || (tid >= 0 && tid <= ADV_MAX_TID)); in asc_dequeue_list()
7645 ASC_ASSERT(lastp != NULL); in asc_dequeue_list()
7691 ASC_ASSERT(reqp != NULL); in asc_rmqueue()
7694 ASC_ASSERT(tid >= 0 && tid <= ADV_MAX_TID); in asc_rmqueue()
7706 ASC_ASSERT(ascq->q_last[tid] == reqp); in asc_rmqueue()
7710 ASC_ASSERT(ascq->q_last[tid] != NULL); in asc_rmqueue()
7739 ASC_ASSERT(ascq->q_cur_cnt[tid] >= 0); in asc_rmqueue()
8994 ASC_ASSERT(ret < ASC_PRTLINE_SIZE); in asc_prt_line()
9825 ASC_ASSERT(b->sg_cnt <= NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock()
9828 ASC_ASSERT(b->sg_cnt == NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock()
10272 ASC_ASSERT(asc_dvc->drv_ptr != NULL); in AscIsrChipHalted()
15498 ASC_ASSERT(asc_dvc->carrier_buf != NULL); in AdvInitAsc3550Driver()
16120 ASC_ASSERT(asc_dvc->carrier_buf != NULL); in AdvInitAsc38C0800Driver()
16757 ASC_ASSERT(asc_dvc->carrier_buf != NULL); in AdvInitAsc38C1600Driver()
17763 ASC_ASSERT(0); in ASC_INITFUNC()
18003 ASC_ASSERT(scsiq != NULL); /* 'scsiq' should never be NULL. */ in AdvExeScsiQueue()
18048 ASC_ASSERT(ADV_32BALIGN(req_paddr) == req_paddr); in AdvExeScsiQueue()
18049 ASC_ASSERT(req_size >= sizeof(ADV_SCSI_REQ_Q)); in AdvExeScsiQueue()
18383 ASC_ASSERT(scsiq != NULL); in AdvISR()
18513 ASC_ASSERT(0); /* The idle command should never timeout. */ in AdvSendIdleCmd()