Home
last modified time | relevance | path

Searched refs:CL_ASSERT (Results 1 – 25 of 127) sorted by relevance

123456

/freebsd-14.2/contrib/ofed/opensm/complib/
H A Dcl_list.c61 CL_ASSERT(p_list); in cl_qlist_insert_array_head()
63 CL_ASSERT(p_array); in cl_qlist_insert_array_head()
91 CL_ASSERT(p_list); in cl_qlist_insert_array_tail()
93 CL_ASSERT(p_array); in cl_qlist_insert_array_tail()
218 CL_ASSERT(p_list); in cl_is_item_in_qlist()
243 CL_ASSERT(p_list); in cl_qlist_find_next()
272 CL_ASSERT(p_list); in cl_qlist_find_prev()
301 CL_ASSERT(p_list); in cl_qlist_apply_func()
345 CL_ASSERT(p_list); in cl_list_construct()
354 CL_ASSERT(p_list); in cl_list_init()
[all …]
H A Dcl_map.c79 CL_ASSERT(p_map); in __cl_map_root()
88 CL_ASSERT(p_item); in __cl_map_is_left_child()
101 CL_ASSERT(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()
178 CL_ASSERT(p_map); in __cl_map_rot_right()
205 CL_ASSERT(p_map); in cl_qmap_init()
231 CL_ASSERT(p_map); in cl_qmap_get()
255 CL_ASSERT(p_map); in cl_qmap_get_next()
280 CL_ASSERT(p_map); in cl_qmap_apply_func()
[all …]
H A Dcl_ptr_vector.c52 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()
107 CL_ASSERT(p_vector); in cl_ptr_vector_at()
124 CL_ASSERT(p_vector); in cl_ptr_vector_set()
149 CL_ASSERT(p_vector); in cl_ptr_vector_remove()
172 CL_ASSERT(p_vector); in cl_ptr_vector_set_capacity()
212 CL_ASSERT(p_vector); in cl_ptr_vector_set_size()
244 CL_ASSERT(p_vector); in cl_ptr_vector_set_min_size()
262 CL_ASSERT(p_vector); in cl_ptr_vector_apply_func()
[all …]
H A Dcl_pool.c60 CL_ASSERT(p_pool); in cl_qcpool_construct()
79 CL_ASSERT(p_pool); in cl_qcpool_init()
167 CL_ASSERT(p_pool); in cl_qcpool_destroy()
215 CL_ASSERT(p_pool); in cl_qcpool_grow()
318 CL_ASSERT(p_pool); in cl_qcpool_get()
349 CL_ASSERT(p_pool); in cl_qcpool_get_tail()
391 CL_ASSERT(p_pool); in __cl_qpool_init_cb()
410 CL_ASSERT(p_pool); in __cl_qpool_dtor_cb()
433 CL_ASSERT(p_pool); in cl_qpool_init()
465 CL_ASSERT(p_pool); in __cl_cpool_init_cb()
[all …]
H A Dcl_vector.c182 CL_ASSERT(p_vector); in cl_vector_construct()
198 CL_ASSERT(p_vector); in cl_vector_init()
259 CL_ASSERT(p_vector); in cl_vector_destroy()
291 CL_ASSERT(p_vector); in cl_vector_at()
308 CL_ASSERT(p_vector); in cl_vector_set()
325 CL_ASSERT(p_dest); in cl_vector_set()
342 CL_ASSERT(p_vector); in cl_vector_set_capacity()
408 CL_ASSERT(p_vector); in cl_vector_set_size()
475 CL_ASSERT(p_vector); in cl_vector_set_min_size()
494 CL_ASSERT(p_vector); in cl_vector_apply_func()
[all …]
H A Dcl_spinlock.c44 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 Dcl_timer.c75 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()
280 CL_ASSERT(p_list_item); in __cl_timer_find()
281 CL_ASSERT(context); in __cl_timer_find()
287 CL_ASSERT(p_new->state == CL_INITIALIZED); in __cl_timer_find()
320 CL_ASSERT(p_timer); in cl_timer_start()
321 CL_ASSERT(p_timer->state == CL_INITIALIZED); in cl_timer_start()
357 CL_ASSERT(p_timer); in cl_timer_stop()
[all …]
H A Dcl_thread.c54 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-14.2/contrib/ofed/opensm/include/complib/
H A Dcl_qlist.h438 CL_ASSERT(p_list); in cl_qlist_init()
475 CL_ASSERT(p_list); in cl_qlist_count()
507 CL_ASSERT(p_list); in cl_is_qlist_empty()
617 CL_ASSERT(p_list); in cl_qlist_head()
655 CL_ASSERT(p_list); in cl_qlist_tail()
693 CL_ASSERT(p_list); in cl_qlist_end()
736 CL_ASSERT(p_list); in cl_qlist_insert_head()
797 CL_ASSERT(p_list); in cl_qlist_insert_tail()
1036 CL_ASSERT(p_list); in cl_qlist_insert_prev()
1100 CL_ASSERT(p_list); in cl_qlist_insert_next()
[all …]
H A Dcl_list.h260 CL_ASSERT(p_list); in cl_is_list_inited()
365 CL_ASSERT(p_list); in cl_is_list_empty()
398 CL_ASSERT(p_list); in cl_list_insert_head()
449 CL_ASSERT(p_list); in cl_list_insert_tail()
593 CL_ASSERT(p_list); in cl_list_insert_next()
646 CL_ASSERT(p_list); in cl_list_insert_prev()
696 CL_ASSERT(p_list); in cl_list_remove_head()
741 CL_ASSERT(p_list); in cl_list_remove_tail()
784 CL_ASSERT(p_list); in cl_list_remove_all()
849 CL_ASSERT(p_list); in cl_list_remove_item()
[all …]
H A Dcl_passivelock.h124 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 Dcl_qmap.h318 CL_ASSERT(p_map); in cl_qmap_count()
346 CL_ASSERT(p_map); 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()
530 CL_ASSERT(p_map); in cl_qmap_head()
566 CL_ASSERT(p_map); in cl_qmap_tail()
602 CL_ASSERT(p_item); in cl_qmap_next()
634 CL_ASSERT(p_item); in cl_qmap_prev()
[all …]
H A Dcl_fleximap.h298 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()
457 CL_ASSERT(p_map); in cl_fmap_head()
493 CL_ASSERT(p_map); in cl_fmap_tail()
530 CL_ASSERT(p_item); in cl_fmap_next()
563 CL_ASSERT(p_item); in cl_fmap_prev()
[all …]
H A Dcl_qcomppool.h384 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 Dcl_pool.h257 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 Dcl_comppool.h270 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 Dcl_ptr_vector.h315 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 Dcl_vector.h477 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-14.2/contrib/ofed/opensm/include/opensm/
H A Dosm_port.h327 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()
842 CL_ASSERT(p_physp); in osm_physp_link_exists()
880 CL_ASSERT(p_physp); in osm_physp_link()
915 CL_ASSERT(p_physp); in osm_physp_unlink()
951 CL_ASSERT(p_physp); in osm_physp_has_any_link()
984 CL_ASSERT(p_physp); in osm_physp_get_port_num()
1014 CL_ASSERT(p_physp); in osm_physp_get_node_ptr()
[all …]
/freebsd-14.2/contrib/ofed/opensm/opensm/
H A Dosm_mcast_tbl.c59 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()
149 CL_ASSERT(p_tbl); in osm_mcast_tbl_is_port()
152 CL_ASSERT(port_num <= in osm_mcast_tbl_is_port()
176 CL_ASSERT(p_tbl); in osm_mcast_tbl_is_any_port()
199 CL_ASSERT(p_tbl); in osm_mcast_tbl_set_block()
200 CL_ASSERT(p_block); in osm_mcast_tbl_set_block()
226 CL_ASSERT(p_tbl); in osm_mcast_tbl_clear_mlid()
243 CL_ASSERT(p_tbl); in osm_mcast_tbl_get_block()
[all …]
H A Dosm_mad_pool.c57 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-14.2/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_sa_api.h408 CL_ASSERT(p_result_madw); in osmv_get_query_result()
410 CL_ASSERT(p_sa_mad); 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()
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()
620 CL_ASSERT(p_result_madw); in osmv_get_query_mc_rec()
665 CL_ASSERT(p_result_madw); in osmv_get_query_inform_info_rec()
[all …]
H A Dosm_vendor_mlx_svc.h97 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-14.2/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_umadt.c264 CL_ASSERT(p_guids); in osm_vendor_get_ports()
387 CL_ASSERT(h_bind); in osm_vendor_get()
444 CL_ASSERT(h_bind); in osm_vendor_put()
450 CL_ASSERT(h_bind); in osm_vendor_put()
516 CL_ASSERT(h_bind); in osm_vendor_send()
526 CL_ASSERT(p_mad); in osm_vendor_send()
742 CL_ASSERT(p_vend); in osm_vendor_bind()
832 CL_ASSERT(h_bind); in osm_vendor_unbind()
885 CL_ASSERT(context); in __mad_recv_processor()
916 CL_ASSERT(0); in __mad_recv_processor()
[all …]
H A Dosm_vendor_al.c182 CL_ASSERT(p_vw); in __osm_al_send_callback()
183 CL_ASSERT(p_vw->h_av); in __osm_al_send_callback()
297 CL_ASSERT(p_new_madw); in __osm_al_rcv_callback()
310 CL_ASSERT(p_new_madw); in __osm_al_rcv_callback()
469 CL_ASSERT(ca_guid); in osm_ca_info_new()
498 CL_ASSERT(p_guids); in __osm_vendor_get_ca_guids()
593 CL_ASSERT(p_vend); in osm_vendor_get_all_port_attr()
677 CL_ASSERT(port_guid); in osm_vendor_get_ca_guid()
730 CL_ASSERT(port_guid); in osm_vendor_get_port_num()
997 CL_ASSERT(p_vw); in osm_vendor_get()
[all …]

123456