Home
last modified time | relevance | path

Searched refs:BUG_ON (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/sys/dev/drm2/
H A Ddrm_mm.c125 BUG_ON(!hole_node->hole_follows || node->allocated); in drm_mm_insert_helper()
150 BUG_ON(node->start + node->size > adj_end); in drm_mm_insert_helper()
217 BUG_ON(!hole_node->hole_follows || node->allocated); in drm_mm_insert_helper_range()
247 BUG_ON(node->start + node->size > adj_end); in drm_mm_insert_helper_range()
248 BUG_ON(node->start + node->size > end); in drm_mm_insert_helper_range()
318 BUG_ON(node->scanned_block || node->scanned_prev_free in drm_mm_remove_node()
325 BUG_ON(drm_mm_hole_node_start(node) in drm_mm_remove_node()
329 BUG_ON(drm_mm_hole_node_start(node) in drm_mm_remove_node()
390 BUG_ON(mm->scanned_blocks); in drm_mm_search_free_generic()
405 BUG_ON(!entry->hole_follows); in drm_mm_search_free_generic()
[all …]
H A Ddrm_os_freebsd.h98 #define BUG_ON(cond) KASSERT(!(cond), ("BUG ON: " #cond " -> 0x%jx", (uintmax_t)(cond))) macro
/freebsd/contrib/ofed/libcxgb4/
H A Dcq.c64 BUG_ON(in_use < 0); in c4iw_flush_rq()
107 BUG_ON(idx >= wq->sq.size); in c4iw_flush_sq()
110 BUG_ON(swsqe->flushed); in c4iw_flush_sq()
114 BUG_ON(swsqe->opcode != FW_RI_READ_REQ); in c4iw_flush_sq()
134 BUG_ON(cidx >= wq->sq.size); in flush_completed_wrs()
143 BUG_ON(swsqe->flushed); in flush_completed_wrs()
267 BUG_ON(idx >= qhp->wq.sq.size); in c4iw_flush_hw_cq()
307 BUG_ON(ptr >= cq->size); in c4iw_count_rcqes()
440 BUG_ON((cqe_flushed == 0) && !SW_CQE(hw_cqe)); in poll_cq()
486 BUG_ON(idx >= wq->sq.size); in poll_cq()
[all …]
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dosapi.c470 BUG_ON(!pccb); in osti_FastIOCb()
487 BUG_ON(1); in osti_FastIOCb()
586 BUG_ON((io != 0 && io != 1) || (layer != 0 && layer != 1 && layer != 2)); in ostiEnter()
592 BUG_ON(pCard->callLevel[io] >= sizeof(pCard->layer[0]) / in ostiEnter()
614 BUG_ON((io != 0 && io != 1) || (layer != 0 && layer != 1 && layer != 2)); in ostiLeave()
622 BUG_ON(pCard->callLevel[io] < 0); in ostiLeave()
623 BUG_ON(pCard->layer[io][pCard->callLevel[io]] != layer); in ostiLeave()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_iwcm.c149 BUG_ON(!list_empty(&cm_id_priv->work_free_list)); in alloc_work_entries()
191 BUG_ON(atomic_read(&cm_id_priv->refcount)==0); in iwcm_deref_id()
193 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id()
267 BUG_ON(qp == NULL); in iwcm_modify_qp_sqd()
566 BUG_ON(cm_id_priv->state != IW_CM_STATE_CONN_RECV); in iw_cm_accept()
668 BUG_ON(iw_event->status); in cm_conn_req_handler()
743 BUG_ON(cm_id_priv->state != IW_CM_STATE_CONN_RECV); in cm_conn_est_handler()
771 BUG_ON(cm_id_priv->state != IW_CM_STATE_CONN_SENT); in cm_conn_rep_handler()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcq.c226 BUG_ON(in_use < 0); in c4iw_flush_rq()
269 BUG_ON(idx >= wq->sq.size); in c4iw_flush_sq()
272 BUG_ON(swsqe->flushed); in c4iw_flush_sq()
276 BUG_ON(swsqe->opcode != FW_RI_READ_REQ); in c4iw_flush_sq()
297 BUG_ON(cidx > wq->sq.size); in flush_completed_wrs()
306 BUG_ON(swsqe->flushed); in flush_completed_wrs()
657 BUG_ON(idx >= wq->sq.size); in poll_cq()
671 BUG_ON(wq->sq.in_use <= 0 && wq->sq.in_use >= wq->sq.size); in poll_cq()
682 BUG_ON(t4_rq_empty(wq)); in poll_cq()
H A Dt4.h447 BUG_ON(wq->sq.in_use < 1); in t4_sq_consume()
605 BUG_ON(1); in t4_swcq_produce()
613 BUG_ON(cq->sw_in_use < 1); in t4_swcq_consume()
659 BUG_ON(1); in t4_next_hw_cqe()
677 BUG_ON(1); in t4_next_sw_cqe()
H A Did_table.c81 BUG_ON((int)obj < 0); in c4iw_id_free()
H A Dprovider.c410 BUG_ON(!sc->port[0]); in c4iw_register_device()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c62 BUG_ON(!tx_sa); in sdp_post_srcavail()
63 BUG_ON(!tx_sa->fmr || !tx_sa->fmr->fmr->lkey); in sdp_post_srcavail()
64 BUG_ON(!tx_sa->umem); in sdp_post_srcavail()
65 BUG_ON(!tx_sa->umem->chunk_list.next); in sdp_post_srcavail()
68 BUG_ON(!chunk->nmap); in sdp_post_srcavail()
381 BUG_ON(!ssk); in sdp_handle_rdma_read_compl()
H A Dsdp_rx.c132 BUG_ON(ib_dma_mapping_error(dev, addr)); in sdp_post_recv()
133 BUG_ON(i >= SDP_MAX_RECV_SGES); in sdp_post_recv()
545 BUG_ON(!(wc->wr_id & SDP_OP_RECV)); in sdp_poll_rx_cq()
H A Dsdp_tx.c131 BUG_ON(ib_dma_mapping_error(dev, addr)); in sdp_post_send()
132 BUG_ON(i >= SDP_MAX_SEND_SGES); in sdp_post_send()
/freebsd/sys/dev/mthca/
H A Dmthca_mcg.c205 BUG_ON(index < dev->limits.num_mgms); in mthca_multicast_attach()
285 BUG_ON(amgm_index_to_free < dev->limits.num_mgms); in mthca_multicast_detach()
304 BUG_ON(index < dev->limits.num_mgms); in mthca_multicast_detach()
H A Dmthca_mr.c339 BUG_ON(s / PAGE_SIZE != (s + list_len * sizeof(u64) - 1) / PAGE_SIZE); in mthca_arbel_write_mtt_seg()
341 BUG_ON(s % dev->limits.mtt_seg_size); in mthca_arbel_write_mtt_seg()
346 BUG_ON(!mtts); in mthca_arbel_write_mtt_seg()
602 BUG_ON(!mr->mem.arbel.mpt); in mthca_fmr_alloc()
619 BUG_ON(!mr->mem.arbel.mtts); in mthca_fmr_alloc()
H A Dmthca_memfree.c131 BUG_ON(mem->offset); in mthca_alloc_icm_coherent()
145 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mthca_alloc_icm()
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_debugfs.c321 BUG_ON(debugfs_info.vchiq_cfg_dir != NULL); in vchiq_debugfs_init()
359 BUG_ON(debugfs_info.vchiq_cfg_dir == NULL); in vchiq_debugfs_top()
H A Dvchiq_core.c186 BUG_ON(service->ref_count == 0); in find_service_by_handle()
207 BUG_ON(service->ref_count == 0); in find_service_by_port()
231 BUG_ON(service->ref_count == 0); in find_service_for_instance()
256 BUG_ON(service->ref_count == 0); in find_closed_service_for_instance()
282 BUG_ON(service->ref_count == 0); in next_service_by_instance()
298 BUG_ON(!service || (service->ref_count == 0)); in lock_service()
309 BUG_ON(!service || (service->ref_count == 0)); in unlock_service()
313 BUG_ON(service->srvstate != VCHIQ_SRVSTATE_FREE); in unlock_service()
602 BUG_ON(tx_pos == in reserve_space()
791 BUG_ON(!service); in queue_message()
[all …]
H A Dvchiq_arm.c289 BUG_ON(!service); in service_callback()
1007 BUG_ON((int)(user_service->msg_insert - in vchiq_ioctl()
1286 BUG_ON(service->srvstate != VCHIQ_SRVSTATE_FREE); in vchiq_close()
/freebsd/sys/dev/pms/freebsd/driver/common/
H A Dosdebug.h50 BUG_ON(1); \
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_icm.c123 BUG_ON(mem->offset); in mlx4_alloc_icm_coherent()
137 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mlx4_alloc_icm()
H A Dmlx4_catas.c187 BUG_ON(err != 0); in mlx4_enter_error_state()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h86 #define BUG_ON(cond) do { \ macro
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h293 #define BUG_ON(cond) \ macro
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Drx.c316 BUG_ON(rxb && rxb->page);
466 BUG_ON(rxb->page);
550 BUG_ON(list_empty(&local_empty));
554 BUG_ON(rxb->page);
/freebsd/sys/dev/iser/
H A Diser_initiator.c153 BUG_ON(device == NULL); in iser_alloc_login_buf()

12