Searched refs:ERR_IF (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_util.c268 if( CHK_NULL( crc32_packet) || ERR_IF( 0 == crc32_length ) || ERR_IF( 0 != ( crc32_length % 8 ) ) )
H A Dbnxe_context.c308 if ERR_IF( NULL != pdev->context_info )
584 ERR_IF(type >= ARRSIZE(pdev->context_info->proto_pending)) )
706 ERR_IF(cid > pdev->params.max_func_connections) ||
707 ERR_IF(pdev->context_info->array[cid].invalid != LM_CONTEXT_INVALID_WAIT) )
757 ERR_IF(type >= ARRSIZE(pdev->context_info->proto_end)) ||
758 ERR_IF(cid > (pdev->context_info->proto_end[type])) ||
759 ERR_IF(cid < (pdev->context_info->proto_start[type])) ||
837 ERR_IF(pdev->context_info->array[cid].invalid != LM_CONTEXT_INVALID_DELETE) ||
838 ERR_IF(cid > pdev->params.max_func_connections) )
853 if ERR_IF(typ
[all...]
H A Dlm_sp_req_mgr.c57 if (ERR_IF(!s_list_is_empty(&sp_req_mgr->pending_reqs)))
165 if ( ERR_IF( seq_num != sp_req_mgr->req_seq_number ) ||
166 ERR_IF( sp_req_mgr->blocked == FALSE ) )
H A Dlm_resc.c193 if(ERR_IF(!mem_virt))
262 if(ERR_IF(!mem_virt))
310 ERR_IF((ARRSIZE(pdev->tx_info.chain) <= cid) || !page_cnt))
323 if(ERR_IF(!tx_chain->bd_chain.bd_chain_virt))
361 ERR_IF((ARRSIZE(pdev->rx_info.rxq_chain) <= cid) || !page_cnt))
386 if(ERR_IF(!bd_chain->bd_chain_virt))
411 ERR_IF((ARRSIZE(pdev->rx_info.rcq_chain) <= cid) || !page_cnt))
431 if(ERR_IF(!rcq_chain->bd_chain.bd_chain_virt))
470 ERR_IF((ARRSIZE(pdev->rx_info.rxq_chain) <= cid) || !page_cnt))
490 if(ERR_IF(!bd_chai
[all...]
H A Dlm_hw_init_reset.c1234 if(ERR_IF(!pdev))
2623 if(ERR_IF(!pdev))
2667 if(ERR_IF(!pdev))
2686 if(ERR_IF(!pdev))
2825 if(ERR_IF(!pdev))
2844 if(ERR_IF(!pdev))
2926 if(ERR_IF(!pdev))
2939 if(ERR_IF(!pdev))
2955 if(ERR_IF(!pdev))
3108 if(ERR_IF(!pde
[all...]
H A Dlm_send.c274 if (ERR_IF(CHK_NULL(pdev) || CHK_NULL(txq) || !buf_size)) {
318 if (ERR_IF(CHK_NULL(pdev) || CHK_NULL(txq) || CHK_NULL(coalesce_buf))) {
356 if (ERR_IF(CHK_NULL(pdev) || CHK_NULL(txq) ||
384 if (ERR_IF(copied_bytes != pkt_size)) {
658 if (ERR_IF(packet->u1.tx.coalesce_buf != NULL))
H A Dlm_power.c557 if( ERR_IF(0 == mask_size) || ERR_IF( mask_size > LM_NWUF_PATTERN_MASK_SIZE ) )
668 if ERR_IF( 0xffffffff == nwuf->crc32 )
H A Dlm_sp.c1155 if (ERR_IF(con_state != LM_CON_STATE_OPEN))
1211 if (ERR_IF(lm_get_con_state(pdev, cid) != LM_CON_STATE_HALT))
1248 if (ERR_IF(lm_get_con_state(pdev, cid) != LM_CON_STATE_TERMINATE))
1530 if ERR_IF(!mac_addr)
1764 if ERR_IF(!pdev || !mac_addr)
2444 if ERR_IF(!(pdev && hash_key))
2524 if ERR_IF(!(pdev && chain_indirection_table))
3505 ERR_IF( type >= ARRSIZE( pdev->cid_recycled_callbacks ) ) ||
3506 ERR_IF( NULL != pdev->cid_recycled_callbacks[type] ) )
3521 ERR_IF( typ
[all...]
H A Dlm_stats.c1755 if ERR_IF( LM_STATS_FLAGS_ALL != stats_flags_assigned )
3041 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
3061 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
3078 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
3095 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
3112 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
3129 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
3146 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
3163 if ERR_IF( LM_STATUS_SUCCESS != lm_status )
H A Dlm_dmae.c786 if ERR_IF( ( ( 0 == command->dst_addr_lo ) && ( command->dst_addr_hi == command->dst_addr_lo ) ) ||
1015 if ( CHK_NULL(pdev) || ERR_IF( 0 == operation->blocks[0].length ) )
H A Dlm_mcp.c593 if( ERR_IF(PORT_ID(pdev) > 1) || ERR_IF(( FUNC_ID(pdev)) >= ARRSIZE(g_lm_loader.path_arr[PATH_ID(pdev)].func_arr)) )
H A Dlm_recv.c998 if (ERR_IF(sp_cqes->idx >= MAX_NUM_SPE))
H A Dlm_devinfo.c1289 if (ERR_IF(max_supported_cons[port] < max_eth_cons[port]))
1316 if (ERR_IF((max_iscsi_cons[port] + max_rdma_cons[port] + max_fcoe_cons[port] + max_toe_cons[port] + max_eth_cons[port]) > max_supported_cons[port]))
1338 if (ERR_IF(pdev->hw_info.max_port_conns > max_bar_supported_cons[port]))
H A Dlm_sb.c1181 if(ERR_IF(!pdev)) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Ddebug.h843 // if( ERR_IF( val < 0 ))
847 #define ERR_IF(cond)(((cond)==TRUE) ? (dbg_out(NULL, WARN, DBG_ERR_STR" ErrIf failed %s\n",#cond), TRUE): FALSE ) macro
882 #define ERR_IF(cond)(cond==TRUE) macro
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c191 if (ERR_IF(!eq_chain->bd_chain.bd_chain_virt))
229 if(CHK_NULL(pdev) || ERR_IF((ARRSIZE(pdev->iscsi_info.run_time.eq_chain) <= idx)))
345 if(CHK_NULL(pdev) || ERR_IF((ARRSIZE(pdev->fcoe_info.run_time.eq_chain) <= idx)))
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4rx.c1041 if (ERR_IF(gen_buf == NULL)) {
2487 ERR_IF((ARRSIZE(pdev->params.l2_cli_con_params) <= chain_idx) ||
H A Dlm_l4sp.c1823 ERR_IF((ARRSIZE(pdev->params.l2_cli_con_params) <= chain_idx) ||
2141 if (ERR_IF(tcp->tcp_const.hash_value >= (u8_t)USTORM_INDIRECTION_TABLE_SIZE)) {
2808 if (ERR_IF(expect_rwin != tcp->tcp_cached.initial_rcv_wnd)) {
3579 if ERR_IF(tcp_cached->initial_rcv_wnd > MAX_INITIAL_RCV_WND) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c995 if ERR_IF(!(pdev && IS_CHANNEL_VFDEV(pdev) && mess && pdev->vars.vf_pf_mess.message_virt_addr)) {

Completed in 170 milliseconds