Lines Matching refs:WARN_ON
328 WARN_ON(1); in bfa_plog_add()
615 WARN_ON(bfa == NULL); in bfa_fcxp_init_reqrsp()
622 WARN_ON(*sga_cbfn == NULL); in bfa_fcxp_init_reqrsp()
623 WARN_ON(*sglen_cbfn == NULL); in bfa_fcxp_init_reqrsp()
635 WARN_ON(1); in bfa_fcxp_init_reqrsp()
649 WARN_ON(bfa == NULL); in bfa_fcxp_init()
690 WARN_ON(!bfa_q_is_on_q(&mod->fcxp_active_q, fcxp)); in bfa_fcxp_put()
743 WARN_ON(fcxp->send_cbfn == NULL); in hal_fcxp_send_comp()
882 WARN_ON(fcxp->nreq_sgles != 1); in bfa_fcxp_queue()
886 WARN_ON(reqi->req_tot_len != 0); in bfa_fcxp_queue()
895 WARN_ON(rspi->rsp_maxlen > BFA_FCXP_MAX_LBUF_SZ); in bfa_fcxp_queue()
901 WARN_ON(fcxp->nrsp_sgles != 1); in bfa_fcxp_queue()
906 WARN_ON(rspi->rsp_maxlen != 0); in bfa_fcxp_queue()
953 WARN_ON(bfa == NULL); in bfa_fcxp_req_rsp_alloc()
980 WARN_ON(fcxp->use_ireqbuf != 1); in bfa_fcxp_get_reqbuf()
1007 WARN_ON(fcxp->use_irspbuf != 1); in bfa_fcxp_get_rspbuf()
1028 WARN_ON(fcxp == NULL); in bfa_fcxp_free()
1107 WARN_ON(1); in bfa_fcxp_abort()
1123 WARN_ON(!list_empty(&mod->fcxp_req_free_q)); in bfa_fcxp_req_rsp_alloc_wait()
1125 WARN_ON(!list_empty(&mod->fcxp_rsp_free_q)); in bfa_fcxp_req_rsp_alloc_wait()
1149 WARN_ON(!bfa_q_is_on_q(&mod->req_wait_q, wqe) || in bfa_fcxp_walloc_cancel()
1181 WARN_ON(1); in bfa_fcxp_isr()
1604 WARN_ON(rsp->bfa_tag >= mod->num_lps); in bfa_lps_login_rsp()
1685 WARN_ON(rsp->bfa_tag >= mod->num_lps); in bfa_lps_logout_rsp()
1739 WARN_ON(!m); in bfa_lps_send_login()
1766 WARN_ON(!m); in bfa_lps_send_logout()
1785 WARN_ON(!m); in bfa_lps_send_set_n2n_pid()
2063 WARN_ON(1); in bfa_lps_isr()
2218 WARN_ON(!fcport->event_cbfn); in bfa_fcport_sm_enabling()
2276 WARN_ON(!fcport->event_cbfn); in bfa_fcport_sm_linkdown()
3035 WARN_ON(1); in bfa_fcport_scn()
3513 WARN_ON(scn->trunk_state != BFA_TRUNK_ONLINE && in bfa_trunk_scn()
3626 WARN_ON(!fcport->cfg.maxfrsize); in bfa_fcport_init()
3627 WARN_ON(!fcport->cfg.rx_bbcredit); in bfa_fcport_init()
3628 WARN_ON(!fcport->speed_sup); in bfa_fcport_init()
3753 WARN_ON(1); in bfa_fcport_isr()
4918 WARN_ON(!mod->num_rports || in bfa_rport_attach()
4990 WARN_ON(!bfa_q_is_on_q(&mod->rp_active_q, rport)); in bfa_rport_free()
5104 WARN_ON(msg.create_rsp->status != BFA_STATUS_OK); in bfa_rport_isr()
5110 WARN_ON(msg.delete_rsp->status != BFA_STATUS_OK); in bfa_rport_isr()
5138 WARN_ON(1); in bfa_rport_isr()
5173 WARN_ON(!bfa_sm_cmp_state(rp, bfa_rport_sm_uninit)); in bfa_rport_create()
5182 WARN_ON(rport_info->max_frmsz == 0); in bfa_rport_online()
5200 WARN_ON(speed == 0); in bfa_rport_speed()
5201 WARN_ON(speed == BFA_PORT_SPEED_AUTO); in bfa_rport_speed()
5324 WARN_ON(sgpg_pa.pa & (sgpg_sz - 1)); in bfa_sgpg_attach()
5378 WARN_ON(!hsgpg); in bfa_sgpg_malloc()
5393 WARN_ON(mod->free_sgpgs > mod->num_sgpgs); in bfa_sgpg_mfree()
5423 WARN_ON(nsgpg <= 0); in bfa_sgpg_wait()
5424 WARN_ON(nsgpg <= mod->free_sgpgs); in bfa_sgpg_wait()
5435 WARN_ON(!list_empty(&mod->sgpg_wait_q)); in bfa_sgpg_wait()
5449 WARN_ON(!bfa_q_is_on_q(&mod->sgpg_wait_q, wqe)); in bfa_sgpg_wcancel()
5666 WARN_ON(uf->data_len < sizeof(struct fchs_s)); in uf_recv()
5759 WARN_ON(1); in bfa_uf_isr()
6081 WARN_ON(1); in bfa_fcdiag_intr()
6331 WARN_ON(1); in bfa_dport_sm_disabled()
7005 WARN_ON(dport->test_state != BFA_DPORT_ST_COMP); in bfa_dport_start()