/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_list.c | 61 CL_ASSERT(p_list); in cl_qlist_insert_array_head() 62 CL_ASSERT(p_list->state == CL_INITIALIZED); in cl_qlist_insert_array_head() 63 CL_ASSERT(p_array); in cl_qlist_insert_array_head() 64 CL_ASSERT(item_size >= sizeof(cl_list_item_t)); in cl_qlist_insert_array_head() 65 CL_ASSERT(item_count); in cl_qlist_insert_array_head() 91 CL_ASSERT(p_list); in cl_qlist_insert_array_tail() 92 CL_ASSERT(p_list->state == CL_INITIALIZED); in cl_qlist_insert_array_tail() 93 CL_ASSERT(p_array); in cl_qlist_insert_array_tail() 94 CL_ASSERT(item_size >= sizeof(cl_list_item_t)); in cl_qlist_insert_array_tail() 95 CL_ASSERT(item_count); in cl_qlist_insert_array_tail() [all …]
|
H A D | cl_map.c | 79 CL_ASSERT(p_map); in __cl_map_root() 88 CL_ASSERT(p_item); in __cl_map_is_left_child() 89 CL_ASSERT(p_item->p_up); in __cl_map_is_left_child() 90 CL_ASSERT(p_item->p_up != p_item); in __cl_map_is_left_child() 101 CL_ASSERT(p_item); in __cl_map_get_parent_ptr_to_item() 102 CL_ASSERT(p_item->p_up); in __cl_map_get_parent_ptr_to_item() 103 CL_ASSERT(p_item->p_up != p_item); in __cl_map_get_parent_ptr_to_item() 108 CL_ASSERT(p_item->p_up->p_right == p_item); in __cl_map_get_parent_ptr_to_item() 132 CL_ASSERT(p_map); in __cl_map_rot_left() 133 CL_ASSERT(p_item); in __cl_map_rot_left() [all …]
|
H A D | cl_ptr_vector.c | 52 CL_ASSERT(p_vector); in cl_ptr_vector_construct() 65 CL_ASSERT(p_vector); in cl_ptr_vector_init() 89 CL_ASSERT(p_vector); in cl_ptr_vector_destroy() 90 CL_ASSERT(cl_is_state_valid(p_vector->state)); in cl_ptr_vector_destroy() 107 CL_ASSERT(p_vector); in cl_ptr_vector_at() 108 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_ptr_vector_at() 124 CL_ASSERT(p_vector); in cl_ptr_vector_set() 125 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_ptr_vector_set() 149 CL_ASSERT(p_vector); in cl_ptr_vector_remove() 150 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_ptr_vector_remove() [all …]
|
H A D | cl_pool.c | 60 CL_ASSERT(p_pool); in cl_qcpool_construct() 79 CL_ASSERT(p_pool); in cl_qcpool_init() 81 CL_ASSERT(num_components); in cl_qcpool_init() 83 CL_ASSERT(component_sizes); in cl_qcpool_init() 88 CL_ASSERT(pfn_initializer || in cl_qcpool_init() 167 CL_ASSERT(p_pool); in cl_qcpool_destroy() 169 CL_ASSERT(cl_is_state_valid(p_pool->state)); in cl_qcpool_destroy() 180 CL_ASSERT(cl_qcpool_count(p_pool) == p_pool->num_objects); in cl_qcpool_destroy() 215 CL_ASSERT(p_pool); in cl_qcpool_grow() 216 CL_ASSERT(p_pool->state == CL_INITIALIZED); in cl_qcpool_grow() [all …]
|
H A D | cl_vector.c | 99 CL_ASSERT(size == sizeof(uint8_t)); in cl_vector_copy8() 124 CL_ASSERT(size == sizeof(uint16_t)); in cl_vector_copy16() 149 CL_ASSERT(size == sizeof(uint32_t)); in cl_vector_copy32() 174 CL_ASSERT(size == sizeof(uint64_t)); in cl_vector_copy64() 182 CL_ASSERT(p_vector); in cl_vector_construct() 198 CL_ASSERT(p_vector); in cl_vector_init() 199 CL_ASSERT(element_size); in cl_vector_init() 259 CL_ASSERT(p_vector); in cl_vector_destroy() 260 CL_ASSERT(cl_is_state_valid(p_vector->state)); in cl_vector_destroy() 268 CL_ASSERT(p_element); in cl_vector_destroy() [all …]
|
H A D | cl_spinlock.c | 44 CL_ASSERT(p_spinlock); in cl_spinlock_construct() 51 CL_ASSERT(p_spinlock); in cl_spinlock_init() 65 CL_ASSERT(p_spinlock); in cl_spinlock_destroy() 66 CL_ASSERT(cl_is_state_valid(p_spinlock->state)); in cl_spinlock_destroy() 79 CL_ASSERT(p_spinlock); in cl_spinlock_acquire() 80 CL_ASSERT(p_spinlock->state == CL_INITIALIZED); in cl_spinlock_acquire() 87 CL_ASSERT(p_spinlock); in cl_spinlock_release() 88 CL_ASSERT(p_spinlock->state == CL_INITIALIZED); in cl_spinlock_release()
|
H A D | cl_timer.c | 75 CL_ASSERT(gp_timer_prov == NULL); in __cl_timer_prov_create() 219 CL_ASSERT(p_timer); in cl_timer_init() 220 CL_ASSERT(pfn_callback); in cl_timer_init() 244 CL_ASSERT(p_timer); in cl_timer_destroy() 245 CL_ASSERT(cl_is_state_valid(p_timer->state)); in cl_timer_destroy() 280 CL_ASSERT(p_list_item); in __cl_timer_find() 281 CL_ASSERT(context); in __cl_timer_find() 286 CL_ASSERT(p_in_list->state == CL_INITIALIZED); in __cl_timer_find() 287 CL_ASSERT(p_new->state == CL_INITIALIZED); in __cl_timer_find() 289 CL_ASSERT(p_in_list->timer_state == CL_TIMER_QUEUED); in __cl_timer_find() [all …]
|
H A D | cl_thread.c | 54 CL_ASSERT(p_thread); in __cl_thread_wrapper() 55 CL_ASSERT(p_thread->pfn_callback); in __cl_thread_wrapper() 64 CL_ASSERT(p_thread); in cl_thread_construct() 76 CL_ASSERT(p_thread); in cl_thread_init() 97 CL_ASSERT(p_thread); in cl_thread_destroy() 98 CL_ASSERT(cl_is_state_valid(p_thread->osd.state)); in cl_thread_destroy() 135 CL_ASSERT(p_thread); in cl_is_current_thread() 136 CL_ASSERT(p_thread->osd.state == CL_INITIALIZED); in cl_is_current_thread()
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_qlist.h | 287 CL_ASSERT(p_list_item); in __cl_primitive_insert() 289 CL_ASSERT(p_new_item); in __cl_primitive_insert() 322 CL_ASSERT(p_list_item); in __cl_primitive_remove() 365 CL_ASSERT(p_list_obj); in cl_qlist_set_obj() 396 CL_ASSERT(p_list_obj); in cl_qlist_obj() 438 CL_ASSERT(p_list); in cl_qlist_init() 475 CL_ASSERT(p_list); in cl_qlist_count() 477 CL_ASSERT(p_list->state == CL_INITIALIZED); in cl_qlist_count() 507 CL_ASSERT(p_list); in cl_is_qlist_empty() 509 CL_ASSERT(p_list->state == CL_INITIALIZED); in cl_is_qlist_empty() [all …]
|
H A D | cl_list.h | 260 CL_ASSERT(p_list); in cl_is_list_inited() 365 CL_ASSERT(p_list); in cl_is_list_empty() 366 CL_ASSERT(cl_is_qpool_inited(&p_list->list_item_pool)); in cl_is_list_empty() 398 CL_ASSERT(p_list); in cl_list_insert_head() 399 CL_ASSERT(cl_is_qpool_inited(&p_list->list_item_pool)); in cl_list_insert_head() 449 CL_ASSERT(p_list); in cl_list_insert_tail() 450 CL_ASSERT(cl_is_qpool_inited(&p_list->list_item_pool)); in cl_list_insert_tail() 593 CL_ASSERT(p_list); in cl_list_insert_next() 594 CL_ASSERT(cl_is_qpool_inited(&p_list->list_item_pool)); in cl_list_insert_next() 646 CL_ASSERT(p_list); in cl_list_insert_prev() [all …]
|
H A D | cl_passivelock.h | 124 CL_ASSERT(p_lock); in cl_plock_construct() 159 CL_ASSERT(p_lock); in cl_plock_destroy() 198 CL_ASSERT(p_lock); in cl_plock_init() 238 CL_ASSERT(p_lock); in cl_plock_acquire() 239 CL_ASSERT(p_lock->state == CL_INITIALIZED); in cl_plock_acquire() 242 CL_ASSERT(status == 0); in cl_plock_acquire() 271 CL_ASSERT(p_lock); in cl_plock_excl_acquire() 272 CL_ASSERT(p_lock->state == CL_INITIALIZED); in cl_plock_excl_acquire() 275 CL_ASSERT(status == 0); in cl_plock_excl_acquire() 303 CL_ASSERT(p_lock); in cl_plock_release() [all …]
|
H A D | cl_qmap.h | 318 CL_ASSERT(p_map); in cl_qmap_count() 319 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_qmap_count() 346 CL_ASSERT(p_map); in cl_is_qmap_empty() 347 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_is_qmap_empty() 379 CL_ASSERT(p_map_obj); in cl_qmap_set_obj() 410 CL_ASSERT(p_map_obj); in cl_qmap_obj() 437 CL_ASSERT(p_item); in cl_qmap_key() 492 CL_ASSERT(p_map); in cl_qmap_end() 493 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_qmap_end() 530 CL_ASSERT(p_map); in cl_qmap_head() [all …]
|
H A D | cl_fleximap.h | 298 CL_ASSERT(p_map); in cl_fmap_count() 299 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_fmap_count() 326 CL_ASSERT(p_map); in cl_is_fmap_empty() 327 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_is_fmap_empty() 357 CL_ASSERT(p_item); in cl_fmap_key() 419 CL_ASSERT(p_map); in cl_fmap_end() 420 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_fmap_end() 457 CL_ASSERT(p_map); in cl_fmap_head() 458 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_fmap_head() 493 CL_ASSERT(p_map); in cl_fmap_tail() [all …]
|
H A D | cl_qcomppool.h | 384 CL_ASSERT(p_pool); in cl_is_qcpool_inited() 386 CL_ASSERT(cl_is_state_valid(p_pool->state)); in cl_is_qcpool_inited() 543 CL_ASSERT(p_pool); in cl_qcpool_count() 544 CL_ASSERT(p_pool->state == CL_INITIALIZED); in cl_qcpool_count() 608 CL_ASSERT(p_pool); in cl_qcpool_put() 609 CL_ASSERT(p_pool->state == CL_INITIALIZED); in cl_qcpool_put() 610 CL_ASSERT(p_pool_item); in cl_qcpool_put() 612 CL_ASSERT(p_pool_item->p_pool == p_pool); in cl_qcpool_put() 658 CL_ASSERT(p_pool); in cl_qcpool_put_list() 659 CL_ASSERT(p_pool->state == CL_INITIALIZED); in cl_qcpool_put_list() [all …]
|
H A D | cl_pool.h | 257 CL_ASSERT(p_pool); in cl_is_pool_inited() 368 CL_ASSERT(p_pool); in cl_pool_destroy() 408 CL_ASSERT(p_pool); in cl_pool_count() 438 CL_ASSERT(p_pool); in cl_pool_get() 444 CL_ASSERT(p_pool_obj->p_object); in cl_pool_get() 482 CL_ASSERT(p_pool); in cl_pool_put() 483 CL_ASSERT(p_object); in cl_pool_put() 490 CL_ASSERT(p_pool_obj->p_object == p_object); in cl_pool_put() 530 CL_ASSERT(p_pool); in cl_pool_grow()
|
H A D | cl_comppool.h | 270 CL_ASSERT(p_pool); in cl_is_cpool_inited() 389 CL_ASSERT(p_pool); in cl_cpool_destroy() 429 CL_ASSERT(p_pool); in cl_cpool_count() 461 CL_ASSERT(p_pool); in cl_cpool_get() 467 CL_ASSERT(p_pool_obj->p_object); in cl_cpool_get() 506 CL_ASSERT(p_pool); in cl_cpool_put() 507 CL_ASSERT(p_object); in cl_cpool_put() 514 CL_ASSERT(p_pool_obj->p_object == p_object); in cl_cpool_put() 554 CL_ASSERT(p_pool); in cl_cpool_grow()
|
H A D | cl_ptr_vector.h | 315 CL_ASSERT(p_vector); in cl_ptr_vector_get_capacity() 316 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_ptr_vector_get_capacity() 350 CL_ASSERT(p_vector); in cl_ptr_vector_get_size() 351 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_ptr_vector_get_size() 381 CL_ASSERT(p_vector); in cl_ptr_vector_get() 382 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_ptr_vector_get() 383 CL_ASSERT(p_vector->size > index); in cl_ptr_vector_get() 508 CL_ASSERT(p_vector); in cl_ptr_vector_insert() 509 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_ptr_vector_insert()
|
H A D | cl_vector.h | 477 CL_ASSERT(p_vector); in cl_vector_get_capacity() 478 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_vector_get_capacity() 511 CL_ASSERT(p_vector); in cl_vector_get_size() 512 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_vector_get_size() 542 CL_ASSERT(p_vector); in cl_vector_get_ptr() 543 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_vector_get_ptr() 586 CL_ASSERT(p_vector); in cl_vector_get() 587 CL_ASSERT(p_vector->state == CL_INITIALIZED); in cl_vector_get() 588 CL_ASSERT(p_element); in cl_vector_get()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_port.h | 327 CL_ASSERT(p_physp); in osm_physp_is_valid() 358 CL_ASSERT(p_physp); in osm_physp_is_healthy() 420 CL_ASSERT(p_physp); in osm_physp_set_health() 489 CL_ASSERT(p_physp); in osm_physp_set_base_lid() 490 CL_ASSERT(osm_physp_is_valid(p_physp)); in osm_physp_set_base_lid() 562 CL_ASSERT(osm_physp_is_valid(p_physp)); in osm_physp_get_pkey_tbl() 600 CL_ASSERT(p_slvl_tbl); in osm_physp_set_slvl_tbl() 601 CL_ASSERT(osm_physp_is_valid(p_physp)); in osm_physp_set_slvl_tbl() 642 CL_ASSERT(osm_physp_is_valid(p_physp)); in osm_physp_get_slvl_tbl() 677 CL_ASSERT(p_vla_tbl); in osm_physp_set_vla_tbl() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_mcast_tbl.c | 59 CL_ASSERT(p_tbl); in osm_mcast_tbl_init() 60 CL_ASSERT(num_ports); in osm_mcast_tbl_init() 96 CL_ASSERT(p_tbl && p_tbl->p_mask_tbl); in osm_mcast_tbl_set() 97 CL_ASSERT(mlid_ho >= IB_LID_MCAST_START_HO); in osm_mcast_tbl_set() 98 CL_ASSERT(mlid_ho <= p_tbl->max_mlid_ho); in osm_mcast_tbl_set() 149 CL_ASSERT(p_tbl); in osm_mcast_tbl_is_port() 152 CL_ASSERT(port_num <= in osm_mcast_tbl_is_port() 154 CL_ASSERT(mlid_ho >= IB_LID_MCAST_START_HO); in osm_mcast_tbl_is_port() 155 CL_ASSERT(mlid_ho <= p_tbl->max_mlid_ho); in osm_mcast_tbl_is_port() 176 CL_ASSERT(p_tbl); in osm_mcast_tbl_is_any_port() [all …]
|
H A D | osm_mad_pool.c | 57 CL_ASSERT(p_pool); in osm_mad_pool_construct() 64 CL_ASSERT(p_pool); in osm_mad_pool_destroy() 82 CL_ASSERT(h_bind != OSM_BIND_INVALID_HANDLE); in osm_mad_pool_get() 83 CL_ASSERT(total_size); in osm_mad_pool_get() 123 CL_ASSERT(h_bind != OSM_BIND_INVALID_HANDLE); in osm_mad_pool_get_wrapper() 124 CL_ASSERT(total_size); in osm_mad_pool_get_wrapper() 125 CL_ASSERT(p_mad); in osm_mad_pool_get_wrapper() 162 CL_ASSERT(p_madw); in osm_mad_pool_put()
|
/freebsd/contrib/ofed/opensm/include/vendor/ |
H A D | osm_vendor_sa_api.h | 408 CL_ASSERT(p_result_madw); in osmv_get_query_result() 410 CL_ASSERT(p_sa_mad); in osmv_get_query_result() 411 CL_ASSERT(ib_get_attr_size(p_sa_mad->attr_offset) * (result_index + 1) + in osmv_get_query_result() 453 CL_ASSERT(p_result_madw); in osmv_get_query_path_rec() 455 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_PATH_RECORD); in osmv_get_query_path_rec() 495 CL_ASSERT(p_result_madw); in osmv_get_query_portinfo_rec() 497 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_PORTINFO_RECORD); in osmv_get_query_portinfo_rec() 537 CL_ASSERT(p_result_madw); in osmv_get_query_node_rec() 539 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_NODE_RECORD); in osmv_get_query_node_rec() 579 CL_ASSERT(p_result_madw); in osmv_get_query_svc_rec() [all …]
|
H A D | osm_vendor_mlx_svc.h | 97 CL_ASSERT(FALSE); in osmv_invert_method() 106 CL_ASSERT(NULL != p_mad); in osmv_mad_is_rmpp() 118 CL_ASSERT(NULL != p_mad); in osmv_mad_is_multi_resp() 125 CL_ASSERT(NULL != p_mad); in osmv_mad_is_sa() 132 CL_ASSERT(p_mad); in osmv_rmpp_is_abort_stop() 141 CL_ASSERT(p_mad); in osmv_rmpp_is_data() 147 CL_ASSERT(p_mad); in osmv_rmpp_is_ack() 154 CL_ASSERT(NULL != p_mad); in osmv_rmpp_is_first() 163 CL_ASSERT(NULL != p_mad); in osmv_rmpp_is_last() 173 CL_ASSERT(p_mad); in osmv_mad_copy()
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_umadt.c | 228 CL_ASSERT(cl_spinlock_init(&p_umadt_obj->register_lock) == CL_SUCCESS); in osm_vendor_init() 264 CL_ASSERT(p_guids); in osm_vendor_get_ports() 265 CL_ASSERT(p_num_guids); in osm_vendor_get_ports() 387 CL_ASSERT(h_bind); in osm_vendor_get() 392 CL_ASSERT(p_umadt_obj->init_done); in osm_vendor_get() 393 CL_ASSERT(p_vend_wrap); in osm_vendor_get() 394 CL_ASSERT(__valid_mad_handle(p_mad_bind_info)); in osm_vendor_get() 444 CL_ASSERT(h_bind); in osm_vendor_put() 449 CL_ASSERT(p_umadt_obj->init_done); in osm_vendor_put() 450 CL_ASSERT(h_bind); in osm_vendor_put() [all …]
|
H A D | osm_vendor_al.c | 182 CL_ASSERT(p_vw); in __osm_al_send_callback() 183 CL_ASSERT(p_vw->h_av); in __osm_al_send_callback() 258 CL_ASSERT(p_elem->context1 == NULL); in __osm_al_rcv_callback() 259 CL_ASSERT(p_elem->context2 == NULL); in __osm_al_rcv_callback() 290 CL_ASSERT(p_elem->send_context1 != NULL); in __osm_al_rcv_callback() 291 CL_ASSERT(p_elem->send_context2 == NULL); in __osm_al_rcv_callback() 297 CL_ASSERT(p_new_madw); in __osm_al_rcv_callback() 302 CL_ASSERT(p_elem->send_context1 == NULL); in __osm_al_rcv_callback() 303 CL_ASSERT(p_elem->send_context2 == NULL); in __osm_al_rcv_callback() 310 CL_ASSERT(p_new_madw); in __osm_al_rcv_callback() [all …]
|