Home
last modified time | relevance | path

Searched refs:p_map (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/ofed/opensm/complib/
H A Dcl_map.c210 p_map->root.p_up = &p_map->root; in cl_qmap_init()
211 p_map->root.p_left = &p_map->nil; in cl_qmap_init()
212 p_map->root.p_right = &p_map->nil; in cl_qmap_init()
216 p_map->nil.p_up = &p_map->nil; in cl_qmap_init()
217 p_map->nil.p_left = &p_map->nil; in cl_qmap_init()
218 p_map->nil.p_right = &p_map->nil; in cl_qmap_init()
429 p_item->p_map = p_map; in cl_qmap_insert()
1129 p_map->root.p_up = &p_map->root; in cl_fmap_init()
1135 p_map->nil.p_up = &p_map->nil; in cl_fmap_init()
1136 p_map->nil.p_left = &p_map->nil; in cl_fmap_init()
[all …]
/freebsd-14.2/contrib/ofed/opensm/include/complib/
H A Dcl_fleximap.h127 struct _cl_fmap *p_map; member
298 CL_ASSERT(p_map); in cl_fmap_count()
326 CL_ASSERT(p_map); in cl_is_fmap_empty()
417 const p_map) in cl_fmap_end()
419 CL_ASSERT(p_map); in cl_fmap_end()
422 return (&p_map->nil); in cl_fmap_end()
457 CL_ASSERT(p_map); in cl_fmap_head()
493 CL_ASSERT(p_map); in cl_fmap_tail()
800 CL_ASSERT(p_map); in cl_fmap_remove_all()
803 p_map->root.p_left = &p_map->nil; in cl_fmap_remove_all()
[all …]
H A Dcl_qmap.h318 CL_ASSERT(p_map); in cl_qmap_count()
346 CL_ASSERT(p_map); in cl_is_qmap_empty()
492 CL_ASSERT(p_map); in cl_qmap_end()
495 return (&p_map->nil); in cl_qmap_end()
530 CL_ASSERT(p_map); in cl_qmap_head()
566 CL_ASSERT(p_map); in cl_qmap_tail()
832 CL_ASSERT(p_map); in cl_qmap_remove_all()
835 p_map->root.p_left = &p_map->nil; in cl_qmap_remove_all()
836 p_map->nil.pool_item.list_item.p_next = &p_map->nil.pool_item.list_item; in cl_qmap_remove_all()
837 p_map->nil.pool_item.list_item.p_prev = &p_map->nil.pool_item.list_item; in cl_qmap_remove_all()
[all …]
H A Dcl_map.h157 CL_ASSERT(p_map); in cl_map_count()
158 return (cl_qmap_count(&p_map->qmap)); in cl_map_count()
184 CL_ASSERT(p_map); in cl_is_map_empty()
185 return (cl_is_qmap_empty(&p_map->qmap)); in cl_is_map_empty()
278 return (cl_is_qpool_inited(&p_map->pool)); in cl_is_map_inited()
371 CL_ASSERT(p_map); in cl_map_end()
372 return (cl_qmap_end(&p_map->qmap)); in cl_map_end()
407 CL_ASSERT(p_map); in cl_map_head()
408 return (cl_qmap_head(&p_map->qmap)); in cl_map_head()
440 CL_ASSERT(p_map); in cl_map_tail()
[all …]
/freebsd-14.2/sys/dev/qlnx/qlnxe/
H A Decore_cxt.c1234 if (p_map->cid_map == OSAL_NULL) in ecore_cid_map_alloc_single()
1237 p_map->max_count = cid_count; in ecore_cid_map_alloc_single()
1238 p_map->start_cid = cid_start; in ecore_cid_map_alloc_single()
1242 type, p_map->start_cid, p_map->max_count); in ecore_cid_map_alloc_single()
1258 p_map = &p_mngr->acquired[type]; in ecore_cid_map_alloc()
1269 p_map)) in ecore_cid_map_alloc()
2011 p_map = &p_mngr->acquired[type]; in _ecore_cxt_acquire_cid()
2021 p_map->max_count); in _ecore_cxt_acquire_cid()
2105 &type, &p_map); in _ecore_cxt_release_cid()
2110 rel_cid = cid - p_map->start_cid; in _ecore_cxt_release_cid()
[all …]
/freebsd-14.2/contrib/ofed/opensm/opensm/
H A Dosm_multicast.c217 static boolean_t is_qmap_empty_for_port(IN const cl_qmap_t * const p_map, in is_qmap_empty_for_port() argument
224 for (item = cl_qmap_head(p_map); item != cl_qmap_end(p_map); in is_qmap_empty_for_port()
236 static boolean_t is_qmap_empty_for_mcm_port(IN const cl_qmap_t * const p_map, in is_qmap_empty_for_mcm_port() argument
243 for (item = cl_qmap_head(p_map); item != cl_qmap_end(p_map); in is_qmap_empty_for_mcm_port()
H A Dosm_qos_parser_y.y122 cl_qmap_t * p_map,
126 cl_qmap_t * p_map,
131 cl_qmap_t * p_map,
136 cl_qmap_t * p_map,
2985 cl_qmap_t * p_map, in __parser_add_port_to_port_map() argument
2988 if (cl_qmap_get(p_map, cl_ntoh64(osm_physp_get_port_guid(p_physp))) == in __parser_add_port_to_port_map()
2989 cl_qmap_end(p_map)) in __parser_add_port_to_port_map()
2993 cl_qmap_insert(p_map, in __parser_add_port_to_port_map()
3003 cl_qmap_t * p_map, in __parser_add_guid_range_to_port_map() argument
3030 cl_qmap_t * p_map, in __parser_add_pkey_range_to_port_map() argument
[all …]
/freebsd-14.2/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_txn.c283 cl_qmap_t *p_map = p_bo->txn_mgr.p_txn_map; in osmv_txn_abort_rmpp_txns() local
287 while (FALSE == cl_is_qmap_empty(p_map)) { in osmv_txn_abort_rmpp_txns()
289 p_item = cl_qmap_head(p_map); in osmv_txn_abort_rmpp_txns()
302 cl_qmap_remove_item(p_map, p_item); in osmv_txn_abort_rmpp_txns()