Home
last modified time | relevance | path

Searched refs:dapl_os_assert (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c148 dapl_os_assert(element->next_element); in dapli_hash_rehash()
149 dapl_os_assert(!NO_DATUM(element->datum)); in dapli_hash_rehash()
361 dapl_os_assert(pp_table); in dapls_hash_create()
406 dapl_os_assert(p_table && p_table->table); in dapls_hash_free()
426 dapl_os_assert(p_table && p_size); in dapls_hash_size()
447 dapl_os_assert(p_table); in dapls_hash_insert()
483 dapl_os_assert(p_table); in dapls_hash_search()
514 dapl_os_assert(p_table); in dapls_hash_remove()
549 dapl_os_assert(p_table); in dapls_hash_iterate()
575 dapl_os_assert(!NO_DATUM(curr->datum)); in dapls_hash_iterate()
[all …]
H A Ddapl_llist.c193 dapl_os_assert(!dapl_llist_is_empty(head)); in dapl_llist_remove_head()
220 dapl_os_assert(!dapl_llist_is_empty(head)); in dapl_llist_remove_tail()
247 dapl_os_assert(!dapl_llist_is_empty(head)); in dapl_llist_remove_entry()
269 dapl_os_assert(0); in dapl_llist_remove_entry()
280 dapl_os_assert(entry->list_head == head); in dapl_llist_remove_entry()
300 dapl_os_assert(!dapl_llist_is_empty(head)); in dapl_llist_peek_head()
319 dapl_os_assert(!dapl_llist_is_empty(head)); in dapl_llist_next_entry()
H A Ddapl_evd_util.c172 dapl_os_assert(dat_status == DAT_SUCCESS); in dapls_evd_internal_create()
309 dapl_os_assert(dat_status == DAT_SUCCESS); in dapli_evd_event_alloc()
357 dapl_os_assert(evd_ptr->header.magic == DAPL_MAGIC_EVD); in dapls_evd_dealloc()
358 dapl_os_assert(evd_ptr->evd_ref_count == 0); in dapls_evd_dealloc()
550 dapl_os_assert(dat_status == DAT_SUCCESS); in dapli_evd_post_event()
552 dapl_os_assert(evd_ptr->evd_state == DAPL_EVD_STATE_WAITED || in dapli_evd_post_event()
637 dapl_os_assert(dat_status == DAT_SUCCESS); in dapli_evd_post_event_nosignal()
639 dapl_os_assert(evd_ptr->evd_state == DAPL_EVD_STATE_WAITED || in dapli_evd_post_event_nosignal()
868 dapl_os_assert(!ep_ptr->srq_attached || in dapls_evd_post_premature_events()
955 dapl_os_assert((NULL != cookie)); in dapli_evd_cqe_to_event()
[all …]
H A Ddapl_evd_dto_callb.c80 dapl_os_assert(hca_handle == in dapl_evd_dto_callback()
82 dapl_os_assert(evd_ptr->ib_cq_handle == cq_handle); in dapl_evd_dto_callback()
83 dapl_os_assert(evd_ptr->header.magic == DAPL_MAGIC_EVD); in dapl_evd_dto_callback()
H A Ddapl_ia_util.c504 dapl_os_assert(ia_ptr->header.magic == DAPL_MAGIC_IA); in dapls_ia_free()
506 dapl_os_assert(ia_ptr->async_error_evd == NULL); in dapls_ia_free()
507 dapl_os_assert(dapl_llist_is_empty(&ia_ptr->lmr_list_head)); in dapls_ia_free()
508 dapl_os_assert(dapl_llist_is_empty(&ia_ptr->rmr_list_head)); in dapls_ia_free()
509 dapl_os_assert(dapl_llist_is_empty(&ia_ptr->ep_list_head)); in dapls_ia_free()
510 dapl_os_assert(dapl_llist_is_empty(&ia_ptr->evd_list_head)); in dapls_ia_free()
511 dapl_os_assert(dapl_llist_is_empty(&ia_ptr->cno_list_head)); in dapls_ia_free()
512 dapl_os_assert(dapl_llist_is_empty(&ia_ptr->psp_list_head)); in dapls_ia_free()
513 dapl_os_assert(dapl_llist_is_empty(&ia_ptr->rsp_list_head)); in dapls_ia_free()
910 dapl_os_assert(sp_ptr->header.handle_type == in dapls_ia_unlink_sp()
H A Ddapl_cr_callback.c110 dapl_os_assert(((DAPL_HEADER *)context)->magic == DAPL_MAGIC_PSP || in dapls_cr_callback()
130 dapl_os_assert(ep_ptr != NULL); in dapls_cr_callback()
298 dapl_os_assert(0); /* shouldn't happen */ in dapls_cr_callback()
423 dapl_os_assert(sp_ptr->header.handle_type == in dapli_connection_request()
490 dapl_os_assert(0); in dapli_get_sp_ep()
496 dapl_os_assert(!(DAPL_BAD_HANDLE(ep_ptr, DAPL_MAGIC_EP)) || in dapli_get_sp_ep()
H A Ddapl_evd_resize.c152 dapl_os_assert(new_event); in dapl_evd_resize()
155 dapl_os_assert(dat_status == DAT_SUCCESS); in dapl_evd_resize()
157 dapl_os_assert(dat_status == DAT_SUCCESS); in dapl_evd_resize()
H A Ddapl_evd_cq_async_error_callb.c78 dapl_os_assert(!"NULL == context\n"); in dapl_evd_cq_async_error_callback()
92 dapl_os_assert(!"async EVD overflow\n"); in dapl_evd_cq_async_error_callback()
H A Ddapl_cno_util.c117 dapl_os_assert(cno_ptr->header.magic == DAPL_MAGIC_CNO); in dapl_cno_dealloc()
118 dapl_os_assert(cno_ptr->cno_ref_count == 0); in dapl_cno_dealloc()
H A Ddapl_evd_connection_callb.c91 dapl_os_assert(((DAPL_HEADER *)context)->magic == DAPL_MAGIC_EP || in dapl_evd_connection_callback()
238 dapl_os_assert(0); /* shouldn't happen */ in dapl_evd_connection_callback()
H A Ddapl_sp_util.c125 dapl_os_assert(sp_ptr->header.magic == DAPL_MAGIC_PSP || in dapls_sp_free_sp()
127 dapl_os_assert(dapl_llist_is_empty(&sp_ptr->cr_list_head)); in dapls_sp_free_sp()
H A Ddapl_ep_modify.c191 dapl_os_assert(ep1 == ep2); in dapl_ep_modify()
192 dapl_os_assert(ep_attr2.max_recv_dtos == ep_attr1.max_recv_dtos); in dapl_ep_modify()
193 dapl_os_assert(ep_attr2.max_request_dtos == ep_attr1.max_request_dtos); in dapl_ep_modify()
246 dapl_os_assert((ep2->param.ep_state != in dapl_ep_modify()
H A Ddapl_evd_enable.c88 dapl_os_assert(dat_status == DAT_SUCCESS); in dapl_evd_enable()
H A Ddapl_evd_un_async_error_callb.c77 dapl_os_assert(!"NULL == context\n"); in dapl_evd_un_async_error_callback()
H A Ddapl_mr_util.c74 dapl_os_assert(0); in dapl_mr_get_address()
H A Ddapl_evd_qp_async_error_callb.c123 dapl_os_assert(async_evd != NULL); in dapl_evd_qp_async_error_callback()
H A Ddapl_cr_util.c112 dapl_os_assert(cr_ptr->header.magic == DAPL_MAGIC_CR || in dapls_cr_free()
H A Ddapl_srq_util.c113 dapl_os_assert(srq_ptr->header.magic == DAPL_MAGIC_SRQ); in dapl_srq_dealloc()
H A Ddapl_evd_modify_cno.c140 dapl_os_assert(dat_status == DAT_SUCCESS); in dapl_evd_modify_cno()
H A Ddapl_cno_wait.c128 dapl_os_assert(head_evd_ptr != NULL); in dapl_cno_wait()
H A Ddapl_evd_wait.c175 dapl_os_assert(dat_status == DAT_SUCCESS); in dapl_evd_wait()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_wr.c74 dapl_os_assert(wq != NULL); in dapls_tavor_wrid_get_entry()
93 dapl_os_assert(error || (wre_tmp->wr_signaled_dbd & in dapls_tavor_wrid_get_entry()
160 dapl_os_assert(last_container == 1); in dapli_tavor_wrid_find_match()
246 dapl_os_assert(curr != NULL); in dapli_tavor_wrid_find_match()
278 dapl_os_assert(wqe_index < wl->wl_size); in dapli_tavor_wrid_find_match_srq()
288 dapl_os_assert(wl->wl_freel_entries <= wl->wl_size); in dapli_tavor_wrid_find_match_srq()
372 dapl_os_assert(retval == DAT_SUCCESS); in dapls_tavor_wrid_cq_force_reap()
379 dapl_os_assert(retval == DAT_SUCCESS); in dapls_tavor_wrid_cq_force_reap()
652 dapl_os_assert(wridlist->wl_free_list == NULL); in dapli_tavor_wrid_list_reap()
699 dapl_os_assert(wridlist->wl_srq_en == 1); in dapls_tavor_srq_wrid_free()
[all …]
H A Ddapl_tavor_ibtf_qp.c185 dapl_os_assert(ep_ptr->param.pz_handle != NULL); in dapls_ib_qp_alloc()
186 dapl_os_assert(ep_ptr->param.connect_evd_handle != NULL); in dapls_ib_qp_alloc()
602 dapl_os_assert(srq_ptr->param.pz_handle != NULL); in dapls_ib_srq_alloc()
803 dapl_os_assert(srq_ptr); in dapli_ib_srq_add_ep()
823 dapl_os_assert(srq_ptr); in dapli_ib_srq_remove_ep()
846 dapl_os_assert(srq_ptr && srq_ptr->srq_handle); in dapls_ib_srq_lookup_ep()
994 dapl_os_assert(srq_handle->srq_num == msrq->msrq_srqnum); in dapli_ib_srq_resize_internal()
1052 dapl_os_assert(srq_handle->srq_wq_numwqe - idx == in dapli_ib_srq_resize_internal()
H A Ddapl_tavor_ibtf_util.c155 dapl_os_assert(create_msg.evd_cq_real_size > 0); in dapls_ib_cq_alloc()
347 dapl_os_assert(cq_handle->cq_num == mcq->mcq_cqnum); in dapli_ib_cq_resize_internal()
827 dapl_os_assert(DAT_LMR_COOKIE_SIZE == sizeof (reg_msg.mrs_shm_cookie)); in dapls_ib_mr_register_shared()
1270 dapl_os_assert(event_ptr != NULL); in dapls_ib_async_callback()
1280 dapl_os_assert(!dapl_llist_is_empty(&ia_ptr->ep_list_head)); in dapls_ib_async_callback()
1297 dapl_os_assert(ep_ptr != NULL); in dapls_ib_async_callback()
1306 dapl_os_assert(!dapl_llist_is_empty(&ia_ptr->evd_list_head)); in dapls_ib_async_callback()
1321 dapl_os_assert(evd_ptr != NULL); in dapls_ib_async_callback()
1569 dapl_os_assert(srqp->srq_freepr_num_events > 0); in dapls_ib_store_premature_events()
1623 dapl_os_assert(qp_ptr->qp_srq_enabled); in dapls_ib_free_premature_events()
H A Ddapl_tavor_hw.c1369 dapl_os_assert(desc >= qp->qp_sq_desc_addr && in dapli_tavor_post_send()
1627 dapl_os_assert(srq->srq_wridlist->wl_freel_entries <= in dapli_tavor_post_srq()
1698 dapl_os_assert(wqe_index < srq->srq_wq_numwqe); in dapli_tavor_wrid_add_entry_srq()
1735 dapl_os_assert(wqhdr->wq_wrid_post != NULL); in dapli_tavor_cq_srq_entries_flush()
1736 dapl_os_assert(wqhdr->wq_wrid_post->wl_srq_en != 0); in dapli_tavor_cq_srq_entries_flush()

12